/* =========================================================================
   COCO — 再利用コンポーネント
   ========================================================================= */

/* ---------- Image placeholder (until photos arrive) ---------- */
.ph {
  background-color: #d8cdb6;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(184,131,90,.10)),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
  background-size: cover; background-position: center;
  position: relative;
}
/* labels removed now that real images are placed */
.ph::after { content: none; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #cdbfa6;
  opacity: 0; transform: scale(1.06);
  transition: opacity 2.2s var(--ease-soft), transform 9s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,24,18,.42) 0%, rgba(30,24,18,.05) 34%, rgba(30,24,18,.14) 62%, rgba(30,24,18,.72) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(64px, 9vw, 120px); padding-top: 140px; }
.hero .latin-label { color: #f3d9b8; font-size: clamp(16px,2vw,22px); }
.hero-title {
  font-family: var(--head); font-weight: 900; color: #fff;
  font-size: clamp(34px, 6.4vw, 84px); line-height: 1.28; letter-spacing: .02em;
  margin: 18px 0 26px; text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero-title .accent { color: #f0c994; }
.hero-sub { color: #f0eadd; font-size: clamp(15px,1.7vw,19px); line-height: 2.05; max-width: 38ch; margin-bottom: 38px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; right: var(--pad); bottom: clamp(64px,9vw,120px); z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); transition: .3s; }
.hero-dots button.on { background: #fff; transform: scale(1.35); }

/* ---------- PAGE HERO (sub) ---------- */
.phero { position: relative; padding: clamp(150px,18vw,220px) 0 clamp(60px,8vw,96px); overflow: hidden; background: var(--cream-deep); }
.phero--photo { color: #fff; background-color: #b6a487; }
.phero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.phero--photo .phero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(30,24,18,.5), rgba(30,24,18,.34) 45%, rgba(30,24,18,.6)); }
.phero-inner { position: relative; z-index: 2; }
.breadcrumb { font-size: 12.5px; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 20px; display: flex; gap: 9px; align-items: center; }
.phero--photo .breadcrumb { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--caramel); }
.breadcrumb .sep { opacity: .5; }
.phero h1 { font-family: var(--head); font-weight: 900; font-size: clamp(32px,5.2vw,62px); line-height: 1.3; letter-spacing: .02em; }
.phero .latin-label { display: block; font-size: clamp(15px,1.8vw,20px); margin-bottom: 12px; }
.phero--photo .latin-label { color: #f3d9b8; }
.phero .ptag { margin-top: 18px; font-size: clamp(14px,1.4vw,16px); color: var(--ink-soft); max-width: 52ch; }
.phero--photo .ptag { color: #f0eadd; }

/* ---------- Service cards (home) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.4vw,34px); }
.svc-card {
  position: relative; background: var(--cream-card); border-radius: var(--radius);
  padding: 40px 34px 34px; box-shadow: var(--shadow-s); overflow: hidden;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-soft);
  border: 1px solid rgba(227,217,198,.6);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-l); }
.svc-figure { position: relative; height: 236px; margin: -8px -8px 26px; display: flex; align-items: center; justify-content: center; }
/* Beau signature: cutout subject on a soft flower-petal shape (translated to warm/upscale single-color) */
.svc-flower { position: absolute; width: 236px; height: 236px; color: var(--c); opacity: .9; z-index: 0; transition: transform .8s var(--ease-spring); transform: rotate(-8deg); }
.svc-card:hover .svc-flower { transform: rotate(6deg) scale(1.05); }
.svc-flower path, .svc-flower g { fill: currentColor; }
.svc-photo { position: relative; z-index: 1; width: 178px; height: 178px; object-fit: cover; border-radius: 50%; box-shadow: 0 14px 34px rgba(80,60,40,.22); border: 5px solid var(--cream-card); }
.svc-no { font-family: var(--latin); font-style: italic; font-size: 15px; color: var(--ink-faint); }
.svc-card h3 { font-family: var(--head); font-weight: 900; font-size: 24px; margin: 6px 0 6px; letter-spacing: .03em; }
.svc-card .svc-en { font-family: var(--latin); font-style: italic; font-size: 14px; color: var(--caramel); margin-bottom: 14px; }
.svc-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; margin-bottom: 22px; }
.svc-link { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink); transition: gap .3s, color .3s; }
.svc-link svg { width: 17px; height: 17px; color: var(--caramel); transition: transform .3s; }
.svc-card:hover .svc-link { color: var(--caramel-deep); }
.svc-card:hover .svc-link svg { transform: translateX(5px); }
.svc-card[data-svc="hotel"] { --c: var(--hotel); }
.svc-card[data-svc="trim"]  { --c: var(--trim); }
.svc-card[data-svc="day"]   { --c: var(--daycare); }
.svc-card .svc-blob { background: var(--c); }
.svc-card .svc-tab { position: absolute; top: 0; left: 0; height: 5px; width: 100%; background: var(--c); }

/* ---------- Trust band ---------- */
.trust { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,30px); }
.trust-item { text-align: center; padding: 8px; }
.trust-ico { width: 58px; height: 58px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--caramel-soft); color: var(--caramel-deep); }
.trust-ico svg { width: 28px; height: 28px; }
.trust-item h4 { font-family: var(--head); font-weight: 700; font-size: 17px; margin-bottom: 8px; letter-spacing: .03em; }
.trust-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

/* ---------- Quote block ---------- */
.quote { text-align: center; max-width: 860px; margin-inline: auto; }
.quote .mark { display: block; font-family: var(--latin); font-size: clamp(38px,4.5vw,60px); color: var(--caramel); opacity: .32; line-height: 1; margin-bottom: 4px; }
.quote p { font-family: var(--mincho); font-weight: 600; font-size: clamp(20px,2.9vw,33px); line-height: 2.05; letter-spacing: .08em; color: var(--ink); }
.quote .by { margin-top: 30px; font-family: var(--mincho); font-size: 13.5px; color: var(--ink-faint); letter-spacing: .14em; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-m); aspect-ratio: 4/3.2; background-color: #d8cdb6; background-size: cover; background-position: center; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; bottom: 18px; left: 18px; background: rgba(247,242,233,.95); backdrop-filter: blur(6px); padding: 11px 18px; border-radius: 14px; font-family: var(--head); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-s); }
.split-body .eyebrow { margin-bottom: 20px; }
.split-body h2 { margin-bottom: 24px; }
.split-body p { margin-bottom: 18px; }
.split-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.split-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.split-list svg { width: 20px; height: 20px; color: var(--caramel); flex: 0 0 auto; margin-top: 4px; }

/* ---------- Steps / Flow ---------- */
.steps { position: relative; max-width: 760px; margin-inline: auto; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 31px; top: 60px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step-no { width: 64px; height: 64px; border-radius: 50%; background: var(--caramel); color: #fff; font-family: var(--latin); font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px var(--caramel-glow); position: relative; z-index: 1; }
.step-body h4 { font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 8px; margin-top: 12px; }
.step-body p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Timeline (1日の過ごし方) ---------- */
.day-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.day-card { background: var(--cream-card); border-radius: var(--radius-s); padding: 28px 26px; box-shadow: var(--shadow-s); border: 1px solid rgba(227,217,198,.6); }
.day-time { font-family: var(--latin); font-style: italic; font-size: 15px; color: var(--caramel); letter-spacing: .04em; }
.day-card h4 { font-family: var(--head); font-weight: 700; font-size: 18px; margin: 6px 0 8px; }
.day-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

/* ---------- Price table ---------- */
.price-block { background: var(--cream-card); border-radius: var(--radius); padding: clamp(28px,4vw,48px); box-shadow: var(--shadow-s); border: 1px solid rgba(227,217,198,.6); margin-bottom: 28px; }
.price-block > h3 { font-family: var(--head); font-weight: 900; font-size: 22px; margin-bottom: 6px; display: flex; align-items: flex-start; gap: 12px; }
.price-block > h3 .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--caramel); flex: 0 0 auto; margin-top: .55em; }
.price-block .note { font-size: 13px; color: var(--ink-faint); margin-bottom: 24px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px dashed var(--line); gap: 16px; }
.price-row:last-child { border-bottom: none; }
.price-name { font-weight: 500; font-size: 15.5px; }
.price-name small { display: block; font-size: 12.5px; color: var(--ink-faint); font-weight: 400; margin-top: 2px; }
.price-val { font-family: var(--head); font-weight: 900; font-size: 20px; color: var(--ink); white-space: nowrap; }
.price-val .yen { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.price-val .from { font-size: 12px; color: var(--caramel-deep); margin-left: 3px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin-inline: auto; }
.faq-item { background: var(--cream-card); border: 1px solid rgba(227,217,198,.7); border-radius: var(--radius-s); margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-m); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: flex-start; gap: 18px; padding: 24px 26px; font-family: var(--head); font-weight: 700; font-size: 16.5px; line-height: 1.6; }
.faq-q > span:nth-child(2) { flex: 1; }
.faq-q .q { font-family: var(--latin); font-style: italic; color: var(--caramel); font-size: 22px; flex: 0 0 auto; line-height: 1.2; }
.faq-q .ico { margin-left: auto; margin-top: 3px; flex: 0 0 auto; width: 24px; height: 24px; position: relative; transition: transform .4s var(--ease-spring); }
.faq-q .ico::before, .faq-q .ico::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--caramel); }
.faq-q .ico::before { width: 16px; height: 2px; }
.faq-q .ico::after { width: 2px; height: 16px; transition: opacity .3s; }
.faq-item.open .faq-q .ico { transform: rotate(180deg); }
.faq-item.open .faq-q .ico::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-soft); }
.faq-a-inner { padding: 0 26px 26px 64px; font-size: 14.5px; color: var(--ink-soft); line-height: 2; }

