@charset "UTF-8";
/*!
Theme Name: Takano Shoami
Description: 高野昭阿弥 コーポレート　オリジナルテーマ
Version: 1.1.0
Text Domain: takano-shoami
*/

/* ==========================================================
   変数
   ========================================================== */
:root {
  /* 色 */
  --color-white: #fff;
  --color-black: #000;
  --color-text: #333;
  --color-blue: #0b346e;
  --color-muted: #7a8594;
  --color-gray: #909090;
  --color-bg-gray: #f3f3f3;
  --color-btn-gray: #e6e6e6;
  --color-line: #d0d0d0;
  --color-arrow: #737373;
  --color-stone: #9e9e9e;
  --color-orange: #e7b921;
  --color-green: #8bc15f;
  --color-line-on-dark: rgb(255 255 255 / 0.25);
  --color-divider-on-dark: rgb(255 255 255 / 0.6);
  --color-fv-shade: rgb(0 0 0 / 0.18);
  --color-follow-shade: rgb(0 0 0 / 0.45);
  --color-shadow: rgb(0 0 0 / 0.12);

  /* フォント */
  --font-body: "Zen Old Mincho", serif;
  --font-accent: "Belleza", sans-serif;
  --font-logo: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  /* 文字サイズ */
  --fs-2xs: 0.6875rem;  /* 11px */
  --fs-xs: 0.75rem;     /* 12px */
  --fs-sm: 0.8125rem;   /* 13px */
  --fs-md: 0.875rem;    /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-sp-base: 0.9375rem; /* 15px */
  --fs-lg: 1.125rem;    /* 18px */
  --fs-xl: 1.25rem;     /* 20px */
  --fs-2xl: 1.5rem;     /* 24px */
  --fs-3xl: 2.5rem;     /* 40px */
  --fs-entry-copy: clamp(1.25rem, 1.67vw, 2rem); /* 32px @1920 */
  --fs-fv-title: clamp(1.75rem, 2.5vw, 3rem);      /* 48px @1920 */
  --fs-fv-lead: clamp(1rem, 1.25vw, 1.5rem);       /* 24px @1920 */
  --fs-footer-title: clamp(1.125rem, 1.25vw, 1.5rem); /* 24px @1920 */

  /* 字間 */
  --ls-normal: 0.05em;
  --ls-wide: 0.1em;

  /* 余白・サイズ */
  --gutter: clamp(1.25rem, 5vw, 6rem);          /* 96px @1920 */
  --container-w: 85rem;                          /* 1360px */
  --footer-w: 84.5625rem;                        /* 1353px */
  --section-w: 96rem;                            /* 1536px */
  --entry-h: 46.875vw;                           /* 900px @1920 */
  --news-w: 62.5rem;    /* 1000px */
  --lineup-w: 81.25rem;                          /* 1300px */
  --header-h: clamp(4.5rem, 5.4vw, 6.5rem);      /* 104px @1920 */
  --menu-btn-size: clamp(2.75rem, 2.9vw, 3.5rem); /* 56px @1920 */
  --fv-h: clamp(35rem, 50vw, 67.5rem);           /* 960px @1920 */
  --tap-size: 2.75rem; /* 44px */
  --radius-sm: 4px;

  /* 動き */
  --duration: 0.3s;
  --hover-opacity: 0.7;

  /* 重なり */
  --z-menu: 90;
  --z-header: 100;
}

/* ==========================================================
   リセット・ベース
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  word-break: auto-phrase;
  text-rendering: optimizeSpeed;
}

/* 念のため：アニメーション中などに何かがはみ出しても横スクロールさせない（clip は sticky を壊さない） */
/* iOS Safariでも横スクロールが出ないよう、html側でも横方向を隠す */
html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

/* メニューを開いている間は背面をスクロールさせない（htmlに指定しないと効かない） */
html:has(> body.is-menu-open) {
  overflow: hidden;
}

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

input, button, textarea, select {
  font: inherit;
}

button {
  color: inherit;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body {
    font-size: var(--fs-sp-base);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   ユーティリティ
   ========================================================== */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.u-nowrap {
  display: inline-block;
}

@media (max-width: 767px) {
  .u-pc-only {
    display: none;
  }
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.l-header {
  position: relative;
  z-index: var(--z-header);
  min-height: var(--header-h);
  color: var(--color-white);
}

/* メニューを開いている間は、スクロール位置に関係なくヘッダーを画面上部に固定 */
.is-menu-open .l-header__inner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1;
}

/* トップ以外はFVが無いので背景色を敷く */
body:not(.home) .l-header {
  background-color: var(--color-blue);
}

.l-header a {
  color: inherit;
  text-decoration: none;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-inline: var(--gutter);
}

.l-header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.l-header__logo {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.l-header__logo-link {
  display: block;
  transition: opacity var(--duration);
}

.l-header__logo-link img {
  width: clamp(4.5rem, 4.2vw, 5rem); /* 80px @1920 */
}

.l-header__tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-md);
  line-height: 1.4;
  white-space: nowrap;
}

.l-header__tagline-ja {
  font-family: var(--font-logo);
}

.l-header__tagline-en {
  font-family: var(--font-accent);
}

.l-header__actions {
  display: flex;
  align-items: center;
  --header-actions-gap: clamp(0.75rem, 1.7vw, 2rem); /* 32px @1920 */
  gap: var(--header-actions-gap);
}

.l-header__store {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap-size);
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  text-transform: capitalize;
  transition: opacity var(--duration);
}

.l-header__store svg {
  width: 1.25rem;
}

.l-header__divider {
  width: 1px;
  height: 1.5rem;
  background-color: var(--color-white);
}

.l-header a:hover,
.l-lang__summary:hover {
  opacity: var(--hover-opacity);
}

/* 言語切り替え */
.l-lang {
  position: relative;
}

.l-lang__summary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--tap-size);
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  text-transform: capitalize;
  list-style: none;
  cursor: pointer;
  transition: opacity var(--duration);
}

.l-lang__summary::-webkit-details-marker {
  display: none;
}

.l-lang__summary svg {
  width: 0.625rem;
  transition: transform var(--duration);
}

.l-lang[open] .l-lang__summary svg {
  transform: rotate(180deg);
}

/* ドロップダウンはレイアウトではなく重ね表示のため absolute を使用 */
.l-lang__list {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  min-width: 8rem;
  padding-block: 0.5rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px var(--color-shadow);
}

.l-lang__list a {
  display: flex;
  align-items: center;
  min-height: var(--tap-size);
  padding-inline: 1rem;
  font-size: var(--fs-md);
}

.l-lang__list a[aria-current="true"] {
  color: var(--color-blue);
}

/* ハンバーガーボタン */
.l-header__menu-btn {
  display: grid;
  place-content: center;
  gap: 0.5rem;
  width: var(--menu-btn-size);
  height: var(--menu-btn-size);
  padding: 0;
  background: none;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--duration), opacity var(--duration);
}

.l-header__menu-btn:hover {
  background-color: var(--color-line-on-dark);
}

/* ハンバーガーボタンはスクロールしても画面右上に追従させる
   （ヘッダー内と同じ位置に固定し、元の場所はボタン分の余白で確保） */
.l-header__actions {
  padding-inline-end: calc(var(--menu-btn-size) + var(--header-actions-gap));
}

.l-header__menu-btn {
  position: fixed;
  top: calc((var(--header-h) - var(--menu-btn-size)) / 2);
  right: var(--gutter);
}

/* ヘッダーが画面外に出たら、白い背景の上でも見えるよう紺の丸にする */
.is-header-out:not(.is-menu-open) .l-header__menu-btn {
  background-color: var(--color-blue);
}

.is-header-out:not(.is-menu-open) .l-header__menu-btn:hover {
  opacity: var(--hover-opacity);
}

.l-header__menu-line {
  display: block;
  width: 1.5rem;
  height: 1px;
  background-color: var(--color-white);
  transition: transform var(--duration);
}

.l-header__menu-btn[aria-expanded="true"] .l-header__menu-line:first-child {
  transform: translateY(calc(0.25rem + 0.5px)) rotate(45deg);
}

.l-header__menu-btn[aria-expanded="true"] .l-header__menu-line:nth-child(2) {
  transform: translateY(calc(-0.25rem - 0.5px)) rotate(-45deg);
}

/* メニュー（仮デザイン：開いた状態のデザイン確定後に調整） */
.l-menu {
  position: fixed;
  inset: 0 0 auto;
  height: 100vh;
  height: 100lvh; /* iOSでツールバーが縮んでも下まで覆う */
  z-index: -1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); /* 写真 / メニュー */
  color: var(--color-white);
  background-color: var(--color-blue);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 0.8s;
}

.l-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s;
}

.l-menu__visual {
  overflow: hidden;
}

.l-menu__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.l-menu.is-open .l-menu__visual img {
  transform: scale(1);
}

.l-menu__content {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: clamp(2.5rem, 4.17vw, 5rem);
  max-height: 100vh;
  max-height: 100dvh; /* スクロール範囲は実際に見えている高さに合わせる */
  padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
  overflow-y: auto;
}

/* 写真がない時は中身だけを全幅で */
.l-menu:not(:has(.l-menu__visual)) .l-menu__content {
  grid-column: 1 / -1;
}

.l-menu__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 1.67vw, 2rem) clamp(2rem, 4.17vw, 5rem);
  max-width: 45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-menu__list a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  min-height: var(--tap-size);
  padding-block-end: 0.75rem;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--color-white);
  text-decoration: none;
  border-block-end: 1px solid var(--color-line-on-dark);
  background: linear-gradient(var(--color-white), var(--color-white)) left bottom / 0 1px no-repeat;
  transition: background-size 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 英字（メニュー項目の「説明」） */
