@charset "UTF=8";

/* font-family: "Noto Sans JP", sans-serif;
   font-family: "Noto Serif JP", serif; */

html {
  font-size: 100%;
  overflow-x: clip;
}
:root {
  --ink: #333;
}
body {
  color: var(--ink);
  overflow-x: clip;
}
img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.inner {
  width: min(75rem, 92%);
  margin: 0 auto;
}
.sec_padding {
  padding: 4rem 0;
}
.sec_ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  margin: 4rem auto 3rem;
  text-align: center;
  position: relative;
  display: block;
  width: fit-content;
  text-transform: uppercase;
}
.sec_ttl::before {
  content: "";
  display: block;
  width: 8px;
  height: 32px;
  background-color: #0bd;
  position: absolute;
  left: -1rem;
  top: 1.5rem;
}
.sec_ttl::after {
  content: "";
  display: block;
  width: 10rem;
  height: 2px;
  background-color: #0bd;
  position: absolute;
  bottom: 0;
  left: -1.5rem;
}

@media (max-width: 768px) {
  .sec_ttl {
    font-size: 1.5rem;
    text-align: left;
  }
  .sec_padding {
  padding: 0;
}
}

/* mv / header */
.mv {
  min-height: calc(100svh - 60px);
  display: flex;
  flex-direction: column;
}
.mv-inner {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.mv-content {
  text-align: center;
}
.mv-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.3;
  font-family: "Noto Sans JP", sans-serif;
  text-transform: capitalize;
}

.mv-skill {
  margin-top: 32px;

  font-size: 1rem;
  letter-spacing: 0.1em;

  font-family: "Noto Serif JP", serif;
}

.scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;

  color: var(--ink);
  text-decoration: none;

  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.scroll span {
  width: 1px;
  height: 60px;
  background: #ddd;
  position: relative;
  overflow: hidden;
}

.scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #222;

  animation: scroll-line 2s infinite;
}
@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 768px) {
  .mv-title span {
    display: inline-block;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
  background-color: rgba(238, 238, 238, 0.8);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);

}
.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 100px;
}
.header__right {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}
.header__right-txt {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
}
.header__menu {
  font-size: 0.875rem;
  font-family: "Noto Serif JP", serif;
}
.header__menu ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.header__menu ul a {
  text-decoration: none;
  color: #333;
  transition: 0.3s ease-in-out;
  padding: 0 0.625rem;
  cursor: pointer;

}
.header__menu ul a:hover {
  color: #0bd;
}
.hamburger-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 36px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.3s ease;
}
.hamburger-btn span:nth-child(1) {
  transform: translate(-50%, -6px);
}
.hamburger-btn span:nth-child(2) {
  transform: translate(-50%, 6px);
}
.header.is-open .hamburger-btn span:nth-child(1) {
  transform: translate(-50%, 0) rotate(25deg);
}
.header.is-open .hamburger-btn span:nth-child(2) {
  transform: translate(-50%, 0) rotate(-25deg);
}

@media (max-width: 768px) {
  /* ----- ハンバーガーメニュー ----- */
  .header__right {
    position: fixed;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 5rem 0;
    background-color: rgba(238, 238, 238, 0.8);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
    transition: 0.5s ease-in-out;
  }
  .header.is-open .header__right {
    top: 3.4375rem;
  }
  .header__right-txt {
    display: none;
  }
  .header__menu ul {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }
  .header__menu li {
    width: 100%;
    border-bottom: #0bd solid 2px;
  }
  .header__menu li a {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 1.5rem;
  }

  .hamburger-btn {
    display: block;
  }
}
  /* ----- ハンバーガーメニュー/ ----- */

/* work */

.work-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
}
.item-card {
  font-size: 1rem;
  font-family: "Noto Serif JP", serif;
  transition: 0.3s ease-in;
}
.item-card:hover {
  color: #0bd;
}
.item-card a {
  color: #333;
  text-decoration: none;
  transition: 0.3s ease-in;
}
.item-card a:hover {
  color: #0bd;
}

