/* =========================================================
   Frais Senteur — 店舗HP  共通スタイル
   STUDIO デザインを元にフルスクラッチで再現
   ========================================================= */
:root {
  --brown: #7B6D5F;   /* 背景・ナビ */
  --paper: #FDFDFD;   /* メインカラム */
  --cream: #F7F2EF;   /* CONCEPT / Q&A */
  --sand:  #CCC3BB;   /* ABOUT / フッター帯 */
  --gold:  #BE964B;   /* アクセント */
  --ink:   #36220B;   /* 本文 */
  --white: #FFFFFF;
  --nav-w: 250px;
  --main-w: 600px;
  --font-en: "Crimson Text", "Times New Roman", serif;
  --font-jp: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--brown);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- 文字スタイル ---------- */
.en        { font-family: var(--font-en); font-weight: 400; }
.sec-label { font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; line-height: 1.6; text-align: center; }
.sec-title { font-family: var(--font-en); font-size: 32px; letter-spacing: .1em; line-height: 1.2; }
.sec-sub   { font-size: 14px; letter-spacing: .05em; line-height: 1.6; margin-top: 4px; }
.gold      { color: var(--gold); }
.txt       { font-size: 16px; line-height: 2; letter-spacing: .05em; }
.txt-s     { font-size: 14px; line-height: 1.5; letter-spacing: .05em; }
.txt-xs    { font-size: 12px; line-height: 1.8; letter-spacing: .05em; }

/* ---------- 背景ループ (左側に流れる写真) ---------- */
.bg-loop {
  position: fixed; inset: 0; z-index: 0;
  display: flex; align-items: center; overflow: hidden;
  pointer-events: none;
}
.bg-loop__track {
  display: flex; gap: 40px; flex: none;
  animation: bgloop 93.6s linear infinite; /* 6枚×390px = 2340px / 25px/s */
}
.bg-loop__track img { width: 350px; height: 538px; object-fit: cover; flex: none; }
@keyframes bgloop { from { transform: translateX(0); } to { transform: translateX(-2340px); } }
.copyright {
  position: fixed; left: 35px; bottom: 40px; z-index: 1;
  font-family: var(--font-en); font-size: 13px; letter-spacing: .08em; color: var(--paper);
}

/* ---------- 右固定ナビ ---------- */
.site-nav {
  position: fixed; top: 0; right: 0; z-index: 20;
  width: var(--nav-w); height: 100vh;
  background: var(--brown);
  padding: 40px 0 0 45px;
}
.site-nav__logo img { width: 160px; height: auto; }
.site-nav__list { margin-top: 40px; }
.site-nav__list li a {
  display: block; height: 44px; line-height: 44px;
  font-family: var(--font-en); font-size: 16px; letter-spacing: .1em; color: var(--paper);
  transition: opacity .3s;
}
.site-nav__list li a:hover, .site-nav__list li a.is-active { opacity: .6; }
.site-nav__sns {
  display: flex; align-items: center; gap: 16px; margin-top: 40px;
  font-family: var(--font-en); font-size: 14px; letter-spacing: .15em; color: var(--paper);
}
.site-nav__sns img { width: 20px; height: 20px; }
.nav-toggle, .sp-header { display: none; }

