@charset "UTF-8";

/* ===== リセット＋全ページ共通 ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* LLMO/スクリーンリーダー向け: 視覚的に非表示だがDOM/アクセシビリティツリーには残す */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--page-nav-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: var(--fz-base);
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg-base); /* フォールバック */
    background-image: url(../images/common/common-bg.jpg);
    background-repeat: repeat;
    -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
}
/* PC表示のみ改行（SPでは改行しない） */
.br-pc { display: none; }
@media (min-width: 769px) {
  .br-pc { display: inline; }
}

/* SP表示のみ改行（PCでは改行しない） */
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-sp { display: inline; }
}
/* ===== レイアウト ===== */

.l-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-container--narrow {
  max-width: var(--container-narrow);
}

.l-section {
  padding: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  .l-section {
    padding: 64px 0;
  }
}

/* 同色セクション境界のインナーシャドウ */
.l-section--bordered {
  box-shadow: inset 0 18px 32px -4px rgba(92, 61, 46, 0.1);
}

/* ===== セクションタイトル共通 ===== */

.c-section-head {
  align-self: stretch;
  text-align: center;
  margin-bottom: 48px;
}

.c-section-head__en {
  display: block;
  font-family: var(--font-base);
  font-size: var(--fz-sm);
  letter-spacing: 0.3em;
  color: var(--color-accent-orange);
  font-weight: 700;
}

.c-section-head__ja {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.c-section-head__ja::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--color-accent-yellow);
  z-index: -1;
  transform: translate(3px, 3px);
  pointer-events: none;
}



@media (max-width: 768px) {
  .c-section-head {
    margin-bottom: 32px;
  }
  .c-section-head__ja {
    font-size: 22px;
    letter-spacing: 0.02em;
  }
}

/* ===== 共通ボタン ===== */

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 12px var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.c-btn--primary {
  background-color: var(--color-primary);
  color: #fff;
}

.c-btn--primary:hover {
  background-color: var(--color-primary-dark);
  opacity: 1;
}

.c-btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
}

.c-btn--yellow {
  background-color: var(--color-accent-yellow);
  color: var(--color-text);
  padding: var(--space-sm) 32px;
  border-radius: var(--radius-pill);
  font-size: var(--fz-base);
}

.c-btn--yellow:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.c-btn--pill {
  border-radius: var(--radius-pill);
  padding: 14px 28px;
}

.c-btn__icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: currentColor;
}

/* ===== ヘッダー ===== */

.l-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  z-index: 100;
}

.l-header__inner {
  height: 100%;
  margin: 0 auto;
  padding: 0 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* ヘッダーロゴ（SVG1枚） */
.l-header__logo {
  display: inline-flex;
  align-items: center;
}

.l-header__logo-img {
  height: 80px;
  width: auto;
  display: block;
}

/* フッターロゴ（SVG1枚・元の色のまま） */
.l-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.l-footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
}

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

.p-header-actions .c-btn {
  padding: 10px 18px;
}

/* ヘッダーのInstagramボタン（緑背景・アイコン+テキスト／右上固定） */
.l-header__ig-btn {
  position: absolute;
  top: 0;
  right: 60px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 0 0 20px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.l-header__ig-btn:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  opacity: 1;
}

.l-header__ig-btn img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1); /* SVGを白に */
}

.p-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.p-hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.p-hamburger span:nth-child(1) { top: 15px; }
.p-hamburger span:nth-child(2) { top: 21px; }
.p-hamburger span:nth-child(3) { top: 27px; }

.p-hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.p-hamburger.is-open span:nth-child(2) { opacity: 0; }
.p-hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .p-hamburger { display: block; }

  .l-header__ig-btn {
    display: inline-flex !important;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 120;
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 0 0 12px 12px;
  }

  .p-hamburger {
    position: fixed;
    top: 56px;
    right: 8px;
    z-index: 125;
  }

  .p-hamburger span {
    background: var(--color-primary-dark);
  }
}

/* ===== ページ内ナビ（横・sticky） ===== */

.p-page-nav {
    position: sticky;
    top: 0;
    background-color: var(--color-bg-white);
    z-index: 50;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
}