.item-card__ttl {
  font-size: 1.25rem;
  text-transform: uppercase;
}
.item-card__ttl::after {
  content: "";
  display: block;
  width: fit-content;
  height: 0.0625rem;
  background-color: #000;
}
.item-card__img {
  position: relative;
  display: block;
}
.item-card__img img {
  transition: 0.6s ease;
  border-radius: 1rem;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 15px;
  object-fit: cover;
}
.video-card__thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.video-card__thumbnail img {
  display: block;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.3s ease;
}
.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
  background: #0bd;
  transform: translate(-50%, -50%) scale(1.08);
}
.item-card__img:hover img {
  transform: scale(1.05);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
}
.item-card__txt {
  font-size: 0.75rem;
  text-align: right;
}
.item-card__link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 786px) {
  .item-card {
    padding: 1rem 0;
  }

  .work-items {
    gap: .5rem 5%;
      grid-template-columns: repeat(2, 1fr);

  }
}
/* skill */
.sub_ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  position: relative;
  padding-left: 2rem;
  text-transform: uppercase;
}
.sub_ttl::before {
  position: absolute;
  top: -3rem;
  left: -1rem;
  content: "";
  font-size: 6rem;
  opacity: 0.1;
}

.skills-category-wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.skills-category {
  margin: 3rem 0 4rem;
}

.skills-category:nth-child(1) .sub_ttl::before {
  content: "01";
}
.skills-category:nth-child(2) .sub_ttl::before {
  content: "02";
}
.skills-category:nth-child(3) .sub_ttl::before {
  content: "03";
}

.sub_ttl::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  margin: 0.5rem 0;
}

.skill-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
}
.skill-name {
  margin: 0.5rem 0;
}
.skill-desc {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .skills-category-wrap {
    flex-direction: column;
    gap: 1rem;
  }
}

/* about */
.about-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.me {
  padding: 3.125rem;
  max-width: 18.75rem;
}
.me img {
  border-radius: 16px 0 16px 0;
  transform: rotate(5deg);
  box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.8);
}
.about-right {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  position: relative;
}
.about-right-txt {
  padding: 1.875rem 0.625rem;
}
.about-right-table {
  width: 100%;
}
.about-right-table tr {
  display: flex;
  line-height: 1.6;
  padding: 0.5rem 2rem;
  margin-bottom: 1rem;
  border-bottom: #000 1px solid;
  gap: 1.25rem;
}

.about-right-table th {
  text-align: left;
  font-weight: normal;
  width: 100px;
}
.link{
  position: absolute;
  bottom: -2rem;
  right: 0;
}
@media (max-width: 768px) {
  .about{
    margin-bottom: 5rem;
  }
  .about-flex {
    flex-direction: column;
  }

  .about-inner {
    position: relative;
  }

  .me {
    position: absolute;
    top: -4rem;
    right: -3rem;
    z-index: -1;
    opacity: 0.4;
  }

  .about-right-txt {
    text-shadow: #fff 1px 0 5px;
  }

  .about-right-table tr {
    padding: 0.5rem;
    flex-direction: column;
    gap: 0;
  }

  .about-right-table td {
    margin-left: 2rem;
  }
}