/* ---------- 予約ボタン (固定) ---------- */
.reserve-btn {
  position: fixed; right: 190px; bottom: 50px; z-index: 30;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 15px; font-weight: 600; letter-spacing: .1em; line-height: 1.5; text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .3s, background .3s;
}
.reserve-btn:hover { transform: scale(1.05); background: #4a2f12; }
.reserve-btn img { width: 24px; height: auto; }

/* ---------- メインカラム ---------- */
.site-main {
  position: relative; z-index: 1;
  width: var(--main-w);
  margin: 0 var(--nav-w) 0 auto;
}
.site-main > section, .site-main > div { position: relative; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-sand  { background: var(--sand); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  animation: heroFade 36s infinite;
}
.hero__frame:nth-child(1) { animation-delay: 0s; }
.hero__frame:nth-child(2) { animation-delay: 6s; }
.hero__frame:nth-child(3) { animation-delay: 12s; }
.hero__frame:nth-child(4) { animation-delay: 18s; }
.hero__frame:nth-child(5) { animation-delay: 24s; }
.hero__frame:nth-child(6) { animation-delay: 30s; }
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; }
  16.6%{ opacity: 1; transform: scale(1); }
  21%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.hero__logo {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  width: 413px; max-width: 70%; z-index: 2;
}
.hero__logo img { width: 100%; }

/* ---------- セクション共通 ---------- */
.sec { padding: 60px 40px; }
.ornament { display: block; width: 110px; margin: 0 auto 8px; }
.sec-head { padding-left: 48px; margin-bottom: 40px; }
.sec-head--center { text-align: center; padding-left: 0; }

/* ボタン (テキスト + 丸矢印) */
.btn {
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  font-size: 16px; font-weight: 700; letter-spacing: .1em; line-height: 1.6;
}
.btn__circle {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold); flex: none;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.btn__circle img { width: 22px; height: 12px; }
.btn:hover .btn__circle { transform: translateX(6px); }

/* カード */
.card { background: var(--paper); padding: 30px; margin: 0 0 40px; }
.card:last-child { margin-bottom: 0; }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__img--wide { aspect-ratio: 440 / 183; }
.card__body { padding: 20px 20px 0; }
.card__label { font-size: 14px; line-height: 1.6; letter-spacing: .05em; }
.card__en { font-family: var(--font-en); font-size: 32px; letter-spacing: .1em; line-height: 1.2; color: var(--gold); margin-top: 8px; }
.card__ja { font-size: 14px; line-height: 1.6; letter-spacing: .05em; margin-top: 4px; }
.card__txt { margin-top: 24px; }
.card__btn { margin-top: 40px; }
.card__2col { display: grid; grid-template-columns: 1fr 1fr; }
.card__2col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* 開閉 (ケーキについて / ギフトについて) */
.toggle__btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  margin-top: 40px; font-size: 16px; font-weight: 700; letter-spacing: .1em;
}
.toggle__btn .ic { width: 11px; height: 11px; background: var(--ink); -webkit-mask: url(../img/icon-plus.svg) center/contain no-repeat; mask: url(../img/icon-plus.svg) center/contain no-repeat; transition: transform .3s; }
.toggle.is-open .toggle__btn .ic { -webkit-mask-image: url(../img/icon-minus.svg); mask-image: url(../img/icon-minus.svg); height: 2px; }
.toggle__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.4,.4,0,1); }
.toggle.is-open .toggle__body { grid-template-rows: 1fr; }
.toggle__inner { overflow: hidden; }
.toggle__content { padding-top: 40px; }
.toggle__close {
  display: block; margin: 40px auto 0; padding: 6px 32px; border-radius: 999px;
  background: var(--brown); color: var(--paper); font-size: 14px; letter-spacing: .05em;
}
.award { text-align: center; margin-bottom: 24px; }
.award__name { font-size: 16px; line-height: 1.8; }
.award__prize { font-size: 12px; line-height: 1.8; }
.contact-box { padding: 0 25px; }
.contact-box .tel { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; font-family: var(--font-en); }
.contact-box .tel span { font-size: 20px; font-weight: 600; }
.contact-box .tel a  { font-size: 32px; letter-spacing: 0; }
.contact-box .ig { display: block; margin-top: 4px; font-family: var(--font-en); font-size: 20px; font-weight: 600; }
.contact-box .ig:hover, .contact-box .tel a:hover { color: var(--gold); }
.contact-box .list { margin-top: 24px; }
.keep { margin: 24px 0; }
.keep__title { font-size: 20px; line-height: 1.8; text-align: center; margin-bottom: 16px; }
.keep__row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.keep__row dt { background: var(--brown); color: var(--paper); font-family: var(--font-sans); font-weight: 400; text-align: center; line-height: 1.8; }
.keep__row dd { margin: 0; text-align: center; line-height: 1.8; }
.gift-imgs { display: grid; gap: 8px; }
.gift-imgs img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.divider { width: 100%; height: 1px; background: var(--sand); margin: 12px 0 20px; }