.p-page-nav__list {
  font-family: var(--font-display);
    font-weight: 600;
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--page-nav-height);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.p-page-nav__list::-webkit-scrollbar { display: none; }

.p-page-nav__item {
  display: inline-block;
  padding: 8px 4px;
  font-size: 16px;
  color: var(--color-text-sub);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.p-page-nav__item.is-active,
.p-page-nav__item:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  opacity: 1;
}

@media (max-width: 768px) {
  .p-page-nav { display: none; }
  .p-page-nav__list { justify-content: flex-start; gap: 16px; padding: 0 var(--space-sm); }
  .p-page-nav__item { font-size: 12px; padding: 14px 2px; display: inline-flex; align-items: center; }
}

/* ===== SPドロワーメニュー ===== */

.p-drawer {
  display: none;
}

@media (max-width: 768px) {
  .p-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85vw;
    max-width: 360px;
    z-index: 105;
    background: rgba(255, 255, 255, 1);
    overflow-y: auto;
    padding: calc(var(--header-height) + var(--space-xs)) var(--space-md) var(--space-xl);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .p-drawer::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
  }

  .p-drawer.is-open {
    transform: translateX(0);
  }

  .p-drawer.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .p-drawer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .p-drawer__label {
    font-size: var(--fz-xs);
    font-weight: 700;
    color: var(--color-text-sub);
    letter-spacing: 0.1em;
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--color-border);
    margin: 0;
  }

  .p-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .p-drawer__nav a {
    display: block;
    padding: 6px 10px;
    font-size: var(--fz-base);
    font-weight: 500;
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
  }

  .p-drawer__nav a::before {
    content: '▶';
    color: var(--color-primary);
    font-size: 10px;
    margin-right: var(--space-xs);
  }

  .p-drawer__nav li:last-child a {
    border-bottom: 1px solid var(--color-border);
  }

  .p-drawer__external-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.5;
  }

  .p-drawer__close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .p-drawer__close span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-text-sub);
  }

  .p-drawer__close span:nth-child(1) {
    transform: rotate(45deg);
  }

  .p-drawer__close span:nth-child(2) {
    transform: rotate(-45deg);
  }

  .p-drawer__cta {
    align-self: center;
    margin-top: var(--space-sm);
    min-width: 260px;
  }
}

/* ===== サイドナビ（縦・左固定） ===== */

.p-side-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
  /* 初期状態: 非表示（メインメニューが画面外に消えてから表示） */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.p-side-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.p-side-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-side-nav__item {
  display: block;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--color-text-sub);
  border-left: 3px solid transparent;
  line-height: 1.4;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.p-side-nav__item.is-active,
.p-side-nav__item:hover {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background-color: rgba(99, 173, 82, 0.08);
  opacity: 1;
}

@media (max-width: 1024px) {
  .p-side-nav { display: none; }
}

/* ===== フローティングCTA ===== */

.p-floating-cta {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 60;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: var(--color-accent-yellow);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: var(--space-xs);
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-floating-cta:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--color-shadow-strong);
}

.p-floating-cta__icon {
  width: 60px;
  height: 60px;
  color: var(--color-primary);
}

.p-floating-cta__text {
  font-size: var(--fz-md);
  font-weight: 700;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .p-floating-cta {
    width: 96px;
    height: 96px;
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
  .p-floating-cta__icon {
    width: 28px;
    height: 28px;
  }
  .p-floating-cta__text {
    font-size: var(--fz-xs);
  }
}

/* ===== フッター ===== */

.l-footer {
  background-color: var(--color-bg-cream2);
  padding: var(--space-sm) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-footer__inner {
  width: 100%;
  max-width: var(--container-max);
  padding: var(--space-md);
  text-align: center;
}

.l-footer__logo {
  justify-content: center;
}

.p-footer-info {
  font-size: var(--fz-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
}

.p-footer-info dt {
  display: inline;
  font-weight: 700;
  margin-right: var(--space-xs);
}

.p-footer-info dd {
  display: inline;
  margin: 0;
}

.l-footer__copy {
  align-self: stretch;
    background-image: url(../images/common/common-bg.jpg);
    background-repeat: repeat;
  text-align: center;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
}