.l-menu__list a[data-desc]::before {
  content: attr(data-desc);
  font-family: var(--font-accent);
  font-size: clamp(var(--fs-xl), 1.67vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  transition: letter-spacing 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

a.l-menu__store:hover,
a.l-menu__sns:hover,
.l-menu__list a:hover {
  opacity: 1;
}

.l-menu__list a:is(:hover, :focus-visible) {
  background-size: 100% 1px;
}

.l-menu__list a:is(:hover, :focus-visible)::before {
  letter-spacing: 0.1em;
}

.l-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
}

.l-menu__store,
.l-menu__sns {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap-size);
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--duration);
}

.l-menu__store {
  padding-inline: 1.5rem;
  border: 1px solid var(--color-white);
  transition: color var(--duration), background-color var(--duration);
}

.l-menu__store:is(:hover, :focus-visible) {
  color: var(--color-blue);
  background-color: var(--color-white);
}

.l-menu__sns:is(:hover, :focus-visible) {
  opacity: var(--hover-opacity);
}

.l-menu__store svg,
.l-menu__sns svg {
  width: 1.25rem;
}

/* 開いた時：項目が上から順にふわっと現れる */
.l-menu__list > li,
.l-menu__foot {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s, transform 0.3s;
}

.l-menu.is-open .l-menu__list > li,
.l-menu.is-open .l-menu__foot {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.35s + var(--menu-i, 0) * 0.05s);
}

.l-menu__list > li:nth-child(1) { --menu-i: 0; }
.l-menu__list > li:nth-child(2) { --menu-i: 1; }
.l-menu__list > li:nth-child(3) { --menu-i: 2; }
.l-menu__list > li:nth-child(4) { --menu-i: 3; }
.l-menu__list > li:nth-child(5) { --menu-i: 4; }
.l-menu__list > li:nth-child(6) { --menu-i: 5; }
.l-menu__list > li:nth-child(7) { --menu-i: 6; }
.l-menu__list > li:nth-child(8) { --menu-i: 7; }
.l-menu__list > li:nth-child(9) { --menu-i: 8; }
.l-menu__list > li:nth-child(10) { --menu-i: 9; }
.l-menu__list > li:nth-child(n+11) { --menu-i: 10; }
.l-menu__foot { --menu-i: 11; }

@media (prefers-reduced-motion: reduce) {
  .l-menu,
  .l-menu.is-open,
  .l-menu__visual img,
  .l-menu__list > li,
  .l-menu__foot {
    transition: none;
  }
}

@media (max-width: 1023px) {
  .l-menu {
    grid-template-columns: minmax(0, 1fr);
  }

  .l-menu__visual {
    display: none;
  }

  .l-menu__content {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  /* メニューをスクロールした時に項目がロゴの下に透けて重ならないよう、ヘッダーに紺の背景を敷く */
  .is-menu-open .l-header__inner {
    background-color: var(--color-blue);
  }
}

@media (max-width: 767px) {
  .l-menu__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 767px) {
  .l-header__tagline,
  .l-header__divider {
    display: none;
  }

  .l-header__store-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .l-header__store {
    justify-content: center;
    min-width: var(--tap-size);
  }

  .l-header__store svg {
    width: 1.25rem;
  }
}

/* ==========================================================
   共通パーツ：ボタン（英字＋日本語＋矢印＋下線）
   使い方は functions.php の takano_shoami_more_link() を参照
   ========================================================== */
.c-more {
  --c-more-color: var(--color-text);
  --c-more-sub: var(--color-text);
  --c-more-line: var(--color-line);
  --c-more-ease: cubic-bezier(0.65, 0, 0.35, 1);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* デザイン幅320px @1920。文字が長い時は文字幅まで広げる
     （min-width: max-content だとSafariで親の幅計算が合わず、右端が欠けることがあるため） */
  width: fit-content;
  min-width: clamp(12rem, 16.67vw, 20rem);
  min-height: var(--tap-size);
  padding-block-end: 1rem;
  color: var(--c-more-color);
  white-space: nowrap;
  text-decoration: none;
  /* 下線：背景グラデーション1本（absolute不使用） */
  background: linear-gradient(var(--c-more-line), var(--c-more-line)) left bottom / 100% 1px no-repeat;
}

.c-more--light {
  --c-more-color: var(--color-white);
  --c-more-sub: var(--color-bg-gray);
  --c-more-line: var(--color-bg-gray);
}

.c-more__en {
  font-family: var(--font-accent);
  font-size: clamp(var(--fs-base), 1.04vw, var(--fs-xl)); /* 20px @1920 */
  line-height: 1.15;
  text-transform: capitalize;
  transition: letter-spacing 0.6s var(--c-more-ease);
}

.c-more__ja {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-md);
  line-height: 1.4;
  color: var(--c-more-sub);
}

/* 矢印は枠の中で右へ抜けて左から戻る */
.c-more__arrow {
  display: inline-flex;
  overflow: hidden;
}

.c-more__arrow svg {
  width: 0.5625rem;
}

/* ホバー：ボタン自体、または親リンクのホバーで動く */
a.c-more:hover {
  opacity: 1; /* 既存の a:hover の半透明を打ち消す */
}

a.c-more:is(:hover, :focus-visible),
a:is(:hover, :focus-visible) .c-more {
  animation: c-more-line 0.9s var(--c-more-ease);
}

a.c-more:is(:hover, :focus-visible) .c-more__en,
a:is(:hover, :focus-visible) .c-more .c-more__en {
  letter-spacing: 0.06em;
}

a.c-more:is(:hover, :focus-visible) .c-more__arrow svg,
a:is(:hover, :focus-visible) .c-more .c-more__arrow svg {
  animation: c-more-arrow 0.7s var(--c-more-ease);
}

/* 下線が右へ消えて、左から引き直される */
@keyframes c-more-line {
  0% {
    background-position: right bottom;
    background-size: 100% 1px;
  }
  45% {
    background-position: right bottom;
    background-size: 0% 1px;
  }
  46% {
    background-position: left bottom;
    background-size: 0% 1px;
  }
  100% {
    background-position: left bottom;
    background-size: 100% 1px;
  }
}

@keyframes c-more-arrow {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(110%);
  }
  46% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ==========================================================
   共通パーツ：セクション見出し（縦線＋英字＋日本語）
   使い方は functions.php の takano_shoami_section_title() を参照
   ========================================================== */
.c-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: clamp(5rem, 6.25vw, 7.5rem); /* 120px @1920 */
  padding-inline-start: 2rem;
  font-weight: 400;
  border-inline-start: 1px solid var(--color-line);
}

.c-title__en {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 1.67vw, 2rem); /* 32px @1920 */
  line-height: 1;
  color: var(--color-blue);
}

.c-title__ja {
  font-size: var(--fs-md);
  line-height: 1.4;
  color: var(--color-text);
}

/* 縦線なし＋下に短い線のタイプ */
.c-title--plain {
  min-height: 0;
  padding-inline-start: 0;
  border-inline-start: 0;
}

.c-title--plain::after {
  content: "";
  width: 0.5rem;
  height: 1px;
  margin-block-start: 1.5rem;
  background-color: var(--color-arrow);
}

/* ==========================================================
   共通：見出しの表示アニメーション
   .js-split の文字が1文字ずつ、ぼかしの中から浮かび上がる（JSで .c-char に分割）
   ========================================================== */
/* まとまりの途中では改行しない */
.c-word {
  display: inline-block;
  white-space: nowrap;
}

.is-js .c-char {
  display: inline-block;
  opacity: 0;
  filter: blur(0.5rem);
  transform: translateY(0.35em);
  transition: opacity 1.2s, filter 1.2s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--char-delay, 0s) + var(--i) * var(--char-step, 0.05s));
}

.is-loaded .c-char,
.is-inview .c-char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* セクション見出し（c-title）：縦線が上から伸び、日本語が遅れて現れる */
.is-js .c-title:not(.c-title--plain) {
  border-inline-start-color: transparent;
  background: linear-gradient(var(--color-line), var(--color-line)) left top / 1px 0 no-repeat;
  transition: background-size 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}

.is-js .c-title.is-inview:not(.c-title--plain) {
  background-size: 1px 100%;
}

.is-js .c-title__ja {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.5s;
}

.is-js .c-title.is-inview .c-title__ja {
  opacity: 1;
  transform: translateY(0);
}

.is-js .c-title--plain::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1) 0.8s;
}

.is-js .c-title--plain.is-inview::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .is-js .c-title,
  .is-js .c-title__ja,
  .is-js .c-title--plain::after {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .is-js .c-title:not(.c-title--plain) {
    background-size: 1px 100%;
  }
}

/* ==========================================================
   トップ：ファーストビュー
   ========================================================== */
.p-fv {
  display: grid;
  height: var(--fv-h);
  margin-block-start: calc(var(--header-h) * -1); /* ヘッダーをFVに重ねる */
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-blue);
}

/* スライダーと文字を同じセルに重ねる */
.p-fv > * {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
}

.p-fv__slider {
  width: 100%;
  height: 100%;
}

.p-fv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.p-fv__inner {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.1vw, 2.5rem); /* 40px @1920 */
  padding-block-start: calc(var(--header-h) + clamp(3rem, 6vw, 7.25rem)); /* 220px @1920 */
  padding-inline: var(--gutter);
  background: linear-gradient(90deg, var(--color-fv-shade), transparent 60%);
  pointer-events: none;
}

.p-fv__title {
  font-size: var(--fs-fv-title);
  font-weight: 400;
  line-height: 1.46; /* 70px / 48px */
}