/* contact */
.contact {
  background-color: #f5f7f7;
}
.contact-lead {
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.8;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 55rem;
  margin: 0 auto;
  align-items: start;
}
.contact-examples {
  padding-top: 1rem;
  font-family: "Noto Sans JP", sans-serif;
}
.contact-examples h3 {
  width: fit-content;
  margin-bottom: 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #0bd;
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 500;
}
.contact-examples ul {
  padding-left: 1.25rem;
  line-height: 2;
  font-size: 0.875rem;
}
.contact-examples li::marker {
  color: #0bd;
}
.contact-form {
  display: grid;
  gap: 1.25rem;
}
.form-field {
  display: grid;
  gap: 0.45rem;
}
.form-field label {
  font-size: 0.8125rem;
}
.form-field label span {
  margin-left: 0.35rem;
  color: #0a9fbb;
  font-size: 0.6875rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d7dddd;
  border-radius: 0;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
}
.form-field textarea {
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid #0bd;
  outline-offset: 2px;
}
.form-note {
  margin-top: -0.5rem;
  font-size: 0.75rem;
  color: #666;
}
.contact-submit {
  justify-self: start;
  padding: 0.8rem 2.5rem;
  background-color: #0bd;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}
.contact-submit:hover {
  background-color: #099bb3;
}
@media (max-width: 768px){
  .contact{
    padding-top: 1px;
  }
}


/* footer */
.footer {
  background-color: #eee;
  font-size: 0.625rem;
  text-align: center;
}
.footer-inner {
  padding: 0.5rem 0;
}

/* -----modal----- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7);
}

.modal.is-open {
  display: flex;
}

.modal__content {
  position: relative;

  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;

  padding: 40px;
  background: #fff;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 15px;

  border: 0;
  background: none;

  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.modal__content img {
  display: block;
  width: 100%;
  height: auto;
}

.modal__content a {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}
.modal__content--video {
  width: min(640px, 100%);
}
.modal__eyebrow {
  margin-bottom: 0.5rem;
  color: #0bd;
  font-family: "Noto Serif JP", serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.modal__title {
  margin-bottom: 1.5rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
}
.modal__description {
  margin-top: 1.5rem;
  line-height: 1.8;
}
.modal__content .modal__video-button {
  margin-top: 1.5rem;
  padding: 0.9rem 1.75rem;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.modal__content .modal__video-button:hover,
.modal__content .modal__video-button:focus-visible {
  background: #333;
  color: #fff;
}
.video-embed {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 56.25%;
}
.video-embed--portrait {
  width: min(100%, 20rem);
  margin-right: auto;
  margin-left: auto;
  padding-top: 177.78%;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- work detail ----- */
.work-detail-header {
  background-color: #eee;
}
.work-detail-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.work-detail-header a,
.work-detail__back-button {
  color: var(--ink);
  text-decoration: none;
}
.work-detail-header__back,
.work-detail__back-button {
  font-size: 0.875rem;
}
.work-detail-header a:hover,
.work-detail__back-button:hover {
  color: #0bd;
}
.work-detail {
  padding: 5rem 0 7rem;
}
.work-detail__inner {
  width: min(58rem, 92%);
}
.work-detail__category,
.work-detail__note {
  font-size: 0.875rem;
}
.work-detail__category {
  margin-bottom: 0.75rem;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.08em;
}
.work-detail__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.35;
}
.work-detail__note {
  margin-top: 1rem;
}
.work-detail__lead-image {
  max-width: 36rem;
  margin: 3rem auto 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.18);
}
.work-detail__section {
  margin-top: 5rem;
}
.work-detail__heading {
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #000;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
}
.work-detail__data {
  margin-top: 1.5rem;
}
.work-detail__data > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}
.work-detail__data dt {
  font-weight: 700;
}
.work-detail__text {
  margin-top: 1.5rem;
  line-height: 1.9;
}
.work-detail__lp-images {
  max-width: 48rem;
  margin: 2rem auto 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ddd;
}
.work-detail__lp-images img {
  display: block;
  width: 100%;
}
.work-detail__back-button {
  display: block;
  width: fit-content;
  margin: 5rem auto 0;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
}
.work-detail__source {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #0bd;
  background-color: #f4f4f4;
  font-size: 0.875rem;
  line-height: 1.8;
}
.work-detail__source a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}
.work-detail__source a:hover {
  color: #0bd;
}
.banner-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
  list-style: none;
}
.banner-gallery__item {
  overflow: hidden;
}
.banner-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: contain;
  background-color: #f4f4f4;
  box-shadow: 0 0 0 1px #ddd;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.banner-gallery__item:hover img {
  transform: scale(1.02);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.18);
}
.banner-gallery__item p {
  margin-top: 0.75rem;
  font-family: "Noto Serif JP", serif;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  /* ----- works_sp ----- */
  .contact {
    padding-bottom: 4rem;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-examples {
    max-width: 30rem;
    margin: 0 auto;
    padding-top: 0;
  }
  .contact-form {
    max-width: 30rem;
  }

  .work-detail-header__inner {
    min-height: 60px;
  }
  .work-detail {
    padding: 3.5rem 0 5rem;
  }
  .work-detail__section {
    margin-top: 3.5rem;
  }
  .work-detail__data > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .work-detail__source {
    padding: 1rem;
  }
  .banner-gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
}

/* -----about page----- */
.mv{
  position: relative;
}
.about-mv{
  position: absolute;
  background: url(../images/about-mv.png) no-repeat top center/cover;
  top: 50%;
  left: 50%;
  width: 41.25rem;
  height: 27.5rem;
  transform: translate(-50%,-50%);
}
.about-mv-content{
  text-align: center;
}
.about-mv-content h1{
  text-transform: uppercase;
  font-family: "Noto Serif JP", serif;
}

.game-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
  margin: 4rem 0;
}
.game-item:nth-child(3){
  flex-direction: row-reverse;
}
.game-img{
  max-width: 350px;
  width: 40%;
}
.game-txt{
  width: 56%;
}
.game-txt p{
  line-height: 1.8;
  margin: 1.25rem 0;
}
@media(max-width:768px){
  .about-mv{
  background: url(../images/about-mv_sp1.png) no-repeat top center/cover;
  max-width: 15rem;
  max-height: 25rem;
  transform: translate(-50%,-50%);
  padding: .9375rem;
  }
  .game-item,.game-item:nth-child(3){
    flex-direction: column;
  }
  .game-img{
  width: 100%;
  }
  .game-txt{
    width: 100%;
  }
}

