/*___________________________
Body
___________________________*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  background: #fff;
  font-family: var(--familyNotoSans);
}

body.navOpen {
  overflow: hidden;
}

.ios-mac {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
  Base common text style.
  Change to match design.
*/

p,
h5,
h4,
h3,
h2,
h1,
a,
dd,
dt,
li,
figcaption,
button,
label,
input,
address {
  color: var(--colorBlack);
  font-size: var(--fontMax16Min14);
  font-weight: 400;
  line-height: 1.5;
}

/*___________________________
Container
___________________________*/

.container {
  margin: 0 auto;
  max-width: 67.5rem;
}

.for-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .for-sp {
    display: block;
  }
}

/*___________________________
Header
___________________________*/

.header {
  left: 0;
  padding: 0.625rem 2.5rem;
  position: fixed;
  top: 0;
  height: 5rem;
  width: 100%;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
}

.navbar {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto;
  /* max-width: 67.5rem; */
  align-items: center;
}

.navbar__logo img {
  max-width: 12.5rem;
}

.navbar__list {
  align-self: center;
  display: flex;
  gap: 1.875rem;
  height: fit-content;
  justify-content: flex-end;
  width: 100%;
}

.navbar__item {
  position: relative;
}

.navbar__label {
  width: fit-content;
}

.navbar__label {
  color: #000;
  font-family: var(--familyNotoSans);
  font-size: var(--fontMax18Min16);
  font-weight: 700;
  line-height: 1.38;
  transition: opacity 0.3s ease-out;
}

a.navbar__label:hover {
  opacity: 0.7;
}

.navdrawer {
  align-items: center;
  background: #32373cf5;
  display: none;
  flex-direction: column;
  gap: 18px;
  height: 100svh;
  justify-content: center;
  right: 0;
  top: 0;
  position: fixed;
  width: 40vw;
  z-index: 5;

  /* 閉じた状態 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out,
    visibility 0s linear 0.3s;
}

.navOpen .navdrawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out,
    visibility 0s;
}

.navdrawer__label {
  position: relative;
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--familySerifJP, serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  transition:
    transform 0.3s ease-out,
    color 0.3s ease-out,
    letter-spacing 0.3s ease-out;
}

/* 下線:ホバーで左から右へ伸びる */
.navdrawer__label::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #a9c3de;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}

@media (hover: hover) {
  a.navdrawer__label:hover {
    transform: translateX(0.5rem);
    color: #a9c3de;
    letter-spacing: 0.18em;
  }

  a.navdrawer__label:hover::after {
    transform: scaleX(1);
  }
}

.navdrawer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.5rem;
}

.hamburger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  height: 1.625rem;
  position: relative;
  transition: 0.3s;
  width: 2.5rem;
}

.hamburger span {
  background: #000;
  height: 0.0625rem;
  position: absolute;
  transition: transform 0.2s ease-out;
  width: 100%;
}

.hamburger span:nth-child(1) {
  left: 0;
  top: 0;
}

.navOpen .hamburger span:nth-child(1) {
  transform: translate(-1px, 12px) rotate(45deg);
}

.hamburger span:nth-child(2) {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
}

.navOpen .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger span:nth-child(3) {
  bottom: 0;
  left: 0;
}

.navOpen .hamburger span:nth-child(3) {
  transform: translate(-1px, -12px) rotate(-45deg);
}

.navbar {
  justify-content: space-between;
}

.navbar__logo img {
  max-width: 9.375rem;
}

.navbar__list {
  display: none;
}

.navdrawer {
  display: flex;
}

.hamburger {
  display: block;
}

@media screen and (max-width: 560px) {
  .navbar__logo img {
    max-width: 7.5rem;
  }
  .navdrawer {
    width: 75vw;
  }
}

.nav__Right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.875rem;
}

.navbar__sns {
  transition: transform 0.3s ease-out;
}