.p-fv__title .u-nowrap + .u-nowrap {
  margin-inline-start: 0.5em;
}

.p-fv__lead {
  font-size: var(--fs-fv-lead);
  font-weight: 400;
  line-height: 1.67; /* 40px / 24px */
}

/* FVの文字アニメーション：見出し（共通の .c-char）のあと、リードが左から現れる */
.p-fv {
  --char-delay: 0.4s;
  --char-step: 0.07s;
}

.is-js .p-fv__lead {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s cubic-bezier(0.77, 0, 0.18, 1);
  transition-delay: calc(0.6s + var(--fv-chars, 0) * 0.07s);
}

.is-js .p-fv__pagination {
  opacity: 0;
  transition: opacity 1.2s;
  transition-delay: calc(1.6s + var(--fv-chars, 0) * 0.07s);
}

.is-js .p-fv__more {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 1.2s, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(1.9s + var(--fv-chars, 0) * 0.07s);
}

.p-fv.is-loaded .p-fv__lead {
  clip-path: inset(0 0 0 0);
}

.p-fv.is-loaded .p-fv__pagination {
  opacity: 1;
}

.p-fv.is-loaded .p-fv__more {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .is-js .p-fv__lead,
  .is-js .p-fv__more,
  .is-js .p-fv__pagination {
    transform: none;
    clip-path: none;
    opacity: 1;
    transition: none;
  }
}

/* オンラインストアへのボタン（親の .p-fv__inner はクリックを通さないので、ここだけ有効に） */
.p-fv__more {
  margin-block-start: clamp(0.5rem, 1.25vw, 1.5rem);
  pointer-events: auto;
}

/* ページネーション */
.p-fv__pagination {
  display: flex;
  align-items: center;
  margin-block-start: clamp(0.5rem, 2.1vw, 2.5rem); /* タイトル群との間 80px @1920 */
  margin-inline-start: -0.3125rem;
  pointer-events: auto;
}

.p-fv__pagination.swiper-pagination-bullets {
  width: auto;
}

.p-fv__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  display: grid;
  place-items: center;
  width: 2rem;  /* 丸8px + 間24px */
  height: 2rem;
  margin: 0;
  background: none;
  border-radius: 0;
  opacity: 1;
  cursor: pointer;
}

.p-fv__pagination .swiper-pagination-bullet::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  transition: width var(--duration), height var(--duration);
}

.p-fv__pagination .swiper-pagination-bullet-active::before {
  width: 1.125rem;
  height: 1.125rem;
  background: radial-gradient(circle, var(--color-white) 0 0.25rem, transparent calc(0.25rem + 0.5px));
}

@media (max-width: 767px) {
  .p-fv {
    height: min(100svh, 45rem);
  }

  .p-fv__inner {
    background: linear-gradient(180deg, var(--color-fv-shade), transparent 70%);
  }
}

/* ==========================================================
   フッター
   ========================================================== */
.l-footer {
  padding-block: clamp(3.5rem, 5vw, 6rem) clamp(3rem, 4.3vw, 5.1875rem); /* 上96px・下83px @1920 */
  letter-spacing: normal; /* デザイン通り字間なし（02のリンクが1行に収まる） */
  color: var(--color-white);
  background-color: var(--color-blue);
}

.l-footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--duration);
}

.l-footer a:hover {
  opacity: var(--hover-opacity);
}

.l-footer__inner {
  display: grid;
  gap: 2.5rem;
  width: min(100% - var(--gutter) * 2, var(--footer-w));
  margin-inline: auto;
}

.l-footer__logo img {
  width: clamp(8.75rem, 10.4vw, 12.5rem); /* 200px @1920 */
}

.l-footer__row {
  display: grid;
  grid-template-columns: clamp(4rem, 5.7vw, 6.875rem) minmax(0, 1fr); /* 110px @1920 */
  padding-block: 1.25rem; /* タップ領域込みで見た目24px */
  border-block-end: 1px solid var(--color-muted);
}

.l-footer__row:has(.l-footer__links) {
  padding-block-end: 0.875rem;
}

.l-footer__row:first-child {
  padding-block-start: 0;
}

/* 03の後は線を引かず、下のInstagram行の下に線を引く */
.l-footer__row:last-child {
  padding-block-end: 0;
  border-block-end: 0;
}

.l-footer__num {
  padding-block-start: 0.875rem;
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  color: var(--color-muted);
}

.l-footer__title {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-size);
  font-size: var(--fs-footer-title);
  line-height: 1.46;
}

.l-footer__title--en {
  font-family: var(--font-accent);
}

.l-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 2rem;
  margin-block-start: 0.5rem;
}

.l-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-size);
  font-size: var(--fs-base);
}

/* ご利用ガイドなどの小さいリンク（見た目の行間16px） */
.l-footer__links--sub {
  column-gap: 1rem;
  margin-block-start: -0.375rem;
}

.l-footer__links--sub a {
  font-size: var(--fs-md);
}

.l-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1rem 0.25rem; /* 見た目で上40px・下線まで16px */
  font-family: var(--font-accent);
  border-block-end: 1px solid var(--color-muted);
}

.l-footer__instagram {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-size);
  font-size: var(--fs-base);
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.l-footer__copy {
  font-size: var(--fs-base);
  color: var(--color-muted);
}

.l-footer__copy small {
  font-size: inherit;
}

@media (min-width: 1024px) {
  .l-footer__inner {
    grid-template-columns: minmax(0, 411fr) minmax(0, 942fr); /* ロゴ列411px・ナビ942px @1920 */
    column-gap: 0;
  }

  .l-footer__body {
    padding-block-start: clamp(2rem, 3vw, 3.625rem); /* ロゴ上端からナビまで58px @1920 */
  }
}

@media (max-width: 767px) {
  .l-footer__row {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    padding-block: 0.75rem;
  }

  .l-footer__links {
    column-gap: 1.25rem;
    margin-block-start: 0;
  }

  .l-footer__links a,
  .l-footer__links--sub a,
  .l-footer__instagram,
  .l-footer__copy {
    font-size: var(--fs-md);
  }

  .l-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================
   トップ：京焼・清水焼の紹介
   ========================================================== */
.p-intro {
  padding-block: clamp(4rem, 6.25vw, 7.5rem) clamp(4rem, 7.5vw, 9rem); /* 上120px・下144px @1920 */
}

.p-intro__inner {
  container-type: inline-size;
  width: min(100% - var(--gutter) * 2, var(--section-w));
  margin-inline: auto;
}

/*
  1536px幅のデザインを列・行の比率で再現（cqi = この枠の幅の1%）
  列：余白96 / 小写真248 / 208 / 見出し680 / 304
  行：見出し段196 / 写真の重なり128 / 大写真の残り / 本文
*/
.p-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 96fr) minmax(0, 248fr) minmax(0, 208fr) minmax(0, 680fr) minmax(0, 304fr);
  grid-template-rows: 12.76cqi 8.33cqi auto auto;
}

.p-intro__head {
  grid-column: 4 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block-start: 2.34cqi; /* 36px @1536 */
}

.p-intro__label {
  font-family: var(--font-accent);
  font-size: clamp(var(--fs-md), 1.17cqi, var(--fs-lg));
  line-height: 1.2;
  color: var(--color-gray);
  text-transform: capitalize;
}

.p-intro__title {
  font-size: clamp(var(--fs-xl), 2.6cqi, var(--fs-3xl)); /* 40px @1536 */
  font-weight: 400;
  line-height: 1.3;
}

.p-intro__photo,
.p-intro__visual {
  margin: 0;
  overflow: hidden; /* 表示アニメーションで拡大した写真をはみ出させない */
}

.p-intro__photo img,
.p-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-intro__photo {
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 3;
  aspect-ratio: 248 / 324;
}

.p-intro__visual {
  grid-column: 1 / -1;
  grid-row: 2 / 4;
  aspect-ratio: 1536 / 640;
}

/* 本文と「京焼・清水焼について」ボタンを横並び（ボタンは写真の右端に揃える） */
.p-intro__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  grid-column: 2 / -1;
  grid-row: 4;
  margin-block-start: clamp(1.5rem, 3.65cqi, 3.5rem); /* 56px */
}

.p-intro__more {
  flex-shrink: 0;
}

.p-intro__text {
  font-size: clamp(var(--fs-base), 1.17cqi, var(--fs-lg)); /* 18px */
  line-height: 2.1;
}