.reading-img{
  background: url(../images/reading-intro.png) no-repeat center/cover;

  height: 15rem;
}
.reading-txt{
  max-width: 800px;
  margin: 4rem auto 0;
}
.reading-txt p{
  position: relative;
  line-height: 1.8;
  padding-bottom: 3.75rem;
}
@media(max-width:768px){
  .reading-img{
    height: 5rem;
  }
  .reading-txt{
  margin: 1rem auto 0;
}
  .reading-txt p{
  padding-bottom: 2rem;
}
}

.thinks{
  padding-bottom: 10rem;
}
.thinks-inner{
  display: flex;
  justify-content:center;
  align-items: start;
  gap: 4%;
}

.thinks-mbti{
  position: relative;
  width: 40%;
  max-width: 21.875rem;
}

.thinks-ttl1,.thinks-ttl2{
  font-size: 7rem;
  font-family: "Noto Serif JP", serif;
  color: #fff;
  position: absolute;
  transform: translate(-50%,-50%);

}
.thinks-ttl1{
  text-transform: uppercase;
  top: 20%;
  left: 40%;
}
.thinks-ttl2{
  white-space: nowrap;
  top: 75%;
  left: 60%;
}
.thinks-strengths{
  width: 56%;
}
.strengths-ttl{
  text-transform: capitalize;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  width: fit-content;
  margin: 1rem auto;
  position: relative;
}
.strengths-ttl::before{
  content: "強み";
  position: absolute;
  top: -4rem;
  right: -5rem;
  font-size: 5rem;
  opacity: .1;
  white-space: nowrap;
}
.strengths-txt{
  text-align: center;
  margin: 1rem 0;
}
.strengths-list-ttl{
  text-transform: capitalize;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
}
.strengths-list{
  list-style-position: inside;

}
.strengths-list dt{
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 8px;
  border-bottom: #0bd solid 2px;
  width: fit-content;
}
.strengths-list dt span{
  font-size: 1.25rem;
  margin-left: 1rem;
}
.strengths-list dd{
  margin-left: 4rem;
  margin-bottom: 2rem;
}
.thinks-my{
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
}
.link-top{
  position: relative;
}
.link-top a{
  position: absolute;
  bottom: 2rem;
  right: 2rem;
}
@media(max-width:768px){
  .thinks-inner{
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .thinks-mbti{
  width: 100%;
  }
  .thinks-ttl1,.thinks-ttl2{
  font-size: 4rem;
  transform: translate(-50%,-50%);
  }
  .thinks-strengths{
  width: 100%;
  margin-top: 1rem;
}
.strengths-list-ttl{
  text-align: center;
}
.strengths-ttl::before{
  top: -1.5rem;
  right: -2rem;
  font-size: 3rem;
}
.strengths-list dt{
  font-size: 1.375rem;
}
.strengths-list dt span{
  font-size: 1.125rem;
  margin-left: 0.5rem;
}
.strengths-list dd{
  margin-left: 2rem;
}
.thinks-my{
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: left;
  margin: 4rem auto;

}

}