/* ---------- CONCEPT ---------- */
.concept { padding: 60px 40px 70px; }
.concept__title { font-size: 26px; font-weight: 700; line-height: 1.8; letter-spacing: .1em; color: var(--gold); margin: 24px 0 24px 62px; }
.concept__body { margin-left: 62px; }
.concept__body p + p { margin-top: 32px; }

/* 横ループ (CONCEPT 下) */
.loop-strip { overflow: hidden; padding: 40px 0; }
.loop-strip__track { display: flex; gap: 24px; width: max-content; animation: striploop 107.5s linear infinite; } /* 7枚×384px = 2688px / 25px/s */
.loop-strip__track img { width: 360px; height: 288px; object-fit: cover; flex: none; }
@keyframes striploop { from { transform: translateX(0); } to { transform: translateX(-2688px); } }

/* ---------- NEWS ---------- */
.news-list { margin-top: 40px; }
.news-item { display: block; background: var(--white); padding: 30px 8px 24px; margin-bottom: 0; border-bottom: 1px solid var(--cream); transition: background .3s; }
.news-item:hover { background: var(--cream); }
.news-item__meta { display: flex; gap: 12px; font-size: 14px; line-height: 1; letter-spacing: .1em; color: var(--gold); }
.news-item__title { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.news-list + .btn { margin-top: 40px; }

/* ---------- SERVICE (紙テクスチャ) ---------- */
.service { background: var(--paper) url(../img/texture-paper.webp) center/cover repeat; padding-bottom: 80px; }
.service .ornament { padding-top: 60px; }
.service__group { padding: 60px 40px 0; }
.service__hero { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- ABOUT ---------- */
.about { padding: 60px 40px 80px; }
.about__photo { width: 300px; margin: 50px auto 0; }
.about__role { font-family: var(--font-en); font-size: 16px; letter-spacing: .1em; text-align: center; margin-top: 40px; }
.about__name { font-size: 28px; letter-spacing: .15em; line-height: 1; text-align: center; margin-top: 12px; }
.about__romaji { font-family: var(--font-en); font-size: 16px; letter-spacing: .12em; line-height: 1; text-align: center; margin-top: 10px; }
.about__bio { font-weight: 500; margin: 40px 29px 0; }
.about__bio p + p { margin-top: 0; }
.awards { margin: 40px 29px 0; }
.awards__title { font-size: 20px; line-height: 1.6; margin-bottom: 24px; }
.awards dl { display: grid; grid-template-columns: 64px 1fr; row-gap: 16px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.awards dt, .awards dd { margin: 0; }
.awards dd.cont { grid-column: 2; margin-top: -8px; }

/* ---------- コラージュ (透過・背景が見える) ---------- */
.collage { height: 464px; position: relative; }
.collage__a { position: absolute; left: 120px; top: 0; width: 480px; }
.collage__b { position: absolute; left: 50px; top: 212px; width: 209px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.collage__c { position: absolute; left: 251px; top: 356px; width: 319px; }

/* ---------- Q & A ---------- */
.qa { padding: 60px 40px; }
.qa-item { margin-top: 16px; }
.qa-item__q {
  display: flex; align-items: flex-start; gap: 16px; width: 100%; text-align: left;
  padding: 0 12px; position: relative;
}
.qa-item__q .q { font-family: var(--font-en); font-size: 24px; font-weight: 700; line-height: 1.8; color: var(--gold); flex: none; }
.qa-item__q .t { padding-top: 7px; line-height: 1.8; padding-right: 32px; }
.qa-item__q .ic { position: absolute; right: 12px; top: 14px; width: 15px; height: 15px; background: var(--ink); -webkit-mask: url(../img/icon-plus.svg) center/contain no-repeat; mask: url(../img/icon-plus.svg) center/contain no-repeat; transition: transform .3s; }
.qa-item.is-open .qa-item__q .ic { transform: rotate(45deg); }
.qa-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.4,.4,0,1); }
.qa-item.is-open .qa-item__a { grid-template-rows: 1fr; }
.qa-item__a > div { overflow: hidden; }
.qa-item__a .box { display: flex; gap: 16px; background: var(--paper); padding: 12px; margin-top: 8px; }
.qa-item__a .a { font-family: var(--font-en); font-size: 24px; font-weight: 700; line-height: 1.3; flex: none; }
.qa-item__a .t { line-height: 1.8; }
.qa .btn { margin-top: 40px; }
.qa-cat { font-size: 20px; line-height: 1.6; margin: 48px 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--sand); }
.qa-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; }
.qa-nav a { border-bottom: 1px solid var(--gold); line-height: 1.8; }

