@charset "UTF-8";

/* =============================================================================
   Parfait Bar nebi / WordPress theme
   -----------------------------------------------------------------------------
   FLOCSS + BEM。モバイルファーストで書き、各ブロックの直後に
   PC 用の @media (min-width: 768px) を置いている（関連指定を離さないため）。
   数値は Figma（SP 390px / PC 1440px）を整数へ丸めたもの。

   1. Global    : カスタムプロパティ
   2. Base      : 要素セレクタの初期化
   3. Layout    : l-*  ヘッダー / フッター / 下層ページの枠
   4. Component : c-*  複数セクションで使い回す部品
   5. Project   : p-*  セクション・ページ固有
   6. Utility   : u-*
   ========================================================================== */


/* =============================================================================
   1. Global
   ========================================================================== */

:root {
  /* Color */
  --color-green: #b9d3be;
  --color-green-dark: #a0b9a2;
  --color-navy: #384570;
  --color-gold: #a57b1c;
  --color-text: #3e3a39;
  --color-text-inverse: #f5f5f5;
  --color-white: #fff;

  /* Typography */
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;

  /* Layout */
  --content-width: 1000px;      /* 通常セクションの内容幅（Figma PC） */
  --content-width-wide: 1100px; /* Menu セクションの内容幅（Figma PC） */
  --side-padding: 40px;         /* SP/PC 共通の左右余白（Figma SP: 390 - 310） */
  --header-height: 81px;
}


/* =============================================================================
   2. Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-text);
  background: var(--color-green);
  font-family: var(--font-serif);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* <picture> は入れ物としてだけ使い、レイアウトは中の img で行う */
picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}


/* =============================================================================
   3. Layout
   ========================================================================== */

/* --- Header : 最上部では隠し、スクロールしたらすぐスライドインさせる --------- */
.l-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: var(--header-height);
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.l-header.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* 下層ページのヘッダーは最初から表示し、スクロールに追従させる。
   背景色を敷いて、本文がロゴの後ろを通り抜けないようにする */
.l-header--static {
  position: sticky;
  background: var(--color-green);
}

/* News の一覧・詳細は Sotoka サイトと同じく背景を敷かず透明にする */
.l-header--transparent {
  background: transparent;
}

/* --- Footer ---------------------------------------------------------------- */
.l-footer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 38px;
  padding-bottom: 10px;
  background: var(--color-green);
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .l-header {
    height: 80px;
  }

  .l-footer {
    align-items: center;
    height: 56px;
    padding-bottom: 0;
    color: #32492c;
    font-size: 15px;
  }
}


/* --- 下層ページ共通の枠 ------------------------------------------------------
   TOP 以外のページはこの中に置く。左右の余白と内容幅をここでまとめている。 */
.l-page {
  /* SP の内容幅（Figma 390 - 左右 40px） */
  --page-inner: 310px;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  /* 内容が少ないページでもフッターが画面の途中で止まらないようにする
     （ヘッダー 81px ＋ フッター 38px を引いた高さを最低限とる） */
  min-height: calc(100vh - 119px); /* svh 未対応ブラウザ用 */
  min-height: calc(100svh - 119px);
}

.l-page:has(.c-breadcrumb) {
  padding-top: 12px;
}

.l-page__body {
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 68px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .l-page {
    /* PC の内容幅（Figma 1440 - 左右 200px） */
    --page-inner: 1040px;

    padding: 80px var(--side-padding);
    min-height: calc(100vh - 136px); /* ヘッダー 80px ＋ フッター 56px */
    min-height: calc(100svh - 136px);
  }

  .l-page:has(.c-breadcrumb) {
    padding-top: 16px;
  }

  .l-page__body {
    margin-top: 70px;
  }
}


/* =============================================================================
   4. Component
   ========================================================================== */

/* --- Skip link ------------------------------------------------------------- */
.c-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-200%);
}

.c-skip-link:focus {
  transform: translateY(0);
}

/* --- Brand（ヘッダー / メニューのロゴ）------------------------------------- */
.c-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.c-brand__name {
  width: 117px;
  height: 24px;
}

.c-brand__tagline {
  width: 62px;
  height: 8px;
}

/* --- Menu button（ハンバーガー）-------------------------------------------- */
.c-menu-button img {
  width: 41px;
  height: 19px;
}

@media (min-width: 768px) {
  .c-menu-button img {
    width: 48px;
    height: 22px;
  }
}

