/* =========================================================
   カルプ工房（culp.html）の見た目
   イメージキャラクター（王冠をかぶったリス・緑のリボン）の色から。
   王冠の金（黄色）× リスのオレンジ × リボンの緑 × クリーム。文字は濃い色でコントラストを確保。
   ========================================================= */
.k-site {
  --black: #2F6B35;        /* リボンの緑…暗い面 */
  --black-2: #234F28;
  --paper: #FFF7E3;        /* クリーム */
  --white: #FFFDF6;
  --ink: #1E1A16;
  --muted: #5E5348;
  --line: #EADDBF;
  --gold: #FFD23F;         /* 黄色（文字の顔） */
  --gold-2: #FFE58A;       /* 深緑の上で読める黄色 */
  --orange-deep: #B4520E;  /* クリームの上で読めるオレンジ */
  --k-salmon: #F4A28C;     /* ほっぺのピンク */
  --k-orange: #E57B2C;     /* リス */
  --f-round: "M PLUS Rounded 1c", "Zen Kaku Gothic New", sans-serif;
  background: var(--white);
}
.k-site .a-title, .k-site .a-lead-big, .k-site h1, .k-site h2, .k-site h3 { font-family: var(--f-round); }
.k-site .a-title { letter-spacing: 0; }

/* ヘッダー */
.k-site .a-header { background: rgba(47, 107, 53, .96); }
.k-logo { gap: 10px; }
.k-logo-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--ink);
  font-family: var(--f-round); font-weight: 800; font-size: 1.3rem; box-shadow: 3px 3px 0 var(--k-salmon); }
