/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .ty-loader         - 読み込み時のロゴ表示（ロゴの形で光が走る）
 * .ty-header         - 透明→白背景に切り替わる固定ヘッダー（ロゴ2色のクロスフェード・高さ縮小）
 * .ty-gnav           - 英字＋和文の2段ナビ＋ドット＋ドロップダウン
 * .ty-toggle         - 2本線のハンバーガー（×に変形）
 * .ty-spnav          - SP全画面メニュー（項目ごとのアコーディオン・サブ項目2列）
 * .ty-label          - 金の短線＋字間の広い英字小見出し
 * .ty-h2 / .ty-text  - 明朝のセクション見出し／本文（15px・行高2.2）
 * .ty-btn            - 6px ずれた影付きの枠線ボタン（hover で影に重なる）
 * .ty-cta            - 写真背景＋ネットワーク線のお問い合わせ帯（正方形のボタン枠）
 * .ty-footer         - ロゴ＋3列ナビのフッター（上端に光の線）
 * .ty-net            - ネットワーク線（点と線）を描く canvas
 * .ty-beam           - 線の上を光が走る
 * .ty-twinkle        - キラッと光る星
 * .ty-shine          - 金文字の上を光が走る
 * .ty-diamond        - ひし形の小さな印
 * [data-reveal]      - スクロールで出てくる動き（up / blur / mask / wipe / scale / rotate / line など）
 * [data-glow]        - カーソル位置に金色の光（セクション背景）
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 構造不足       ：英字（上）＋和文（下）＋ドットのナビ、透明⇔白のヘッダー切り替え、項目ごとに開くSPメニュー
 * 構造不足       ：正方形の枠ボタン（四隅の飾り・hover でガラス風）、写真背景のCTA帯
 * 値の粒度不足   ：clamp() で幅に応じて変わる余白・文字サイズ（utility は固定値）
 * 状態不足       ：hover で影に重なるボタン（translate＋box-shadow の切り替え）
 * 装飾パターン不足：ネットワーク線の canvas、光の線、キラッと光る星、金文字の光、カーソル追従の光、独自カーソル
 *
 */

/* ===== 土台（claude-design-output の body 指定に合わせる） ===== */
@property --mx { syntax: '<length-percentage>'; inherits: false; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: false; initial-value: 50%; }
@property --gx { syntax: '<length-percentage>'; inherits: false; initial-value: -2000px; }
@property --gy { syntax: '<length-percentage>'; inherits: false; initial-value: -2000px; }

