/*
Theme Name: 白旗税理士事務所
Description:白旗税理士事務所
Theme URI:
Author: roks
Author URI: http://roks.jp/
Version: 0.1
License:
License URI:
*/

/* ===== Base ===== */
    html{
      scroll-behavior: smooth;
    }
    :root{
      --brand-navy:#1f2f4a;
      --brand-blue:#2f7da4;
      --brand-gold:#b08a2e;
      --bg-soft:#f5f7fb;
    }
    body{ color:#1b1f24; }
    a{ color:inherit; }

    /* ===== Font ===== */
    body{
    font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    }

    .sp{ display:none; }
    @media screen and (max-width: 1000px) {
    .pc{ display:none; }
    .sp{ display:block; }
    }

    /* 見出し・タイトル系 */
    h1, h2, h3, h4,
    .header-title,
    .sp-title,
    .section-title,
    .hero-title{
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    letter-spacing: .05em;
    }


    /* ===== Utilities ===== */
    .section{ padding: 72px 0; }
    @media (max-width: 767.98px){
      .section{ padding: 56px 0; }
    }
    .section-title{
      font-weight: 700;
      letter-spacing: .04em;
    }
    .section-lead{
      color:#5b6675;
      font-size:.95rem;
    }
    .section-lead-white{
      color:#fff;
      font-size:.95rem;
    }

    /* ===== Header ===== */
    .site-header{
      position: sticky;
      top:0;
      z-index: 1030;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(6px);
    }
    .header-brand{
      font-weight: 700;
      letter-spacing: .02em;
    }
    /* ===== Header (PC) ===== */
    .header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    }

    .header-logo{
    line-height: 1.3;
    }

    .header-catch{
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
    }

    .header-title{
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .05em;
    margin: 0;
    }
     .header-title a{text-decoration: none;}

    /* ナビ */
    .header-nav-list{
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    }

    .header-nav-list li{
    position: relative;
    padding-right: 20px;
    }

    .header-nav-list li:not(:last-child)::after{
    content: "|";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #c4c7cc;
    font-size: 14px;
    }

    .header-nav-list a{
      position: relative;
      display: inline-block; /* ←これ重要 */
      text-decoration: none;
      font-size: 15px;
      color: #1f2937;
      font-weight: 400;
      padding: 4px 2px;
      transition: color .2s ease;
    }

    .header-nav-list a::after{
      content: "";
      position: absolute;
      left: 50%;
      bottom: -2px;
      width: 0;
      height: 1px;
      background: #b08a2e; /* ゴールド寄り */
      transform: translateX(-50%);
      transition: width .25s ease;
    }

    .header-nav-list a:hover{
      color: #1f2f4a;
      text-decoration: none; /* underline消す */
    }

    .header-nav-list a:hover::after{
      width: 100%;
    }
    /* ===== SP Page Title ===== */
    .sp-page-title .container{
    padding: 14px 10px 12px;
    }

    .sp-catch{padding:0; margin: 0;}
    .sp-title{
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .05em;
    margin: 0;
    line-height: 1.3;
    }


    /* ===== Mobile bottom nav ===== */
    :root{
    --spnav-h: 64px;
    }

    .mobile-bottom-nav{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,.08);
    }

    .mobile-bottom-nav__inner{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr .8fr;
    height: var(--spnav-h);
    }

    .mobile-bottom-nav__item{
    position: relative;
    appearance: none;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 6px 4px;
    text-decoration: none;
    color: #1f2f4a;
    font-weight: 600;
    }
    
    #spDrawer.offcanvas-bottom{
      --bs-offcanvas-height: 45vh;
    }
    /* 中身が多い時は中だけスクロール */
    #spDrawer .offcanvas-body{
      overflow-y: auto;
    }

    /* 最後以外に縦線 */
    .mobile-bottom-nav__item:not(:last-child)::after{
      content: "";
      position: absolute;
      top: 12px;
      bottom: 12px;
      right: 0;
      width: 1px;
      background: rgba(31,47,74,.15);
    }
    .mobile-bottom-nav__icon{
    font-size: 18px;
    line-height: 1;
    }

    .mobile-bottom-nav__label{
    font-size: 14px;
    line-height: 1.1;
    opacity: .85;
    }

    .mobile-bottom-nav__item.is-cta{
    background: linear-gradient(180deg, #c6a742 0%, #b08a2e 100%);
    color: #fff;
    }

    .mobile-bottom-nav__item.is-cta .mobile-bottom-nav__label{
    opacity: .95;
    }

    /* SPのときだけ、下固定バーの高さぶん余白を足して本文が隠れないように */
    @media (max-width: 991.98px){
    body{
        padding-bottom: calc(var(--spnav-h) );
    }
    }

    /* Offcanvas（下ドロワー）を少し“それっぽく” */
    .sp-drawer{
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    }

    /* ===== Hero ===== */
    .hero{
      background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
      overflow: hidden;
    }
    .hero-title{
      font-weight: 800;
      letter-spacing: .02em;
      color: var(--brand-navy);
      line-height: 1.25;
    }
    .hero-sub{
      color:#4b586a;
    }

    /*お問い合わせボタン*/
    .cta-block{
      padding: 60px 20px;
    }

    .cta-lead{
      color: rgba(255,255,255,.9);
      font-size: 14px;
      line-height: 1.9;
      margin-bottom: 28px;
      letter-spacing: .08em;
    }
    .cta-lead-large{
      color: rgba(255,255,255,.9);
      font-size: 18px;
      line-height: 1.9;
      margin-bottom: 28px;
      letter-spacing: .08em;
    }

  .btn-cta{
    background: linear-gradient(
      180deg,
      #c6a742 0%,
      #b08a2e 100%
    );
    border: none;
    color:#fff;
    font-weight: 700;
    padding: 1.2rem 4.4rem;
    border-radius: 2px;
    letter-spacing: .1em;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
  }
  .btn-cta::before{
    content:"";
    position:absolute;
    top:0;
    left:-60%;
    width:40%;
    height:100%;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,.5) 0%,
      rgba(255,255,255,0) 70%
    );
    transform: skewX(-20deg);
    transition: left .6s ease;
  }

  .btn-cta:hover::before{
    left:120%;
  }

  .btn-cta:hover{
    transform: translateY(2px);
    color:#fff;
  }

    @media (max-width: 575.98px){
       .cta-lead-large{padding:0 40px;}
    }


    /* ===== Hero background ===== */
    .hero-bg{
    position: relative;
    background-image: url("images/building_bg.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    }

    /* 白っぽくフェードさせるレイヤー */
    .hero-bg::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.85) 0%,
        rgba(255,255,255,.72) 45%,
        rgba(255,255,255,.55) 70%,
        rgba(255,255,255,.30) 100%
    );
    z-index: 0;
    }

    /* hero内のコンテンツを前面に */
    .hero-bg > .container{
    position: relative;
    z-index: 1;
    }
    @media (max-width: 575.98px){


    .hero-bg::before{
        background: rgba(255,255,255,.94);
    }
    }


    /* ===== Hero Catch ===== */
    .hero-catch{
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    font-size: clamp(42px, 6vw, 83px);
    line-height: 1.35;
    letter-spacing: -.02em;
    color: #1f2f4a;
    }

    /* 助詞だけ小さく */
    .hero-particle{
    font-size: .85em;
    letter-spacing: .02em;
    margin: 0 .08em;
    }
    /* ===== Custom ratio ===== */
    .ratio-5x6{
    --bs-aspect-ratio: calc(6 / 5 * 100%);
    }
    /* ===== Hero meta lines ===== */
    .hero-meta{
    margin-top: 14px;
    }

    .hero-meta__row{
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    }

    .hero-meta__row--top{
    color: #1f2f4a;
    }

    .hero-meta__jp{
    font-family: "Zen Kaku Gothic New", sans-serif; /* ここはゴシックでOK */
    font-weight: 700;
    font-size: 30px;
    letter-spacing: .04em;
    }

    .hero-meta__en{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -.03em;
    color: #2b3a55;
    }

    .hero-meta__sep{
    color: rgba(31,47,74,.55);
    font-size: 30px;
    transform: translateY(-1px);
    }

    .hero-meta__row--bottom{
    margin-top: 10px;
    }

    .hero-meta__gold{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: .04em;
    color: #b08a2e; /* ゴールド */
    }

    .hero-meta__sep--gold{
    color: rgba(176,138,46,.75);
    }

    /* ===== SP調整 ===== */
    @media (max-width: 575.98px){
    .hero-meta__jp{ font-size: 18px; }
    .hero-meta__en{ font-size: 14px; }
    .hero-meta__gold{ font-size: 18px; }
    .hero-meta__sep{ font-size: 14px; }
    }

    /* ===== Section title ===== */
    .section-ttl{
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: "Zen Old Mincho", serif;
      font-weight: 600;
      font-size: clamp(26px, 3.8vw, 48px);
      letter-spacing: .12em;
      color: #1f2f4a;
    }
    .section-ttl-white{
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: "Zen Old Mincho", serif;
      font-weight: 600;
      font-size: clamp(26px, 3.8vw, 48px);
      letter-spacing: .12em;
      color: #ffffff;
    }

    /* 画像付きバージョン */
    .section-ttl--imgline::before,
    .section-ttl--imgline::after,
    .section-ttl--imgline-white::before,
    .section-ttl--imgline-white::after{
      content: "";
      display: inline-block;
      width: 200px;                 /* ← 画像の表示幅 */
      height: 10px;                 /* ← 画像の表示高さ */
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      flex-shrink: 0;
    }

    /* 左画像 */
    .section-ttl--imgline::before{
      margin-right: 18px;
      background-image: url("images/title-left-line.png");
    }

    /* 右画像 */
    .section-ttl--imgline::after{
      margin-left: 18px;
      background-image: url("images/title-right-line.png");
    }

    .section-ttl--imgline-white::before{
      margin-right: 18px;
      background-image: url("images/title-left-line-white.png");
    }

    /* 右画像 */
    .section-ttl--imgline-white::after{
      margin-left: 18px;
      background-image: url("images/title-right-line-white.png");
    }

    @media (max-width: 575.98px){
    .section-ttl{
      display: block;
      padding-bottom:20px;
      margin-bottom: 30px;
      background: url("images/title-sp-line.png") no-repeat bottom;
    }
    .section-ttl-white{
      display: block;
      padding-bottom:20px;
      margin-bottom: 30px;
      background: url("images/title-sp-line-white.png") no-repeat bottom;
    }
    .section-ttl--imgline::before,.section-ttl--imgline::after,.section-ttl--imgline-white::before,.section-ttl--imgline-white::after{
      margin: 0;
      background-image: none;
      width:0;
      height:0;
    }

    }


  /* ===== Voice section background ===== */
  .voice{
    position: relative;
    color: #fff;
    background: #f0f5fb url("images/stripe_bg.png") ;
    overflow: hidden;
  }