/* ---------- ACCESS ---------- */
.access__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.access__body { padding: 60px 40px; }
.access__shop { font-size: 28px; line-height: 1.8; letter-spacing: .1em; margin: 24px 0 40px 0; }
.access__dl { display: grid; grid-template-columns: 110px 1fr; row-gap: 10px; }
.access__dl dt { color: var(--gold); line-height: 1.8; }
.access__dl dd { margin: 0; line-height: 1.8; }
.access__dl dt.sm { font-size: 14px; line-height: 1.5; padding-top: 4px; }
.access__map { width: 100%; height: 400px; border: 0; margin: 40px 0; display: block; filter: saturate(.7); }

/* ---------- フッター帯 ---------- */
.footer-band { height: 120px; display: flex; align-items: center; justify-content: center; }
.footer-band .copyright { position: static; color: var(--ink); display: none; }

/* ---------- 下層ページ共通 ---------- */
.page-hero { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-head { padding: 60px 40px 0; }
.page-head .sec-title { text-align: center; }
.page-head .sec-sub { text-align: center; }
.page-lead { font-size: 24px; font-weight: 700; line-height: 1.8; letter-spacing: .1em; color: var(--gold); text-align: center; margin: 40px 0 24px; }
.page-txt { text-align: center; }
.menu-card { background: var(--paper); padding: 30px; margin-top: 40px; }
.menu-card__season { font-size: 14px; line-height: 1.6; }
.menu-card__en { font-family: var(--font-en); font-size: 28px; letter-spacing: .1em; line-height: 1.2; color: var(--gold); margin-top: 8px; }
.menu-card__ja { font-size: 16px; line-height: 1.6; margin-top: 4px; }
.menu-card__txt { margin-top: 20px; }
.menu-card__dl { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); line-height: 1.8; }
.menu-card__dl dt { color: var(--gold); }
.menu-card__dl dd { margin: 0; }
.course-list { margin-top: 8px; }
.course-list dt { color: var(--gold); line-height: 1.8; }
.course-list dd { margin: 0 0 12px; line-height: 1.8; }
.cake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; margin-top: 40px; }
.cake-grid figure { margin: 0; text-align: center; }
.cake-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); }
.cake-grid figcaption { margin-top: 12px; line-height: 1.6; }
.cake-grid .limited { font-size: 12px; line-height: 1.6; color: var(--gold); display: block; }
.note-box { background: var(--paper); padding: 30px; margin-top: 40px; }
.recruit-block h3 { font-size: 16px; margin-top: 40px; }
.recruit-block p + p { margin-top: 16px; }
.recruit-block .sub { margin-top: 16px; }
.news-article { padding: 60px 40px; }
.news-article__meta { display: flex; gap: 12px; color: var(--gold); font-size: 14px; letter-spacing: .1em; }
.news-article__title { font-size: 24px; line-height: 1.6; margin-top: 12px; }
.news-article__body { margin-top: 32px; }
.news-article__body p + p { margin-top: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 48px; font-size: 14px; letter-spacing: .1em; }
.back-link img { width: 22px; transform: rotate(180deg); }