/* --- Section title / subtitle ---------------------------------------------- */
/* 下層ページの大見出し（.c-page-title）も同じ体裁を使う */
.c-section-title,
.c-page-title {
  color: var(--color-gold);
  font-size: 37px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.c-page-title {
  width: 100%;
}

.c-section-subtitle {
  color: var(--color-gold);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* --- Pill button（VIEW ALL）------------------------------------------------ */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 156px;
  height: 30px;
  border: 1px solid var(--color-gold);
  border-radius: 25px;
  color: var(--color-gold);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s, background 0.2s;
}

/* .u-fade と併用したとき、スクロール表示の transition で hover の色変化が
   消えないように両方を書いておく（1000ms は .u-fade と同じ値） */
.c-button.u-fade {
  transition: opacity 1000ms ease, transform 1000ms ease, color 0.2s, background 0.2s;
}

.c-button img {
  width: 12px;
  height: 12px;
  transform: rotate(90deg); /* 素材は上向きの三角形 */
}

.c-button:hover,
.c-button:focus-visible {
  background: var(--color-gold);
  color: var(--color-green);
}

@media (min-width: 768px) {
  .c-button {
    gap: 20px;
    width: 310px;
    height: 35px;
    font-size: 18px;
  }

  .c-button img {
    width: 8px;
    height: 8px;
  }
}

/* --- News list（TOP の新着一覧）-------------------------------------------- */
.c-news-list {
  width: 100%;
  max-width: 274px;
  margin-inline: auto;
}

.c-news-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 29px 12px 29px 0;
  border-bottom: 1px solid var(--color-gold);
}

.c-news-list li:first-child .c-news-list__item {
  padding-top: 0;
}

.c-news-list__meta {
  font-size: 12px;
  line-height: 1.5;
}

.c-news-list__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.c-news-list__chevron {
  position: absolute;
  right: 1px;
  bottom: 34px;
  width: 5px;
  height: 10px;
}

.c-news-list__item:hover .c-news-list__title {
  color: var(--color-gold);
}

@media (min-width: 768px) {
  .c-news-list {
    max-width: var(--content-width);
  }

  .c-news-list__item {
    padding-right: 22px;
  }

  .c-news-list__meta {
    font-size: 15px;
  }

  .c-news-list__title {
    font-size: 18px;
  }

  .c-news-list__chevron {
    right: 4px;
    bottom: 22px;
    width: 7px;
    height: 13px;
  }
}

/* --- Wave（セクション間の波型の区切り）------------------------------------- */
.c-wave {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px; /* 継ぎ目の隙間防止 */
}

/* 素材は上半分だけが塗られている。下半分の背景を各モディファイアで補う */
.c-wave--to-green {
  background: var(--color-green);
}

.c-wave--to-navy {
  background: var(--color-navy);
}


/* --- Breadcrumb ------------------------------------------------------------ */
.c-breadcrumb {
  align-self: stretch;
  width: 100%;
  max-width: none;
  margin-bottom: 48px;
  text-align: left;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
  content: ">";
  margin-right: 8px;
}

.c-breadcrumb a:hover,
.c-breadcrumb a:focus-visible {
  color: var(--color-gold);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .c-breadcrumb {
    /* ヘッダーロゴ（padding: 20px）と同じ左位置に揃える */
    margin-left: calc(20px - var(--side-padding));
    margin-bottom: 64px;
  }

  .c-breadcrumb__list {
    font-size: 12px;
  }
}

/* --- Category tag（NEWS 一覧の絞り込み）------------------------------------ */
.c-category-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--color-gold);
  border-radius: 24px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.c-category-tag.is-current,
.c-category-tag:hover,
.c-category-tag:focus-visible {
  background: var(--color-gold);
  color: var(--color-green);
}

@media (min-width: 768px) {
  .c-category-tag {
    height: 35px;
    padding: 0 14px;
    font-size: 18px;
    font-weight: 700;
  }
}

/* --- News card（NEWS 一覧のカード）------------------------------------------ */
.c-news-card {
  width: 100%;
  max-width: var(--page-inner);
}

/* SP は 1 枚ずつ金の罫線で区切る。PC はグリッドのため罫線を外す
   （SP の余白は Sotoka サイトの一覧と同じ値） */
.c-news-card__link {
  display: block;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-gold);
}

.c-news-card__thumb {
  width: 100%;
  overflow: hidden;
  background: var(--color-navy);
  aspect-ratio: 310 / 164; /* Figma のサムネイル枠 */
}

.c-news-card__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* アイキャッチ未設定のときの代替表示（紺の背景の真ん中にヘッダーと同じロゴ） */
.c-news-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px; /* ヘッダーの c-brand と同じ間隔 */
  width: 100%;
  height: 100%;
}