.voice-bg{
  position: relative;
  padding: 40px 50px;
  overflow: hidden;
}

/* 上帯 */
.voice-bg::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: 140px;         /* ← 上の帯の高さ（好みで） */
  background: #15233c url("images/stripe_navy_bg.png") ;
  z-index: 0;
}

/* 下帯 */
.voice-bg::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 140px;         /* ← 下の帯の高さ（好みで） */
  background: #15233c url("images/stripe_navy_bg.png") ;
  z-index: 0;
}

  /* 中身前面 */
  .voice > .container{
    position: relative;
    z-index: 1;
  }
  @media (max-width: 575.98px){

    .voice-bg{ padding: 40px 20px; }

  }


  /* ===== Voice card ===== */
  .voice-card{
    position: relative;
    background: #fff;
    color: #1f2937;
    border-radius: 14px;
    padding: 10px 0 20px 20px;
    height: 100%;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .25s ease, filter .25s ease;
    filter: drop-shadow(5px 5px 0 rgba(214,214,208,.7));
    will-change: transform;
    z-index: 1;
  }
  .voice-card:hover{
    transform: translateY(-4px);
    filter: drop-shadow(10px 10px 0 rgba(214,214,208,.7));
  }

  /* 見出し */
.voice-card__head{
  position: relative;
  padding-left: 42px;   /* ← 引用符ぶん */
  padding-top: 6px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(176,138,46,.65);
}
  /* 引用符 */
  .voice-card__quote{
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 68px;
    line-height: 1;
    color: #b08a2e;
    opacity: .9;
  }


  .voice-card__title{
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.55;
    margin: 0;
    color: #79630d;
  }

  /* 本文 */
  .voice-card__body p{
    font-size: 16px;
    line-height: 1.9;
    margin: 15px 20px 20px 10px;
    color: #334155;
  }

  /* 署名（右下） */
  .voice-card__foot{
    margin: 10px 20px 0;
    font-size: 14px;
    color: #b08a2e;
    font-weight: 600;
    text-align: right;
  }

  /* SP調整 */
  @media (max-width: 575.98px){
    .voice-card{
      padding: 20px 10px;
      box-shadow: 0 12px 0 rgba(0,0,0,.18);
    }
    .voice-card__quote{
      font-size: 46px;
    }
    .voice-card__head{
      padding-left: 28px;
    }
    .voice-card__title{
      font-size: 18px;
    }
  }


    /* ===== Fade Up ===== */
    .fade-up{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease, transform .8s ease;
    }

    .fade-up.is-show{
    opacity: 1;
    transform: translateY(0);
    }


