/* =========================================================
   にじいろ保育園 — 共有デザインシステム（固定ページ用）
   トップ index.html はインライン<style>で自己完結（FV含む）。
   固定ページは本ファイルをリンクして二重定義しない。
   ========================================================= */
:root{
  --bg:#fbf6ec; --bg2:#fdfaf3; --paper:#ffffff;
  --coral:#e2766b; --coral-deep:#c95d51; --coral-soft:#f6ded9;
  --yellow:#e9b44c; --teal:#7fb7a4; --blue:#7e9cc4; --pinkb:#d8a0b6; --lav:#c9b6e0;
  --deep:#3b3a36; --deep2:#2f2e2a;
  --ink:#3b3a36; --body:#5a564d; --muted:#8b8578;
  --line:rgba(59,58,54,.16); --line-soft:rgba(59,58,54,.08); --line-white:rgba(251,246,236,.16);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--bg); color:var(--body); font-family:'Zen Kaku Gothic New',sans-serif; font-size:16px; line-height:1.9; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
p{margin:0;}
.mono{font-family:'Space Grotesk',monospace; letter-spacing:.05em;}
.mincho{font-family:'Shippori Mincho',serif;}
h1,h2,h3{margin:0; color:var(--ink); font-family:'Shippori Mincho',serif; font-weight:700; line-height:1.55;}
h1,h2,h3,.lead,.btn,summary{word-break:auto-phrase; text-wrap:balance;}
.wrap{width:min(1120px,calc(100% - 56px)); margin:0 auto;}
.eyebrow{font-family:'Space Grotesk',monospace; font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:var(--coral); font-weight:700; display:inline-flex; align-items:center; gap:10px;}
.eyebrow::before{content:""; width:9px; height:9px; border-radius:50%; background:var(--coral); flex:none;}
.h2{font-size:clamp(26px,4vw,42px); margin:12px 0 0;}
.btn{display:inline-block; background:var(--coral); border:1.5px solid var(--coral); color:#fff; border-radius:999px; padding:14px 36px; font-weight:700; letter-spacing:.12em; transition:background .3s,color .3s,transform .2s;}
.btn:hover{background:transparent; color:var(--coral); transform:translateY(-2px);}
.btn--ghost{background:transparent; color:var(--coral);}
.btn--ghost:hover{background:var(--coral); color:#fff;}

/* ===== header（header-01：透明→スクロールで白／CTA付き）===== */
.c-hd{position:fixed; top:0; left:0; right:0; z-index:60; color:var(--ink); transition:background .35s,box-shadow .35s;}
.c-hd__in{max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:20px 32px; transition:padding .35s;}
.c-hd__logo{font-family:'Shippori Mincho',serif; font-weight:700; font-size:21px; letter-spacing:.06em; display:inline-flex; align-items:center; gap:10px;}
.c-hd__logo i{width:12px; height:14px; border-radius:50% 50% 48% 48%; background:var(--coral); display:inline-block; position:relative; flex:none;}
.c-hd__logo i::after{content:""; position:absolute; left:50%; top:100%; width:1px; height:7px; background:var(--ink); opacity:.5;}
.c-hd__nav{display:flex; align-items:center; gap:26px;}
.c-hd__nav a{font-size:13.5px; font-weight:500; position:relative;}
.c-hd__nav a:not(.c-hd__cta)::after{content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--coral); transition:width .25s;}
.c-hd__nav a:not(.c-hd__cta):hover::after{width:100%;}
.c-hd__nav a[aria-current="page"]::after{width:100%;}
.c-hd__cta{background:var(--coral); color:#fff; padding:10px 22px; border-radius:99px; font-weight:700; transition:transform .2s;}
.c-hd__cta:hover{transform:translateY(-2px);}
.c-hd.is-solid{background:rgba(255,255,255,.96); backdrop-filter:blur(8px); box-shadow:0 6px 24px -16px rgba(59,58,54,.45);}
.c-hd.is-solid .c-hd__in{padding:13px 32px;}
@media(max-width:860px){ .c-hd__nav a:not(.c-hd__cta){display:none;} .c-hd__in{padding:16px 20px;} }

/* ===== ページヒーロー（タイトル帯・FVではない）===== */
.p-hero{padding:150px 0 64px; background:linear-gradient(180deg,#fdfaf3 0%,#f6eedd 100%); position:relative; overflow:hidden;}
.p-hero::after{content:""; position:absolute; right:-30px; top:-30px; width:180px; height:180px; border-radius:50%; background:rgba(226,118,107,.12);}
.p-hero::before{content:""; position:absolute; right:130px; top:90px; width:64px; height:64px; border-radius:50%; background:rgba(233,180,76,.18);}
.p-hero__in{width:min(1120px,calc(100% - 56px)); margin:0 auto; position:relative; z-index:1;}
.p-hero h1{font-size:clamp(28px,4.4vw,44px); margin:10px 0 14px;}
.p-hero p{color:var(--body); font-size:15px; max-width:38em;}
@media(max-width:680px){ .p-hero{padding:120px 0 48px;} }

/* ===== 固定ページ本文の汎用ブロック ===== */
.p-sec{padding:72px 0;}
.p-sec--soft{background:var(--bg2);}
.p-sec__head{margin-bottom:36px;}
.p-lead{font-size:15.5px; line-height:2.1; max-width:42em;}
.p-grid2{display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center;}
.p-img{border-radius:14px; overflow:hidden;}
.p-img img{width:100%; height:100%; object-fit:cover; aspect-ratio:4/3;}
@media(max-width:768px){ .p-grid2{grid-template-columns:1fr;} .p-sec{padding:56px 0;} }

/* 定義表（会社概要・タイムテーブル） */
.p-table{width:100%; border-collapse:collapse; background:var(--paper); border:1px solid var(--line-soft); border-radius:14px; overflow:hidden;}
.p-table th,.p-table td{padding:16px 20px; border-bottom:1px solid var(--line-soft); font-size:14.5px; text-align:left; vertical-align:top;}
.p-table tr:last-child th,.p-table tr:last-child td{border-bottom:0;}
.p-table th{width:11em; color:var(--ink); font-weight:700; background:var(--bg2); white-space:nowrap;}
@media(max-width:680px){ .p-table th{width:7.5em; padding:13px 14px;} .p-table td{padding:13px 14px;} }

/* タイムライン（園の一日） */
.p-tl{display:grid; gap:0; border-left:2px solid rgba(226,118,107,.35); margin-left:8px;}
.p-tl__item{position:relative; padding:0 0 34px 30px;}
.p-tl__item:last-child{padding-bottom:0;}
.p-tl__item::before{content:""; position:absolute; left:-8px; top:6px; width:14px; height:14px; border-radius:50%; background:var(--coral); border:3px solid var(--bg);}
.p-tl__item:nth-child(2n)::before{background:var(--teal);}
.p-tl__item:nth-child(3n)::before{background:var(--yellow);}
.p-tl__time{font-family:'Space Grotesk',monospace; font-size:12px; letter-spacing:.16em; color:var(--coral-deep); font-weight:700;}
.p-tl__item h3{font-size:18px; margin:4px 0 6px;}
.p-tl__item p{font-size:14px; color:var(--body);}

/* カードリスト（年間行事など） */
.p-cards{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}
.p-card{background:var(--paper); border:1px solid var(--line-soft); border-radius:14px; padding:24px 24px 22px;}
.p-card .tag{font-family:'Space Grotesk',monospace; font-size:10px; letter-spacing:.2em; color:var(--coral-deep);}
.p-card h3{font-size:17px; margin:6px 0 8px;}
.p-card p{font-size:13.5px; color:var(--body);}
@media(max-width:680px){ .p-cards{grid-template-columns:1fr;} }

/* FAQ（faq-05系アコーディオン：固定ページ再利用） */
.c-faq__tabs{display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin:28px 0 26px;}
.c-faq__tab{border:1px solid var(--line); background:#fff; color:var(--muted); padding:10px 22px; border-radius:30px; font-weight:700; font-size:13px; cursor:pointer; transition:.25s; font-family:inherit;}
.c-faq__tab.on{background:var(--coral); color:#fff; border-color:var(--coral);}
.c-faq__item{background:var(--paper); border:1px solid var(--line-soft); border-radius:12px; margin-bottom:12px; overflow:hidden;}
.c-faq__q{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:19px 22px; cursor:pointer; font-weight:700; font-size:15px; width:100%; border:0; background:none; text-align:left; color:var(--ink); font-family:inherit;}
.c-faq__cat{font-family:'Space Grotesk',monospace; font-size:10px; letter-spacing:.12em; color:var(--coral-deep); border:1px solid rgba(226,118,107,.4); border-radius:20px; padding:3px 10px; flex:none;}
.c-faq__tx{flex:1;}
.c-faq__ic{color:var(--coral); transition:transform .3s; flex:none;}
.c-faq__item.open .c-faq__ic{transform:rotate(45deg);}
.c-faq__a{max-height:0; overflow:hidden; transition:max-height .5s ease;}
.c-faq__a p{margin:0; padding:0 22px 20px; color:var(--body); font-size:14px; word-break:auto-phrase;}
.c-faq__item.open .c-faq__a{max-height:320px;}
.c-faq__item.hide{display:none;}
@media(max-width:680px){ .c-faq__cat{display:none;} }

/* お問い合わせ */
.p-contact{display:grid; grid-template-columns:1.2fr .8fr; gap:36px; align-items:start;}
.p-form{background:var(--paper); border:1px solid var(--line-soft); border-radius:16px; padding:34px 30px;}
.p-form .note{font-size:13px; color:var(--muted); margin-bottom:18px;}
.p-form label{display:block; font-weight:700; font-size:13.5px; color:var(--ink); margin:18px 0 6px;}
.p-form label small{font-weight:400; color:var(--coral-deep); margin-left:8px; font-size:11px;}
.p-form input,.p-form select,.p-form textarea{width:100%; border:1px solid var(--line); border-radius:10px; background:var(--bg2); padding:13px 14px; font-size:15px; font-family:inherit; color:var(--ink);}
.p-form input:focus,.p-form select:focus,.p-form textarea:focus{outline:2px solid rgba(226,118,107,.45); border-color:var(--coral);}
.p-form textarea{min-height:140px; resize:vertical;}
.p-form .send{margin-top:24px; width:100%; cursor:pointer; font-size:15px; font-family:inherit;}
.p-aside{display:grid; gap:18px;}
.p-aside__box{background:var(--paper); border:1px solid var(--line-soft); border-radius:16px; padding:26px 24px;}
.p-aside__box h3{font-size:16px; margin-bottom:10px;}
.p-aside__box p{font-size:13.5px; color:var(--body);}
.p-aside__tel{font-family:'Space Grotesk',monospace; font-weight:700; font-size:24px; color:var(--ink); display:block; margin:6px 0 2px;}
@media(max-width:820px){ .p-contact{grid-template-columns:1fr;} }

/* プライバシー */
.p-privacy h2{font-size:19px; margin:34px 0 10px;}
.p-privacy p,.p-privacy li{font-size:14.5px; color:var(--body);}
.p-privacy ul{padding-left:1.4em; margin:8px 0;}

/* 固定ページ用CTAバンド */
.p-cta{padding:72px 0; background:var(--bg2);}
.p-cta__panel{position:relative; border-radius:24px; overflow:hidden; padding:54px 40px; text-align:center; color:#fff; background:linear-gradient(120deg,#e2766b,#d8a0b6 55%,#e9b44c);}
.p-cta__panel h2{color:#fff; font-family:'Zen Kaku Gothic New',sans-serif; font-weight:900; font-size:clamp(22px,3.4vw,34px); margin:0 0 10px;}
.p-cta__panel p{color:rgba(255,255,255,.92); font-size:14.5px; max-width:34em; margin:0 auto 24px;}
.p-cta__panel .btn{background:#fff; border-color:#fff; color:var(--coral-deep); border-radius:12px;}
.p-cta__panel .btn:hover{background:transparent; color:#fff;}
.p-cta__dot{position:absolute; border-radius:50%; background:rgba(255,255,255,.2);}
.p-cta__dot.d1{width:110px; height:110px; left:5%; top:12%;}
.p-cta__dot.d2{width:56px; height:56px; right:9%; top:18%;}
@media(max-width:680px){ .p-cta__panel{padding:42px 22px;} }

/* ===== footer（footer-06：カラーCTA分割）===== */
.c-ft{position:relative;}
.c-ft__cta{position:relative; background:linear-gradient(120deg,#7fb7a4,#5e8aa8); color:#fff; overflow:hidden;}
.c-ft__cta::before{content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.12) 1.5px,transparent 1.5px); background-size:24px 24px; opacity:.6; -webkit-mask-image:linear-gradient(120deg,#000,transparent 70%);}
.c-ft__cta .in{position:relative; max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1.4fr auto; gap:30px; align-items:center; padding:60px 32px;}
.c-ft__lbl{font-family:'Space Grotesk',monospace; font-size:12px; letter-spacing:.24em; opacity:.85;}
.c-ft__cta h2{font-weight:700; font-size:clamp(24px,3.6vw,40px); margin:10px 0 0; line-height:1.45; color:#fff;}
.c-ft__sub{font-size:14px; opacity:.9; margin-top:12px;}
.c-ft__actions{display:flex; flex-direction:column; gap:14px;}
.c-ft__btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#fff; color:#3f6b5c; font-weight:700; font-size:15px; padding:17px 34px; border-radius:12px; transition:.2s;}
.c-ft__btn:hover{transform:translateY(-2px);}
.c-ft__tel{text-align:center; font-family:'Space Grotesk',monospace; font-weight:700; font-size:21px;}
.c-ft__tel small{display:block; font-family:'Zen Kaku Gothic New',sans-serif; font-weight:400; font-size:11px; opacity:.85; letter-spacing:.04em;}
.c-ft__info{background:var(--deep2); color:#efe9da;}
.c-ft__info .in{max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1.2fr 2fr; gap:40px; padding:46px 32px 30px;}
.c-ft__nm{font-family:'Shippori Mincho',serif; font-weight:800; font-size:24px; display:inline-flex; align-items:center; gap:10px;}
.c-ft__nm .b1{width:11px; height:13px; border-radius:50% 50% 48% 48%; display:inline-block; background:var(--coral);}
.c-ft__brand p{color:#a39c8d; font-size:13px; max-width:24em; margin:12px 0 18px; line-height:1.9;}
.c-ft__nap{font-size:12.5px; color:#a39c8d; line-height:2;}
.c-ft__cols{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.c-ft__col h4{font-family:'Space Grotesk',monospace; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--yellow); margin:0 0 12px;}
.c-ft__col a{display:block; color:#efe9da; font-size:13.5px; padding:5px 0; opacity:.85;}
.c-ft__col a:hover{opacity:1; color:var(--yellow);}
.c-ft__bottom{border-top:1px solid var(--line-white);}
.c-ft__bottom .in{max-width:1140px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; padding:18px 32px; flex-wrap:wrap; gap:8px;}
.c-ft__cp{font-family:'Space Grotesk',monospace; font-size:11.5px; color:#a39c8d;}
.c-ft__legal{display:flex; gap:18px;} .c-ft__legal a{color:#a39c8d; font-size:12px;}
@media(max-width:820px){ .c-ft__cta .in{grid-template-columns:1fr;} .c-ft__info .in{grid-template-columns:1fr; gap:28px;} .c-ft__cols{grid-template-columns:1fr 1fr;} }