/* ---------- 出現アニメーション ---------- */
.appear { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.appear.is-in { opacity: 1; transform: none; }

/* ---------- ローディング ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: flex; align-items: center; justify-content: center; transition: opacity .6s; }
.loader.is-done { opacity: 0; pointer-events: none; }
.loader img { width: 200px; opacity: 0; animation: loaderIn 1.2s ease forwards; filter: invert(.55) sepia(.3); }
@keyframes loaderIn { to { opacity: 1; } }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1100px) {
  :root { --nav-w: 220px; }
  .site-nav { padding-left: 30px; }
  .reserve-btn { right: 160px; }
}
@media (max-width: 900px) {
  :root { --nav-w: 0px; --main-w: 100%; }
  body { font-size: 15px; }
  .bg-loop, .copyright { display: none; }
  .site-main { width: 100%; margin: 0; }
  .site-nav {
    width: min(300px, 80vw); transform: translateX(100%); transition: transform .4s cubic-bezier(.4,.4,0,1);
    padding: 90px 0 0 40px;
  }
  .site-nav.is-open { transform: none; box-shadow: -10px 0 40px rgba(0,0,0,.25); }
  .site-nav__logo { display: none; }
  .site-nav__list { margin-top: 0; }
  .sp-header {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; top: 0; left: 0; right: 0; z-index: 25; height: 60px; padding: 0 16px 0 20px;
    background: rgba(123,109,95,.92); backdrop-filter: blur(6px);
  }
  .sp-header__logo img { width: 154px; height: auto; filter: brightness(0) invert(1); } /* 元SVGは黒なので白に反転 */
  .nav-toggle { display: block; width: 44px; height: 44px; position: relative; z-index: 26; }
  .nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--paper); transition: transform .3s, opacity .3s; }
  .nav-toggle span:nth-child(1) { top: 14px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 28px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-overlay { position: fixed; inset: 0; z-index: 19; background: rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .nav-overlay.is-open { opacity: 1; pointer-events: auto; }
  .reserve-btn { right: 16px; bottom: 16px; width: 88px; height: 88px; font-size: 12px; }
  .reserve-btn img { width: 20px; }
  .hero { height: 100svh; min-height: 520px; }
  .hero__logo { width: 70%; }
  .sec, .concept, .about, .qa, .access__body, .page-head, .news-article { padding-left: 20px; padding-right: 20px; }
  .sec-head { padding-left: 0; }
  .concept__title { margin-left: 0; font-size: 22px; }
  .concept__body { margin-left: 0; }
  .service__group { padding: 48px 20px 0; }
  .card { padding: 16px; }
  .card__body { padding: 16px 4px 0; }
  .card__en, .sec-title { font-size: 26px; }
  .loop-strip__track img { width: 240px; height: 192px; }
  .loop-strip__track { gap: 16px; animation-duration: 71.7s; }
  @keyframes striploop { to { transform: translateX(-1792px); } }
  .about__bio, .awards { margin-left: 0; margin-right: 0; }
  .collage { height: 300px; }
  .collage__a { left: auto; right: 0; width: 72%; }
  .collage__b { left: 0; top: 140px; width: 36%; }
  .collage__c { left: 44%; top: 230px; width: 48%; }
  .access__dl { grid-template-columns: 90px 1fr; }
  .access__shop { font-size: 22px; }
  .footer-band { height: 80px; }
  .footer-band .copyright { display: block; font-size: 12px; }
  .cake-grid { gap: 28px 12px; }
  .keep__row { grid-template-columns: 120px 1fr; }
  .contact-box { padding: 0; }
  .contact-box .tel a { font-size: 26px; }
}