@media (max-width: 1023px) {
  .p-intro__foot {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (max-width: 767px) {
  .p-intro__grid {
    grid-template-columns: 45% minmax(0, 1fr);
    grid-template-rows: auto auto 18cqi auto auto;
  }

  .p-intro__head {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-block: 0 1.5rem;
    gap: 0.5rem;
  }

  .p-intro__photo {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .p-intro__visual {
    grid-column: 1 / -1;
    grid-row: 3 / 5;
    aspect-ratio: 4 / 3;
  }

  .p-intro__foot {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .p-intro__text {
    max-width: none;
    line-height: 2;
  }
}

/* 京焼・清水焼：表示アニメーション
   ラベル → 見出し（1文字ずつ） → 大きな写真が左から → 小さな写真が下から → 本文 */
.p-intro__grid {
  --char-delay: 0.3s;
  --char-step: 0.06s;
}

.is-js .p-intro__label {
  opacity: 0;
  letter-spacing: 0.3em;
  transition: opacity 1.2s, letter-spacing 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-intro__visual {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s cubic-bezier(0.77, 0, 0.18, 1) 0.6s;
}

.is-js .p-intro__photo {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1) 1.3s;
}

.is-js .p-intro__visual img,
.is-js .p-intro__photo img {
  transform: scale(1.15);
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}

.is-js .p-intro__photo img {
  transition-delay: 1.3s;
}

.is-js .p-intro__text {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1.2s, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 1.8s;
}

.p-intro__grid.is-inview .p-intro__label {
  opacity: 1;
  letter-spacing: normal;
}

.p-intro__grid.is-inview :is(.p-intro__visual, .p-intro__photo) {
  clip-path: inset(0 0 0 0);
}

.p-intro__grid.is-inview :is(.p-intro__visual, .p-intro__photo) img {
  transform: scale(1);
}

.is-js .p-intro__more {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1) 2.2s;
}

.p-intro__grid.is-inview .p-intro__more {
  clip-path: inset(0 0 0 0);
}

.p-intro__grid.is-inview .p-intro__text {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .is-js .p-intro__label,
  .is-js .p-intro__visual,
  .is-js .p-intro__photo,
  .is-js .p-intro__visual img,
  .is-js .p-intro__photo img,
  .is-js .p-intro__more,
  .is-js .p-intro__text {
    opacity: 1;
    letter-spacing: normal;
    clip-path: none;
    transform: none;
    transition: none;
  }
}

/* Shop / Online store の見出しも1文字ずつ */
.p-shop__title {
  --char-step: 0.06s;
}

/* ==========================================================
   トップ：私たちについて／昭阿弥の歴史への導線
   ========================================================== */
.p-entry {
  display: grid;
  height: var(--entry-h);
  min-height: 36rem;
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-black);
}

/* 背景・リンク・中央線・お皿を同じセルに重ねる */
.p-entry > *,
.p-entry__bgs > *,
.p-entry__plate > * {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
}

.p-entry__bgs {
  position: relative;
  z-index: 0;
  display: grid;
  pointer-events: none;
}

.p-entry__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.p-entry__bg--about,
.p-entry__bg--history {
  opacity: 0;
}

/* ホバー・フォーカスしたエリアの背景に切り替え */
.p-entry:has(.p-entry__panel--about:is(:hover, :focus-visible)) .p-entry__bg--about,
.p-entry:has(.p-entry__panel--history:is(:hover, :focus-visible)) .p-entry__bg--history {
  opacity: 1;
}

.p-entry__panels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-entry__panel {
  display: grid;
  padding-inline: 12.03vw; /* 231px @1920 */
  color: inherit;
  text-decoration: none;
}

.p-entry__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(3rem, 7.6vw, 9.125rem) clamp(3rem, 7.55vw, 9.0625rem); /* 146 / 145px @1920 */
}

.p-entry__panel--about .p-entry__body {
  justify-self: start;
}

.p-entry__panel--history .p-entry__body {
  justify-self: end;
}

.p-entry__copy {
  writing-mode: vertical-rl;
  font-size: var(--fs-entry-copy);
  font-weight: 400;
  line-height: 1.19; /* 38px / 32px */
  letter-spacing: 0.3em;
}

.p-entry__panel:focus-visible {
  outline-offset: -8px;
}

.p-entry__line {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 1px;
  background-color: var(--color-bg-gray);
  pointer-events: none;
}

.p-entry__plate {
  position: relative;
  z-index: 2;
  display: grid;
  place-self: center;
  width: clamp(16rem, 38.44vw, 46.125rem); /* 738px @1920 */
  pointer-events: none;
}

.p-entry__plate img {
  width: 100%;
}

/* お皿の右半分をモノクロに */
.p-entry__plate-mono {
  filter: grayscale(1);
  clip-path: inset(0 0 0 50%);
}

@media (max-width: 767px) {
  .p-entry {
    height: auto;
    min-height: 0;
  }

  .p-entry__panel {
    padding-inline: 1.25rem;
  }

  .p-entry__panel .p-entry__body {
    justify-self: stretch;
    gap: 2rem;
    padding-block: 2.5rem;
  }

  .p-entry__copy {
    letter-spacing: 0.2em;
  }

  .p-entry .c-more {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    min-width: 0;
  }

  .p-entry__plate {
    width: 62vw;
    opacity: 0.35;
  }
}

/* ==========================================================
   トップ：ラインナップ（スクロールで2作品が入れ替わる）
   ========================================================== */
.p-lineup {
  --lineup-ease: cubic-bezier(0.77, 0, 0.18, 1);
  padding-block: clamp(4rem, 7.5vw, 9rem) clamp(4rem, 6.25vw, 7.5rem); /* 上144px・下120px @1920 */
}

/* 作品が2つ以上あるときだけ画面に固定してスクロール量で切り替える */
.p-lineup[data-count="2"] .p-lineup__sticky {
  position: sticky;
  top: 0;
  display: grid;
  align-content: center;
  min-height: 100svh;
}

/* 固定中にスクロールさせる距離（1作品あたり画面の高さ分） */
.p-lineup__scroll {
  height: calc(100svh * var(--lineup-steps, 1));
}

.p-lineup__inner {
  container-type: inline-size;
  width: min(100% - var(--gutter) * 2, var(--lineup-w));
  margin-inline: auto;
}

/*
  1300px幅のデザインを比率で再現
  列：128 / 64 / 57 / 287 / 33 / 171 / 560
  行：見出し120 / 64 / 本文 / 余り / 小写真280
*/
.p-lineup__grid {
  display: grid;
  grid-template-columns: minmax(0, 128fr) minmax(0, 64fr) minmax(0, 57fr) minmax(0, 287fr) minmax(0, 33fr) minmax(0, 171fr) minmax(0, 560fr);
  grid-template-rows: auto 4.92cqi auto 1fr auto;
}

.p-lineup__title {
  grid-column: 1 / 7;
  grid-row: 1;
}

.p-lineup__body {
  grid-column: 2 / 6;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.08cqi, 2.5rem); /* 40px */
}

.p-lineup__lead {
  font-size: var(--fs-entry-copy); /* 32px @1920 */
  line-height: 1.44; /* 46px */
}

.p-lineup__text {
  font-size: var(--fs-base);
  line-height: 1.75; /* 28px */
}

.p-lineup__photos {
  display: grid;
  overflow: hidden;
}

.p-lineup__photos--sub {
  grid-column: 1 / 3;
  grid-row: 5;
  width: 14.77cqi; /* 192px */
  aspect-ratio: 192 / 280;
}

.p-lineup__photos--main {
  grid-column: 7;
  grid-row: 2 / 6;
  aspect-ratio: 560 / 680;
}

.p-lineup__more {
  grid-column: 4 / 7;
  grid-row: 5;
  align-self: end;
  justify-self: start;
  margin-block-end: 6.15cqi; /* 80px */
}

/* 写真は同じセルに重ね、表示中の作品だけ下からめくるように出す */
.p-lineup__photo {
  grid-area: 1 / 1;
  margin: 0;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--lineup-ease);
}

.p-lineup__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s var(--lineup-ease);
}

.p-lineup__photo[data-index="0"],
.p-lineup[data-active="1"] .p-lineup__photo[data-index="1"] {
  clip-path: inset(0 0 0 0);
}

.p-lineup[data-active="0"] .p-lineup__photo[data-index="0"] img,
.p-lineup[data-active="1"] .p-lineup__photo[data-index="1"] img {
  transform: scale(1);
}

/* 小さい写真は少し遅れて切り替える */
.p-lineup__photos--sub .p-lineup__photo,
.p-lineup__photos--sub .p-lineup__photo img {
  transition-delay: 0.15s;
}

@media (max-width: 767px) {
  .p-lineup__grid {
    grid-template-columns: 40% minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    row-gap: 2rem;
  }

  .p-lineup__title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .p-lineup__body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .p-lineup__photos--main {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 85%;
    justify-self: end;
  }

  .p-lineup__photos--sub {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    z-index: 1;
    width: 100%;
    margin-block-end: -2rem;
  }

  .p-lineup__more {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: stretch;
    width: 100%;
    margin-block: 2rem 0;
  }
}

/* ==========================================================
   トップ：ものづくり（Making）
   ========================================================== */
/*
  画面幅いっぱいのセクション。1920px幅のデザインを比率で再現
  列：590 / 338 / 152 / 544 / 296（灰色の背景は590pxから右端まで）
  行：上96 / 中身 / 下120
*/
.p-making {
  display: grid;
  grid-template-columns: minmax(0, 590fr) minmax(0, 338fr) minmax(0, 152fr) minmax(0, 544fr) minmax(0, 296fr);
  grid-template-rows: clamp(3rem, 5vw, 6rem) auto clamp(3.5rem, 6.25vw, 7.5rem);
}

.p-making__bg {
  grid-column: 2 / -1;
  grid-row: 1 / -1;
  background-color: var(--color-bg-gray);
}

.p-making__photos {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.p-making__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 304 / 360;
}

.p-making__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画面に入ったら、成形→焼き→絵付の順に左からめくれて出てくる */
.is-js .p-making__photo {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}

.is-js .p-making__photo img {
  transform: scale(1.15);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-making__photos.is-inview .p-making__photo {
  clip-path: inset(0 0 0 0);
}

.is-js .p-making__photos.is-inview .p-making__photo img {
  transform: scale(1);
}

.p-making__photo:nth-child(2),
.p-making__photo:nth-child(2) img {
  transition-delay: 0.25s;
}

.p-making__photo:nth-child(3),
.p-making__photo:nth-child(3) img {
  transition-delay: 0.5s;
}

.p-making__content {
  grid-column: 4 / 6;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 3.33vw, 4rem); /* 64px */
  max-width: 34rem; /* 544px */
}

.p-making__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2.5rem, 4.17vw, 5rem); /* 80px */
}

.p-making__texts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-making__lead {
  font-size: clamp(var(--fs-lg), 1.25vw, var(--fs-2xl)); /* 24px @1920 */
  line-height: 1.67; /* 40px */
}

