/* ===== ページ内リンクジャンプ時のズレ防止 ===== */
html {
  scroll-behavior: smooth; /* スムーススクロールを有効化 */
  scroll-padding-top: 90px; /* PC時のヘッダー余白（90px） */
}

/* スマホの時は余白を大きくする（先ほどのJSの設定と同じ120px） */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 50px;
  }
}

/* ========== CONTAINER ========== */
.contents_inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sp-only {
  display: none;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .sp-only {
    display: block;
  }
}

/* ========== FADE-UP ANIMATION ========== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.15s; }
.fade-up-delay-2 { transition-delay: 0.3s; }
.fade-up-delay-3 { transition-delay: 0.45s; }

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  background: #fff;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 15px;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.header-logo span {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a:not(.header-order) {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1d1d1d;
  transition: opacity 0.3s;
}

.header-nav a:not(.header-order):hover {
  opacity: 0.7;
}

.header-order {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1d1d1d;
  color: #fff;
  padding: 0 28px;
  height: 75px;
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.3s;
}

.header-order:hover {
  opacity: 0.85;
}

.header-order img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .header-nav > a {
    display: none;
  }

  .header-inner {
    padding: 0 20px 0 10px;
  }

  .header-nav {
    gap: 16px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .header {
    height: 60px;
  }

  .header-logo img {
    width: 60px;
    height: 60px;
  }

  .header-logo span {
    font-size: 22px;
  }

  .header-order {
    display: none;
  }

  .header-nav {
    gap: 12px;
  }
}

/* ========== SECTION TITLES ========== */
.section-title-en {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.47;
      letter-spacing: 1.2px;

}

.section-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 60px;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .section-title-en {
    font-size: 32px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .section-title-en {
    font-size: 28px;
  }

  .section-title-ja {
    font-size: 14px;
    margin-bottom: 40px;
  }
}

/* ========== BUTTONS ========== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1d1d1d;
  background: #fff;
  color: #1d1d1d;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 11px 52px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
    letter-spacing: 1.4px;
}

.btn-outline:hover {
  background: #1d1d1d;
  color: #fff;
}

.btn-outline:focus-visible {
  outline: 2px solid #1d1d1d;
  outline-offset: 3px;
}

.btn-outline-white {
  border-color: #1D1D1D;
  color: #1D1D1D;
  background: #fff;
}

.btn-outline-white:hover {
  background: #1d1d1d;
    border-color: #fff ;
  color: #fff;
}

.btn-outline-white:focus-visible {
  outline-color: #fff;
}

.btn-outline-wide {
  width: 580px;
  max-width: 100%;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .btn-outline-wide {
    width: 90%;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .btn-outline {
    padding: 11px 32px;
  }

  .btn-outline-wide {
    width: calc(100% - 40px);
    max-width: 580px;
  }
}

/* ========== BOTTOM LINKS ========== */
.bottom-links {
  display: flex;
  height: 264px;
}

.bottom-link {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bottom-link img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bottom-link:hover img.bg {
  transform: scale(1.05);
}

.bottom-link-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 29, 0.38);
  transition: background 0.4s ease;
}

.bottom-link:hover .bottom-link-overlay {
  background: rgba(29, 29, 29, 0.5);
}

.bottom-link-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.bottom-link-en {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 1.2px;
  line-height: 1.47;
  color: #fff;
}

.bottom-link-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 24px;
}

.bottom-link .btn-outline {
  border-color: #fff;
  color: #1d1d1d;
  background: #fff;
}

.bottom-link .btn-outline:hover {
  background: transparent;
  color: #fff;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .bottom-links {
    height: 220px;
  }

  .bottom-link-en {
    font-size: 32px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .bottom-links {
    flex-direction: column;
    height: auto;
  }

  .bottom-link {
    height: 200px;
    padding: 30px 0;
  }

  .bottom-link-en {
    font-size: 28px;
  }

  .bottom-link-ja {
    font-size: 14px;
  }
}

/* ========== ORDER FORM ========== */
.order {
  position: relative;
  height: 381px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.order-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 29, 0.75);
}

.order-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.order-content .section-title-en {
  color: #fff;
}

.order-content .section-title-ja {
  color: #fff;
  margin-bottom: 24px;
}

