@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Montserrat:ital,wght@0,700;0,800;1,800&display=swap');

:root {
  --teal:    #4f82c0;
  --teal-d:  #3a76a6;
  --teal-l:  #eaf1fa;
  --green:   #6B9CDB;
  --green-d: #4f82c0;
  --green-l: #eaf1fa;
  --grad:    linear-gradient(100deg, #7aa9e0 0%, #4f82c0 100%);
  --grad-r:  linear-gradient(100deg, #4f82c0 0%, #7aa9e0 100%);
  --bg:      #f4f3ef;
  --bg2:     #e8eae8;
  --rainbow: linear-gradient(125deg, #F74A68 0%, #FCBDD7 15%, #FFD44D 33%, #A2C862 50%, #3CC871 66%, #57C2EA 83%, #4F8FDA 100%);
  --en:      'Montserrat', sans-serif;
  --white:   #ffffff;
  --text:    #4B484D;
  --text-m:  #666666;
  --text-l:  #999999;
  --border:  #d8dbd8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── HERO ─── */
#hero {
  background: linear-gradient(135deg, #0a6aad 0%, #1489CB 45%, #3ab5d4 100%);
  padding: 64px 48px 60px;
  position: relative; overflow: hidden;
}

.hero-tri {
  position: absolute; right: -60px; top: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.hero-tri2 {
  position: absolute; right: 100px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.hero-inner { max-width: 1040px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.hero-text { width: 100%; }

.hero-ttl {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero-ttl em { font-style: normal; color: var(--white); }

.hero-sub {
  font-size: 14px; color: rgba(255,255,255,.85);
  line-height: 1.9; margin-bottom: 36px;
}

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badge {
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.45);
  color: var(--white);
  font-size: 15px; font-weight: 700;
  padding: 18px 28px; border-radius: 12px;
  line-height: 1.5; text-align: center;
  min-width: 160px;
  backdrop-filter: blur(4px);
}

.hero-cta-wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-main {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  font-size: 14px; font-weight: 700;
  padding: 16px 32px; border-radius: 8px;
  text-decoration: none;
  transition: all .18s; white-space: nowrap;
}
.btn-hero-main:hover { background: rgba(255,255,255,.3); }
.btn-hero-sub {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  font-size: 14px; font-weight: 700;
  padding: 16px 32px; border-radius: 8px;
  text-decoration: none;
  transition: all .18s; white-space: nowrap;
}
.btn-hero-sub:hover { background: rgba(255,255,255,.3); }

.hero-visual { display: none; }

/* ヒーローCTAバナー */
.hero-cta-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-hero-reserve {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--teal-d);
  font-size: 16px; font-weight: 900;
  padding: 18px 40px; border-radius: 50px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .18s, box-shadow .18s;
}
.btn-hero-reserve:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.btn-hero-tel {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  border: 2px solid rgba(255,255,255,.7); border-radius: 50px;
  padding: 12px 32px; text-decoration: none; white-space: nowrap;
  transition: background .18s;
}
.btn-hero-tel:hover { background: rgba(255,255,255,.15); }
.btn-hero-tel .tel-num { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: .04em; line-height: 1.2; }
.btn-hero-tel .tel-hrs { font-size: 11px; color: rgba(255,255,255,.8); font-weight: 500; }
.hero-cta-note { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 14px; font-weight: 500; }

/* ─── SECTION COMMON ─── */
section { padding: 72px 48px; }
.section-inner { max-width: 1040px; margin: 0 auto; }

.sec-en { display: none; }
.sec-sub { font-size: 12px; color: var(--text-m); margin-bottom: 6px; text-align: center; }
.sec-ttl { display: table; margin: 0 auto 44px; text-align: center; font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--text); line-height: 1.5; letter-spacing: .08em; border-bottom: 5px solid #4F8FDA; border-image: var(--rainbow) 1; padding-bottom: 12px; }
.sec-ttl .underline { display: inline; background: none; color: var(--green); }

/* ─── STRENGTHS ─── */
#strengths { background: var(--white); }
.strengths-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.str-card {
  border-radius: 16px; background: var(--bg); padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.str-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.str-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); z-index: 1; }
.str-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 18px; background: #dfe6ea; }
.str-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.str-num { font-size: 11px; font-weight: 900; color: var(--teal); letter-spacing: .1em; margin-bottom: 10px; }
.str-icon { font-size: 32px; margin-bottom: 14px; }
.str-card h3 { font-size: 18.5px; font-weight: 900; color: var(--text); margin-bottom: 12px; line-height: 1.6; padding-left: 1.4em; text-indent: -1.4em; }
.str-card h3 .str-no { color: var(--green); font-weight: 900; margin-right: 4px; }
#strengths .section-inner { max-width: 1180px; }
.str-card p  { font-size: 14.5px; color: var(--text-m); line-height: 1.85; }

/* ─── SERVICES ─── */
#services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.svc-head { background: var(--teal); padding: 28px 28px 22px; }
.svc-head.green { background: var(--green); }
.svc-tag { display: block; font-size: 26px; font-weight: 900; color: var(--white); margin-bottom: 10px; letter-spacing: .04em; }
.svc-head h3 { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 8px; line-height: 1.5; }
.svc-head p  { font-size: 13px; color: rgba(255,255,255,.8); }
.svc-body { padding: 24px 28px 28px; }
.worries-label { font-size: 11px; font-weight: 700; color: var(--text-m); margin-bottom: 10px; }
.worry-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { background: var(--teal-l); color: var(--teal-d); font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 50px; }
.chip.green { background: var(--green-l); color: var(--green-d); }
.btn-svc {
  display: block; text-align: center; padding: 14px 20px; border-radius: 50px;
  background: var(--grad); color: var(--white); font-size: 13px; font-weight: 700;
  text-decoration: none; transition: opacity .18s, transform .18s;
  box-shadow: 0 4px 12px rgba(26,143,160,.2);
}
.btn-svc:hover { opacity: .85; transform: translateY(-1px); }

/* ─── CASES ─── */
#cases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case-card {
  background: var(--bg); border-radius: 14px; padding: 22px;
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.case-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 50px; margin-bottom: 12px; letter-spacing: .05em; }
.tag-teal  { background: var(--teal-l); color: var(--teal-d); }
.tag-green { background: var(--green-l); color: var(--green-d); }
.case-card h3 { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.6; }
.case-card p  { font-size: 12px; color: var(--text-m); line-height: 1.7; margin-bottom: 14px; }
.case-result { background: var(--white); border-left: 3px solid var(--green); padding: 8px 12px; border-radius: 0 6px 6px 0; font-size: 12px; font-weight: 700; color: var(--green-d); }
.center-wrap { text-align: center; margin-top: 32px; }
.btn-more { display: inline-block; padding: 14px 40px; border: 2px solid var(--teal); color: var(--teal); font-size: 13px; font-weight: 700; border-radius: 50px; text-decoration: none; transition: all .18s; }
.btn-more:hover { background: var(--teal); color: var(--white); }

/* ─── PROBLEM ─── */
#problem { background: var(--bg); }
.problem-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; justify-content: center; }
.prob-chip { background: var(--teal); color: var(--white); font-size: 13px; font-weight: 700; padding: 16px 28px; border-radius: 12px; text-align: center; line-height: 1.4; box-shadow: 0 4px 12px rgba(26,143,160,.18); }
.arrow-down { text-align: center; margin: 24px 0; font-size: 40px; color: var(--teal); opacity: .4; }
.solution-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sol-card { background: var(--white); border-radius: 12px; padding: 20px 28px; display: flex; align-items: center; gap: 14px; border: 2px solid var(--teal-l); min-width: 240px; }
.sol-num { font-size: 28px; font-weight: 900; color: var(--teal); line-height: 1; flex-shrink: 0; }
.sol-txt { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; }

/* ─── TEAM ─── */
#team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.team-card { background: var(--bg); border-radius: 14px; overflow: hidden; text-align: center; }
.team-photo { height: 130px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.team-body { padding: 16px 14px; }
.team-role { display: inline-block; font-size: 10px; font-weight: 700; background: var(--teal-l); color: var(--teal-d); padding: 2px 10px; border-radius: 50px; margin-bottom: 8px; }
.team-name { font-size: 15px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.team-cert { font-size: 11px; color: var(--text-m); margin-bottom: 10px; line-height: 1.5; }
.team-msg { font-size: 12px; color: var(--text-m); line-height: 1.7; text-align: left; }

/* ─── ABOUT ─── */
#about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-table { width: 100%; border-collapse: collapse; }
.about-table tr { border-bottom: 1px solid var(--border); }
.about-table th { padding: 12px 16px 12px 0; font-size: 12px; font-weight: 700; color: var(--teal-d); width: 90px; vertical-align: top; white-space: nowrap; }
.about-table td { padding: 12px 0; font-size: 13px; color: var(--text); }
.map-placeholder { background: var(--bg2); border-radius: 12px; height: 200px; display: flex; align-items: center; justify-content: center; color: var(--text-l); font-size: 13px; border: 1px solid var(--border); }

/* ─── COLUMN ─── */
#column { background: var(--white); }
.col-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.col-card { background: var(--bg); border-radius: 14px; overflow: hidden; transition: transform .18s; }
.col-card:hover { transform: translateY(-3px); }
.col-thumb { height: 110px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.col-body { padding: 16px; }
.col-cat { display: inline-block; font-size: 10px; font-weight: 700; background: var(--teal-l); color: var(--teal-d); padding: 2px 10px; border-radius: 50px; margin-bottom: 8px; }
.col-body h3 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.6; }
.col-date { font-size: 11px; color: var(--text-l); }

/* ─── CONTACT ─── */
#form { background: var(--white); padding: 72px 48px; }
.form-inner { max-width: 660px; margin: 0 auto; }
#form .sec-en { color: var(--text-m); }
#form .sec-sub { color: var(--text-m); font-size: 14px; }
#form .sec-ttl { color: var(--text); }

.reservation-note { background: var(--teal-l); border: 1px solid var(--border); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 10px 10px 0; margin-bottom: 28px; }
.reservation-note p { font-size: 15px; color: var(--text); line-height: 1.8; }
.reservation-note strong { color: var(--teal-d); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group label .req { display: inline-block; font-size: 10px; background: #e74c3c; color: var(--white); padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 15px; font-family: 'Zen Kaku Gothic New', sans-serif; outline: none; transition: border-color .18s; }
.check-group { display: flex; flex-wrap: wrap; gap: 12px; }
.check-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--text); }
.form-group .check-item input { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--teal); cursor: pointer; flex-shrink: 0; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-l); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 110px; resize: vertical; }

.btn-submit { width: 100%; padding: 18px; background: var(--grad); color: var(--white); font-size: 15px; font-weight: 900; border: none; border-radius: 50px; cursor: pointer; font-family: 'Zen Kaku Gothic New', sans-serif; box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: all .18s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.form-tel-note { margin-top: 28px; text-align: center; color: var(--text-m); font-size: 16px; }
.form-tel-note .tel-num { display: block; font-size: 30px; font-weight: 900; color: var(--teal-d); letter-spacing: .08em; margin: 6px 0 4px; }

/* ─── FOOTER ─── */
footer { background: #1c3350; padding: 32px 40px; text-align: center; }
.footer-name { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.footer-addr { font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,.35); text-decoration: none; margin: 0 10px; }
.footer-links a:hover { color: var(--green); }
.footer-copy { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,.25); }

/* ─── FLOW（ご相談の流れ） ─── */
#flow { background: var(--white); }
.flow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; }
.flow-card {
  background: var(--bg); border-radius: 16px; padding: 32px 24px 28px;
  text-align: center; position: relative; border: 1px solid var(--border);
}
.flow-step { display: inline-block; font-size: 11px; font-weight: 900; color: var(--white); background: var(--grad); padding: 4px 16px; border-radius: 50px; letter-spacing: .08em; margin-bottom: 16px; }
.flow-icon { font-size: 40px; margin-bottom: 14px; }
.flow-card h3 { font-size: 16px; font-weight: 900; color: var(--text); margin-bottom: 10px; }
.flow-card p  { font-size: 13px; color: var(--text-m); line-height: 1.75; }
.flow-card:not(:last-child)::after {
  content: '▶'; position: absolute; top: 50%; right: -16px;
  transform: translateY(-50%); color: var(--teal); opacity: .4; font-size: 16px; z-index: 2;
}

/* ─── FAQ ─── */
#faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; }
.faq-item { background: #ffffff; border-radius: 40px; overflow: hidden; box-shadow: 0 6px 20px rgba(58,118,166,.08); }
.faq-q { display: flex; align-items: center; gap: 20px; cursor: pointer; padding: 24px 32px 24px 38px; font-size: 16.5px; font-weight: 700; color: #4b484d; line-height: 1.65; list-style: none; transition: background .18s; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: #f3f8fe; }
.faq-q .qmark { display: none; }
.faq-q .qtxt { flex: 1; }
.faq-q .qarrow { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #6B9CDB; font-size: 0; color: transparent; margin: 0; transition: background .2s; }
.faq-q .qarrow::before, .faq-q .qarrow::after { content: ''; position: absolute; top: 50%; left: 50%; background: #ffffff; border-radius: 2px; transform: translate(-50%,-50%); }
.faq-q .qarrow::before { width: 14px; height: 3px; }
.faq-q .qarrow::after { width: 3px; height: 14px; transition: transform .3s; }
.faq-item[open] .faq-q .qarrow { transform: none; background: #4f82c0; }
.faq-item[open] .faq-q .qarrow::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { display: block; padding: 2px 38px 30px 38px; font-size: 15px; color: #4b484d; line-height: 1.95; }
.faq-a .amark { display: none; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */

/* タブレット（〜1024px） */
@media (max-width: 1024px) {
  #site-header { padding: 0 20px; }
  nav.gnav { display: none; }
  .hamburger { display: flex; }
  .header-tel-wrap { display: none; }

  #hero { padding: 48px 32px 48px; }
  .hero-ttl { font-size: clamp(34px, 6vw, 52px); }
  .hero-badge { min-width: 130px; }

  section { padding: 56px 32px; }

  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .cases-grid     { grid-template-columns: 1fr 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .col-grid       { grid-template-columns: 1fr 1fr; }
  .flow-grid      { grid-template-columns: 1fr; gap: 32px; }
  .flow-card:not(:last-child)::after { content: '▼'; top: auto; bottom: -24px; right: 50%; transform: translateX(50%); }

  #form { padding: 56px 32px; }
}

/* スマートフォン（〜640px） */
@media (max-width: 640px) {
  #site-header { padding: 0 16px; height: 60px; }
  .header-logo .name { font-size: 11px; }
  .btn-cta-header { font-size: 11px; padding: 9px 14px; }
  .sp-nav { top: 60px; }

  #hero { padding: 40px 20px 48px; }
  .hero-ttl { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 13px; }
  .hero-badges { gap: 10px; }
  .hero-badge { font-size: 13px; padding: 14px 18px; min-width: 120px; }
  .hero-cta-wrap { flex-direction: column; }
  .btn-hero-main, .btn-hero-sub { text-align: center; }

  section { padding: 48px 20px; }
  .sec-en { font-size: 22px; }

  .strengths-grid { grid-template-columns: 1fr; }
  .cases-grid     { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .col-grid       { grid-template-columns: 1fr; }

  .solution-grid  { flex-direction: column; }
  .sol-card       { min-width: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .map-placeholder { height: 180px; }

  #form { padding: 48px 20px; }
  footer { padding: 28px 20px; }
}

/* ═══ 親サービスページ専用 ═══ */
/* ページヒーロー */
#page-hero { background: linear-gradient(135deg, #0a6aad 0%, #1489CB 45%, #3ab5d4 100%); padding: 56px 48px; position: relative; overflow: hidden; }
#page-hero.green-hero { background: linear-gradient(135deg, #0f6aaa 0%, #1a8fa0 55%, #3ab5b0 100%); }
#page-hero .ph-tri { position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.05); }
.ph-inner { max-width: 1040px; margin: 0 auto; position: relative; z-index: 1; }
.ph-tag { display: inline-block; background: rgba(255,255,255,.2); color: var(--white); font-size: 13px; font-weight: 700; padding: 6px 18px; border-radius: 50px; margin-bottom: 18px; }
.ph-ttl { font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: var(--white); line-height: 1.35; margin-bottom: 18px; }
.ph-lead { font-size: 15px; color: rgba(255,255,255,.9); line-height: 1.9; margin-bottom: 32px; max-width: 760px; }
.ph-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* 結論サマリー帯 */
#summary { background: var(--teal-l); }
#summary.green-sum { background: var(--green-l); }
.summary-box { max-width: 900px; margin: 0 auto; text-align: center; font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--teal-d); line-height: 1.9; }
#summary.green-sum .summary-box { color: var(--green-d); }

/* お悩み（サービスページ） */
#svc-worries { background: var(--white); }
.worry-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }
.worry-head .sec-ttl { margin: 0; }
.worry-illust-img { width: 200px; flex-shrink: 0; display: block; }
.worry-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
.worry-card { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 22px 26px; font-size: 16.5px; font-weight: 700; color: var(--text); line-height: 1.6; }
.worry-card .wc-icon { flex-shrink: 0; font-size: 24px; }

/* お悩み→解決ブロック */
.solve-box { margin: 0 auto; background: var(--grad); border-radius: 16px; padding: 32px 40px; box-shadow: 0 8px 28px rgba(79,130,192,.25); display: flex; align-items: stretch; gap: 36px; text-align: left; }
.solve-logo { flex-shrink: 0; width: 300px; background: #fff; border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; justify-content: center; }
.solve-logo img { width: 100%; display: block; }
.solve-text { flex: 1; }
.green-solve .solve-box { background: var(--grad-r); box-shadow: 0 8px 28px rgba(20,137,203,.22); }
.solve-box .solve-ttl { font-size: clamp(18px,2.4vw,24px); font-weight: 900; color: var(--white); margin-bottom: 14px; line-height: 1.5; }
.solve-box .solve-txt { font-size: 14.5px; color: rgba(255,255,255,.95); line-height: 1.95; }

/* 解説 */
#explain { background: var(--bg); }
.explain-box { max-width: 1040px; margin: 0 auto; background: var(--white); border-radius: 16px; padding: 36px 44px; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.explain-box p { font-size: 15px; color: var(--text); line-height: 2; margin-bottom: 16px; }
.explain-box p:last-child { margin-bottom: 0; }
.explain-box .hl { background: linear-gradient(transparent 60%, rgba(20,137,203,.2) 60%); font-weight: 700; }

/* 4つの詳細サービス */
#detail-svc { background: var(--white); }
.dsvc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.dsvc-card { background: #598BC8; color: var(--white); border-radius: 24px; padding: 36px 34px; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; box-shadow: 0 8px 26px rgba(79,130,192,.2); }
.dsvc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(79,130,192,.26); }
.dsvc-card h3 { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: .06em; margin-bottom: 14px; }
.dsvc-card p { font-size: 14.5px; color: rgba(255,255,255,.92); line-height: 1.9; margin-bottom: 24px; flex: 1; }
.dsvc-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; background: var(--white); color: var(--green-d); font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 13px 30px; border-radius: 50px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.14); transition: transform .18s, opacity .18s; }
.dsvc-link:hover { transform: translateY(-2px); }

/* 料金表 */
#price { background: var(--bg); }
.price-table { width: 100%; max-width: 720px; margin: 0 auto; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.price-table th { background: var(--teal); color: var(--white); font-size: 16px; font-weight: 700; padding: 18px 26px; text-align: left; }
.green-price .price-table th { background: var(--green); }
.price-table td { padding: 18px 26px; font-size: 16.5px; color: var(--text); border-bottom: 1px solid var(--border); }
.price-table td.price-val { text-align: right; font-weight: 700; color: var(--teal-d); white-space: nowrap; }
.green-price .price-table td.price-val { color: var(--green-d); }
.price-table tr:last-child td { border-bottom: none; }
.price-note { max-width: 720px; margin: 16px auto 0; font-size: 13.5px; color: var(--text-m); line-height: 1.8; }

/* 対応の流れ（ステップ縦型・サービスページ用） */
#svc-flow { background: var(--white); }
.sflow-list { max-width: 1000px; margin: 0 auto; position: relative; }
.sflow-list::before { content: ''; position: absolute; left: 44px; top: 24px; bottom: 44px; width: 4px; background: #d5d2ca; }
.sflow-item { display: grid; grid-template-columns: 90px 1fr; gap: 36px; align-items: start; margin-top: 26px; position: relative; }
.sflow-item:first-child { margin-top: 0; }
.sflow-num { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--en); font-weight: 800; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto; position: relative; z-index: 1; }
.sflow-body { background: #edece7; border-radius: 24px; padding: 28px 40px 30px; }
.sflow-body h3 { font-size: 20px; font-weight: 900; letter-spacing: .08em; color: var(--text); padding-bottom: 14px; border-bottom: 1px solid #cfccc4; margin-bottom: 0; }
.sflow-body p { font-size: 14.5px; color: var(--text-m); line-height: 1.9; margin-top: 14px; }

/* パンくず */
.breadcrumb { max-width: 1040px; margin: 0 auto; padding: 14px 48px; font-size: 12px; color: var(--text-m); }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  #page-hero { padding: 44px 32px; }
  .breadcrumb { padding: 12px 32px; }
  .dsvc-grid { grid-template-columns: 1fr; }
  .worry-list { grid-template-columns: 1fr; }
  .solve-box { flex-direction: column; text-align: center; gap: 20px; }
  .solve-logo { width: 200px; }
}
@media (max-width: 640px) {
  #page-hero { padding: 36px 20px; }
  .breadcrumb { padding: 10px 20px; }
  .explain-box { padding: 24px 20px; }
  .ph-cta { flex-direction: column; align-items: stretch; }
}


/* ===== 遺言書作成ページ追加 ===== */
#will-types { background: var(--white); }
.will-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.will-card { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 40px 40px; position: relative; overflow: hidden; }
.will-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--teal-l); }
.will-card h3 { font-size: 23px; font-weight: 900; color: var(--green-d); letter-spacing: .04em; margin-bottom: 20px; }
.will-card .wc-row { font-size: 14px; color: var(--text); line-height: 1.85; margin-bottom: 16px; }
.will-card .wc-row:last-child { margin-bottom: 0; }
.will-card .wc-row b { display: inline-block; font-size: 15px; font-weight: 900; color: #fff; border-radius: 5px; padding: 3px 14px; margin-right: 10px; }
.will-card .wc-row.merit b { background: #FDCA89; color: #8a4e12; }
.will-card .wc-row.demerit b { background: #a9b0b8; }
@media (max-width: 700px) { .will-compare { grid-template-columns: 1fr; } }
/* ページタイトル帯（Bパターン・細い青帯） */
#page-title { padding: 0 0 22px; text-align: center; }
.pt-ttl { background: var(--teal-l); color: var(--green-d); font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; letter-spacing: .1em; padding: 20px 24px; border-bottom: 3px solid #4F8FDA; border-image: var(--rainbow) 1; }

/* タイトル上の地域表記（本文サイズ） */
.pt-region { display:block; font-size:15px; font-weight:400; letter-spacing:.04em; color:var(--green-d); margin:0 0 8px; }
