@charset "UTF-8";
html {
  font-size: 100%;
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  scroll-behavior: smooth;
}
@media (max-width: 599px) {
  html {
    scroll-padding-top: 60px;
  }
}
body {
  background: #f0f0f0;
  line-height: 1.8;
  color: #333;
}
/* メニューオープン時 */
@media (max-width: 599px) {
  body.menu-open {
    overflow: clip;
  }
}
a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
}

.section {
  margin-top: 96px;

  &::before {
    content: '';
    display: block;
    padding-top: -100px;
    margin-top: 100px;

    @media (min-width: 600px) {
      padding-top: 100px;
      margin-top: -100px;
    }
  }
}

.section-title {
  font-size: 3rem;
  margin-bottom: 36px;
  text-align: center;

  @media (min-width: 600px) {
    font-size: 3.5rem;
  }
}

.wrapper {
  margin: 0 auto;
  padding: 0 32px;
  max-width: 1120px;
}

.btn {
  width: 182px;
  padding: 10px 28px;
  border: 1px solid #fff;
  line-height: 1;
  display: inline-block;

  @media (min-width: 600px) {
    width: 174px;
  }

  &:hover {
    background-color: #fff;
    transition: all 0.5s 0s ease;

    .btn_icon-path {
      fill: #333;
    }

    .btn_text {
      color: #333;
    }
  }
}

.btn_icon-path {
  fill: #fff;
}

.btn_text {
  margin-left: 10px;
  font-size: 1.25rem;
  color: #fff;

  @media (min-width: 600px) {
    margin-left: 16px;
  }
}

/* --- スクロールで全要素がフェードインする共通クラス --- */
.scroll-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.scroll-fadein.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* header
================================ */

.header {
  width: 100%;
  background: #333;
  z-index: 999;
  opacity: 0.95;
  height: 90px;
  position: fixed; /* headerを固定 */
  top: 0;
  left: 0;
  right: 0;
  transition: translate 0.3s; /* アニメーション */
}
/* ヘッダーを隠す（JSで追加・削除） */
.header.hide {
  translate: 0 -90px;
}

@media (min-width: 600px) {
  .header {
    height: 100px;
  }
}

.header_container {
  margin: 0 auto;
  padding-left: 4%;
  padding-right: 4%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  line-height: 1.2;
  a {
    font-size: 24px;
    color: #fff;
    font-family: 'Edu NSW ACT Cursive', cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    display: block;
  }
}

.gnav ul {
  display: flex;
}
.gnav a {
  text-transform: uppercase;
}

/* .gnav-profile {
  position: relative;
  &:before {
    display: inline-block;
    position: absolute;
    background: url(/images/ico_profile.svg) no-repeat;
    top: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background-color: #fff;
  }
} */

.gnav_icon {
  display: none;
  @media (min-width: 600px) {
    line-height: 1;
    display: block;
    a {
      line-height: 1;
      display: inline-block;

      &::after {
        display: none;
      }
    }
  }
}

@media (max-width: 599px) {
  .gnav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100svh;
    background: #5b5b5b;
    opacity: 0.9;
    overflow-y: auto;
    visibility: hidden;
    z-index: 998;
    transition: all 0.3s;
  }
  .menu-open .gnav {
    translate: -100%;
    visibility: visible;
  }
  .gnav ul {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    font-size: 1.5rem;
  }
  .gnav li {
    text-align: center;
    height: 80px;
    line-height: 80px;
  }
  .gnav a {
    color: #fff;
    display: block;
  }
  #top {
    padding-top: 100px; /* headerの高さ60px以上の余白を指定 */
  }
}

@media (min-width: 600px) {
  .gnav ul {
    gap: 38px;
    font-size: 1.125rem;
  }
  .gnav a {
    color: #fff;
    position: relative;

    &::after {
      position: absolute;
      bottom: -8px;
      left: 0;
      content: '';
      width: 100%;
      height: 2px;
      background: #fff;
      transform: scale(0, 1);
      transform-origin: center top;
      transition: 0.3s;
    }

    &:hover::after {
      transform: scale(1, 1);
    }
  }
}

.header_list-btn {
  .btn {
    display: inline-block;
  }

  @media (min-width: 600px) {
    display: none;
  }
}

#menu-btn {
  width: 44px;
  height: 44px;
  background: transparent; /* 背景色を透明に */
  border: none;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 999; /* .gnavより上のレイヤーに */
}
.bar,
.bar::before,
.bar::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: #fff; /* 3本ラインの色を変更 */
  position: absolute;
  transition: all 0.4s ease-out;
}
.bar::before {
  bottom: 8px;
}
.bar::after {
  top: 8px;
}
.menu-open .bar {
  background: transparent;
}
.menu-open .bar::before {
  bottom: 0;
  width: 28px;
  rotate: 45deg;
}
.menu-open .bar::after {
  top: 0;
  width: 28px;
  rotate: -45deg;
}

@media (min-width: 600px) {
  #menu-btn {
    display: none;
  }
}