.order-desc {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  line-height: 1.875;
  margin-bottom: 32px;
}

.order-content .btn-outline {
  border-color: #fff;
  color: #1d1d1d;
  background: #fff;
}

.order-content .btn-outline:hover {
  background: transparent;
  color: #fff;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .order {
    height: 340px;
    padding: 0 32px;
  }

  .order-desc {
    font-size: 15px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .order {
    height: auto;
    padding: 60px 20px;
    min-height: 320px;
  }

  .order-content .section-title-en {
    font-size: 28px;
  }

  .order-desc {
    font-size: 14px;
  }

  .order-content .btn-outline {
    width: 100%;
  }
}

/* ========== SOCIAL ICONS ========== */
.social-icons {
  display: flex;
  justify-content: center; /* アイコンを中央に寄せる */
  gap: 15px; /* 複数並べた時のアイコン同士のすき間（必要に応じて） */
}

/* imgのCSSはそのまま！ */
.social-icons img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: opacity 0.3s;
}

.social-icons a:hover img {
  opacity: 0.7;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
}

/* ========== FOOTER ========== */
.footer {
  background: #fff;
  padding: 20px 62px 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-logo span {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 35px;
  color: #1d1d1d;
}

.footer-nav {
  display: flex;
  gap: 32px;
  margin-bottom: 24px; /* サブナビのために少し余白を減らす */
}

.footer-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1d1d1d;
  transition: opacity 0.3s;
}

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

/* ★追加：補助リンク（サイトマップなど）のスタイル */
.footer-subnav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
}

.footer-subnav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400; /* メインメニューより少し細くして階層をつける */
  font-size: 12px;  /* 文字も少し小さく */
  color: #707070;   /* 色も少し落とす */
  transition: color 0.3s;
}

.footer-subnav a:hover {
  color: #1d1d1d;
}

.footer-divider {
  border: none;
  border-top: 1px solid #707070;
  margin-bottom: 30px;
}

.footer-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #1d1d1d;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .footer {
    padding: 48px 32px 32px;
  }

  .footer-nav {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .footer-copy {
    margin-left: 0;
  }

  /* ★追加：サブナビのタブレット対応 */
  .footer-subnav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .footer {
    padding: 15px 20px 20px;
  }

  .footer-top {
    justify-content: center;
  }

  .footer-logo img {
    width: 100px;
    height: 100px;
    margin-bottom: 0px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-left: 0;
    margin-bottom: 16px;
  }

  /* ★追加：サブナビのスマホ対応 */
  .footer-subnav {
    flex-direction: column; /* 縦並びにする */
    gap: 10px;
    margin-bottom: 10px;
  }

  .footer-divider {
    margin-bottom: 20px;
  }

  .footer-copy {
    margin-left: 0;
    font-size: 11px;
  }
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1d1d1d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .hamburger {
    display: flex;
    margin-left: 10px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
}

/* ========== MOBILE OVERLAY ========== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 150;
  pointer-events: none;
  transition: background 0.4s ease;
}

.mobile-overlay.active {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
}

/* ========== MOBILE NAV DRAWER ========== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #1d1d1d;
  padding: 18px 0;
  border-bottom: 1px solid #e3e3e3;
  display: block;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-nav.active a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.16s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.28s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.34s; }

.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 16px;
  background: #1d1d1d;
  color: #fff;
  text-align: center;
  padding: 14px 0;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .mobile-nav .header-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1d1d1d;
    color: #fff;
    width: 100%;
    height: 60px;
    margin-top: 20px;
    padding: 0;
    font-size: 16px;
    border-radius: 0;
    border-bottom: none;
  }

  .mobile-nav .header-order img {
    width: 16px;
    height: 16px;
    margin-bottom: 0;
  }

  .mobile-nav .header-order:active {
    opacity: 0.8;
  }

  .mobile-nav.active .header-order {
    transition-delay: 0.4s;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line-bg {
  width: 262px;
  height: 4px;
  background: #e3e3e3;
  position: relative;
}

.scroll-line-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 3px;
  background: #1d1d1d;
}

.scroll-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1d1d1d;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {
}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .scroll-line-bg {
    width: 180px;
  }
}
