@charset "utf-8";
/* 合同会社いちごや 新デザイン（2026-11-17〜）下層ページ用
   中身の部品（表・カード・フォームなど）は今のサイトの style.css を content.css としてそのまま使い、
   ここで色・見出し・帯・ボタンを新しいデザインに読み替える。
   ダークモードは <html data-theme="light"> で止めている（ヘッダー・フッターと色がずれないように）。 */

:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --cream: #F5F1EE;
  --blush: #FBF0F2;
  --pink-tint: #FBF0F2;
  --stone: #74675F;
  --ink-soft: #5B4F49;
  --ink-band: #2E2622;
  --berry-deep: #B92E49;
  --font-display: var(--font-head);
}
body.sub { font-size: 17px; }

/* ---------- ページの頭（色の帯＋ページ名、その下に横長の写真） ---------- */
.sub-hero { position: relative; }
.sub-hero__band { --band: var(--berry); position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 62px; background: var(--band); color: #fff; }
.sub-hero--leaf .sub-hero__band { --band: var(--leaf); }
.sub-hero--ink .sub-hero__band { --band: var(--ink); }
.sub-hero__band::before { content: ""; position: absolute; z-index: -1; width: max(1100px, 92vw); aspect-ratio: 1; border-radius: 50%; left: 46%; top: -72%; background: rgba(0, 0, 0, .09); }
.sub-hero--ink .sub-hero__band::before { background: rgba(255, 255, 255, .05); }
.sub-crumb { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; margin: 0 0 20px; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.sub-crumb a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 3px; }
.sub-crumb a:hover { text-decoration-color: #fff; }
.sub-hero__en { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--font-en); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; }
.sub-hero__en::before { content: ""; flex: none; width: 44px; height: 3px; border-radius: 2px; background: currentColor; }
.sub-hero__title { margin: 16px 0 0; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.35; letter-spacing: .06em; color: #fff; text-wrap: balance; }
.sub-hero__photo { position: relative; height: clamp(240px, 36vw, 520px); background: var(--soft); }
.sub-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sub-hero__tel { position: absolute; right: var(--gut); bottom: 22px; display: grid; gap: 2px; padding: 12px 20px 13px; border-radius: 10px; background: rgba(46, 38, 34, .92); color: #fff; font-size: .78rem; line-height: 1.5; text-decoration: none; transition: background .3s var(--ease); }
.sub-hero__tel b { font-family: var(--font-en); font-weight: 600; font-size: 1.3rem; letter-spacing: .03em; }
.sub-hero__tel:hover { background: var(--berry); }
.sub-hero__note { margin: 0; padding: 8px var(--gut) 0; text-align: right; font-size: .78rem; color: var(--mute); }

/* 今のサイトのページ見出し（キャッチ＋説明）は、帯の下の導入として使う */
.sub .page-hero { padding-top: clamp(48px, 6.5vw, 84px); }
.sub .page-hero h1 { margin-top: 0; font-weight: 900; letter-spacing: .05em; color: var(--ink); }
.sub .page-hero > p { color: var(--ink-2); }
/* 導入のすぐ後ろが白い章のときは、間を詰める（プライバシーポリシー・お知らせなど） */
.sub .page-hero { padding-bottom: clamp(28px, 4vw, 52px); }
.sub .page-hero + .section:not(.section--cream):not(.section--pink):not(.section--leaf):not(.section--ink) { padding-top: clamp(20px, 3vw, 36px); }

/* 文章だけの章（プライバシーポリシーなど）：見出しの前に間をあける */
.sub .prose > h2 { margin-top: 2.4em; font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 900; }
.sub .prose > h2:first-child { margin-top: 0; }
.sub .prose > h3 { margin-top: 1.6em; }
.sub .prose > ul, .sub .prose > ol { margin: .8em 0 0; }

/* ---------- 章の見出し：線＋小見出し、太い見出し ---------- */
.sub .section { padding-block: clamp(64px, 8vw, 112px); }
.sub .section__head { gap: 16px; margin-bottom: 44px; }
.sub .section__head h2 { font-weight: 900; letter-spacing: .05em; line-height: 1.5; font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
.sub .eyebrow { font-size: .86rem; letter-spacing: .12em; }
.sub .section--cream, .sub .section--pink { border-block: 0; }
.sub .section--cream::before, .sub .section--pink::before, .sub .section--leaf::before { display: none; }

/* ---------- ページ末の「見学・相談」の帯：濃い色の角丸の箱に ---------- */
.sub .cta-band { position: relative; overflow: hidden; isolation: isolate; width: min(calc(100% - 24px), 1180px); max-width: none; margin: clamp(40px, 6vw, 80px) auto clamp(64px, 8vw, 110px); padding: clamp(52px, 7vw, 92px) clamp(24px, 6vw, 80px); border: 0; border-radius: 20px; background: var(--ink); color: #fff; }
.sub .cta-band::before { content: ""; display: block; position: absolute; z-index: -1; width: 900px; aspect-ratio: 1; border-radius: 50%; left: 55%; top: -60%; background: rgba(255, 255, 255, .04); }
.sub .cta-band h2, .sub .cta-band h3 { color: #fff; }
.sub .cta-band p { color: rgba(255, 255, 255, .84); }
.sub .cta-band .eyebrow { color: #fff; justify-content: center; }
.sub .cta-band .eyebrow::before { background: var(--gold); }
.sub .cta-band a:not(.btn) { color: #fff; }
.sub .cta-band .partner-tel span, .sub .cta-band small { color: rgba(255, 255, 255, .74); }

/* ---------- 幅に合わせる ---------- */
@media (max-width: 760px) {
  .sub-hero__band { padding: 92px 0 30px; }
  .sub-crumb { justify-content: flex-start; margin-bottom: 18px; }
  .sub-hero__title { margin-top: 12px; font-size: clamp(1.45rem, 6.2vw, 1.8rem); }
  .sub-hero__photo { height: 56vw; min-height: 200px; }
  .sub-hero__tel { display: none; }
  .sub-hero__note { padding-top: 6px; text-align: left; }
  .sub .cta-band { width: calc(100% - 16px); margin: 32px auto 48px; padding: 40px 20px; border-radius: 16px; }
}

@media print {
  .sub-hero__photo, .sub-crumb, .sub-hero__tel { display: none !important; }
  .sub-hero__band { padding: 0 0 12px !important; background: none !important; color: #000 !important; }
  .sub-hero__band::before { display: none; }
  .sub-hero__title, .sub-hero__en { color: #000 !important; }
}

/* ---------- 相談のしかた・応募のしかた（お問い合わせ・採用） 2026-11-24 ---------- */
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ways__item { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: 20px; background: var(--soft); }
.ways__item--main { background: #fff; box-shadow: inset 0 0 0 2px var(--berry); }
.ways__name { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.ways__desc { flex: 1; margin: 0; font-size: .95rem; line-height: 1.8; color: var(--ink-2); }
.ways__note { margin: 0; font-size: .85rem; line-height: 1.7; color: var(--mute); }
.ways .btn { align-self: stretch; }
.ways .btn--line { background: #06C755; color: #fff; }
.ways .btn--line:hover { background: #05A648; color: #fff; }
.ways .btn--line .arrow { color: #06C755; }
.ways .btn.is-pending, .ways .btn.is-pending:hover { background: var(--line); color: var(--ink-2); cursor: default; }
.ways__mail { word-break: break-all; }

/* ---------- 中央寄せの章（会社のこと：会社案内資料・入居相談）は、小見出しの線も中央に 2026-11-24 ---------- */
.sub section[style*="text-align:center"] > .eyebrow { justify-content: center; }

/* ---------- スマホの文字と余白（2026-11-24 ユーザー指示「スマホは文字を小さく、まとまりよく」） ---------- */
@media (max-width: 760px) {
  body.sub { font-size: clamp(14px, 3.8vw, 15px); }
  .sub .page-hero { padding-top: 40px; padding-bottom: 24px; }
  .sub .section { padding-block: 52px; }
  .sub .section__head { gap: 10px; margin-bottom: 26px; }
  .sub .section__head h2 { font-size: clamp(1.25rem, 5.2vw, 1.45rem); }
  .sub .prose > h2 { margin-top: 2em; }
  .sub .cta-band h2 { font-size: 1.45rem; }
}

/* ---------- 会社のこと「目指す未来」の写真4枚：スマホでもパソコンと同じく横一列に（2026-11-24 ユーザー指示） ---------- */
.sub .life.life--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .sub .life.life--row { gap: 6px; }
  .sub .life.life--row .img { border-radius: 8px; }
}

/* ---------- スマホだけ文章を減らす（2026-11-24 ユーザー指示「トップページ以外は、スマホ版だけ文字数を減らしてスッキリさせたい」） ----------
   .sp-hide を付けた段落・文は、スマホ（760px以下）で隠す。パソコンでは今までどおり全部出す（文章そのものは消していない）。
   料金・連絡先・対象の方・注意書き・表・手順の名前は残す。プライバシーポリシー・運営情報の公表・よくあるご質問・お知らせ・お問い合わせは触っていない。
   カードやステップの説明など、決まった形のものは下のページ別のルールで隠す */
@media (max-width: 760px) {
  .sub .sp-hide { display: none !important; }
  /* グループホームとは：「わたしたちの約束」は見出しだけ、「ご相談から入居まで」はステップ名だけ（くわしくは「ご利用までの流れ」） */
  .sub--grouphome .points p, .sub--grouphome .steps li p { display: none; }
  /* 関係機関の方へ：「こんな方の住まいを」のカードは見出しだけ、「最初のご連絡から入居まで」はステップ名だけ */
  .sub--partners #cases .cases .tile p, .sub--partners #flow .steps li p { display: none; }
  /* ご利用までの流れ・訪問介護：写真の説明は下の文と同じなので外し、写真を横一列に */
  .sub--flow #steps .life { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sub--homecare #services .life { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .sub--homecare #services .life figure { grid-template-columns: minmax(0, 1fr); }
  .sub--flow #steps .life figcaption, .sub--homecare #services .life figcaption { display: none; }
  .sub--flow #steps .life .img, .sub--homecare #services .life .img { border-radius: 8px; }
  /* 入居検討中の方へ：見学のチェック項目は「お部屋・住環境」と同じなので隠す */
  .sub--nyukyo .gd-check { display: none; }
}