.k-logo-text { font-family: var(--f-round); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; color: #fff; line-height: 1.1; }
.k-logo-text small { display: block; font-family: var(--f-en); font-weight: 700; font-size: .6rem; letter-spacing: .25em; color: var(--gold-2); }
.k-site .a-nav .a-nav-cta { background: var(--gold); color: var(--ink); border-radius: 999px; }

/* ヒーロー */
.k-site .a-hero { color: var(--ink);
  background:
    radial-gradient(circle at 78% 55%, rgba(255, 210, 63, .55), transparent 42%),
    radial-gradient(rgba(47, 107, 53, .10) 1.5px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(180deg, #FFF7E3, #FFEFC4); }
.k-site .a-hero::before { display: none; }
.k-site .a-label { color: var(--black); font-family: var(--f-round); font-weight: 700; letter-spacing: .12em; font-size: .85rem;
  background: var(--white); display: inline-block; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--black); }
.k-site .a-hero-title { font-family: var(--f-round); font-weight: 800; }
.k-site .a-hero-title span:nth-child(2) { color: var(--black); }
.k-site .a-hero-lead { color: #3D342C; }
.k-site .a-hero .a-btn-line { color: var(--ink); border: 2px solid var(--ink); }
.k-site .a-hero .a-btn-line:hover { background: var(--ink); color: #fff; }
.k-site .a-btn { border-radius: 999px; }
.k-site .a-btn-gold { color: #245229; box-shadow: 0 4px 0 #C99A10; }
.k-site .a-btn-gold:hover { background: #FFDB5C; }
.k-site .s-badges li { border: 2px solid var(--black); color: var(--black); background: var(--white); font-weight: 700; }
.k-site .a-hero-scroll { color: rgba(30, 26, 22, .5); }

.k-hero-chara { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: min(38vw, 500px); z-index: 1; }
.k-hero-chara img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(30, 26, 22, .18)); animation: kBob 3.5s ease-in-out infinite; }
.k-hero-chara.is-empty img { display: none; }
.k-letters { display: none; justify-content: center; gap: 4px; }
.k-hero-chara.is-empty .k-letters { display: flex; }
.k-letters span { font-family: var(--f-round); font-weight: 800; font-size: clamp(5rem, 11vw, 9rem); line-height: 1; color: var(--gold);
  -webkit-text-stroke: 3px var(--ink); text-shadow: 5px 5px 0 var(--k-salmon), 8px 8px 0 var(--ink); }
.k-letters span:nth-child(2) { transform: translateY(-16px) rotate(4deg); }
.k-letters span:nth-child(3) { transform: rotate(-4deg); }
.k-bubble { position: absolute; left: -6%; top: 6%; margin: 0; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 10px 18px;
  font-family: var(--f-round); font-weight: 800; font-size: 1.05rem; line-height: 1.4; box-shadow: 4px 4px 0 var(--gold); }
.k-bubble::after { content: ""; position: absolute; right: 24px; bottom: -14px; width: 18px; height: 18px; background: var(--white); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
@keyframes kBob { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) {
  .k-hero-chara { position: relative; right: auto; top: auto; transform: none; width: min(78vw, 360px); margin: 36px auto 0; }
  .k-site .a-hero { flex-direction: column; align-items: stretch; }
  .k-bubble { left: 0; top: -8px; font-size: .9rem; }
}

/* 運営元の紹介 */
.k-by { background: var(--gold); text-align: center; padding: clamp(48px, 7vw, 80px) var(--gutter); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.k-by-lead { margin: 0; font-family: var(--f-round); font-weight: 700; color: var(--ink); }
.k-by-title { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 4px 0 18px; color: var(--ink); text-shadow: 3px 3px 0 var(--white); }
.k-by-text { max-width: 760px; margin: 0 auto; color: #2E2820; }

/* 各セクション */
.k-site .a-num { color: var(--orange-deep); }
.k-site .a-strengths span, .k-site .a-flow span { color: var(--orange-deep); }
.k-site .a-flow li { border-top-color: var(--black); border-radius: 0 0 14px 14px; }
.k-site .s-table thead th { background: var(--black); }
.k-site .s-table tbody th { background: #FFF3CC; }
.k-site .s-sim-form { border-radius: 16px; }
.k-site .s-result { border-radius: 16px; }
.k-site .s-total { color: var(--gold-2); }
.k-site .s-seg input:checked + span { background: var(--black); border-color: var(--black); }
.k-site .s-faq details { border-radius: 12px; }
.k-site .a-dark { background: var(--black); }
.k-site .a-dark .a-num { color: var(--gold-2); }
.k-site .a-field em { background: var(--gold); }

/* フッター */
.k-site .a-footer { background: var(--black-2); }
.k-footer-brand span:last-child { font-family: var(--f-round); font-weight: 800; font-size: 1.4rem; }
.k-operator { color: rgba(255,255,255,.85); }
.k-site .a-footer a { color: var(--gold-2); }

.k-logo-chara { width: 34px; height: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.k-footer-brand .k-logo-chara { width: 44px; }
.k-site .k-hero-chara { width: min(30vw, 400px); }
.k-by { position: relative; overflow: hidden; }
.k-by-chara { position: absolute; left: max(2%, calc(50% - 640px)); bottom: -6px; width: min(18vw, 210px); height: auto; }
@media (max-width: 860px) { .k-by-chara { position: static; width: 140px; margin: 0 auto 10px; } }
.k-site #faq .a-head { position: relative; }
.k-site #faq .a-head { position: relative; padding-right: min(18vw, 190px); }
.k-faq-chara { position: absolute; right: 0; bottom: -10px; width: min(16vw, 170px); height: auto; }
@media (max-width: 640px) { .k-site #faq .a-head { padding-right: 96px; } .k-faq-chara { width: 86px; bottom: 0; } }
.k-bubble { white-space: nowrap; }

/* 紹介欄：キャラクターと文章が重ならないよう、PCでは左にキャラ・右に文章 */
@media (min-width: 861px) {
  .k-by { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; column-gap: 40px; text-align: left; padding-bottom: 0; }
  .k-by-chara { position: static; grid-row: 1 / span 3; align-self: end; width: 220px; margin-bottom: -4px; }
  .k-by > :not(.k-by-chara) { grid-column: 2; }
  .k-by-text { margin: 0 0 clamp(48px, 7vw, 80px); }
}

/* カルプ文字のイメージ（イラスト） */
.k-scene-wrap { background: var(--white); border-radius: 18px; padding: clamp(12px, 2vw, 22px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.k-scene-main { width: 100%; height: auto; display: block; border-radius: 10px; }
.k-scene-note { margin: 12px 4px 0; font-size: .85rem; color: var(--muted); }
.k-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
@media (max-width: 760px) { .k-scenes { grid-template-columns: 1fr; } }
.k-scene { margin: 0; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.k-scene svg { width: 100%; height: auto; display: block; }
.k-scene figcaption { padding: 12px 16px 16px; display: grid; gap: 2px; }
.k-scene figcaption b { font-size: 1rem; }
.k-scene figcaption span { font-size: .82rem; color: var(--muted); }
.k-thick-wrap { margin: 28px auto 0; max-width: 720px; }
.k-thick { width: 100%; height: auto; display: block; }
#price .k-thick-wrap { margin: 0 auto 32px; }