footer {
  background: #333;
  margin-top: 50px;
}
footer p {
  text-align: center;
  padding: 20px 0;
  color: #fff;
}

/* main-visual
================================ */

.main-visual {
  width: 100%;
  position: relative;
}

.main-visual_img {
  opacity: 0.7;

  img {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: top;
    animation: parallax linear both;
    animation-timeline: view();
  }
  @keyframes parallax {
    from {
      background-position: center 0;
    }

    to {
      background-position: center -200px;
    }
  }
}

/* 回転ロゴ */
.container {
  position: absolute;
  opacity: 0.2;
  top: -650px;
  left: -500px;
  padding: 5%;

  @media (min-width: 600px) {
    top: -700px;
  }
}
.block {
  width: 700px;
  height: 700px;
  margin: auto;
}
.circleText {
  overflow: visible;
  animation: rotation 40s linear infinite;
}
.circleText__circle {
  fill: none;
}
.circleText__text {
  fill: #f0f0f0;
  font-size: 12px;
  letter-spacing: 0.05em;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.main-visual_contents {
  position: absolute;
  font-size: 12vw;  
  padding: 28px;
  color: #fff;
  top: 20vh;
  left: 4%;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-shadow: 2px 2px 15px #333;

  @media (min-width: 600px) {
    font-size: 4.5vw;
    top: 50%;
  }
}


/* profile
================================ */
.profile_contents {
  display: flex;
  gap: 36px;
  line-height: 1.4;
  flex-direction: column;
  position: relative;

  @media (min-width: 600px) {
    justify-content: space-between;
    flex-direction: row;
    gap: 56px;
  }
}

.profile_img {
  box-shadow: 3px 3px 15px 1px #333;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  z-index: 100;

  @media (min-width: 600px) {
    max-width: 42%;
    height: 42%;
  }
}

.profile_name {
  font-size: 2.25rem;
  margin-bottom: 28px;
  line-height: 0.8;

  @media (min-width: 600px) {
    font-size: 3rem;
    margin-bottom: 48px;
  }
}



.profile_contents-text {  
  dl {
    font-size: 1rem;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  dt {
    width: 25%;
    font-weight: bold;
    margin-bottom: 12px;

    @media (min-width: 600px) {
      width: 20%;
      margin-right: 6px;
    }
  }

  dd {
    width: 75%;

    @media (min-width: 600px) {
      width: 75%;
    }
  }

}

/* .profile_btn {
  text-align: center;

  @media (min-width: 600px) {
    text-align: right;
  }
  
  .btn {
    margin-top: 36px;
    border: 1px solid #333;

    @media (min-width: 600px) {
      margin-top: 62px;
    }

    &:hover {
      background-color: #333;
      transition: all 0.5s 0s ease;
  
      .btn_icon-path {
        fill: #fff;
      }
  
      .btn_text {
        color: #fff;
      }
    }
  }


  .btn_icon-path {
    fill: #333;
  }
  
  .btn_text {
    color: #333;
  }
} */


/* works
================================ */
.works_list {
  @media (min-width: 600px) {
    display: grid;
    gap: 56px;
    grid-template-columns: 1fr 1fr;
  }
}

.works_item {
  margin-bottom: 56px;
}

.works_item-link {
  color: #333;
  display: inline-block;
}

.works_item-container {
  position: relative;
  max-width: 100%;

  &:hover {
    .works_item-msk {
      opacity: 1;
    }
  }
}

.works_item-img {
  max-width: 100%;
  height: auto;
  box-shadow: 3px 3px 15px 1px #333;
  margin-bottom: 16px;
  line-height: 1;
  /* 画像アニメーション */
  transition: all 0.3s ease-in-out;

  img {
    object-fit: cover;
    opacity: 0.85;
  }

  @media (min-width: 600px) {
    margin-bottom: 24px;
  }
}

.works_item-img,
.works_item-msk {
  &:hover {
    filter: blur(3px);
    background-color: #000;
  }
}

.works_item-msk {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;

  p {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    color: #fff;
    font-size: 1.5 rem;

    @media (min-width: 600px) {
      font-size: 2.25rem;
    }
  }
}

.works_item-title {
  line-height: 1.4;
  font-size: 1rem;

  @media (min-width: 600px) {
    font-size: 1.25em;
    margin-bottom: 8px;
  }
}

.works_item-text {
  font-size: 0.75rem;
  border-bottom: 1px solid #333;
  display: inline-block;

  @media (min-width: 600px) {
    font-size: 0.875rem;
  }
}

/* contact
================================ */
.contact {
  height: 100%;

  @media (min-width: 600px) {
    display: flex;
  }

  .section-title {
    color: #fff;
  }
}

.email-icon {
  width: 30px;
  height: 30px;
  color: #fff;
}

.contact_email {
  background-color: #6f6f6f;
  text-align: center;
  padding: 48px 0;
  width: 100%;
}

.contact_sns {
  background-color: #333;
  text-align: center;
  padding: 48px 0;
  width: 100%;
}

/* footer
================================ */
footer {
  margin: 0;
  background-color: #f0f0f0;
}

small {
  color: #333;
}
