@charset "utf-8";

/* 変数 */
:root {
  --main-color: #8ab3dc;
  --accent-color: #a6acff;
  --bg-color: #efefef;
  --text-color: #333;
  --white: #fff;
  --header-bg: rgba(0, 0, 0, 0.8);
}

/* 基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
}

body {
  letter-spacing: 0.05em;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  color: var(--text-color);
}
a {
  text-decoration: none;
}
img {
  width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

/* 幅 */
.wrapper {
  width: 80%;
  max-width: 1024px;
  margin: 0 auto;
}
.inner {
  max-width: 700px;
  margin: 0 auto;
}

/* 見出し */
.section-title,
.section-subtitle {
  color: #4b52a7;
  text-align: center;
}
.section-title {
  margin: 120px 0 50px;
  font-size: 24px;
}
.section-subtitle {
  font-size: 14px;
  display: block;
}
.card-title {
  font-size: 16px;
  text-align: center;
  border-bottom: 1px solid var(--white);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.sub-title {
  font-size: 12px;
  display: block;
}
/* .work-heading {
  color: #32839c;
  text-align: center;
  border-bottom: 1px #b7b7b7 solid;
  margin: 80px auto 40px;
  font-size: 16px;
} */

/* btn */
.btn {
  width: 180px;
  height: 40px;
  padding: 0 8px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  background-color: var(--main-color);
  border: none;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.8;
}
.btn i {
  color: var(--white);
}

/* card */
.card-flex {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}
.card {
  width: 48%;
  background-color: var(--main-color);
  padding: 20px;
  border-radius: 10px;
  color: var(--white);
}
.card-list {
  padding-left: 20px;
}
.card-list li {
  line-height: 1.7;
  list-style: disc;
}

/* fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s,
    transform 1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.arrow-hidden {
  opacity: 0;
  transition: opacity 0.5s;
}

/* header
-------------- */
.header {
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 80px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  left: 0;
  z-index: 2000;
  top: -80px;
  transition: top 0.4s ease;
}
.header.is-show {
  top: 0;
}
.header h1 {
  font-size: 26px;
}
.header h1 a {
  color: var(--white);
  transition: 0.2s;
}
.header h1 span {
  color: var(--accent-color);
}
.header .pc-nav {
  display: flex;
  gap: 20px;
}
.header .pc-nav li {
  font-size: 16px;
}
.header .pc-nav li a {
  color: var(--white);
  transition: color 0.2s;
}
.header .pc-nav li a:hover {
  color: var(--accent-color);
}

/* ハンバーガーメニュー */
.hamburger {
  width: 30px;
  height: 22px;
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 3000;
}
.hamburger.active {
  position: fixed;
  top: 13px;
  right: 20px;
}
.hamburger span {
  background-color: var(--white);
  width: 100%;
  height: 2.5px;
  border-radius: 4px;
  position: absolute;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    background-color 0.2s ease;
}
.hamburger:hover span {
  background-color: var(--accent-color);
}
.hamburger span:nth-child(1) {
  top: 0px;
}
.hamburger span:nth-child(2) {
  top: 10px;
}
.hamburger span:nth-child(3) {
  top: 20px;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ハンバーガーメニュー本体 */
.hamburger-menu {
  background: var(--header-bg);
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 2500;
  transition: opacity 0.4s ease;
}
.hamburger-menu.active {
  opacity: 1;
  visibility: visible;
}
.hamburger-menu ul {
  background-color: #000;
  width: 200px;
  height: 100%;
  padding: 30px 40px;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(-100%);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}
.hamburger-menu.active ul {
  opacity: 1;
  transform: translateX(0);
}
.hamburger-menu li {
  opacity: 0;
  transform: translateX(-100%);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.hamburger-menu.active li {
  opacity: 1;
  transform: translateX(0);
}
.hamburger-menu.active li:nth-child(1) {
  transition-delay: 0.1s;
}
.hamburger-menu.active li:nth-child(2) {
  transition-delay: 0.2s;
}
.hamburger-menu.active li:nth-child(3) {
  transition-delay: 0.3s;
}
.hamburger-menu.active li:nth-child(4) {
  transition-delay: 0.4s;
}
.hamburger-menu a {
  color: var(--white);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.hamburger-menu a:hover {
  color: var(--accent-color);
}

/* main
------------- */
.main-visual {
  background-image: url(../images/disney-visual.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}
.main-visual .main-visual-title {
  text-align: center;
}
.main-visual .main-visual-title p {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}
.visual-subtitle {
  font-size: 1.5rem;
  display: block;
}
.main-visual .btn {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  transition: background-color 0.2s ease;
}
.main-visual .btn:hover {
  background-color: #4b52a7;
  opacity: 1;
}
.main-visual .fa-arrow-down {
  font-size: 2rem;
  color: var(--white);
  animation: bounce 1s infinite;
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* about */
.about-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  margin: 80px auto;
}
.about-image {
  flex: 0 0 180px;
}
.about-image img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.about-flex p {
  line-height: 1.7;
  font-size: 16px;
}
.about-flex span {
  font-weight: bold;
}

/* works */
.works {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.works-title {
  color: #758baf;
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}
.works-item {
  flex: 1;
}
.works-img a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.works-img img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.works-img img:hover {
  opacity: 0.6;
  transform: scale(1.03);
}
.works-description > li {
  margin-top: 16px;
}
.works-description li ol li {
  list-style: decimal inside;
}

/* contact */
#contact {
  text-align: center;
}
#contact p {
  margin-bottom: 50px;
}

/* to-top */
.to-top {
  width: 50px;
  height: 50px;
  padding: 0;
  text-align: center;
  background-color: var(--main-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.to-top i {
  font-size: 130%;
  line-height: 50px;
  color: var(--white);
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}
.to-top:hover {
  opacity: 0.8;
}

/* 
footer
*/
.footer {
  background-color: var(--main-color);
  color: var(--white);
  height: 120px;
  margin-top: 120px;
}
.footer div {
  padding-top: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  /* 見出し */
  .section-title {
    font-size: 20px;
    margin: 80px 0 20px;
  }
  .section-subtitle {
    font-size: 12px;
  }
  .card-title {
    font-size: 16px;
  }
  .works-title {
    font-size: 16px;
  }

  /* btn */
  .btn {
    font-size: 14px;
  }

  /* card */
  .card-flex {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    width: 100%;
  }
  .card-list li {
    font-size: 14px;
  }

  /* header*/
  .header {
    height: 48px;
    line-height: 48px;
    padding: 0 20px;
  }
  .header h1 {
    font-size: 20px;
  }
  .header .pc-nav {
    display: none;
  }
  .hamburger {
    display: block;
  }

  /* main*/
  .main-visual {
    height: 100vh;
    background-image: url(../images/disney-visual-sp.jpg);
    background-size: cover;
    background-position: center;
  }

  /* about */
  .about-image {
    width: 140px;
    height: 140px;
    flex: none;
    margin: 0 auto;
  }
  .about-flex {
    flex-direction: column;
    margin: 20px auto;
    gap: 20px;
  }
  .about-flex p {
    font-size: 14px;
    padding: 0 16px;
  }

  /* works */
  .works {
    flex-direction: column;
    margin: 0 auto 2rem;
  }
  .works-description > li {
    font-size: 14px;
  }

  /* contact */
  #contact {
    font-size: 14px;
  }
  #contact p {
    margin: 20px 0;
  }

  /* footer */
  .footer small {
    font-size: 14px;
  }
}