@media (hover: hover) {
  .navbar__sns:hover {
    transform: scale(1.15);
  }
}

/*___________________________
 Heading
___________________________*/

.section-title {
  margin-bottom: 2.5rem;
}

.section-title__text {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  font-family: var(--familySerifJP);
}

.section-title__line {
  display: block;
  width: 3.75rem;
  height: 0.25rem;
  margin-top: 0.9375rem;
  background-color: var(--blue-accent);
}

/* 左寄せ */
.section-title--left {
  text-align: left;
}

.section-title--left .section-title__line {
  margin-left: 0;
  margin-right: auto;
}

/* 中央 */
.section-title--center {
  text-align: center;
}

.section-title--center .section-title__line {
  margin-left: auto;
  margin-right: auto;
}

/* 右寄せ */
.section-title--right {
  text-align: right;
}

.section-title--right .section-title__line {
  margin-left: auto;
  margin-right: 0;
}

/* ---------- 共通ボタン ---------- */
.c-button {
  --btn-color: #333;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  padding: 1.125rem 3.5rem; /* 左右同じ余白で、文字を中央に */
  border: 1px solid var(--btn-color);
  background: var(--btn-color);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

/* 矢印:右端に固定(文字の位置に影響しない) */
.c-button__arrow {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}

@media (hover: hover) {
  .c-button:hover {
    background: #fff;
    color: var(--btn-color);
  }

  .c-button:hover .c-button__arrow {
    transform: translate(0.375rem, -50%) rotate(45deg);
  }
}

.c-button:focus-visible {
  background: #fff;
  color: var(--btn-color);
  outline: 2px solid var(--btn-color);
  outline-offset: 2px;
}

/*___________________________
 MV(共通)
 ※ 全ページで読み込まれる共通CSSに置く。TOP専用CSSからは削除する
___________________________*/

.mv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 33rem;
  padding-top: 5rem; /* 固定ヘッダーの高さ */
  background: linear-gradient(to right, #f4faff 0%, #ccdfed 53%, #77a6c6 100%);
}

.mv--sub {
  height: 20rem;
  overflow: hidden;
}

/* 背景の同心円 */
.mv__object {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 40.625rem;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
  pointer-events: none;
}

/* 文字は背景より前面に */
.mv__Inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*___________________________
 MV(下層ページ用)
___________________________*/

.mv--sub {
  height: 21rem;
}

.mv__title {
  position: relative;
  margin: 0;
  padding-bottom: 1.25rem;
  font-family: var(--familySerifJP);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* タイトル下の青いライン */
.mv__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3.75rem;
  height: 0.1875rem;
  background: #5f87ad;
  transform: translateX(-50%);
}

.mv__sub {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .mv--sub {
    height: 16rem;
  }

  .mv__title {
    font-size: 1.75rem;
  }

  .mv__sub {
    padding: 0 1rem;
    font-size: 0.875rem;
  }
}

/*___________________________
 MV(下層ページ用の差分)
___________________________*/

.mv--sub {
  height: 30rem;
}

.sub__mv--title {
  margin: 0;
  color: #fff;
  font-family: var(--familySerifJP);
  font-size: 3.25rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .mv--sub {
    height: 14rem;
  }

  .sub__mv--title {
    font-size: 1.75rem;
  }
}

/*___________________________
　FOOTER
___________________________*/

.footer {
  padding: 2.5rem 1.25rem 2.25rem;
  background: #fff;
  text-align: center;
}

.footer__link {
  display: inline-block;
  color: #222;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  .footer__link:hover {
    opacity: 0.6;
  }
}

.footer__copyright {
  margin: 1rem 0 0;
  color: #222;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1.75rem;
  }

  .footer__link,
  .footer__copyright {
    font-size: 0.8125rem;
  }
}

.text__coming-soon {
  font-size: 1rem;
  text-align: center;
  margin-block: 2.5rem;
}