html { background: #FAF8F4; }
body {
  background: #FAF8F4;
  color: #2A3344;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
}
a { color: #00132F; }
a:hover { color: #B8933F; opacity: 1; }
a, button { transition: color .6s ease, background-color .6s ease, border-color .6s ease, opacity .6s ease, transform .6s ease, padding .6s ease; }
::selection { background: #B8933F; color: #00132F; }
button { font: inherit; color: inherit; }
@media (pointer: fine) {
  body, a, button, label { cursor: none; }
}

/* 改行の出し分け（デザインの切り替え幅 767px） */
.ty-spbr { display: none; }
@media (max-width: 767px) {
  .ty-pcbr { display: none; }
  .ty-spbr { display: inline; }
}
.ty-nowrap { display: inline-block; white-space: nowrap; }

/* ===== 共通の小さな部品 ===== */
.ty-icon { display: block; flex: none; }
.ty-diamond { width: 6px; height: 6px; flex: none; background: #B8933F; rotate: 45deg; }
.ty-diamond--sm { width: 5px; height: 5px; }

.ty-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #8A6B25;
}
.ty-label__line { width: 32px; height: 1px; background: #B8933F; }
.ty-label--on-dark { color: #B8933F; }

.ty-h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: min(5.6vw, clamp(25px, 3.2vw, 39px));
  line-height: 1.6;
  letter-spacing: .1em;
  color: #00132F;
}
.ty-on-dark .ty-h2, .ty-cta .ty-h2 { color: inherit; }

.ty-text { margin: 0; font-size: 15px; line-height: 2.2; letter-spacing: .06em; color: #2A3344; }
.ty-text--on-dark { color: #DCDFE6; }

/* 見出しのかたまり（英字＋見出し） */
.ty-head { display: flex; flex-direction: column; gap: 18px; }
.ty-head--center { align-items: center; text-align: center; }
/* 白系セクションの背景：カーソル位置に薄い金の光（画面に固定） */
.ty-glowfix { background: radial-gradient(800px circle at var(--gx) var(--gy), rgba(184,147,63,.13), rgba(184,147,63,0) 60%) fixed, #FAF8F4; }

/* 背景の大きな英字（イタリック） */
.ty-bgword {
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: max(22vw, min(30vw, 120px));
  line-height: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

/* 枠線ボタン：6px ずれた影（背景色で抜いた枠）→ hover で影に重なって塗りつぶし */
.ty-btn {
  --ty-btn-color: #00132F;
  --ty-btn-gap: #FAF8F4;
  --ty-btn-hover-text: #FAF8F4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.6vw, 18px);
  padding: clamp(13px, 2.4vw, 20px) clamp(24px, 5vw, 34px);
  border: 1px solid var(--ty-btn-color);
  background: none;
  color: var(--ty-btn-color);
  font-size: clamp(13px, 1.8vw, 14px);
  font-weight: 500;
  letter-spacing: .1em;
  box-shadow: 6px 6px 0 -1px var(--ty-btn-gap), 6px 6px 0 0 var(--ty-btn-color);
  transition: border-color .5s, background .6s, color .6s, box-shadow .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.ty-btn:hover {
  background: var(--ty-btn-color);
  color: var(--ty-btn-hover-text);
  border-color: var(--ty-btn-color);
  box-shadow: 0 0 0 -1px var(--ty-btn-gap), 0 0 0 0 var(--ty-btn-color);
  transform: translate(3px, 3px);
}
.ty-btn__arrow { width: 8px; height: 8px; flex: none; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
/* ネイビー地の上の金の枠線ボタン */
.ty-btn--gold { --ty-btn-color: #B8933F; --ty-btn-gap: #00132F; --ty-btn-hover-text: #00132F; padding-inline: clamp(24px, 5vw, 40px); }

/* ===== 動き（common.js が状態のクラスを付ける） ===== */
/* スクロールで出てくる：JS が動くときだけ最初に隠す */
.ty-js [data-reveal="up"]:not(.is-in)     { opacity: 0; transform: translateY(70px); }
.ty-js [data-reveal="down"]:not(.is-in)   { opacity: 0; transform: translateY(-50px); }
.ty-js [data-reveal="left"]:not(.is-in)   { opacity: 0; transform: translateX(-90px); }
.ty-js [data-reveal="right"]:not(.is-in)  { opacity: 0; transform: translateX(90px); }
.ty-js [data-reveal="scale"]:not(.is-in)  { opacity: 0; transform: scale(.82); }
.ty-js [data-reveal="mask"]:not(.is-in)   { clip-path: inset(0 0 100% 0); transform: translateY(40%); }
.ty-js [data-reveal="wipe"]:not(.is-in)   { clip-path: inset(0 100% 0 0); }
.ty-js [data-reveal="blur"]:not(.is-in)   { opacity: 0; filter: blur(14px); transform: translateY(24px) scale(1.04); }
.ty-js [data-reveal="line"]:not(.is-in)   { transform: scaleX(0); }
.ty-js [data-reveal="vline"]:not(.is-in)  { transform: scaleY(0); }
.ty-js [data-reveal="rotate"]:not(.is-in) { opacity: 0; transform: perspective(800px) rotateX(35deg) translateY(60px); }
[data-reveal="mask"], [data-reveal="wipe"] { clip-path: inset(0 0 0 0); }
[data-reveal="line"] { transform-origin: left center; }
[data-reveal="vline"] { transform-origin: center top; }
[data-reveal].is-anim {
  transition-property: opacity, transform, filter, clip-path;
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}
@media (prefers-reduced-motion: reduce) {
  .ty-js [data-reveal]:not(.is-in) { opacity: 1; transform: none; filter: none; clip-path: none; }
}

/* キラッと光る星 */
.ty-twinkle { position: absolute; display: block; color: #FFF6D8; opacity: 0; pointer-events: none; }
.ty-twinkle.is-loop { animation: ty-twinkle 3.6s ease-out infinite; }
@keyframes ty-twinkle {
  0%   { opacity: 0; transform: scale(.2) rotate(0deg); }
  12%  { opacity: 1; transform: scale(1.15) rotate(90deg); }
  28%  { opacity: 0; transform: scale(.2) rotate(180deg); }
  100% { opacity: 0; transform: scale(.2) rotate(180deg); }
}
/* 線の上を光が走る */
.ty-beam { position: absolute; overflow: hidden; pointer-events: none; }
.ty-beam__light { display: block; height: 100%; }
.ty-beam.is-loop .ty-beam__light { animation: ty-beam-h 3s cubic-bezier(.6,0,.3,1) infinite; }
.ty-beam--v.is-loop .ty-beam__light { animation-name: ty-beam-v; }
@keyframes ty-beam-h { from { transform: translateX(-120%); } to { transform: translateX(420%); } }
@keyframes ty-beam-v { from { transform: translateY(-120%); } to { transform: translateY(420%); } }
/* 金文字の上を光が走る */
.ty-shine {
  background: linear-gradient(110deg, #9A7A30 0%, #B8933F 38%, #F3DFA6 50%, #B8933F 62%, #9A7A30 100%) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ty-shine.is-loop { animation: ty-shine 4.2s ease-in-out infinite; }
@keyframes ty-shine {
  0%   { background-position: 100% 0; }
  32%  { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}
/* 回転・浮遊・波紋 */
.is-loop[data-spin] { animation: ty-spin 60s linear infinite; }
@keyframes ty-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.is-loop[data-float] { animation: ty-float 3s ease-in-out infinite alternate; }
@keyframes ty-float { from { transform: translateY(0); } to { transform: translateY(var(--ty-float, -14px)); } }
.is-paused { animation-play-state: paused; }
.is-paused .ty-beam__light { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .is-loop, .is-loop .ty-beam__light { animation: none; }
}

/* ネットワーク線の canvas */
.ty-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* 独自カーソル（common.js が作る） */
.ty-cursor-dot, .ty-cursor-ring { position: fixed; border-radius: 50%; z-index: 10000; pointer-events: none; }
.ty-cursor-dot { left: -3px; top: -3px; width: 6px; height: 6px; background: #B8933F; }
.ty-cursor-ring { left: -20px; top: -20px; width: 40px; height: 40px; border: 1px solid rgba(184,147,63,.7); transition: width .35s, height .35s, left .35s, top .35s, background .35s; }
.ty-cursor-ring.is-hot { left: -36px; top: -36px; width: 72px; height: 72px; background: rgba(184,147,63,.12); }

/* ===== ローダー（ページ切り替えの幕も兼ねる） ===== */
.ty-loader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #FAF8F4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .9s ease;
}
.ty-loader.is-hide { opacity: 0; pointer-events: none; }
.ty-loader:not(.is-leave) .ty-loader__logo { opacity: 0; filter: blur(10px); transform: scale(.96); }
.ty-loader.is-show .ty-loader__logo { opacity: 1; filter: blur(0); transform: scale(1); }
.ty-loader__logo {
  position: relative;
  width: min(180px, 40vw);
  transition: opacity 1.1s ease, filter 1.1s ease, transform 1.4s cubic-bezier(.16,1,.3,1);
}
.ty-loader__img { display: block; width: 100%; height: auto; }
.ty-loader__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28899/logo.svg) 0 0 / 100% 100% no-repeat;
  mask: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28899/logo.svg) 0 0 / 100% 100% no-repeat;
  background: linear-gradient(115deg, rgba(255,246,216,0) 40%, rgba(255,246,216,.95) 50%, rgba(255,246,216,0) 60%) 120% 0 / 250% 100%;
}
.ty-loader.is-flash .ty-loader__shine { animation: ty-loader-shine 1.1s cubic-bezier(.45,0,.25,1) forwards; }
@keyframes ty-loader-shine { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.ty-loader__spark { position: absolute; right: 6%; top: 2%; width: 18px; height: 18px; color: #F3DFA6; opacity: 0; pointer-events: none; }
.ty-loader.is-flash .ty-loader__spark { animation: ty-loader-spark .9s ease-out .65s forwards; }
@keyframes ty-loader-spark {
  0%   { opacity: 0; transform: scale(.2) rotate(0deg); }
  50%  { opacity: 1; transform: scale(1.2) rotate(90deg); }
  100% { opacity: 0; transform: scale(.2) rotate(180deg); }
}
/* ページ切り替え時：ロゴは最初から表示して幕だけフェード */
.ty-loader.is-leave { opacity: 0; }
.ty-loader.is-leave.is-show { opacity: 1; }
.ty-loader.is-leave .ty-loader__logo { transition: none; }
/* JS が動かない環境では出さない */
html:not(.ty-js) .ty-loader { display: none; }

/* ===== ヘッダー ===== */
.ty-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  transition: background .6s ease, box-shadow .6s ease;
}
.ty-header__inner {
  max-width: calc(1360px + 2 * clamp(20px, 4vw, 48px)); /* デザインは余白の外側に最大幅（content-box） */
  height: 92px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height .6s ease;
}
.ty-header__logo { display: flex; flex-direction: column; gap: 2px; transition: opacity .5s ease; }
.ty-header__logo:hover { opacity: .6; }
.ty-header__logo-box { position: relative; display: block; height: 66px; transition: height .6s ease; }
.ty-header__logo-img { display: block; height: 100%; width: auto; transition: opacity .6s ease; }
.ty-header__logo-img--navy { opacity: 0; }
.ty-header__logo-img--light { position: absolute; left: 0; top: 0; opacity: 1; }
.ty-header__twinkle { right: 2%; top: 4%; width: 12px; height: 12px; }

.ty-gnav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.ty-gnav__item { position: relative; display: flex; align-items: center; height: 92px; transition: height .6s ease; }
.ty-gnav__link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #FAF8F4; transition: color .6s ease; }
.ty-gnav__link:hover { color: #FAF8F4; }
.ty-gnav__en { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 11px; line-height: 1; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.ty-gnav__ja { display: flex; align-items: center; gap: 7px; font-size: 13px; letter-spacing: .08em; font-weight: 500; }
.ty-gnav__dot { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #FAF8F4; opacity: 0; transition: opacity .4s ease; }
.ty-gnav__item:hover .ty-gnav__dot { opacity: 1; }
.ty-gnav__link.is-current, .ty-gnav__link.is-current:hover { color: #B8933F; }
.ty-gnav__link.is-current .ty-gnav__dot { background: #B8933F; opacity: 1; }
.ty-gnav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  width: max-content;
  min-width: 180px;
  translate: -50% 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .35s, transform .45s cubic-bezier(.16,1,.3,1);
}
.ty-gnav__item:hover .ty-gnav__sub { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ty-gnav__sub-in {
  position: relative;
  background: #FAF8F4;
  border: 1px solid rgba(0,19,47,.12);
  border-top: 0;
  box-shadow: 0 24px 50px -24px rgba(0,19,47,.45);
  padding: 6px 0;
}
.ty-gnav__sub-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 18px;
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.6;
  white-space: nowrap;
  color: #00132F;
  transition: background .3s, color .3s, padding .3s;
}
.ty-gnav__sub-link:hover { background: #F2EEE5; color: #8A6B25; padding-left: 24px; }

/* スクロール後：白背景＋影・高さ 72px・ロゴは紺 */
.ty-header.is-solid:not(.is-open) {
  background: #FAF8F4;
  box-shadow: 0 6px 24px -8px rgba(0,19,47,.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.ty-header.is-solid:not(.is-open) .ty-header__inner,
.ty-header.is-solid:not(.is-open) .ty-gnav__item { height: 72px; }
.ty-header.is-solid:not(.is-open) .ty-header__logo-box { height: 52px; }
.ty-header.is-solid:not(.is-open) .ty-header__logo-img--navy { opacity: 1; }
.ty-header.is-solid:not(.is-open) .ty-header__logo-img--light { opacity: 0; }
.ty-header.is-solid:not(.is-open) .ty-gnav__link:not(.is-current) { color: #00132F; }
.ty-header.is-solid:not(.is-open) .ty-gnav__link:not(.is-current) .ty-gnav__dot { background: #00132F; }
.ty-header.is-open { background: #00132F; }

/* SP：メールボタン・ハンバーガー（PCでは出さない） */
.ty-header__mail, .ty-toggle, .ty-spnav { display: none; }
.ty-header__mail {
  width: 48px;
  height: 48px;
  margin-right: 58px; /* 右にハンバーガー（48px）＋間 10px */
  background: #B8933F;
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  transition: background .6s ease;
}
.ty-header__mail:hover { background: #E0BF71; color: #FFFFFF; }
.ty-toggle {
  position: fixed;
  top: 22px;
  right: clamp(20px, 4vw, 48px);
  z-index: 102;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(250,248,244,.35);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: top .6s ease, border-color .6s ease, background .6s ease;
}
.ty-toggle__line { width: 20px; height: 1px; background: #FAF8F4; transition: transform .5s ease, background .6s ease; }
.ty-toggle.is-solid { top: 12px; border-color: #00132F; background: #00132F; }
.ty-toggle.is-active { top: 22px; border-color: rgba(250,248,244,.35); background: transparent; }
.ty-toggle.is-active .ty-toggle__line:first-child { transform: translateY(3.5px) rotate(45deg); }
.ty-toggle.is-active .ty-toggle__line:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.ty-spnav {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 101;
  background: #00132F;
  padding: 32px clamp(20px, 6vw, 48px);
  flex-direction: column;
  gap: 4px;
  overflow: auto;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1), visibility 0s linear .7s;
}
.ty-spnav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1), visibility 0s; }
.ty-spnav__item { display: flex; flex-direction: column; border-bottom: 1px solid rgba(184,147,63,.3); }
.ty-spnav__row { display: flex; align-items: center; gap: 12px; }
.ty-spnav__link {
  flex: 1;
  display: grid;
  grid-template-columns: 6.7em minmax(0, 1fr);
  align-items: baseline;
  gap: 4px .9em;
  padding: 18px 0;
  color: #FAF8F4;
}
.ty-spnav__link:hover { color: #FAF8F4; }
.ty-spnav__ja { font-family: "Noto Serif JP", serif; font-size: 16px; letter-spacing: .08em; white-space: nowrap; }
.ty-spnav__en { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 12px; letter-spacing: .3em; color: #B8933F; text-transform: uppercase; }
.ty-spnav__open { position: relative; flex: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ty-spnav__ring { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #B8933F; transition: background .6s ease; }
.ty-spnav__bar { position: absolute; left: 9px; top: 13.5px; width: 10px; height: 1px; background: #00132F; }
.ty-spnav__bar--v { left: 13.5px; top: 9px; width: 1px; height: 10px; transition: transform .6s ease; }
.ty-spnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.16,1,.3,1); }
.ty-spnav__sub-clip { overflow: hidden; }
.ty-spnav__sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 0 0 18px 4px; opacity: 0; transition: opacity .6s ease; }
.ty-spnav__sublink { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 0; font-size: 13px; line-height: 1.5; letter-spacing: .06em; color: #DCDFE6; }
.ty-spnav__item.is-acc .ty-spnav__sub { grid-template-rows: 1fr; }
.ty-spnav__item.is-acc .ty-spnav__sub-grid { opacity: 1; }
.ty-spnav__item.is-acc .ty-spnav__bar--v { transform: scaleY(0); }
.ty-spnav__item.is-acc .ty-spnav__ring { background: #E0BF71; }
.ty-spnav__cta {
  margin-top: 32px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: #B8933F;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  transition: background .6s ease;
}
.ty-spnav__cta:hover { background: #E0BF71; color: #FFFFFF; }

@media (max-width: 1039px) {
  .ty-gnav { display: none; }
  .ty-header__mail { display: flex; }
  .ty-toggle { display: flex; }
  .ty-spnav { display: flex; }
}

/* ===== 下層ページのヒーロー ===== */
.ty-hero {
  position: relative;
  overflow: hidden;
  color: #FAF8F4;
  padding: clamp(112px, 16vw, 200px) clamp(20px, 5vw, 64px) clamp(44px, 8vw, 110px);
  background: radial-gradient(700px circle at var(--mx) var(--my), rgba(184,147,63,.2), transparent 60%), radial-gradient(1100px 700px at 88% 0%, #0B2B5C 0%, rgba(11,43,92,0) 62%), #00132F;
}
.ty-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.ty-hero__clip { overflow: hidden; }
.ty-hero__en { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: 1; letter-spacing: .12em; color: #FAF8F4; }
.ty-hero__beam { position: relative; width: min(420px, 60%); height: 1px; background: linear-gradient(90deg, #B8933F, rgba(184,147,63,0)); }
.ty-hero__beam .ty-beam__light { width: 30%; background: linear-gradient(90deg, transparent, #FFF4CF, transparent); }
.ty-hero__row { display: flex; flex-wrap: nowrap; align-items: last baseline; justify-content: space-between; gap: 20px clamp(12px, 3vw, 40px); }
.ty-hero__catch { margin: 0; min-width: 0; font-family: "Noto Serif JP", serif; font-weight: 500; font-size: clamp(17px, 2.4vw, 28px); line-height: 1.7; letter-spacing: .1em; color: #FAF8F4; }
/* 1行に収まる幅では1行。収まらなくなったら行のかたまりごと折り返す（＝元の改行位置） */
.ty-hero__catch-line { display: inline-block; white-space: nowrap; }
.ty-hero__crumb { flex: 0 0 auto; margin-left: auto; display: flex; align-items: last baseline; gap: clamp(8px, 1.4vw, 14px); font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 13px; letter-spacing: .3em; color: #C9CED8; }
.ty-hero__home { align-self: center; display: flex; align-items: center; color: #B8933F; transition: color .6s; }
.ty-hero__home:hover { color: #F3DFA6; }
.ty-hero__home svg, .ty-hero__sep { display: block; }
.ty-hero__sep { align-self: center; flex: 0 0 auto; }
.ty-hero__current { font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 12px; letter-spacing: .12em; }

/* ページ内リンクで飛んだときに見出しがヘッダーに隠れないように */
.ty-anchor { scroll-margin-top: clamp(32px, 6vw, 72px); }

/* ネイビーの塗りボタン（hover で枠線だけになる） */
.ty-btn--solid { --ty-btn-hover-text: #00132F; background: #00132F; color: #FAF8F4; padding-inline: clamp(24px, 5vw, 40px); }
.ty-btn--solid:hover { background: none; color: #00132F; }

/* スクロールで伸びる縦線（common.js が scaleY を書き換える） */
[data-progress] { transform: scaleY(0); transform-origin: center top; }

/* 波紋（点から広がって消える） */
.is-loop[data-ripple] { animation: ty-ripple 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes ty-ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }

/* ===== 下層ページの導入文（中央揃えの明朝） ===== */
.ty-intro { padding: clamp(44px, 9vw, 120px) clamp(20px, 5vw, 64px) 0; }
.ty-intro__text { max-width: 960px; margin: 0 auto; text-align: center; font-family: "Noto Serif JP", serif; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 2.3; letter-spacing: .08em; color: #00132F; }
@media (max-width: 767px) {
  .ty-intro__text { text-align: left; }
}

/* ===== 写真の帯（画面幅いっぱい・about と feature） ===== */
.ty-band { position: relative; width: 100%; height: clamp(240px, 34vw, 480px); overflow: hidden; } /* 背景色は付けない（写真の端に線のように出るため） */
.ty-band img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; display: block; }

/* ===== お問い合わせCTA ===== */
.ty-cta {
  position: relative;
  overflow: hidden;
  color: #FAF8F4;
  background: radial-gradient(700px circle at var(--mx) var(--my), rgba(184,147,63,.2), transparent 60%), #00132F;
}
.ty-cta__photo { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; display: block; pointer-events: none; user-select: none; }
.ty-cta__overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,19,47,.94) 0%, rgba(0,19,47,.82) 50%, rgba(0,19,47,.62) 100%); }
/* ピンぼけの光：黒い部分が透けるよう「スクリーン」で重ねる（写真より少し速く動かして奥行きを出す） */
.ty-cta__bokeh { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; display: block; pointer-events: none; user-select: none; mix-blend-mode: screen; opacity: .25; }
.ty-cta__inner {
  position: relative;
  max-width: calc(1200px + 2 * clamp(20px, 5vw, 64px));
  margin: 0 auto;
  padding: clamp(56px, 10vw, 140px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.ty-cta__text { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 28px); color: #FAF8F4; }
.ty-cta__lead { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 2.3; letter-spacing: .08em; white-space: nowrap; }
.ty-cta__btn-wrap { display: flex; justify-content: center; }
.ty-cta__box {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  max-height: 340px;
  border: 1px solid rgba(184,147,63,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: clamp(22px, 3vw, 32px);
  color: #FAF8F4;
  background: none;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background .9s cubic-bezier(.16,1,.3,1), border-color .9s, -webkit-backdrop-filter .9s, backdrop-filter .9s, box-shadow .9s;
}
.ty-cta__box:hover {
  color: #FAF8F4;
  border-color: #B8933F;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.45);
}
.ty-cta__corner { position: absolute; width: 28px; height: 28px; border: 0 solid #E9CF8A; }
.ty-cta__corner--tl { left: -1px; top: -1px; border-left-width: 1px; border-top-width: 1px; }
.ty-cta__corner--br { right: -1px; bottom: -1px; border-right-width: 1px; border-bottom-width: 1px; }
.ty-cta__circle { width: 72px; height: 72px; border-radius: 50%; border: 1px solid #B8933F; color: #B8933F; display: flex; align-items: center; justify-content: center; transition: background .6s, color .6s; }
.ty-cta__circle .ty-icon * { transition: stroke .6s; }
.ty-cta__box:hover .ty-cta__circle { background: #B8933F; color: #FFFFFF; }
.ty-cta__box-title { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: clamp(20px, 2vw, 24px); letter-spacing: .1em; }
.ty-cta__box-en { display: inline-flex; align-items: center; gap: 14px; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 14px; letter-spacing: .34em; text-transform: uppercase; }
.ty-cta__box-line { width: 40px; height: 1px; background: currentColor; }

/* ===== フッター ===== */
.ty-footer { position: relative; background: #000D21; color: #FAF8F4; overflow: hidden; }
.ty-footer__beam { left: 0; right: 0; top: 0; height: 1px; background: rgba(184,147,63,.25); }
.ty-footer__beam .ty-beam__light { width: 30%; background: linear-gradient(90deg, transparent, #F3DFA6, transparent); }
.ty-footer__inner {
  max-width: calc(1200px + 2 * clamp(20px, 5vw, 64px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 64px) 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vw, 48px);
}
.ty-footer__top { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: center; }
.ty-footer__logo { justify-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; color: #FAF8F4; transition: opacity .5s; }
.ty-footer__logo:hover { color: #FAF8F4; opacity: .6; }
.ty-footer__logo-box { position: relative; display: block; height: 110px; }
.ty-footer__logo-img { display: block; height: 100%; width: auto; }
.ty-footer__twinkle { right: 2%; top: 4%; width: 16px; height: 16px; }
.ty-footer__catch { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 11px; line-height: 1.9; letter-spacing: .4em; margin-right: -.4em; color: #B8933F; }
.ty-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; border-left: 1px solid rgba(250,248,244,.12); justify-self: center; }
.ty-footer__link { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 32px; color: #E6E2D8; transition: color .6s; }
.ty-footer__link:hover { color: #B8933F; }
.ty-footer__en { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #B8933F; }
.ty-footer__ja { font-size: 14px; letter-spacing: .08em; white-space: nowrap; }
.ty-footer__note {
  margin: 0;
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid rgba(250,248,244,.12);
  border-bottom: 1px solid rgba(250,248,244,.12);
  font-size: 12.5px;
  line-height: 2;
  color: #B9BFCB;
  letter-spacing: .04em;
}
.ty-footer__copy { margin: 0; text-align: center; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 12px; letter-spacing: .24em; color: #8D95A5; }
@media (max-width: 767px) {
  .ty-footer__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ty-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; border-left: 0; width: min(100%, 300px); }
  .ty-footer__link { padding: 12px 8px; }
  .ty-footer__note { text-align: left; }
}