.p-making__text {
  max-width: 28.5rem; /* 456px */
  font-size: var(--fs-base);
  line-height: 1.75;
}

@media (max-width: 1023px) {
  .p-making {
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    grid-template-rows: 3.5rem auto 2.5rem auto 3.5rem;
  }

  .p-making__bg {
    grid-column: 1 / -1;
    grid-row: 1 / 4;
  }

  .p-making__content {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    padding-block-end: 3rem;
  }

  .p-making__photos {
    grid-column: 1 / -1;
    grid-row: 3 / 5;
    align-self: start;
    margin-inline-end: var(--gutter);
  }
}

@media (max-width: 767px) {
  .p-making__photos {
    gap: 0.25rem;
  }
}

/* ==========================================================
   トップ：一石（HITOISHI）パララックス
   ========================================================== */
.p-hitoishi {
  --parallax: 0; /* JSで -1（画面の下）〜 1（画面の上）を入れる */

  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 62.5rem) minmax(var(--gutter), 1fr); /* 白い箱 1000px */
  grid-template-rows: clamp(3rem, 4.17vw, 5rem) auto clamp(4rem, 6.25vw, 7.5rem); /* 上80px・下120px */
  margin-block-start: clamp(4rem, 6.25vw, 7.5rem); /* Makingとの間 120px */
  overflow: hidden;
  background-color: var(--color-stone);
}

/* 背景画像：セクションより大きく敷いて、スクロールでゆっくり動かす */
.p-hitoishi__bg {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  contain: size; /* 画像の大きさでセクションの高さが変わらないように */
  display: grid;
  align-items: center;
  overflow: hidden;
}

.p-hitoishi__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--parallax) * 8%), 0);
  will-change: transform;
}

.p-hitoishi__label,
.p-hitoishi__card {
  position: relative; /* 動く背景画像より手前に出す */
  z-index: 1;
}

.p-hitoishi__label {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  margin-inline-end: 1rem;
  writing-mode: vertical-rl;
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--color-white);
  white-space: nowrap;
}

.p-hitoishi__card {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 2.08vw, 2.5rem); /* 40px */
  padding: clamp(2.5rem, 2.92vw, 3.5rem) clamp(1.25rem, 3vw, 5rem) clamp(3rem, 4.22vw, 5.0625rem); /* 上56px・下81px */
  background-color: var(--color-white);
}

.p-hitoishi__title {
  inline-size: 1em; /* 1文字ずつ縦に並べる */
  text-align: center;
  word-break: break-all;
  font-size: clamp(2rem, 2.5vw, 3rem); /* 48px */
  font-weight: 400;
  line-height: 1;
}

.p-hitoishi__texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.p-hitoishi__lead {
  font-size: clamp(var(--fs-lg), 1.25vw, var(--fs-2xl)); /* 24px */
  line-height: 1.67;
  text-wrap: balance; /* SPで「に。」だけ残らないように */
}

.p-hitoishi__text {
  font-size: var(--fs-md);
  line-height: 1.71; /* 24px */
}

/* 中の写真は背景と逆向きに少し動かして奥行きを出す */
.p-hitoishi__photo {
  width: min(100%, 40.625rem); /* 650px */
  margin: 0;
  overflow: hidden;
  aspect-ratio: 650 / 384;
}

.p-hitoishi__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--parallax) * -4%), 0) scale(1.12);
  will-change: transform;
}

.p-hitoishi__more {
  margin-block-start: 0.5rem;
}

@media (max-width: 767px) {
  .p-hitoishi {
    grid-template-rows: 3rem auto auto 4rem;
  }

  .p-hitoishi__label {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin: 0 0 0.75rem;
    writing-mode: horizontal-tb;
    font-size: var(--fs-md);
  }

  .p-hitoishi__card {
    grid-row: 3;
  }

  .p-hitoishi__text br {
    display: none;
  }
}

/* ==========================================================
   トップ：お知らせ
   ========================================================== */
.p-news {
  padding-block: clamp(4rem, 6.25vw, 7.5rem); /* 120px */
  padding-inline: var(--gutter);
}

.p-news__inner {
  max-width: var(--news-w);
  margin-inline: auto;
}

.p-news__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-block-end: clamp(2rem, 2.6vw, 3rem);
}

.p-news__head .c-more {
  margin-block-start: clamp(1rem, 1.25vw, 1.5rem);
}

.p-news__list {
  border-block-start: 1px solid var(--color-line);
}

.p-news__item {
  border-block-end: 1px solid var(--color-line);
}

.p-news__link {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr); /* 日付 176px */
  gap: 1rem;
  min-height: var(--tap-size);
  padding-block: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration);
}

.p-news__date {
  font-family: var(--font-accent);
  font-size: var(--fs-sm);
  line-height: 1.6;
  letter-spacing: var(--ls-normal);
  color: var(--color-gray);
}

/* タイトルは2行まで、はみ出しは「…」 */
.p-news__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--fs-md);
  line-height: 1.6;
  letter-spacing: var(--ls-normal);
}

a.p-news__link:hover {
  opacity: 1;
}

.p-news__link:is(:hover, :focus-visible) {
  color: var(--color-blue);
}

.p-news__empty {
  padding-block: 1.25rem;
  border-block: 1px solid var(--color-line);
  font-size: var(--fs-md);
}

@media (max-width: 767px) {
  .p-news__link {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .p-news__title {
    font-size: var(--fs-base);
  }
}

/* ==========================================================
   共通パーツ：読み物カード
   ========================================================== */
.c-column-card__link {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text);
  text-decoration: none;
}

a.c-column-card__link:hover {
  opacity: 1;
}

.c-column-card__img {
  overflow: hidden;
  aspect-ratio: 630 / 400;
  background-color: var(--color-bg-gray);
}

.c-column-card--large .c-column-card__img {
  aspect-ratio: 630 / 560;
}

.c-column-card--small .c-column-card__img {
  aspect-ratio: 295 / 394;
}

.c-column-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* アイキャッチがない時：ロゴを中央に */
.c-no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--color-blue); /* ロゴが白なので紺の背景に */
}

.c-column-card__img .c-no-image img {
  width: 40%;
  max-width: 10rem;
  height: auto;
  object-fit: contain;
}

.c-column-card__link:is(:hover, :focus-visible) .c-column-card__img img {
  transform: scale(1.05);
}

.c-column-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-column-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-md);
  color: var(--color-blue);
}

.c-column-card__cat {
  padding: 0.25rem 0.5rem;
  border: 0.5px solid var(--color-blue);
  line-height: 1;
}

.c-column-card__date {
  margin-inline-start: auto;
  line-height: 1.546;
}

.c-column-card__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--font-logo);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.25;
  transition: color var(--duration);
}

.c-column-card__link:is(:hover, :focus-visible) .c-column-card__title {
  color: var(--color-blue);
}

/* 本文：大きいカードは3行、小さいカードは2行まで */
.c-column-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.c-column-card--small .c-column-card__excerpt {
  -webkit-line-clamp: 2;
}

/* ==========================================================
   トップ：読み物
   ========================================================== */
.p-column {
  padding-block: clamp(4rem, 6.25vw, 7.5rem); /* 120px */
  padding-inline: var(--gutter);
}

.p-column__inner {
  display: flex;
  flex-direction: column;
  max-width: var(--lineup-w); /* 1300px */
  margin-inline: auto;
}

.p-column__title {
  margin-block-end: clamp(3rem, 4.17vw, 5rem); /* 80px */
}

.p-column__blocks {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 3.33vw, 4rem); /* 64px */
}

.p-column__block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 2.08vw, 2.5rem); /* 40px */
}

/* 1列の中：大・横長は縦に、小は2つずつ横に並ぶ */
.p-column__col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 2.5vw, 3rem) clamp(1.5rem, 2.08vw, 2.5rem); /* 縦48px 横40px */
}

.p-column__col > :is(.c-column-card--large, .c-column-card--wide) {
  grid-column: 1 / -1;
}

.p-column__more {
  align-self: flex-end;
  margin-block-start: clamp(3rem, 4.17vw, 5rem); /* 80px */
}

@media (max-width: 767px) {
  /* 0.5pxの枠線は実機で座標が端数になると片側が消えることがあるため、SPは1pxに */
  .c-column-card__cat {
    border-width: 1px;
  }

  .p-column__block {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .p-column__col {
    gap: 2rem 1rem;
  }

  .c-column-card__link {
    gap: 1rem;
  }

  .c-column-card__meta {
    font-size: var(--fs-xs);
  }

  .c-column-card__excerpt {
    font-size: var(--fs-md);
  }

  .p-column__more {
    align-self: stretch;
  }
}

/* ==========================================================
   トップ：Follow Us（Instagram）
   ========================================================== */
.p-follow {
  display: grid;
  grid-template-columns: minmax(0, 892fr) minmax(0, 744fr) minmax(0, 284fr); /* 左の写真部分 / 中身 / 右余白 */
  grid-template-rows: clamp(3rem, 4.17vw, 5rem) auto clamp(3.5rem, 5.1vw, 6.125rem); /* 上80px・下98px */
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-black);
}

.p-follow__bg {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  overflow: hidden;
  contain: size; /* 画像の大きさでセクションの高さが変わらないように */
}

.p-follow__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.p-follow__content {
  grid-column: 2;
  grid-row: 2;
  position: relative; /* 背景画像より手前に */
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 2.5vw, 3rem); /* 48px */
}

.p-follow__head {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.08vw, 2.5rem); /* 40px */
}