/* ===== Reason cards ===== */
  .reason{
    background: #f0f5fb url("images/building_bg.jpg") right bottom;
    background-size: 100%;
    overflow: hidden;
  }

.card-soft{ border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.06); border-radius: 14px; }
.reason-card{
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}
.reason-card:hover{
  transform: translateY(-4px);
  filter: drop-shadow(10px 10px 0 rgba(214,214,208,.7));
}

/* 左の縦ライン（ゴールド） */
.reason-card::before{
  content:"";
  position:absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 6px;
  border-radius: 6px;
  background: #b08a2e;
}

/* テキストをライン分だけ右へ */
.reason-card__title,
.reason-card__text{
  padding-left: 28px; /* ←ここで調整（ライン＋余白） */
}

.reason-card__title{
  font-family: "Zen Old Mincho", serif; /* 見出しを明朝に寄せるなら */
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .08em;
  color: #1f2f4a;
}

.reason-card__text{
  font-size: 18px;
  line-height: 1.9;
  color: #334155;
}

@media (max-width: 575.98px){
  .reason-card::before{
    left: 14px;
    top: 16px;
    bottom: 16px;
    width: 5px;
  }
  .reason-card__title,
  .reason-card__text{
    padding-left: 24px;
  }
  .reason-card__title{
    font-size: 20px;
  }
}


    /* ===== Floating CTA ===== */