.c-news-card__meta {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.c-news-card__title {
  display: grid;
  grid-template-columns: 1fr 6px;
  align-items: center;
  gap: 33px;
  height: 45px; /* 15px x line-height 1.5 の 2 行分 */
  margin-top: 7px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* 長いタイトルは 2 行で止める */
.c-news-card__title-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.c-news-card__arrow {
  width: 6px;
  height: 12px;
}

.c-news-card__link:hover .c-news-card__title,
.c-news-card__link:focus-visible .c-news-card__title {
  color: var(--color-gold);
}

@media (min-width: 768px) {
  .c-news-card__link {
    padding-bottom: 0;
    border-bottom: 0;
  }

  /* PC は Figma の値（SP だけ Sotoka の値に合わせている） */
  .c-news-card__meta {
    margin-top: 17px;
  }

  .c-news-card__title {
    margin-top: 12px;
  }
}

/* --- Pagination（NEWS 一覧のページ送り）------------------------------------- */
.c-pagination {
  width: 100%;
  margin-top: 48px;
  color: var(--color-gold);
}

.c-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.c-pagination .current {
  text-decoration: underline;
}

.c-pagination a:hover,
.c-pagination a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .c-pagination {
    margin-top: 80px;
  }
}


/* =============================================================================
   5. Project
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------ */
/* Figma の写真枠（SP 908px / PC 1007px）を上限に、ファーストビュー（画面の高さ）へ収める */
.p-hero {
  position: relative;
  height: min(908px, 100vh); /* svh 未対応ブラウザ用 */
  height: min(908px, 100svh);
  overflow: hidden;
  background: #718f82;
}

/* 画面が Figma の枠より低いときは、写真の下側（テーブル・グラスの脚元）から切る */
.p-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* タイトルの下から下端にかけて、写真を次のセクションの navy へなじませる */
.p-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px; /* Figma で navy へ切り替わる位置（Intro の重なり 90px）と同じ */
  background: linear-gradient(180deg, rgb(56 69 112 / 0) 0%, var(--color-navy) 100%);
  pointer-events: none;
}

.p-hero__scroll {
  display: none;
}

/* Figma SP: ロゴ枠 330 x 109。狭い画面では枠ごと比率を保って縮める
   ヒーローの高さが可変になったため下端からの距離で固定する
   （Figma: 908 - 674 - 109 = 125px） */
.p-hero__logo {
  position: absolute;
  z-index: 2;
  bottom: 125px;
  left: 50%;
  width: min(330px, 100% - 40px);
  aspect-ratio: 330 / 109;
  transform: translateX(-50%);
}

/* 子要素の % は Figma SP の 330 x 109 枠に対する比率 */
.p-hero__logo-name {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;      /* 330 / 330 */
  height: 61.47%;   /*  67 / 109 */
}

.p-hero__logo-tagline {
  position: absolute;
  bottom: 0;
  left: 23.33%;     /*  77 / 330 */
  width: 53.33%;    /* 176 / 330 */
  height: 21.1%;    /*  23 / 109 */
}

@media (min-width: 768px) {
  .p-hero {
    height: min(1007px, 100vh); /* svh 未対応ブラウザ用 */
    height: min(1007px, 100svh);
  }

  .p-hero::after {
    height: 140px; /* Figma で navy へ切り替わる位置（Intro の重なり 139px）に合わせる */
  }

  .p-hero__scroll {
    position: absolute;
    z-index: 2;
    top: 400px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23px;
    color: var(--color-white);
    transition: opacity 0.2s;
  }

  .p-hero__scroll:hover {
    opacity: 0.7;
  }

  /* ドットの真下に縦書きで並べる */
  .p-hero__scroll span {
    writing-mode: vertical-rl;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
  }

  /* 「Scroll」と「>」の間隔（元は半角スペース1つぶん） */
  .p-hero__scroll-arrow {
    margin-top: 0.5em;
    animation: hero-scroll-arrow 2.4s ease-in-out infinite;
  }

  /* Figma PC: ロゴ枠 1270 x 190。下端からの距離は
     Figma: 960 - 600 - 190 = 170px */
  .p-hero__logo {
    bottom: 170px;
    width: min(1270px, 100% - 100px);
    aspect-ratio: 1270 / 190;
  }

  .p-hero__logo-name {
    top: 8.42%;      /*  16 / 190 */
    width: 61.5%;    /* 781 / 1270 */
    height: 83.68%;  /* 159 / 190 */
  }

  .p-hero__logo-tagline {
    bottom: 12.11%;  /*  23 / 190 */
    left: 65.67%;    /* 834 / 1270 */
    width: 32.76%;   /* 416 / 1270 */
    height: 28.42%;  /*  54 / 190 */
  }
}

/* --- Intro ----------------------------------------------------------------- */
.p-intro {
  position: relative;
  z-index: 1;
  min-height: 1173px;
  margin-top: -90px; /* ヒーロー写真の下端に重ねる */
  padding-top: 100px;
  overflow: hidden;
  /* 重ねた 90px 分をかけて navy を立ち上げ、ヒーロー側のグラデーションと繋ぐ */
  background: linear-gradient(180deg, rgb(56 69 112 / 0) 0, var(--color-navy) 90px, var(--color-navy) 100%);
  color: var(--color-text-inverse);
}

.p-intro__copy {
  padding-inline: var(--side-padding);
}