.p-follow__title {
  font-family: var(--font-accent);
  font-size: clamp(var(--fs-2xl), 2.08vw, var(--fs-3xl)); /* 40px */
  font-weight: 400;
  line-height: 1.15;
}

.p-follow__text {
  font-size: var(--fs-base);
  line-height: 1.75;
}

.p-follow__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.25vw, 1.5rem); /* 24px */
  max-width: 46.5rem; /* 744px */
}

.p-follow__link {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  color: var(--color-white);
}

a.p-follow__link:hover {
  opacity: 1;
}

.p-follow__link > * {
  grid-area: 1 / 1;
}

.p-follow__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s;
}

/* ホバー：写真がゆっくり寄って暗くなり、アイコンが浮かぶ */
.p-follow__icon {
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.6s;
}

.p-follow__icon svg {
  width: 2rem;
  transform: translateY(0.5rem);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-follow__link:is(:hover, :focus-visible) img {
  transform: scale(1.08);
  filter: brightness(0.6);
}

.p-follow__link:is(:hover, :focus-visible) .p-follow__icon {
  opacity: 1;
}

.p-follow__link:is(:hover, :focus-visible) .p-follow__icon svg {
  transform: translateY(0);
}

/* 表示アニメーション：背景がゆっくり引き、文字→写真の順に現れる */
.is-js .p-follow__bg img {
  transform: scale(1.1);
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-follow__head > *,
.is-js .p-follow__photo {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-follow__photo {
  clip-path: inset(100% 0 0 0);
  transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}

.is-js .p-follow.is-inview .p-follow__bg img {
  transform: scale(1);
}

.is-js .p-follow.is-inview .p-follow__head > *,
.is-js .p-follow.is-inview .p-follow__photo {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

.is-js .p-follow.is-inview .p-follow__text { transition-delay: 0.15s; }
.is-js .p-follow.is-inview .p-follow__photo:nth-child(1) { transition-delay: 0.35s; }
.is-js .p-follow.is-inview .p-follow__photo:nth-child(2) { transition-delay: 0.5s; }
.is-js .p-follow.is-inview .p-follow__photo:nth-child(3) { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .is-js .p-follow__bg img,
  .is-js .p-follow__head > *,
  .is-js .p-follow__photo {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

@media (max-width: 1023px) {
  .p-follow {
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    grid-template-rows: 4rem auto 4rem;
  }

  /* 背景の上に文字が乗るので、暗くして読みやすく */
  .p-follow__bg::after {
    content: "";
    grid-area: 1 / 1;
    background-color: var(--color-follow-shade);
  }

  .p-follow__bg {
    display: grid;
  }

  .p-follow__bg img {
    grid-area: 1 / 1;
    object-position: 30% center;
  }
}

@media (max-width: 767px) {
  .p-follow__text br {
    display: none;
  }
}

/* ==========================================================
   トップ：Shop / Online store
   ========================================================== */
.p-shop {
  padding-block: clamp(3.5rem, 5vw, 6rem) clamp(4rem, 6.25vw, 7.5rem); /* 上96px・下120px */
  padding-inline: var(--gutter);
}

.p-shop__inner {
  display: grid;
  grid-template-columns: minmax(0, 20rem) 1px minmax(0, 20rem); /* 320px | 線 | 320px */
  justify-content: center;
  align-items: center;
  column-gap: clamp(3rem, 12.5vw, 15rem); /* 240px */
}

.p-shop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 2.5vw, 3rem); /* 48px */
}

.p-shop__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 1.25vw, 1.5rem); /* 24px */
  text-align: center;
}

.p-shop__title {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 2.29vw, 2.75rem); /* 44px */
  font-weight: 400;
  line-height: 1.16;
  color: var(--color-black);
  white-space: nowrap;
}

.p-shop__lead {
  font-size: clamp(var(--fs-base), 1.04vw, 1.25rem); /* 20px */
  line-height: 1.45;
}

.p-shop__divider {
  align-self: stretch;
  min-height: 12.5rem; /* 200px */
  background-color: var(--color-line);
}

/* ボタン：ホバーで色が左から流れ込む */
.p-shop__btn {
  --btn-bg: var(--color-btn-gray);
  --btn-color: var(--color-text);
  --btn-hover-bg: var(--color-blue);
  --btn-hover-color: var(--color-white);

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem; /* 40px → タップしやすく44px */
  padding-inline: 1rem;
  font-size: var(--fs-md);
  line-height: 1.43;
  color: var(--btn-color);
  text-decoration: none;
  background: linear-gradient(var(--btn-hover-bg), var(--btn-hover-bg)) left / 0 100% no-repeat var(--btn-bg);
  transition: background-size 0.6s cubic-bezier(0.77, 0, 0.18, 1), color 0.4s 0.1s;
}

.p-shop__btn--accent {
  --btn-bg: var(--color-blue);
  --btn-color: var(--color-white);
  --btn-hover-bg: var(--color-text);
}

a.p-shop__btn:hover {
  opacity: 1;
}

.p-shop__btn:is(:hover, :focus-visible) {
  color: var(--btn-hover-color);
  background-size: 100% 100%;
}

.p-shop__btn-icon {
  display: inline-flex;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-shop__btn-icon svg {
  width: 0.5625rem;
}

.p-shop__btn--accent .p-shop__btn-icon svg {
  width: 0.75rem;
}

.p-shop__btn:is(:hover, :focus-visible) .p-shop__btn-icon {
  transform: translateX(0.25rem);
}

.p-shop__btn--accent:is(:hover, :focus-visible) .p-shop__btn-icon {
  transform: translate(0.125rem, -0.125rem);
}

@media (max-width: 767px) {
  .p-shop__inner {
    grid-template-columns: minmax(0, 20rem);
    row-gap: 3rem;
  }

  .p-shop__divider {
    width: 3rem;
    min-height: 0;
    height: 1px;
    justify-self: center;
  }
}

/* ==========================================================
   下層：ページ見出し（template-parts/page-header.php）
   ========================================================== */
.c-page-header {
  padding: clamp(3.5rem, 6.25vw, 7.5rem) var(--gutter) clamp(2.5rem, 4.17vw, 5rem);
}

.c-page-header__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2rem;
  max-width: var(--lineup-w);
  margin-inline: auto;
  padding-block-end: clamp(1.5rem, 2.08vw, 2.5rem);
  background: linear-gradient(var(--color-line), var(--color-line)) left bottom / 100% 1px no-repeat;
}

.c-page-header__title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 400;
}

.c-page-header__en {
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 4.17vw, 5rem); /* 80px @1920 */
  line-height: 1;
  color: var(--color-blue);
}

.c-page-header__ja {
  font-size: var(--fs-md);
  line-height: 1.4;
}

.c-page-header__breadcrumb {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--color-gray);
}

.c-page-header__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration);
}

.c-page-header__breadcrumb a:is(:hover, :focus-visible) {
  color: var(--color-blue);
  opacity: 1;
}

/* 表示アニメーション：下線が左から引かれ、日本語が遅れて現れる */
.is-js .c-page-header__inner {
  background-size: 0 1px;
  transition: background-size 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.2s;
}

.is-js .c-page-header :is(.c-page-header__ja, .c-page-header__breadcrumb) {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.6s;
}

.is-js .c-page-header.is-inview .c-page-header__inner {
  background-size: 100% 1px;
}

.is-js .c-page-header.is-inview :is(.c-page-header__ja, .c-page-header__breadcrumb) {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   共通パーツ：絞り込みボタン・カテゴリ・タグ
   ========================================================== */
.c-filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-size);
  padding-inline: 1.25rem;
  font-size: var(--fs-md);
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-line);
  transition: color var(--duration), border-color var(--duration), background-color var(--duration);
}

a.c-filter-btn:hover {
  opacity: 1;
}

.c-filter-btn:is(:hover, :focus-visible) {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.c-filter-btn.is-current {
  color: var(--color-white);
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.c-cat {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-xs);
  line-height: 1.2;
  color: var(--color-blue);
  text-decoration: none;
  white-space: nowrap;
  border: 0.5px solid var(--color-blue);
}

@media (max-width: 767px) {
  .c-cat {
    border-width: 1px;
  }
}

a.c-cat {
  transition: color var(--duration), background-color var(--duration);
}

a.c-cat:is(:hover, :focus-visible) {
  color: var(--color-white);
  background-color: var(--color-blue);
  opacity: 1;
}

.c-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-size: var(--fs-sm);
  color: var(--color-gray);
  text-decoration: none;
  transition: color var(--duration);
}

a.c-tag:hover {
  opacity: 1;
}

a.c-tag:is(:hover, :focus-visible),
.c-tag.is-current {
  color: var(--color-blue);
}

/* ==========================================================
   下層：お知らせ一覧
   ========================================================== */
.p-news-archive__inner {
  max-width: var(--news-w);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 6.25vw, 7.5rem);
  box-sizing: content-box;
}

.p-news-archive__filter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block-end: clamp(2.5rem, 3.33vw, 4rem);
}

.p-news-archive__cats,
.p-news-archive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-news-archive__tags {
  gap: 0 1.25rem;
}

.p-news-archive__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--color-line);
}

.p-news-archive__item {
  border-block-end: 1px solid var(--color-line);
}

.p-news-archive__link {
  display: grid;
  grid-template-columns: 7rem 8rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 1rem;
  min-height: var(--tap-size);
  padding: 1.75rem 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  background: linear-gradient(var(--color-bg-gray), var(--color-bg-gray)) left / 0 100% no-repeat;
  transition: background-size 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

a.p-news-archive__link:hover {
  opacity: 1;
}

.p-news-archive__link:is(:hover, :focus-visible) {
  background-size: 100% 100%;
}

.p-news-archive__date {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-normal);
  color: var(--color-gray);
}

