  :root {
    --brand-green: #2e7d32;
    --brand-green-dark: #1b5e20;
    --brand-green-light: #4caf50;
    --brand-green-pale: #e8f5e9;
    --accent-gold: #c69c3f;
    --accent-gold-light: #f5e6c8;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5e;
    --text-muted: #8a8a9e;
    --bg-cream: #faf8f5;
    --bg-white: #ffffff;
    --bg-warm-gray: #f5f3f0;
    --border-light: #e8e6e3;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --fp-color: #2e7d32;
    --loan-color: #1565c0;
    --inherit-color: #6a1b9a;
    --tax-color: #c62828;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  a{ text-decoration: none;}

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    background-color: #FFF;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .ic-window{
    width : 1em;
    height: 1em;
    margin-left: 3px;
    background: url(../img/ic_window.svg) center center / 100% auto no-repeat;
    display: inline-block;
    vertical-align: middle;
  }

  /* ========== ヘッダー ========== */
  .site-header {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  .logo img{
    width: auto;
    height: clamp(30px, 5vw, 50px);
  }
  .header-tel {
    font-size: clamp(10px, 1.4vw, 14px);
    text-align: right;
    line-height: 1;
    color: var(--text-secondary);
  }
  .header-tel strong {
    font-size: clamp(25px, 4vw, 40px);
    font-weight: bold;
    color: #009c86;
    letter-spacing: 1px;
  }
  .header-tel a {
    color: #009c86;
  }
  
  .header-tel .material-symbols-outlined{
    font-size: clamp(25px, 4vw, 35px);
    vertical-align: sub;
    color: #009c86;
  }
  .cta-band .material-symbols-outlined{
    font-size: clamp(25px, 4vw, 40px);
    color: #FFF;
  }


  /* ========== ページセクション制御 ========== */
  .page-section { display: none; }
  .page-section.active { display: block; }


  /* ========== トップページ ヒーロー ========== */
  .hero {
    background: url(../img/top_hero_bg.svg) top center / auto 100% no-repeat #edf1b0;
    color: white;
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  }
  .hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .hero-label {
    display: inline-block;
    background: #009c86;
    backdrop-filter: blur(8px);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
    color: #FFF;
  }
  .hero h1 {
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #009c86;
  }
  .hero p {
    margin: 0 auto;
    padding-bottom: 30px;
    max-width: 600px;
    font-size: clamp(12px, 1.6vw, 16px);
    line-height: 1.9;
    opacity: 0.92;
    color: #333;
  }

  /* ========== 相談メニューカード（トップページ） ========== */
  .menu-section {
    max-width: 1100px;
    margin: -40px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 2;
  }
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .menu-card {
    padding: 30px 40px 50px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
  }
  .menu-card[data-type="fp"]     { border-top: 3px solid var(--fp-color);}
  .menu-card[data-type="loan"]   { border-top: 3px solid var(--loan-color);}
  .menu-card[data-type="inherit"]{ border-top: 3px solid var(--inherit-color);}
  .menu-card[data-type="tax"]    { border-top: 3px solid var(--tax-color);}
  
  .menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .menu-card[data-type="fp"]:hover     { border-color: var(--fp-color); }
  .menu-card[data-type="loan"]:hover   { border-color: var(--loan-color); }
  .menu-card[data-type="inherit"]:hover{ border-color: var(--inherit-color); }
  .menu-card[data-type="tax"]:hover    { border-color: var(--tax-color); }

  .menu-card-img {
    width : 100%;
    height: clamp(100px, 30vw, 200px);
    margin-bottom: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .menu-card-img img {
    width : 100%;
    height: 100%;
    object-fit: cover;
  }

  .menu-card h3 {
    padding-bottom: 30px;
    text-align: center;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
  }
  .menu-card[data-type="fp"] h3     { color: var(--fp-color); }
  .menu-card[data-type="loan"] h3   { color: var(--loan-color); }
  .menu-card[data-type="inherit"] h3{ color: var(--inherit-color); }
  .menu-card[data-type="tax"] h3    { color: var(--tax-color); }

  .menu-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
  }
  .menu-card-arrow {
    width : 40px;
    height: 40px;
    position: absolute;
    bottom: 15px;
    right : 20px;
    font-size: 30px;
    transition: all 0.3s;
    line-height: 35px;
    text-align: center;
    background: #FFF;
    border-radius: 50%;
    color: #FFF;
  }
  .menu-card[data-type="fp"] .menu-card-arrow     { background: var(--fp-color); }
  .menu-card[data-type="loan"] .menu-card-arrow   { background: var(--loan-color); }
  .menu-card[data-type="inherit"] .menu-card-arrow{ background: var(--inherit-color); }
  .menu-card[data-type="tax"] .menu-card-arrow    { background: var(--tax-color); }
  
  .menu-card:hover .menu-card-arrow {
    opacity: 0.8;
    transform: translateX(2px);
  }

  /* ========== 安心ポイント（トップページ） ========== */
  .trust-section {
    padding: 0 24px 100px;
  }
  .trust-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }
  .trust-inner h2 {
    font-size: clamp(25px, 4vw, 40px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    color: #009c86;
  }
  .trust-inner h2 br {
    display: none;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    text-align: center;
  }
  .trust-item {
    padding: 20px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    background: #edf1b0;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
  .trust-item .trust-num {
    font-size: clamp(24px, 3vw, 35px);
    font-weight: 900;
    color: #009c86;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .trust-item .trust-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
  }

  .trust-h2{
    position: relative;
  }
  .trust-h2:before,
  .trust-h2:after{
    content: "";
    width : 60px;
    height: 55px;
    display: inline-block;
    vertical-align: middle;
  }
  .trust-h2:before {
    margin-right: 5px;
    background: url(../img/top_riyu_01.svg) top center/ auto 100% no-repeat;
  }
  .trust-h2:after{ 
    margin-left: 5px;
    background: url(../img/top_riyu_02.svg) top center/ auto 100% no-repeat;
  }


  @media (max-width: 600px) {
    .trust-h2:before,.trust-h2:after{ content: ""; position: absolute; bottom: -60px;}
    .trust-h2:before { margin-right: 0; left: 0;}
    .trust-h2:after  { margin-left : 0; right: 0;}
  }


  .trust-img{
    content: "";
    position: absolute;
    left  : 0;
    bottom: 0;
    width : 60px;
    height: 55px;
    display: block;
  }
  .trust-img.type_after{
    left: inherit;
    right: 0;
  }
  .trust-img img{
    width: auto;
    height: 100%;
  }

  /* ========== 個別ページ共通 ========== */
  .detail-hero {
    width : 100%;
    height: 250px;
    padding: 50px 20px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
  }
  .detail-hero[data-type="fp"]{ background: url(../img/detail_hero_fp.jpg) center center / cover no-repeat;}
  .detail-hero[data-type="loan"]{ background: url(../img/detail_hero_loan.jpg) center center / cover no-repeat;}
  .detail-hero[data-type="inherit"]{ background: url(../img/detail_hero_inherit.jpg) center center / cover no-repeat;}
  .detail-hero[data-type="tax"]{ background: url(../img/detail_hero_tax.jpg) center center / cover no-repeat;}

  .detail-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,156,134,0.7);
    z-index: 0;
  }
  .detail-hero * {
    position: relative;
    z-index: 1;
  }
  .detail-hero .back-link {
    position: absolute;
    top: 10px; left: 24px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
  }
  .detail-hero .back-link:hover { color: white; }
  .detail-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
  }
  .detail-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(14px, 2vw, 16px);
    opacity: 0.9;
    line-height: 1.5;
  }

  .detail-ttl-nayami,
  .detail-ttl-kaiketu,
  .detail-ttl-contact{
    position: relative;
  }
  .detail-ttl-nayami:before,
  .detail-ttl-kaiketu:before,
  .detail-ttl-contact:before{
    content: "";
    width : 50px;
    height: 50px;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
  }
  .detail-ttl-nayami:before { background: url(../img/detail_troubles_ic.svg) top left / 100% auto no-repeat;}
  .detail-ttl-kaiketu:before{ background: url(../img/detail_solutions_ic.svg) top left / 100% auto no-repeat;}
  .detail-ttl-contact:before{ background: url(../img/detail_contact_ic.svg) top left / 100% auto no-repeat;}


  /* ========== 悩み解決セクション ========== */
  .troubles-section{
    width: 100%;
     background-color: #e7eff9;   
  }
  .troubles-section-in {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px 180px;
    background: url(../img/detail_trouble_img.svg) bottom 20px center/ auto 200px no-repeat;
  }
  .troubles-section-in h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
  }
  .trouble-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
  }
  .trouble-item {
    height: 115px;
    background:
      url(../img/detail_trouble_bg.svg) calc(50% - 25%) center / auto 100% no-repeat,
      url(../img/detail_trouble_bg.svg) center center / auto 100% no-repeat,
      url(../img/detail_trouble_bg.svg) calc(50% + 25%) center / auto 100% no-repeat;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .trouble-check {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: white;
    margin-top: 2px;
  }
  #FP .trouble-check { background: var(--fp-color); }
  #LOAN .trouble-check { background: var(--loan-color); }
  #INHERIT .trouble-check { background: var(--inherit-color); }
  #TAX .trouble-check { background: var(--tax-color); }

  .trouble-item p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* ========== 解決できること ========== */
  .solutions-section {
    padding: 60px 24px;
    background: #fcffe5;
  }
  .solutions-inner {
    max-width: 900px;
    margin: 0 auto;
  }
  .solutions-inner h2 {
    margin-bottom: 36px;
    font-size: clamp(19px, 3vw, 28px);
    font-weight: 700;
    text-align: center;
  }
  .solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  .solution-card {
    padding: 50px 24px 40px;
    background: var(--bg-white);
    border-radius: 200px 200px 20px 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
  }
  .solution-card .sol-icon {
    width : 80px;
    height: 80px;
    margin-bottom: 20px;
    display: inline-block;
  }
  .solution-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  .solution-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
  }

  /* ========== 問合せフォーム ========== */
  .form-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 24px 80px;
  }
  .form-section h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
  }
  .form-section .form-lead {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 36px;
  }
  .form-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
  }
  .form-box-comptxt{
    width: 100%;
    margin-top: 30px;
  }
  .form-box-comptxt>dt{
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    background-color: #edf1b0;
  }
  .form-box-comptxt>dd{
    padding: 20px;
    border-radius: 0 0 10px 10px;
    background-color: #f3f5e1;
  }
  .form-group {
    margin-bottom: 24px;
  }
  .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
  }
  .form-group label .required {
    background: var(--tax-color);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--bg-cream);
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    background: var(--bg-white);
  }
  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  .form-privacy a {
    padding-right: 5px;
    color: #009c86;
  }
  .form-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px;
    background: #009c86;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
  }
  .form-submit:hover {
    background: #004e43;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* ========== フッター ========== */
  .site-footer {
    background: #004e43;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 20px 10px;
  }
  .site-footer-link{
    gap: 10px;
    display: flex;
    justify-content: center;
    font-size: 13px;
  }
  .site-footer-link a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
  }
  .site-footer-copy{
    margin-top: 10px;
    font-size: clamp(10px, 1.2vw, 12px);
  }


  /* ========== CTA帯 ========== */
  .cta-band {
    background: #009c86;
    color: white;
    text-align: center;
    padding: 40px 24px;
  }
  .cta-band h3 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    margin-bottom: 6px;
  }
  .cta-band p {
    font-size: 14px;
    opacity: 0.9;
  }
  .cta-band .cta-tel {
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
  }
  .cta-band .cta-tel a {
     color: #FFF;   
  }
  .cta-band .cta-hours {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
  }
  .cta-band-in{
    margin: 0 auto;
    display: inline-block;
    position: relative;
  }
  
  .cta-band-in:before,
  .cta-band-in:after{
    content: "";
    width : 150px;
    aspect-ratio: 3 / 4;
    display: block;
    position: absolute;
    bottom : -40px;
  }
  .cta-band-in:before{
    left   : -170px;
    background: url(../img/footer_img_01.svg) bottom left / auto 100% no-repeat;
  }
  .cta-band-in:after{
    right   : -170px;
    background: url(../img/footer_img_02.svg) bottom left / auto 100% no-repeat;
  }

  #page-top{
    position: relative;
  }
  #page-top:before{
    content: "";
    position: absolute;
    width : 100%;
    height: 70px;
    background-color: #edf1b0;
    display: block;
    top : -70px;
    left: 0;
  }


  /* ========== レスポンシブ ========== */
  @media (max-width: 600px) {
    .hero { padding: 20px 4vw 30px; background: url(../img/top_hero_bg.svg) top center / 185% auto no-repeat #edf1b0; }
    .hero-label { font-size: 14px;}
    .menu-section { padding: 0 16px 60px; }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-card { padding: 20px 30px 45px;}
    .menu-card h3 { padding-bottom: 20px; font-size: 20px;}
    .cta-band-in:before,.cta-band-in:after{ width : 70px;}
    .cta-band-in:before{ left :-30px;}
    .cta-band-in:after { right:-30px;}
    .trust-section { padding: 0 20px 70px;}
    .troubles-section-in { padding: 30px 24px 120px;}
    .troubles-section-in h2 { margin-bottom: 20px;}
    .troubles-section-in { background: url(../img/detail_trouble_img.svg) bottom 20px center/ auto 150px no-repeat;}
    .solutions-section { padding: 30px 20px;}
    .solutions-inner h2 { margin-bottom: 20px;}
    .solution-card { padding: 30px 20px; border-radius: 20px;}
    .solution-card h4 { margin-bottom: 5px;}
    .solution-card .sol-icon { width : 50px; height: 50px; margin-bottom: 10px;}
    .trust-grid { grid-template-columns: inherit;}
    .trust-inner h2 br { display: inherit;}
    .trust-item{ width: 70%; margin: 0 auto;}
    .detail-hero { height: 200px;}
    .detail-ttl-nayami:before,
    .detail-ttl-kaiketu:before,
    .detail-ttl-contact:before { width: 30px; height: 30px;}
    .trouble-list { gap: inherit;}
    .trouble-item {
      height: inherit;
      background:
        url(../img/detail_trouble_bg.svg) left center / 50% 100% no-repeat,
        url(../img/detail_trouble_bg.svg) center center / 50% 100% no-repeat,
        url(../img/detail_trouble_bg.svg) right center / 50% 100% no-repeat;
    }
    .form-section { padding: 30px 20px 50px}
    .form-row { grid-template-columns: 1fr; }
    .form-box { padding: 20px; }
    .form-group { margin-bottom: 15px;}
    .form-row { gap: inherit;}
    .form-privacy{ text-align: left;}
    .form-section .form-lead { margin-bottom: 20px;}
  }