.p-intro__title {
  color: var(--color-gold);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.p-intro__lead {
  margin-top: 60px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.p-intro__text {
  margin-top: 45px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

/* Figma SP: 写真枠 292 x 389。狭い画面では円周文字ごと比率を保って縮める
   子要素の % はこの 292 x 389 枠に対する比率 */
.p-intro__visual {
  position: relative;
  width: min(292px, 100% - 68px);
  aspect-ratio: 292 / 389;
  margin: 175px auto 0;
}

/* 写真より一回り大きい枠を取り、文字が外へはみ出せるようにする（上下左右 34px 分） */
.p-intro__orbit {
  position: absolute;
  z-index: 2;
  top: -8.74%;      /* -34 / 389 */
  left: -11.65%;    /* -34 / 292 */
  width: 123.29%;   /* 360 / 292 */
  height: 117.48%;  /* 457 / 389 */
}

.p-intro__orbit-text {
  fill: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 34px; /* viewBox 単位。SVG の拡大率に合わせて自動で縮む */
  font-weight: 500;
}

.p-intro__photo {
  position: absolute;
  top: 0.77%;      /*   3 / 389 */
  left: 0.68%;     /*   2 / 292 */
  width: 97.95%;   /* 286 / 292 */
  height: 98.2%;   /* 382 / 389 */
  object-fit: cover;
  border-radius: 50%; /* Figma は楕円のマスク。素材は長方形なので CSS で丸める */
}

@media (min-width: 768px) {
  .p-intro {
    min-height: 703px;
    margin-top: -139px;
    padding-top: 0;
    background: linear-gradient(180deg, rgb(56 69 112 / 0) 0, var(--color-navy) 139px, var(--color-navy) 100%);
  }

  /* 左に文章、右に円形ビジュアルの2カラム。狭い画面では両方を縮めて重なりを防ぐ */
  .p-intro__copy {
    position: absolute;
    top: 190px;
    left: max(var(--side-padding), 50% - 460px);
    width: min(420px, 46%);
    padding-inline: 0;
  }

  .p-intro__title {
    font-size: clamp(30px, 2.85vw, 41px); /* Figma PC 1440px で 41px */
    text-align: left;
  }

  .p-intro__lead {
    margin-top: 80px;
  }

  .p-intro__text {
    width: min(310px, 100%);
  }

  /* Figma PC: ビジュアル枠 376 x 470。子要素の % はこの枠に対する比率 */
  .p-intro__visual {
    position: absolute;
    top: 233px;
    right: max(var(--side-padding), 50% - 460px);
    width: min(376px, 40%);
    aspect-ratio: 376 / 470;
    margin: 0;
  }

  .p-intro__orbit {
    top: 3.19%;      /*  15 / 470 */
    left: 3.72%;     /*  14 / 376 */
    width: 92.02%;   /* 346 / 376 */
    height: 93.4%;   /* 439 / 470 */
  }

  .p-intro__photo {
    top: 10.85%;     /*  51 / 470 */
    left: 13.3%;     /*  50 / 376 */
    width: 73.14%;   /* 275 / 376 */
    height: 78.3%;   /* 368 / 470 */
  }
}

/* --- Menu section ---------------------------------------------------------- */
.p-menu {
  padding-top: 60px;
  background: var(--color-green);
}

.p-menu__parfait-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 60px;
}

.p-menu__subtitle {
  margin-top: 40px;
}

.p-menu__subtitle--drink {
  margin-top: 100px;
}

.p-menu__drink-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 65px;
  margin-top: 63px;
}

@media (min-width: 768px) {
  .p-menu {
    padding: 100px var(--side-padding) 30px;
  }

  .p-menu > * {
    width: 100%;
    max-width: var(--content-width-wide);
    margin-inline: auto;
  }

  .p-menu__subtitle {
    margin-top: 50px;
  }

  .p-menu__subtitle--drink {
    margin-top: 130px;
  }

  .p-menu__parfait-list {
    gap: 0;
    margin-top: 40px;
  }

  .p-menu__drink-list {
    flex-direction: row;
    justify-content: center;
    gap: 9.09%;      /* Figma PC: 100 / 1100 */
    margin-top: 70px;
  }

  .p-drink-card {
    width: 27.27%;   /* Figma PC: 300 / 1100 */
  }
}

/* --- Parfait card ---------------------------------------------------------- */
.p-parfait-card {
  --frame-offset: 5px;    /* 写真と金枠のずれ幅（Figma SP: 355 - 350） */
  --frame-radius: 80px;

  position: relative;
}

.p-parfait-card__figure {
  position: relative;
  z-index: 2;
  width: calc(100% - 35px); /* Figma SP: 390px 中 355px */
  aspect-ratio: 355 / 425;
  margin-inline: auto;
}

.p-parfait-card__photo {
  width: calc(100% - var(--frame-offset));
  height: calc(100% - var(--frame-offset));
  object-fit: cover;
  border-radius: var(--frame-radius) 0 var(--frame-radius) 0;
}

/* 写真から右下へずらした金の枠線 */
.p-parfait-card__figure::after {
  content: "";
  position: absolute;
  inset: var(--frame-offset) 0 0 var(--frame-offset);
  border: 1px solid var(--color-gold);
  border-radius: var(--frame-radius) 0 var(--frame-radius) 0;
  pointer-events: none;
}

.p-parfait-card__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: calc(100% - 40px); /* Figma SP: 390px 中 350px */
  min-height: 310px;
  margin: -80px 0 0 auto;   /* 写真の下端に重ねる */
  /* 上 110px = 写真の重なり 80px + 見出し上の余白 30px。文章が長いカードでも余白を確保する */
  padding: 110px 30px 30px 20px;
  background: var(--color-green-dark);
  color: var(--color-white);
}