.p-news-archive__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--fs-base);
  line-height: 1.7;
  transition: color var(--duration);
}

.p-news-archive__arrow {
  justify-self: end;
  color: var(--color-arrow);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color var(--duration);
}

.p-news-archive__arrow svg {
  width: 0.75rem;
}

.p-news-archive__link:is(:hover, :focus-visible) :is(.p-news-archive__title, .p-news-archive__arrow) {
  color: var(--color-blue);
}

.p-news-archive__link:is(:hover, :focus-visible) .p-news-archive__arrow {
  transform: translateX(0.25rem);
}

.p-news-archive__empty {
  padding-block: 2rem;
  border-block: 1px solid var(--color-line);
}

/* ページ送り（WP-PageNavi） */
:is(.p-news-archive__pager, .c-pager) .wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: clamp(2.5rem, 3.33vw, 4rem);
}

:is(.p-news-archive__pager, .c-pager) .wp-pagenavi :is(a, span) {
  display: inline-grid;
  place-items: center;
  min-width: var(--tap-size);
  min-height: var(--tap-size);
  margin: 0;
  padding: 0 0.5rem;
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color var(--duration), border-color var(--duration);
}

:is(.p-news-archive__pager, .c-pager) .wp-pagenavi a:is(:hover, :focus-visible) {
  color: var(--color-blue);
  border-color: var(--color-blue);
  opacity: 1;
}

:is(.p-news-archive__pager, .c-pager) .wp-pagenavi .current {
  color: var(--color-white);
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

:is(.p-news-archive__pager, .c-pager) .wp-pagenavi .pages {
  border: 0;
  color: var(--color-gray);
}

@media (max-width: 767px) {
  .p-news-archive__link {
    grid-template-columns: auto minmax(0, 1fr) 1rem;
    gap: 0.5rem 1rem;
    padding-block: 1.25rem;
  }

  .p-news-archive__title {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .p-news-archive__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

/* ==========================================================
   下層：読み物一覧
   ========================================================== */
.p-column-archive__inner {
  max-width: var(--lineup-w);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 6.25vw, 7.5rem);
  box-sizing: content-box;
}

.p-column-archive__filter {
  margin-block-end: clamp(2.5rem, 3.33vw, 4rem);
}

.p-column-archive__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-column-archive__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 3.33vw, 4rem) clamp(1.5rem, 2.08vw, 2.5rem); /* 縦64px 横40px */
}

.p-column-archive__empty {
  padding-block: 2rem;
  border-block: 1px solid var(--color-line);
}

/* 表示アニメーション：カードが順にふわっと現れる */
.is-js .p-column-archive__list .c-column-card {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-column-archive__list .c-column-card.is-inview {
  opacity: 1;
  transform: none;
}

.is-js .p-column-archive__list .c-column-card:nth-child(3n + 2) { transition-delay: 0.12s; }
.is-js .p-column-archive__list .c-column-card:nth-child(3n) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .is-js .p-column-archive__list .c-column-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1023px) {
  .p-column-archive__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .p-column-archive__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================
   下層：記事詳細（お知らせ・読み物）
   ========================================================== */
.p-single {
  --single-w: 50rem; /* 800px */
}

.p-single__article,
.p-single__pager,
.p-single__back {
  max-width: var(--single-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: content-box;
}

.p-single__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block-end: clamp(2rem, 2.5vw, 3rem);
  border-block-end: 1px solid var(--color-line);
}

.p-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.p-single__date {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-normal);
  color: var(--color-gray);
}

.p-single__title {
  font-size: clamp(1.375rem, 1.67vw, 2rem); /* 32px @1920 */
  font-weight: 400;
  line-height: 1.6;
}

.p-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-single__thumb {
  margin: clamp(2.5rem, 3.33vw, 4rem) 0 0;
  overflow: hidden;
}

.p-single__thumb img {
  width: 100%;
}

.p-single__content {
  padding-block: clamp(2.5rem, 3.33vw, 4rem) clamp(4rem, 5vw, 6rem);
}

/* 読み物：関連記事 */
.p-single__related {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.33vw, 4rem);
  max-width: var(--lineup-w);
  margin: clamp(4rem, 6.25vw, 7.5rem) auto 0;
  padding-inline: var(--gutter);
  box-sizing: content-box;
}

/* 前後の記事 */
.p-single__pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-single__pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-block: 1px solid var(--color-line);
  transition: background-color var(--duration);
}

a.p-single__pager-link:hover {
  opacity: 1;
}

.p-single__pager-link:is(:hover, :focus-visible) {
  background-color: var(--color-bg-gray);
}

.p-single__pager-link--next {
  grid-column: 2;
  align-items: flex-end;
  text-align: end;
}

.p-single__pager-link--prev + .p-single__pager-link--next {
  border-inline-start: 1px solid var(--color-line);
}

.p-single__pager-label {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-wide);
  color: var(--color-blue);
}

.p-single__pager-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--fs-md);
  line-height: 1.6;
}

.p-single__back {
  display: flex;
  justify-content: center;
  padding-block: clamp(3rem, 4.17vw, 5rem) clamp(4rem, 6.25vw, 7.5rem);
}

/* 表示アニメーション */
.is-js .p-single__head,
.is-js .p-single__thumb {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-single__thumb img {
  transform: scale(1.08);
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .p-single__head.is-inview,
.is-js .p-single__thumb.is-inview {
  opacity: 1;
  transform: none;
}

.is-js .p-single__thumb.is-inview img {
  transform: none;
}

@media (max-width: 767px) {
  .p-single__pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-single__pager-link--next {
    grid-column: 1;
  }

  .p-single__pager-link--prev + .p-single__pager-link--next {
    border-inline-start: 0;
    border-block-start: 0;
  }
}

/* ==========================================================
   共通：記事本文（管理画面のエディタで書いた内容）
   ========================================================== */
.c-content {
  font-size: var(--fs-base);
  line-height: 2;
}

.c-content > * + * {
  margin-block-start: 1.5em;
}

.c-content h2 {
  margin-block-start: 3em;
  padding-block-end: 0.75rem;
  font-size: clamp(1.25rem, 1.25vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  border-block-end: 1px solid var(--color-line);
}

.c-content h3 {
  margin-block-start: 2.5em;
  padding-inline-start: 1rem;
  font-size: var(--fs-lg);
  font-weight: 400;
  line-height: 1.6;
  border-inline-start: 2px solid var(--color-blue);
}

.c-content h4 {
  margin-block-start: 2em;
  font-size: var(--fs-base);
  font-weight: 600;
}

.c-content a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.c-content :is(ul, ol) {
  padding-inline-start: 1.5em;
}

.c-content ul {
  list-style: disc;
}

.c-content ol {
  list-style: decimal;
}

.c-content li {
  list-style: inherit;
}

.c-content img {
  height: auto;
}

.c-content figcaption {
  margin-block-start: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--color-gray);
}

.c-content blockquote {
  margin-inline: 0;
  padding: 1.5rem 2rem;
  background-color: var(--color-bg-gray);
  border-inline-start: 2px solid var(--color-line);
}

.c-content table {
  width: 100%;
  font-family: inherit;
  border-collapse: collapse;
  font-size: var(--fs-md);
}

.c-content :is(th, td) {
  padding: 1rem;
  font-family: inherit;
  text-align: start;
  border: 1px solid var(--color-line);
}

.c-content th {
  background-color: var(--color-bg-gray);
  font-weight: 400;
}

.c-content hr {
  border: 0;
  border-block-start: 1px solid var(--color-line);
}

@media (prefers-reduced-motion: reduce) {
  .is-js .c-page-header__inner,
  .is-js .c-page-header :is(.c-page-header__ja, .c-page-header__breadcrumb),
  .is-js .p-single__head,
  .is-js .p-single__thumb,
  .is-js .p-single__thumb img {
    opacity: 1;
    transform: none;
    background-size: 100% 1px;
    transition: none;
  }
}

/* ==========================================================
   以下：下層ページ用の既存スタイル
   （各ページを実装するときに上の書き方へ置き換える）
   ========================================================== */
.accent {
  font-family: "Belleza", sans-serif;
}

.container {
  width: 80%;
  margin: 0 auto;
  max-width: 1535px;
}
@media screen and (max-width: 1024px) {
  .container {
    width: 85%;
  }
}
@media screen and (max-width: 767px) {
  .container {
    width: 90%;
  }
}

a {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}

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

img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lower-fv {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 10rem 0;
  margin-bottom: 7.5rem;
  background: #0B346E;
}
@media screen and (max-width: 1024px) {
  .lower-fv {
    margin: 3.5rem 0 5rem;
  }
}
@media screen and (max-width: 767px) {
  .lower-fv {
    margin-bottom: 2rem;
  }
}
.lower-fv-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 10;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 90%;
  padding: 10px;
  color: #fff;
}
.lower-fv h1 {
  font-size: clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
  letter-spacing: 2px;
}

#breadcrumbs {
  width: 90%;
  position: absolute;
  bottom: 1rem;
  left: 5%;
  color: #fff;
  font-size: 14px;
}
#breadcrumbs a {
  color: #fff;
}