.floating-cta{
  position: fixed;
  right: 0;
  bottom: 120px;
  z-index: 1040;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(180deg,#c6a742 0%,#b08a2e 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 14px;
  padding: 20px 14px;
  border-radius: 8px 0 0 8px;
  transition: all .25s ease;
  overflow: hidden; /* ←重要 */
}

.floating-cta::before{
  content:"";
  position:absolute;
  top:-20%;
  left:-140%;
  width:60%;
  height:140%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.55) 45%,
    rgba(255,255,255,0) 90%
  );
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}

.floating-cta:hover::before{
  left:200%;
}

.floating-cta:hover{
  color:#fff;
}
/* ===== Service panel ===== */
.service-panel{
  position: relative;
  display: block;
  height: 100%;
  padding: 32px 24px 48px;
  background: #f0f5fb url("images/stripe_bg.png") ;
  border-radius: 16px;
  text-align: center;
  color: #1f2f4a;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* hover */
.service-panel:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
}

/* icon */
.service-panel__icon{
  margin-bottom: 18px;
}
.service-panel__icon img{
  width: 120px;
  height: auto;
}

/* title */
.service-panel__title{
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .08em;
  margin-bottom: 36px;
}

/* list */
.service-panel__list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-panel__list li{
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

/* gold arrow ▼ */
.service-panel__arrow{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 0;
  height: 0;

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #b08a2e;
}

/* hoverで少し動かす */
.service-panel:hover .service-panel__arrow{
  transform: translateX(-50%) translateY(4px);
}

/* SP */
@media (max-width: 575.98px){
  .service-panel{
    padding: 28px 20px 44px;
  }
  .service-panel__icon img{
    width: 64px;
  }
  .service-panel__title{
    font-size: 20px;
  }
}

/* ===== Flow panel ===== */
.band-dark{
  background: #15233c url("images/stripe_navy_bg.png") ;
}

/* 全体 */
.flow{
  display: flex;
  overflow: hidden; /* 隙間なし */
}

/* 各ボックス */
.flow-item{
  position: relative;
  flex: 1;
  padding: 20px;
  background: linear-gradient(90deg, #ffffff 0%, #eef3f8 100%);
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}
.flow-item:hover{
  transform: translateY(-4px);
}

/* 最後だけ解除 */
.flow-item.is-last{
  background: #ffffff;
}

/* ＞ マーク */
.flow-item::after{
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-top: 1px solid #555555;
  border-right: 1px solid #555555;
  transform: translateY(-50%) rotate(45deg);
  opacity: .7;
}

/* 最後は ＞ なし */
.flow-item.is-last::after{
  content: none;
}
.flow-step{
  font-size: 22px;
  letter-spacing: .1em;
  display: block;
  text-align: center;          /* 中央寄せ */
  font-family: "Zen Old Mincho", serif;
  letter-spacing: .12em;
  color: #12354f;
  margin-bottom: 6px;
}
.flow-step__num{
  font-size: 32px;
  letter-spacing: .08em;
  padding-left:5px;
}

.flow-title{
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #12354f;
}

.flow-text{
  padding-top:10px;
  margin-bottom:0;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}
@media (max-width: 767.98px){
  .flow{
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }

  .flow-item::after{
    right: 50%;
    bottom: 12px;
    top: auto;
    transform: translateX(50%) rotate(135deg);
  }

  .flow-item.is-last{
    background: #ffffff;
  }

  .flow-item.is-last::after{
    content: none;
  }
}

/*代表プロフィール*/
  .profile-ttl{
    display: flex;
    align-items: center;
    gap: 20px;
    letter-spacing: -0.2rem;
    font-family: "Zen Old Mincho", serif;
    font-size: clamp(22px, 2.5vw, 36px);
    color: #1f2f4a;
    margin: 0;
  }

  .profile-ttl::after{
    content: "";
    flex: 1;
    height: 8px;
    background: url("images/title-right-line.png") no-repeat left center;
    background-size:contain;
  }

.profile-photo{
  width: 200px;
  height: auto;
}

.profile-name{
  font-size: clamp(24px, 4vw, 54px);
  color: #1f2f4a;
  margin-bottom: 6px;
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
}

.profile-name__en{
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 600;
  margin-left: 12px;
  color: #334155;
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.profile-meta{
  color: #6b7280;
  margin-bottom: 18px;
}

.profile-catch{
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2f4a;
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.profile-text{
  color: #475569;
  line-height: 1.9;
}
.profile-box{
  background: #f0f5fb url("images/stripe_bg.png") ;
  padding: 32px;
}


.profile-list{
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
}

.profile-list li{
  position: relative;
  padding-left: 32px;
  margin: 10px 0 20px;
}

/* チェックマーク */
.profile-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: #0b64a8;
}

.profile-list strong{
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
  color: #1f2f4a;
}

.profile-list span{
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
}

.text-secondary{padding-top:2rem;}
/* ===== Column Section ===== */
.hint{
  background: #f6f2e9; /* うっすらベージュ系なら */
  padding: 80px 0;
}

/* ===== Card全体 ===== */
.column-card{
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.column-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

/* ===== 上部（水色バー） ===== */
.column-card__head{
  position: relative;
  background: #9bd8eb; /* 少し落ち着いた水色 */
  padding: 20px 56px 20px 24px;
  
}

.column-card__title{
  font-size: 24px;
  font-weight: 600;
  color: #1f2f4a;
  margin: 0;
  line-height: 1.6;
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system,
                BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 右側の三角（くの字でもOK） */
.column-card__arrow{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  opacity: .9;
}

/* ===== 本文部分 ===== */
.column-card__body{
  padding: 24px;
}

.column-card__body p{
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #475569;
}

.column-more-wrap{
  margin-top: 65px;
}

/* ボタン本体 */
.column-more-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 225px;
  width: 100%;
  background: #f0f5fb url("images/stripe_green_bg.png") ;
  padding: 15px;
  border-radius: 14px;
  color: #fff;
  font-size:20px;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  transition: all .25s ease;
}

/* hover */
.column-more-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  color: #fff;
}

/* TOPボタン（四角系で揃える） */
.back-to-top-square{
  position: fixed;
  right: 0;
  bottom: 24px;
  width: 50px;
  height: 50px;
  background: #1f2f4a;       /* 今の紺 */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px 0 0 14px; /* CTAと統一 */
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 999;
}

.back-to-top-square.is-show{
  opacity: 1;
  visibility: visible;
}

.back-to-top-square:hover{
  filter: brightness(1.05);
}
/* ===== Footer ===== */
.footer{  font-size: 14px;}

.footer-inner{  min-height: 220px;}

/* 左側 */
.footer-left{
  background: #ffffff;
  display: flex;
  align-items: center;
}

.footer-left-inner{
  padding: 30px 50px 5px;
}

.footer-title{
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid #1f2f4a;
  display: inline-block;
  padding-bottom: 6px;
}

.footer-address{
  line-height: 1.5;
  color: #1f2f4a;
  font-size:16px;
}

/* 右側 */
.footer-right{
  position: relative;
  color: #1f2f4a;
  background-image: url("images/building_bg.jpg");
  background-repeat: no-repeat;
  background-size: 130%;
  background-position: right bottom;
  text-align: right;;
}
.footer-right::before{
  background: rgba(255,255,255,.70); /* .85 → .70 に薄く */
}

.footer-right-inner{
  position: relative;
  padding: 25px 50px 5px;
  text-align: right;
  min-height: 220px;
}

  @media (max-width: 575.98px){
  .footer-inner{  min-height: auto;}
  .footer-left{display: block;}
  .footer-left-inner{  padding: 30px 0 0; text-align: center;}
  .footer-right-inner{ padding: 25px 0 0; min-height: 100px;}
  }

/* ナビ */
.footer-nav-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0 30px 0 0;
  padding: 0;
}

.footer-nav-list li{
  position: relative;
  padding: 0 15px;
}

.footer-nav-list li:not(:last-child)::after{
  content: "|";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: #c4c7cc;
  font-size: 14px;
}

.footer-nav-list li:first-child{
  padding-left: 0;
}

.footer-nav-list li:last-child{
  padding-right: 0;
}
  .footer-nav-list a{
  position: relative;
  display: inline-block; /* ←これ重要 */
  text-decoration: none;
  font-size: 15px;
  color: #1f2937;
  font-weight: 400;
  padding: 4px 2px;
  transition: color .2s ease;
  }
  /* 下線（最初は幅0） */
  .footer-nav-list a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #b08a2e; /* ゴールド寄り */
    transform: translateX(-50%);
    transition: width .25s ease;
  }
/* ホバー時 */
.footer-nav-list a:hover{
  color: #1f2f4a;
  text-decoration: none; /* underline消す */
}

.footer-nav-list a:hover::after{
  width: 100%;
}

.footer-policy,
.footer-copy{
  position: absolute;
  right: 50px;   /* padding と合わせる */
  text-align: right;
  margin-bottom: 0;
}

.footer-policy{
  bottom: 35px;
}

.footer-copy{
  bottom: 15px;
  font-size: 12px;
  color: #777;
}

  @media (max-width: 575.98px){
.footer-nav-list{  display: none;}
  }