html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 80px; /* ヘッダー高さに合わせる */
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
}

/* HEADER */
.header {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  min-height: 80px;
  top: 0;
  z-index: 1000;
}

.header a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header a:hover {
  opacity: 0.7;
}

/* ハンバーガーアイコン */
.hamburger {
  display: none;
}

.sp-nav {
  display: none;
}

/* 共通 */
section {
  background-color: #000;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* MAIN */
#main {
  position: relative;
  background-image: url(../img/top.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 400px;
}

#main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.main-catch {
  font-family: kokuryu, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 100px;
  color: #f0f0f0;
  z-index: 10;
}

/* 面談予約 ボタン */
.inquiry-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.title {
  font-size: 26px;
}

.catch-copy {
  font-size: 24px;
}

/* ABOUT US */
.about-img-wrapper {
  max-width: 550px;
  max-height: 550px;
  min-width: 300px;
  min-height: 300px;
  margin: 0 auto;
}

.about-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-text {
  margin-bottom: 20px;
  color: #ddd;
  line-height: 1.8;
  font-size: 18px;
}

.sns-link a:hover {
  opacity: 0.7;
}

.sns-icon {
  color: #fff;
  font-size: 50px;
}

/* ROLE MODEL */
.member-prof {
  font-size: 20px;
}

.member-prof li {
  color: #fff !important;
}

.role-img-wrapper {
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.role-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SERVICE */
.service-title {
  color: #fff;
  font-size: 24px;
}

.service-img-wrapper {
  max-width: 500px;
  max-height: 500px;
  min-width: 300px;
  min-height: 300px;
  margin: 0 auto;
}

.service-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#service p {
  color: #ddd; /* 白より少し柔らかく */
  line-height: 1.8;
}

.service-text {
  font-size: 18px;
  max-width: 700px;
}

/* MESSAGE */
.message-img-wrapper {
  max-width: 500px;
  max-height: 500px;
  min-width: 300px;
  min-height: 300px;
  margin: 0 auto;
}

.message-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#message p {
  color: #ddd; /* 白より少し柔らかく */
  line-height: 1.8;
}

.message-text {
  font-size: 18px;
  max-width: 700px;
}

/* CONTACT */
.contact-section {
  padding: 150px 0;
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 50px 0;
}

.contact-btn {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 20px 80px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-btn:hover {
  opacity: 0.8;
}

/* FOOTER */
.footer {
  background-color: #fff;
  color: #000;
  padding: 80px 0 30px;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
}

.footer-inner {
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px; /* カラム間の余白 */
}

.footer-left {
  flex: 0 0 300px;
}

.footer-logo-wrapper {
  width: 150px;
  margin-bottom: 15px;
}

.footer-logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.footer-left p {
  font-size: 16px;
  line-height: 1.8;
}

/* 右カラム */
.footer-right {
  margin-top: 100px;
  flex: 0 0 200px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.6;
}

/* SNSアイコン */
.footer-sns a {
  display: inline-block;
  margin-right: 10px;
  background-color: #000;
  color: #fff;
  font-size: 32px;
  border: 1px solid #000;
  border-radius: 6px;
  width: 50px;
  height: 50px;
  text-align: center;
  transition: all 0.3s ease;
}

.footer-sns a:hover {
  background-color: #fff;
  color: #000;
}

/* ↑TOPボタン */
.to-top {
  position: absolute;
  right: 40px; /* ← 右端から30px */
  bottom: 60px; /* ← 下からの位置 */
  background-color: #d9d9d9;
  color: #000;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease;
}

.to-top:hover {
  background-color: #bbb;
}

/* コピーライト */
.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #555;
}

/* SP表示 */
@media (max-width: 768px) {
  .header {
    min-height: 80px;
  }

  .nav-menu {
    display: none;
  }

  .sp-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; /* 上端に固定 */
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    padding-top: 80px; /* ヘッダー高さ分の余白 */
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
  }

  .sp-nav a {
    display: block;
    width: 100%; /* 横幅いっぱい */
    padding: 16px 24px; /* タッチしやすい高さを確保 */
    margin-left: 30px;
    color: #fff;
    text-align: left; /* 左寄せでも良いなら left に変更 */
    text-decoration: none;
    font-size: 18px;
  }

  .sp-nav.active {
    transform: translateY(0%);
    transition: 0.5s ease-in-out;
  }

  .hamburger {
    display: block;
    position: relative;
    top: 0px;
    bottom: 5px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    position: absolute;
    left: 10px;
    width: 30px;
    border-bottom: 2px solid #fff;
    transition: 0.35s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 13px;
  }

  .hamburger span:nth-child(2) {
    top: 25px;
  }

  .hamburger span:nth-child(3) {
    top: 37px;
  }

  .hamburger.active span:nth-child(1) {
    top: 26px;
    transform: rotate(-45deg); /* 1番上のspan要素を反時計回りに45度回す */
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 26px;
    transform: rotate(45deg); /* 2番目と3番目のspan要素を時計回りに45度回す */
  }

  section {
    padding: 0 30px;
  }

  .main-catch {
    font-size: 65px;
  }

  .title {
    font-size: 22px;
  }

  .catch-copy {
    font-size: 20px;
  }

  .about-content {
    margin-top: 0;
  }

  .about-text {
    font-size: 16px;
  }

  .role-img-wrapper {
    max-width: 300px;
    max-height: 300px;
  }

  .member-prof {
    font-size: 16px;
  }

  .service-text {
    font-size: 16px;
  }

  .message-text {
    font-size: 16px;
  }

  .contact-section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .contact-btn {
    font-size: 16px;
    padding: 15px 50px;
  }

  .footer {
    padding-left: 30px;
    padding-right: 30px;
  }

  .footer-inner {
    flex-direction: column; /* 縦並び */
    gap: 30px; /* カラム間の余白少し狭く */
  }

  .footer-left,
  .footer-right {
    flex: 1 1 auto;
    text-align: left; /* 左寄せ */
  }

  .footer-right {
    margin-top: 0;
  }

  .footer-left p,
  .footer-nav a {
    font-size: 15px;
    line-height: 1.8;
  }

  .footer-nav {
    margin-bottom: 15px;
  }

  /* SNSアイコンも少し小さく */
  .footer-sns a {
    font-size: 26px;
    width: 40px;
    height: 40px;
  }

  .to-top {
    display: block;
    margin: 20px 0 0 auto; /* 右寄せ */
  }
}

@media (max-width: 450px) {
  .main-catch {
    font-size: 50px;
  }
}

/* セクション */
.content-section {
  padding: 100px 0;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}