/* ---------- Gallery grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius-s); background: #d8cdb6; box-shadow: var(--shadow-s); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { font-family: var(--head); font-weight: 900; font-size: clamp(26px,4.2vw,46px); color: #fff; line-height: 1.4; margin-bottom: 20px; }
.cta-band p { color: #e3d8c6; max-width: 46ch; margin: 0 auto 36px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .tel-big { display: block; font-family: var(--latin); font-size: clamp(30px,5vw,52px); color: #fff; letter-spacing: .04em; margin-top: 8px; }
.cta-band .tel-big small { display:block; font-family: var(--body); font-size: 13px; letter-spacing: .2em; color: var(--caramel); margin-bottom: 6px; }

/* ---------- Info table ---------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--cream-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.info-table th, .info-table td { text-align: left; padding: 20px 26px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 32%; font-family: var(--head); font-weight: 700; color: var(--ink); background: rgba(184,131,90,.06); letter-spacing: .04em; }
.info-table td { color: var(--ink-soft); }

/* ---------- Conditions / check list ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.check-card { display: flex; gap: 16px; background: var(--cream-card); border: 1px solid rgba(227,217,198,.7); border-radius: var(--radius-s); padding: 24px; box-shadow: var(--shadow-s); }
.check-card .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--caramel-soft); color: var(--caramel-deep); display: flex; align-items: center; justify-content: center; }
.check-card .ico svg { width: 22px; height: 22px; }
.check-card h4 { font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.check-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.staff-card { text-align: center; }
.staff-photo { aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; margin: 0 auto 18px; width: 100%; max-width: 230px; background-color: #d8cdb6; background-size: cover; background-position: center; box-shadow: var(--shadow-s); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h4 { font-family: var(--head); font-weight: 700; font-size: 17px; }
.staff-card .role { font-family: var(--latin); font-style: italic; color: var(--caramel); font-size: 13px; margin-bottom: 8px; }
.staff-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- Two-column info lists (conditions) ---------- */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,40px); max-width: 960px; margin: 0 auto; }
.info-list { background: var(--cream-card); border-radius: var(--radius); padding: clamp(28px,3.5vw,44px); box-shadow: var(--shadow-s); border: 1px solid rgba(227,217,198,.6); }
.info-list h3 { font-family: var(--head); font-weight: 900; font-size: 20px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 12px; color: var(--ink); line-height: 1.4; }
.info-list h3 .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--caramel); flex: 0 0 auto; margin-top: .5em; }
.info-list ul { display: flex; flex-direction: column; gap: 14px; }
.info-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.info-list li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); }