.p-parfait-card--reverse .p-parfait-card__body {
  margin-right: auto;
  margin-left: 0;
  padding-left: 40px;
}

.p-parfait-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.p-parfait-card__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-parfait-card__note {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 10px;
  font-weight: 500;
  line-height: 150%;
}

@media (min-width: 768px) {
  /* Figma PC: カード枠 1100 x 569（最後だけ 610）。子要素の % はこの枠に対する比率 */
  .p-parfait-card {
    --frame-offset: 10px;   /* Figma PC: 510 - 500 */
    --frame-radius: 120px;

    aspect-ratio: 1100 / 569;
  }

  .p-parfait-card:last-child {
    aspect-ratio: 1100 / 610; /* 最後のカードだけ写真の下端まで見せる */
  }

  .p-parfait-card__figure {
    position: absolute;
    top: 0;
    right: 2.73%;     /*  30 / 1100 */
    width: 46.36%;    /* 510 / 1100 */
    aspect-ratio: 510 / 610;
    margin: 0;
  }

  .p-parfait-card--reverse .p-parfait-card__figure {
    right: auto;
    left: 2.73%;
  }

  .p-parfait-card__body {
    position: absolute;
    top: 25.48%;      /* 145 / 569 */
    left: 2.73%;      /*  30 / 1100 */
    gap: 35px;
    width: 60.91%;    /* 670 / 1100 */
    min-height: 57.29%;
    margin: 0;
    padding: 6.36% 23.64% 6.36% 6.36%; /* 70 / 260 / 1100 基準 */
  }

  .p-parfait-card--reverse .p-parfait-card__body {
    right: 2.73%;
    left: auto;
    padding: 6.36% 9.09% 6.36% 21.82%; /* 70 / 100 / 240 / 1100 基準 */
  }

  .p-parfait-card__title {
    font-size: 24px;
    line-height: 1.5;
  }
}

/* --- Drink card ------------------------------------------------------------ */
.p-drink-card {
  width: 300px;
  max-width: 100%;
}

/* 現在はドリンク写真が未支給のため、Figma と同じプレースホルダー画像を表示している */
.p-drink-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 80px 0 0 0;
}

.p-drink-card__title {
  margin-top: 25px;
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.p-drink-card__text {
  margin-top: 25px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

/* --- Point section --------------------------------------------------------- */
.p-point {
  padding: 60px 0 100px;
  background: var(--color-navy);
  color: var(--color-white);
}

.p-point__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 65px;
}

.p-point-card__photo {
  width: calc(100% - 30px); /* Figma SP: 390px 中 360px */
  aspect-ratio: 360 / 350;
  object-fit: cover;
}

.p-point-card--reverse .p-point-card__photo {
  margin-left: auto;
}

.p-point-card__body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 50px;
  padding-inline: var(--side-padding);
}

.p-point-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.p-point-card__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-point {
    padding: 90px 0 70px;
  }

  .p-point__list {
    gap: 60px;
    margin-top: 50px;
  }

  .p-point-card {
    display: flex;
    align-items: center;
    height: 350px;
  }

  .p-point-card--reverse {
    flex-direction: row-reverse;
  }

  .p-point-card__photo {
    width: 50%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
  }

  /* padding の % はセクション全幅（Figma PC 1440px）基準 */
  .p-point-card__body {
    gap: 34px;
    width: 50%;
    margin: 0;
    padding: 0 15.28% 0 3.47%; /* 220 / 50 / 1440 基準 */
  }

  .p-point-card--reverse .p-point-card__body {
    padding: 0 3.47% 0 15.28%;
  }

  .p-point-card__text {
    text-align: justify;
  }
}

/* --- News section ---------------------------------------------------------- */
.p-news {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px var(--side-padding) 60px;
  background: var(--color-green);
}

.p-news .c-news-list {
  margin-top: 50px;
}

.p-news__more {
  margin-top: 50px;
}

@media (min-width: 768px) {
  .p-news {
    padding: 70px var(--side-padding) 100px;
  }

  .p-news .c-section-title {
    width: 100%;
  }

  .p-news__more {
    margin-top: 70px;
  }
}

/* --- Shop section ---------------------------------------------------------- */
.p-shop__photo {
  width: 100%;
  height: 241px;
  object-fit: cover;
}

.p-shop {
  padding: 50px var(--side-padding) 30px;
  background: var(--color-green);
}