.wp-pagenavi {
  width: 100%;
  margin: 5rem auto;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 767px) {
  .wp-pagenavi {
    margin-top: 2.5rem;
  }
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi span,
.wp-pagenavi a {
  margin: 0 0.5rem;
  display: inline-block;
  color: #b1b0b0;
  padding: 6px 5px !important;
  border: none !important;
  font-weight: bold;
}
@media screen and (max-width: 1024px) {
  .wp-pagenavi span,
  .wp-pagenavi a {
    margin: 0 0.3rem;
  }
}
@media screen and (max-width: 767px) {
  .wp-pagenavi span,
  .wp-pagenavi a {
    padding: 8px 5px !important;
  }
}
.wp-pagenavi span.current {
  color: #0B346E;
}
@media screen and (max-width: 767px) {
  .wp-pagenavi span.current {
    padding: 0.6rem 0rem;
  }
}

@media screen and (max-width: 767px) {
  .content .wp-block-spacer {
    height: 3rem !important;
  }
}

.wp-block-table th {
  word-break: auto-phrase !important;
}

.simple-sitemap-wrap a {
  color: #0000ee;
  text-decoration: underline;
}
.simple-sitemap-wrap ul, .simple-sitemap-wrap li {
  list-style: inside;
}

.sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
}


#ez-toc-container {
  margin: 2rem 0;
}

.top-title {
  text-align: center;
  margin-bottom: 4rem;
}
@media screen and (max-width: 767px) {
  .top-title {
    margin-bottom: 2rem;
  }
}
.top-title img {
  width: 50px;
  margin: 0 auto 0.5rem;
}
.top-title h2 {
  font-size: clamp(1.25rem, 1.068rem + 0.61vw, 1.75rem);
}

.aioseo-breadcrumbs {
  width: 90%;
  margin: 0 auto;
  font-size: 14px;
}


@media screen and (max-width: 767px) {
  h2, h3, h4, h5 {
    line-height: 1.5;
  }
}

a {
  text-decoration: none;
  color: #000;
  line-height: 1.5;
}


.news-btn {
  width: 320px;
  margin: 3rem auto 0;
  background: #E6E6E6;
  font-size: 14px;
  text-align: center;
  display: block;
  padding: 8px;
}
.news-btn p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.news-btn p::after {
  content: "";
  aspect-ratio: 34/12;
  width: 12px;
  display: block;
  background: url(./images/arrow.png) no-repeat center/contain;
}

/*お知らせ一覧ページ*/
.news {
  margin: 5rem 0 10rem;
}
@media screen and (max-width: 767px) {
  .news {
    margin: 2.5rem 0 5rem;
  }
}
.news .container {
  max-width: 1345px;
}
.news .post-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 3rem 2rem;
}
@media screen and (max-width: 767px) {
  .news .post-list {
    gap: 2rem;
  }
}
.news .post-list .item {
  width: calc((100% - 4rem) / 3);
}
@media screen and (max-width: 1024px) {
  .news .post-list .item {
    width: calc((100% - 2rem) / 2);
  }
}
@media screen and (max-width: 767px) {
  .news .post-list .item {
    width: 100%;
  }
}
.news-text {
  margin-top: 1rem;
}
.news-text .category {
  font-size: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0.5rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.news-text .post-title {
  color: #0B346E;
  font-size: 1rem;
}
.news-label {
  margin-bottom: 10px;
}
.news-label > span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.news-label > span > span {
  color: #fff;
  padding: 2px 10px;
  border-radius: 5px;
  background-color: #0B346E;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.news-img img {
  aspect-ratio: 415/311;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
  background: #fff;
  margin-bottom: 2rem;
}
.news-category + .news-tag {
  margin-bottom: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
}
.news-category a {
  color: #9A9A9A;
  font-size: clamp(0.875rem, 0.792rem + 0.28vw, 1.125rem);
  line-height: 1;
  text-align: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  padding-bottom: 1.5rem;
  position: relative;
}
.news-category a::before {
  content: "";
  position: absolute;
  width: 75px;
  height: 3px;
  bottom: 0;
  background: #0B346E;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  opacity: 0;
}
.news-category a:hover::before {
  opacity: 1;
}
.news-category a.current {
  color: #0B346E;
}
.news-category a.current::before {
  opacity: 1;
}
.news-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.news-tag {
  font-size: 14px;
  color: #9A9A9A;
}

/*詳細ページ*/
@media screen and (max-width: 1024px) {
  .single-main {
    margin-top: 5rem;
  }
}
@media screen and (max-width: 767px) {
  .single-main {
    margin-top: 2.5rem;
  }
}
.single .news-btn {
  margin-top: 5rem;
}
@media screen and (max-width: 767px) {
  .single .news-btn {
    margin-top: 2.5rem;
  }
}
.single .news-label {
  margin-bottom: 10px;
}
.single .news-label > span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.single .news-label > span a {
  color: #fff;
  padding: 2px 10px;
  border-radius: 5px;
  background-color: #0B346E;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.single .news-img {
  max-width: 800px;
  margin: 1rem auto 3rem;
}

.content {
  width: 100%;
  margin: 0;
}
.content .wp-block-button__link {
  margin: 2rem 0;
}
.content img {
  margin: 2rem 0;
}
.content h2 {
  font-size: clamp(1.25rem, 1.159rem + 0.3vw, 1.5rem);
  padding: 1rem;
  background-color: #F6F6F6;
  border-left: 10px solid #0B346E;
  margin: 3rem 0 1.5rem;
}
.content h2:first-of-type {
  margin-top: 1.5rem;
}
.content h3 {
  font-size: clamp(1.125rem, 1.034rem + 0.3vw, 1.375rem);
  margin: 2rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0B346E;
}
.content h4 {
  margin: 2rem 0 1.5rem;
  font-size: clamp(1rem, 0.955rem + 0.15vw, 1.125rem);
}
.content ul {
  margin: 2rem 0;
}
.content ul li {
  list-style: inside;
}
.content ::marker {
  color: #0B346E;
}
.content p {
  font-weight: 400;
  line-height: 2;
  margin: 2rem 0;
}
.content .wp-block-image img {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 2rem 0;
}

/*contact*/
.contact-text {
  text-align: center;
  margin-bottom: 4rem;
}
@media screen and (max-width: 767px) {
  .contact-text {
    margin-bottom: 2rem;
  }
}
.contact-text img {
  width: 3rem;
  margin: 0 auto 1rem;
}
@media screen and (max-width: 767px) {
  .contact-text img {
    width: 2rem;
  }
}
.contact-text h2 {
  font-size: 28px;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .contact-text h2 {
    font-size: 20px;
    margin-bottom: 1rem;
  }
}
.contact .container {
  padding: 4rem 5%;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .contact .container {
    padding: 2rem 5%;
    width: 100%;
  }
}
.contact form {
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: left;
  -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 2rem 5%;
}
@media screen and (max-width: 767px) {
  .contact form {
    width: 100%;
    margin-bottom: 2.5rem;
  }
}
.contact form > div:not(.submit-btn) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.contact form > div:not(.submit-btn):not(:last-child) {
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .contact form > div:not(.submit-btn):not(:last-child) {
    margin-bottom: 20px;
  }
}
.contact form > div:not(.submit-btn) p {
  width: 100%;
}
.contact form > div:not(.submit-btn) p:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
@media screen and (max-width: 1024px) {
  .contact form > div:not(.submit-btn) p:first-child {
    width: 100%;
    min-width: auto;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
  }
}
@media screen and (max-width: 767px) {
  .contact form > div:not(.submit-btn) p:first-child {
    gap: 0;
  }
}
.contact p:has(input[type=submit]) {
  width: 100% !important;
}
.contact input,
.contact textarea,
.contact select {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  color: #333;
  padding: 10px 1rem;
  width: 100%;
  border: 1px solid #D7D7D7;
  background-color: #F7F5F5;
  border-radius: 4px;
}
.contact select {
  padding-left: 2.5rem;
}
.contact p:has(select) {
  position: relative;
}
.contact p:has(select)::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-top: 12px solid #555555;
  border-bottom: 0;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  position: absolute;
}
.contact span.required {
  color: #fff;
  background-color: #8BC15F;
  padding: 6px 8px;
  line-height: 1;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .contact span.required {
    font-size: 12px;
    margin-right: 0.5rem;
  }
}
.contact span.optional {
  color: #fff;
  background-color: #505050;
  padding: 6px 8px;
  line-height: 1;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .contact span.optional {
    font-size: 12px;
    margin-right: 0.5rem;
  }
}
.contact .wpcf7-list-item {
  margin: 0;
}
.contact p:has(.contact-policy) {
  text-align: center;
}
.contact .contact-policy label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.8rem;
}
@media screen and (max-width: 767px) {
  .contact .contact-policy label {
    gap: 0.2rem;
  }
}
.contact .contact-policy input {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-top: 0;
}
@media screen and (max-width: 1024px) {
  .contact .contact-policy input {
    width: 20px;
    height: 20px;
  }
}
.contact input[type=checkbox] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  vertical-align: -5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border-radius: 0;
  margin: 0;
}
.contact input[type=checkbox]:checked:before {
  position: absolute;
  top: 1px;
  left: 5px;
  -webkit-transform: rotate(50deg);
          transform: rotate(50deg);
  width: 8px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  z-index: 1;
}
.contact input[type=checkbox]:checked:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0B346E;
  content: "";
}
.contact .contact-policy a {
  text-decoration: underline;
  color: #8BC15F;
}
.contact p:has(input[type=submit]) {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin: 2.5rem auto 0;
  position: relative;
}
.contact input[type=submit] {
  color: #fff;
  padding: 10px 2.5rem 10px 2.5rem;
  background: url(./images/blue-btn.png) no-repeat center/cover;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  letter-spacing: 2px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.contact input[type=submit]:hover {
  opacity: 0.7;
}
.contact .wpcf7-not-valid {
  background-color: #FFE8E8;
}
.contact .wpcf7-spinner {
  display: none;
}
.contact textarea {
  resize: vertical; /* 縦方向のリサイズを許可 */
}

/*404*/
.not-found {
  text-align: center;
  margin: 0 0 7.5rem;
}