.note-band { max-width: 880px; margin: 30px auto 0; text-align: center; font-size: 14px; color: var(--ink-soft); background: var(--caramel-soft); border-radius: 14px; padding: 18px 24px; line-height: 1.9; }

/* ---------- Map placeholder ---------- */
.map { box-shadow: var(--shadow-s); border: 1px solid rgba(227,217,198,.6); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px,4vw,56px); max-width: 1040px; margin: 0 auto; align-items: start; }
.contact-form { background: var(--cream-card); border-radius: var(--radius); padding: clamp(28px,3.5vw,48px); box-shadow: var(--shadow-m); border: 1px solid rgba(227,217,198,.6); }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 700; font-size: 13.5px; margin-bottom: 9px; letter-spacing: .04em; }
.field .req { font-size: 11px; color: #fff; background: var(--caramel); padding: 2px 8px; border-radius: 6px; margin-left: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s; line-height: 1.7;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 3px var(--caramel-soft); }
.field textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 16px; line-height: 1.8; }
.contact-info { padding: 8px 4px; }
.contact-info h3 { font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.contact-info .tel-link { font-family: var(--latin); font-size: clamp(28px,4vw,40px); color: var(--caramel-deep); letter-spacing: .03em; display: inline-block; margin-bottom: 8px; }
.contact-info .hours { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.contact-info p { font-size: 14px; color: var(--ink-soft); line-height: 1.95; }
.info-divider { height: 1px; background: var(--line); margin: 28px 0; }

/* =========================================================================
   Component responsive
   ========================================================================= */
@media (max-width: 920px) {
  .services { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .trust { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--rev .split-media { order: 0; }
  .day-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .hero-dots { display: none; }
  .hero-main { background-image: url('../images/hero-1-sp.jpg') !important; }
  .cols2 { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .day-grid { grid-template-columns: 1fr; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; }
  .price-row { flex-direction: column; gap: 4px; }
  .gallery-grid .wide { grid-column: span 2; }
}