.p-shop__info {
  margin-top: 30px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-shop__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.p-shop__address {
  margin-top: 27px;
}

.p-shop__address a {
  text-decoration: underline;
}

.p-shop__hours {
  margin-top: 27px;
}

@media (min-width: 768px) {
  .p-shop__photo {
    height: 450px;
  }

  .p-shop {
    padding: 80px var(--side-padding) 0;
  }

  .p-shop__title,
  .p-shop__info {
    width: 100%;
    max-width: var(--content-width);
    margin-inline: auto;
  }

  .p-shop__info {
    margin-top: 60px;
    font-size: 18px;
    line-height: 1.75;
  }

  .p-shop__name {
    font-size: 24px;
    line-height: 1.75;
  }

  .p-shop__address {
    margin-top: 20px;
  }

  .p-shop__hours {
    margin-top: 30px;
  }
}

/* --- Instagram section ----------------------------------------------------- */
.p-instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px var(--side-padding) 80px;
  background: var(--color-green);
}

.p-instagram__profile img {
  width: 25px;
  height: 25px;
}

.p-instagram__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 310px;
  margin-top: 40px;
}

.p-instagram__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-instagram__profile,
.p-instagram__grid a {
  transition: opacity 0.2s;
}

.p-instagram__profile:hover,
.p-instagram__grid a:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .p-instagram {
    padding: 80px var(--side-padding) 40px;
  }

  .p-instagram__profile img {
    width: 43px;
    height: 43px;
  }

  .p-instagram__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: var(--content-width);
  }
}

/* --- Banner section -------------------------------------------------------- */
.p-banner {
  padding: 0 var(--side-padding) 70px;
  background: var(--color-green);
}

.p-banner__list {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 310px;
  margin: 50px auto 0;
}

.p-banner__list img {
  width: 100%;
  aspect-ratio: 310 / 90;
  object-fit: cover;
  transition: opacity 0.2s;
}

.p-banner__list a:hover img {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .p-banner {
    padding: 40px var(--side-padding) 80px;
  }

  .p-banner__list {
    grid-template-columns: repeat(2, 1fr);
    max-width: var(--content-width);
  }

  .p-banner__list img {
    aspect-ratio: 490 / 120;
  }
}

/* --- News archive（/news/ と カテゴリー一覧）--------------------------------- */
.p-news-archive__filters {
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 48px;
}

/* SP は Sotoka サイトと同じく 4 タブを折り返さず等幅で 1 行に並べる */
.p-news-archive__filter-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: min(2.05vw, 8px); /* もとの Sotoka 値 8px ÷ 390px */
}

.p-news-archive__filter-list > li {
  flex: 1 1 0;
  min-width: 0;
}

.p-news-archive__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px; /* Sotoka サイトの一覧と同じ間隔 */
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 48px;
}

.p-news-archive__empty {
  margin-top: 48px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-news-archive__back {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .p-news-archive__filters {
    max-width: 620px;
    margin-top: 70px;
  }

  .p-news-archive__filter-list {
    gap: 7px;
  }

  .p-news-archive__filter-list > li {
    flex: 1 1 auto;
  }

  .p-news-archive__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 48px;
    max-width: var(--content-width);
    margin-top: 80px;
  }

  .p-news-archive__back {
    margin-top: 60px;
  }
}

/* --- News single（/news/{スラッグ}/）---------------------------------------- */
.p-news-single__article {
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 68px;
}

.p-news-single__meta {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.p-news-single__category::before {
  content: "|";
  margin: 0 8px;
}

/* 見出しまわりの SP の余白は Sotoka サイトの詳細ページと同じ値 */
.p-news-single__title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.p-news-single__thumb {
  width: 100%;
  margin-top: 46px;
  overflow: hidden;
  background: var(--color-navy);
  aspect-ratio: 310 / 420; /* Figma のアイキャッチ枠 */
}

.p-news-single__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 本文は WordPress の編集画面で作るため、使われそうな要素をひととおり整える */
.p-news-single__content {
  margin-top: 45px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-news-single__content > * + * {
  margin-top: 22px;
}

/* h2 は太い下線、h3 は左の縦線。Sotoka サイトの記事本文と同じ体裁 */
.p-news-single__content h2 {
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--color-gold);
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.p-news-single__content h3 {
  margin: 40px 0 20px;
  padding-left: 18px;
  border-left: 5px solid var(--color-gold);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.p-news-single__content ul,
.p-news-single__content ol {
  padding-left: 20px;
}

.p-news-single__content ul {
  list-style: disc;
}

.p-news-single__content ol {
  list-style: decimal;
}

.p-news-single__content a {
  color: var(--color-gold);
  text-decoration: underline;
}

.p-news-single__nav {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 68px; /* Sotoka サイトの詳細ページと同じ間隔 */
  color: var(--color-gold);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* 前の記事がないときも「次の記事へ」を右端に置く */
.p-news-single__nav-next {
  margin-left: auto;
}

.p-news-single__nav a:hover,
.p-news-single__nav a:focus-visible {
  text-decoration: underline;
}

.p-news-single__back {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .p-news-single__article {
    max-width: var(--content-width);
    /* Figma PC: 1000px の枠の内側を 50px あける */
    padding-inline: 50px;
    margin-top: 70px;
  }

  .p-news-single__meta {
    font-size: 15px;
  }

  /* PC は Figma の値（SP だけ Sotoka の値に合わせている） */
  .p-news-single__title {
    margin-top: 14px;
    font-size: 24px;
    line-height: 1.5;
  }

  .p-news-single__thumb {
    aspect-ratio: 900 / 420;
    margin-top: 34px;
  }

  .p-news-single__content {
    margin-top: 48px;
  }

  .p-news-single__content h2 {
    font-size: 24px;
  }

  .p-news-single__content h3 {
    font-size: 17px;
  }

  .p-news-single__nav {
    margin-top: 70px;
    font-size: 16px;
    font-weight: 700;
  }
}

/* --- Contact --------------------------------------------------------------- */
.p-contact__intro {
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 68px;
}

.p-contact__intro--media {
  margin-top: 60px;
}

.p-contact__intro-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.p-contact__intro-text {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-contact__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 310px;
  height: 60px;
  margin-top: 60px;
  border: 1px solid var(--color-text);
  transition: color 0.2s, background 0.2s;
}

.p-contact__phone:hover,
.p-contact__phone:focus-visible {
  background: var(--color-text);
  color: var(--color-white);
}

.p-contact__phone img {
  width: 23px;
  height: 22px;
}

/* 電話番号と受付時間だけ Figma の指定どおりゴシック体。
   数字と記号だけなので Web フォントは足さず、端末標準のゴシックへ任せる */
.p-contact__phone strong {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-contact__phone-hours {
  width: 100%;
  max-width: 310px;
  margin-top: 8px;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.06em;
  text-align: center;
}

.p-contact__form {
  width: 100%;
  max-width: var(--page-inner);
  margin-top: 60px;
}

.p-contact__notice {
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.p-contact__back {
  margin-top: 68px;
}

@media (min-width: 768px) {
  .p-contact__intro {
    max-width: var(--content-width);
    margin-top: 70px;
    text-align: center;
  }

  .p-contact__intro-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
  }

  .p-contact__phone-hours {
    font-family: var(--font-serif);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
  }

  .p-contact__form {
    max-width: var(--content-width);
  }

  .p-contact__back {
    margin-top: 70px;
  }
}

/* --- Contact form（Contact Form 7 が出力する中身）---------------------------- */
.p-contact-form__field {
  margin-bottom: 20px;
}

.p-contact-form__field label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-contact-form__field label span {
  margin-left: 8px;
  color: #f70000;
}

.p-contact__form input[type="text"],
.p-contact__form input[type="tel"],
.p-contact__form input[type="email"],
.p-contact__form textarea {
  display: block;
  width: 100%;
  height: 62px;
  padding: 12px 2px 4px;
  border: 0;
  border-bottom: 1px solid var(--color-text);
  border-radius: 0;
  background: none;
  color: var(--color-text);
  font: inherit;
}

.p-contact__form textarea {
  height: 212px;
  resize: vertical;
}

.p-contact__form input:focus,
.p-contact__form textarea:focus {
  border-bottom-color: var(--color-gold);
}

.p-contact-form__acceptance {
  margin-top: 60px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.p-contact-form__acceptance a {
  color: #f70000;
  text-decoration: underline;
}

.p-contact__form .wpcf7-acceptance .wpcf7-list-item {
  margin: 30px 0 0;
}

.p-contact__form .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

/* Figma のチェックボックス（グレーの四角＋赤いチェック）を CSS で作る */
.p-contact__form .wpcf7-acceptance input[type="checkbox"] {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 14px;
  margin: 0;
  border: 1px solid #8d9b8f;
  background: #ccc;
  appearance: none;
  cursor: pointer;
}

.p-contact__form .wpcf7-acceptance input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 4px;
  width: 6px;
  height: 12px;
  border: solid #f70000;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
}

.p-contact__form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  opacity: 1;
}

.p-contact-form__submit {
  margin-top: 68px;
  text-align: center;
}

/* ボタンをブロックにして左右中央へ置く。inline のままだと Contact Form 7 が
   後ろに差し込む送信中スピナーの分だけ中央からずれる（Sotoka と同じ対処） */
.p-contact__form input[type="submit"] {
  display: block;
  margin-inline: auto;
  width: 156px;
  height: 30px;
  border: 1px solid var(--color-gold);
  border-radius: 25px;
  background: none;
  color: var(--color-gold);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.p-contact__form input[type="submit"]:hover,
.p-contact__form input[type="submit"]:focus-visible {
  background: var(--color-gold);
  color: var(--color-green);
}

/* 送信中スピナーはボタンの下の行に中央で出す */
.p-contact__form .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}

/* 入力エラーと送信結果のメッセージ */
.p-contact__form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #f70000;
  font-size: 13px;
  line-height: 1.5;
}

.p-contact__form .wpcf7 form .wpcf7-response-output {
  margin: 30px 0 0;
  padding: 12px 16px;
  border-width: 1px;
  border-color: var(--color-gold);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 768px) {
  .p-contact-form__field label {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.75;
  }

  .p-contact-form__submit {
    margin-top: 70px;
  }

  .p-contact__form input[type="submit"] {
    width: 310px;
    height: 35px;
    font-size: 18px;
  }
}

/* --- Thanks ---------------------------------------------------------------- */
.p-thanks__copy p + p,
.p-thanks__email {
  margin-top: 23px;
}

.p-thanks__back {
  margin-top: 45px;
}

/* --- Privacy policy -------------------------------------------------------- */
.p-privacy-policy__copy h2,
.p-privacy-policy__copy h3 {
  margin-top: 31px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-privacy-policy__copy p,
.p-privacy-policy__copy ul {
  margin-bottom: 23px;
}

.p-privacy-policy__copy h2 + h3,
.p-privacy-policy__copy h2 + p,
.p-privacy-policy__copy h3 + p,
.p-privacy-policy__copy h3 + ul {
  margin-top: 0;
}

.p-privacy-policy__copy > *:last-child {
  margin-bottom: 0;
}

/* 中黒の位置を本文の左端へそろえる */
.p-privacy-policy__copy ul {
  padding-left: 1em;
}

.p-privacy-policy__copy li::before {
  content: "・";
  margin-left: -1em;
}

.p-privacy-policy__copy a {
  color: var(--color-gold);
  text-decoration: underline;
}

.p-privacy-policy__back {
  margin-top: 68px;
}

/* --- 404 / 固定ページの受け皿 ------------------------------------------------ */
.p-error-page .l-page__body {
  text-align: center;
}

.p-error-page__links {
  margin-top: 30px;
}

.p-error-page__links ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.p-error-page__links a {
  color: var(--color-gold);
  text-decoration: underline;
}

.p-error-page__back,
.p-page .c-button {
  margin-top: 45px;
}

/* --- Global menu（ハンバーガーで開くオーバーレイ）--------------------------- */
.p-global-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-navy);
  color: var(--color-white);
  animation: menu-fade-in 0.25s both;
}

.p-global-menu[hidden] {
  display: none;
}

/* スクロール誘導の「>」をゆっくり上下させる（縦書きなので下向きの矢印に見える） */
@keyframes hero-scroll-arrow {
  0%,
  100% {
    transform: translateY(-4px);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes menu-fade-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.p-global-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: var(--header-height);
  padding: 20px;
}

.p-global-menu__close img {
  width: 21px;
  height: 21px;
}

.p-global-menu__nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.p-global-menu__list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  padding: 40px 30px 0 20px;
}

.p-global-menu__link {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
}

.p-global-menu__link--small {
  font-size: 18px;
}

.p-global-menu__instagram {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-top: auto;
  padding: 32px 30px 50px 20px;
}

.p-global-menu__instagram img {
  width: 28px;
  height: 28px;
}

@media (min-width: 768px) {
  .p-global-menu__header {
    height: 80px;
  }

  .p-global-menu__close img {
    width: 19px;
    height: 19px;
  }

  .p-global-menu__list {
    padding: 48px 80px 0 20px;
  }

  .p-global-menu__link {
    font-weight: 500;
  }

  .p-global-menu__link--small {
    font-weight: 700;
  }

  .p-global-menu__instagram {
    padding: 24px 80px 60px 20px;
  }

  .p-global-menu__instagram img {
    width: 30px;
    height: 30px;
  }
}


/* =============================================================================
   6. Utility
   ========================================================================== */

.u-visually-hidden,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.u-pc-only {
  display: none;
}

@media (min-width: 768px) {
  .u-sp-only {
    display: none;
  }

  .u-pc-only {
    display: block;
  }

  span.u-pc-only {
    display: inline;
  }
}


/* --- スクロールで画面に入った要素をふわっと表示する ---------------------------
   初期は透明＋40px 下に置き、画面に入ったら main.js が .is-visible を付けて
   元の位置へ戻す（Sotoka サイトと同じ動き）。
   JavaScript が無効なときは header.php の <noscript> で打ち消し、最初から表示する。 */
.u-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1000ms ease, transform 1000ms ease;
}

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

/* 親が overflow: hidden で、下へずらすと切れてしまう要素はその場で出す
   （Intro の円写真は SP 320px 幅でセクション下端とほぼ接している） */
.u-fade--in-place {
  transform: none;
}

/* 横に並ぶカードは 1 枚ずつ遅らせて出す */
.u-fade--delay1 {
  transition-delay: 200ms;
}

.u-fade--delay2 {
  transition-delay: 400ms;
}

.u-fade--delay3 {
  transition-delay: 600ms;
}


/* =============================================================================
   Motion 設定
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
