@charset "utf-8";
* {
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3',"游ゴシック体","YuGothic","游ゴシック","Yu Gothic",'Meiryo','メイリオ', sans-serif;
}
body{
    margin: 0 auto;
    padding: 0;
}
.abs {
    position: absolute;
}
.rel {
    position: relative;
}
.mt10 {
    margin-top: 10px;
}
.fcR {
    color: #d30000;
}
.fcP {
    color: #e33d72;
}
.fcb {
    color: #0047b2;
}
.fcsb {
    color: #0497FF;
}
.fcy {
    color: #ffff00;
}
.fss {
    font-size: 13px;
}
.fsm {
    font-size: 19px;
}
.fsl {
    font-size: 21px;
}
.fsll {
    font-size: 23px;
}
.tal {
    text-align: left;
}
.tar {
    text-align: right;
}
.tac {
    text-align: center;
}
.bold {
    font-weight: bold;
}
.mark {
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%,#ffff00 0%) repeat scroll 0 0;
}
#wrapper{
    margin: auto;
}
img,video {
    width: 100%;
    vertical-align: middle;
}
.anno {
    font-size: 10px;
    color: gray;
    text-align: right;
    margin-top: -10px;
}

.sp {
    display: block;
}

.pc {
    display: none;
}

@media only screen and (min-width: 768px){
    #wrapper{
        margin: auto;
    }
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
}

p {
    font-size: clamp(16px, 1.4vw, 20px);
}

header {
    display: flex !important;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
    padding: 1.5% 1% !important;
    box-shadow: 0px 5px 9px 0px #0000001c;
    position: relative;
}
.hea_l {
    width: 60%;
    max-width: 300px;
}
.hea_l img{
    width: 76%;
}
.hea_r {
    width: 63%;
}
.hea_r a {
    border-radius: 5px;
    padding: 0;
    display: flex;
    align-items: center;
}
.h_tel {
    margin: auto 6px;
}
.header2{
    height: 80px;
}
@media only screen and (min-width: 768px){
    .hea_r {
        width: 43%;
    }
    .hea_r a{
        justify-content: right;
    }
    .hea_l img {
        width: 64%;
    }
    header {
        margin: 0 auto !important;
        max-width: 1200px;
        display: flex !important;
        background-color: #fff;
        align-items: center;
        justify-content: space-between;
        padding: 0.2% 1% !important;
        box-shadow: none !important;
        position: relative;
    }
    header::after{
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;                
        left: 50%;
        width: 100vw;            
        transform: translateX(-50%);
        pointer-events: none;     
        box-shadow: 0 5px 12px rgba(0,0,0,.16); 
        border-radius: inherit;
      }
      .header2 {
        margin: 0 auto !important;
        max-width: 1920px;
        display: flex !important;
        background-color: #fff;
        align-items: center;
        justify-content: space-between;
        padding: 0.2% 15% !important;
        box-shadow: none !important;
        position: relative;
        height: 67px;
    }
    .header2 .hea_r img{
        width: 36%;
        min-width: 235px;
    }
    .header2 .hea_l img{
        width: 60%;
        margin-top: -4%;
    }
}
@media screen and (min-width: 769px) and (max-width: 1400px){
    .header2{
        padding: 0.2% 1% !important;
    }
}
@media screen and (min-width: 640px) and (max-width: 768px){
    .header2{
        padding: 0.2% 1% !important;
        height: 87px !important;
    }
    .header2 .hea_r img{
        width: 45%;
        min-width: 270px;
    }
}
@media screen and (min-width: 1000px) and (max-width: 1920px){
    .form-confirm h1{
        font-size: 3em !important;
    }
}

.real {
    background-color: #ff0000;
    color: #fff;
    text-align: center;
    margin: auto;
    padding: 6px 0;
}

.cta {
    padding:0;
    position: relative;
    margin: 10% 3% 5%;
    border: solid 3px #0e808e;
}
.cta_top img{
    width: 100%;
    margin: -4% auto;
}
.btn_toptext{
    margin: -1% auto 2%;
    width: 50%;
}
.cta_btn_area{
    padding: 7% 5% 5%;
}
.cta_btn_area .tel img{
    margin-bottom: 3%;
}
.btn_flex{
    display: flex;
    gap: 2%;
}
h2{
    margin: 0;
}
.shine {
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
/* 光の疑似要素 */
.shine::before {
    content: '';
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shine 3s ease-in-out infinite;
    position: absolute;
    top: -180px;
    left: 0;
    opacity: 0;
    transform: rotate(45deg);
}
/* 光の動き */
@keyframes shine {
    0% {
      transform: scale(0) rotate(45deg);
      opacity: 0;
    }
    80% {
      transform: scale(0) rotate(45deg);
      opacity: 0.5;
    }
    81% {
      transform: scale(4) rotate(45deg);
      opacity: 1;
    }
    100% {
      transform: scale(50) rotate(45deg);
      opacity: 0;
    }
}

/* ===== PC (768px〜) ===== */
@media (min-width: 768px) {
    .cta{
        margin: 0 auto;
        width: 70%;
        max-width: 1050px;
        min-width: 720px;
        margin-top: 4%;
        margin-bottom: 3%;
    }
    .cta_top img{
        margin: -2.5% auto;
    }
    .cta_btn_area .tel img{
        margin-bottom: 0;
    }

    .cta_btn_area{
      display: grid;
      align-items: center;
      justify-content: center;
      column-gap: 24px;
      row-gap: 14px;
      padding: 4% 5% 4%;
    }
    .btn_toptext{
        margin: -1% auto 2%;
        width: 50%;
    }

    .cta_btn_area .btn_toptext,
    .cta_btn_area img.btn_toptext{     /* class重複対策 */
      grid-column: 1 / -1;
      justify-self: center;
      width: clamp(185px, 16vw, 260px);
      margin: 0;                       /* 既存marginを打ち消し */
    }
  
    /* 電話ボタン（左列） */
    .cta_btn_area .shine{
      grid-column: 1;
      justify-self: center;
      width: 100%;
      display: flex;
      justify-content: center;
    }
    .cta_btn_area .shine img{
      width: clamp(420px, 40vw, 560px);
      height: auto;
    }
  
    /* メール・LINEは .btn_flex を“バラして”各列に配置 */
    .cta_btn_area .btn_flex{ display: contents; }
  
    .cta_btn_area .btn_flex a:first-child{   /* メール */
      grid-column: 2;
      justify-self: center;
    }
    .cta_btn_area .btn_flex a:last-child{    /* LINE */
      grid-column: 3;
      justify-self: center;
    }
    .cta_btn_area .btn_flex a img{
      width: clamp(150px, 14.5vw, 225px);
      height: auto;
    }
  }

/*---------- お悩み ----------*/
@media only screen and (min-width: 768px){
    .problem{
        background: url("../img/problem_bg_pc.jpg");
        padding: 4% 0 3% 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .problem h2 img{
        margin: 0 auto;
        width: 60%;
        max-width: 980px;
        min-width: 600px;
    }
    .problem h3 img{
        margin: 0 auto;
        width: 80%;
        max-width: 1100px;
        min-width: 730px;
        padding: 2% 0 0 0;
    }
}

/*---------- 自信 ----------*/
@media only screen and (min-width: 768px){
    .confidence{
        background-color: #dcf5f5;
    }
    .confidence h2{
        background: url("../img/confidence_pc_bg.png");
        padding: 3% 0 clamp(80px, 6.5vw, 140px) 0;;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .confidence h2 img{
        margin: 0 auto;
        width: 64%;
        max-width: 965px;
        min-width: 650px;
    }
    .confidence h3 img{
        margin: 0 auto;
        width: 75%;
        max-width: 900px;
        min-width: 720px;
        padding: 2% 0 0 0;
    }
    .confidence h3{
        padding: 0 0 4% 0;
    }
}

/*---------- 料金 ----------*/
section.price {
    background: url("../img/price_bg_sp.jpg") no-repeat center;
    background-size: cover; 
    padding: 6% 0 10%;
}
section.price h2 img{
    width: 90%;
    margin: 0 auto 10%;
} 

.price_detail {
    padding: 0 4%;
}
.price_detail .price_flex{
    display: flex;
    justify-content: space-between;
    margin-top: 9%;
}
.price_box{
    border: #0e808e 4px solid;
    border-radius: 6px;
    width: 47.5%;
    background: #fff;
    padding: 0 0 4% 0;
}
.price_box img{
    margin-top: -11%;
}
.price_box p{
    margin: 4%;
}
.price_box img.price04_mt{
    margin-top: -17%;
}

div.insurance{
    padding: 4%;
}
@media only screen and (min-width: 768px){
    section.price {
        background: url("../img/price_bg_pc.jpg") no-repeat center;
        background-size: cover; 
        padding: 5% 0 8%;
    }
    .price_box{
        border: #0e808e 4px solid;
        box-shadow: inset 0 0 0 1px #0e808e;
        border-radius: 10px;
    }
    .price h2 img{
        width: 28% !important;
        max-width: 500px;
        min-width: 377px !important;
    }
    section.price h2 img{
        width: 90%;
        margin: 0 auto 6%;
    } 
    div.insurance{
        padding: 2% 0 0 0;
    }
    .insurance img{
        margin: 0 auto;
        width: 75%;
        max-width: 950px;
        min-width: 720px;
        padding: 1% 0 0 0;
    }
    .price_box p{
        margin: 7%;
        margin-top: 3%;
    }
}

/* =========================
   769–1299px：2列 × 3行（3個ずつ）
   ========================= */
   @media (min-width: 769px) and (max-width: 1299px) {
    .price_detail{
        width: 85%;
        max-width: 900px;
        margin: 0 auto;
    }
    .price_box p{
        font-size: 18px;
        font-weight: 500;
    }
    section.price h2 img{
        width: 90%;
        margin: 0 auto 8%;
    } 
    .price_detail > .price_flex { display: contents; } 
    /* 2列グリッドにして6個を自動で2×3に並べる */
    .price_detail{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 15px;      
      row-gap: 48px;            /* 行・列のすき間 */
      padding: 0 4%;
    }
    /* SP用の幅指定を無効化（グリッドに任せる） */
    .price_box{ width: auto; }
  }
  
  /* =========================================
     1300–1920px：1行目4個 + 2行目2個（中央寄せ）
     ========================================= */
  @media (min-width: 1300px) and (max-width: 1920px) {
    .price_detail{
        width: 85%;
        max-width: 1100px;
        margin: 0 auto;
      }
      .price_box p{ font-size: 18px; font-weight: 500; }
      section.price h2 img{ width: 90%; margin: 0 auto 4%; }
    
      /* ラッパーは見た目だけフラット化して grid に流す */
      .price_detail > .price_flex { display: contents; }
    
      /* 4列グリッド。列のすき間=28px、行のすき間=60px */
      .price_detail{
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 45px;
        padding: 0 4%;
      }
      .price_box{ width: auto; }
    
      /* ▼ 3行目（=3つ目の .price_flex）だけ、中央の2列に配置 */
      .price_detail > .price_flex:nth-child(3) > .price_box:first-child { grid-column: 2; }
      .price_detail > .price_flex:nth-child(3) > .price_box:last-child  { grid-column: 3; }
  }

/*---------- 悪徳業者 ----------*/
section.warning h2 img{
    margin-top: -4%;
}
@media only screen and (min-width: 768px){
    section.warning h3{
    background-color: #324143;
    padding: 3% 0 4%;
    margin-top: -7%;
    z-index: 0;
    }
    section.warning h2{
        z-index: 10;
        background: transparent;
        margin-top: -70px !important;
    }
    section.warning h2 img{
        width: 100%;
    }
    section.warning h3 img{
        margin: 0 auto;
        width: 75%;
        max-width: 1050px;
        min-width: 720px;
        padding: 1% 0 0 0;
    }
}
@media (min-width: 769px) and (max-width: 1299px){
    section.warning h2 {
        position: relative;   
        margin-top: -35px !important;        
    }
    section.warning h3{
        background-color: #324143;
        padding: 3% 0 5%;
        margin-top: -9%;
        z-index: 0;
        }
    section.warning h2 img.pc{
        width: 140%;                
        max-width: none;              
        height: auto;                
        margin: 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);  
    }
}
@media (min-width: 1300px){
    section.warning h2 {
        position: relative;
        overflow: hidden;  
    }
    section.warning h2 img.pc{
        width: 100%;      
        max-width: none;
        height: auto;  
        display: block;
        margin: 0 auto;    
    }
}

/*---------- 理由 ----------*/
@media only screen and (min-width: 768px){
    .reason h2{
        background: url("../img/reason_bg_pc.png");
        padding: 3% 0 clamp(35px, 0vw, 140px) 0;;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin-top: 5%;
    }
    .reason h2 img{
        margin: 0 auto;
        width: 28%;
        max-width: 450px;
        min-width: 300px;
    }
    .reason h3 img{
        margin: 0 auto;
        width: 75%;
        max-width: 910px;
        min-width: 720px;
        padding: 2% 0 0 0;
    }
    .reason h3{
        padding: 0 0 4% 0;
        background-color: #dcf5f5;
    }
}


/*---------- 秘訣 ----------*/
section.secret{
    background: url("../img/secret_bg_sp.jpg") no-repeat center;
    background-size: cover; 
    padding: 5% 0 5%;
}
@media only screen and (min-width: 768px){
    .secret{
        background: url("../img/secret_bg_pc.jpg") !important;
        padding: 3% 0 clamp(35px, 0vw, 140px) 0;;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .secret h2{
        background-color: #fff;
        margin-bottom: 3.4%;
    }
    .secret h2 img{
        margin: 0 auto;
        width: 28%;
        max-width: 500px;
        min-width: 300px;
    }
    .secret h3 { position: relative; }
    .secret h3 img{
        margin: 0 auto;
        width: 80%;
        max-width: 1200px;
        min-width: 720px;
        padding: 0 0 0 0;
        box-shadow:none;
    }
    .construction > h3,
    .voice > h3{
      position: relative;
    }
  
    /* PC用タイトル画像を中央に＆元のbox-shadowは無効化 */
    .construction > h3 img.pc,
    .voice > h3 img.pc{
      display: block;
      margin: 0 auto;
      width: 80%;
      max-width: 1200px;
      min-width: 720px;
      box-shadow: none;
      margin-bottom: -5px;
    }
  
    /* 下半分だけに影（左右＋下）を見せる */
    .construction > h3::after,
    .voice > h3::after{
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      /* 画像と同じ幅に合わせる */
      width: 80%;
      max-width: 1200px;
      min-width: 720px;
      height: 100%;
      pointer-events: none;
  
      box-shadow: 0 0 18px rgba(0,0,0,.15);   /* ↓への落ち影を無くす */
    clip-path: inset(52% -28px 0 -18px);    /* 下側は表示しない（=下の影カット） */
    }
}

/*---------- 施工実績 ----------*/
div.construction{
    margin-top: 9%;
}
.construction-in {
    background: #fff;
    padding: 0 1% 5%;
    box-shadow: 0px 4px 15px 0px rgb(0 0 0 / 12%);
    margin-bottom: 8%;
}
@media only screen and (min-width: 768px){
    .construction-in {
        padding: 0 0 5%;
        margin: 0 auto;
        max-width: 1200px;
        min-width: 720px;
        width: 80%;
    }
    div.construction{
        margin-top: 3%;
    }
}

/*---------- お客様の声 ----------*/
div.voice{
    margin-top: 5%;
}

/*---------- スライダー ----------*/
section.secret .slick-next {
    right: 5%;
}
section.secret .slick-prev:before,
section.secret .slick-next:before {
    content: none; /* デフォルトの矢印を消す */
}
section.secret .slick-prev,
section.secret .slick-next {
    background-image: url("../img/con_arrow.png"); 
    width: 40px; /* 画像サイズに合わせて調整 */
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    z-index: 4;
}
section.secret .slick-next{
    transform: scale(-1, 1);
    right: -4px;
    top: 45%;
}
section.secret .slick-prev {
    left: -2px;
}
section.secret .slick-slide>div {
    width: 92%;
    margin: auto;
    /*margin-right: 4%;*/
}
section.secret .slick-dots li button:before,
section.secret .slick-dots li.slick-active button:before {
    color: #0e808e;
    font-size: 13px !important;
}
section.secret .slick-dots{
    bottom: -30px !important;
}

/* 画像切替スライダー用 */
.slider img.sp,
.slider img.pc {
  display: none !important;
}
@media only screen and (max-width: 768px){
    .slider img.sp {
        display: block !important;
    }
}
@media only screen and (min-width: 768px){

     /* 画像切替スライダー用 */
     .slider .slick-center img {
        transform: scale(1);
        opacity: 1;
    }
    .slider img {
        transform: scale(.8);
        transition: transform .3s;
        opacity: 0.6;
    }
    .slider img.pc {
        display: block !important;
    }
    section.secret .slick-prev,
    section.secret .slick-next {
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }
    section.secret .slick-prev:hover,
    section.secret .slick-next:hover,
    section.secret .slick-prev:active,
    section.secret .slick-next:active {
        opacity: 1;
    }
}
@media (min-width: 768px){
    .construction-in{
      max-width: 1200px;
      width: 80%;
      margin: 0 auto;
      padding: 0 0 5%;
    }
    section.secret .slick-next{
        transform: scale(-1, 1);
        right: 31%;
        top: 45%;
    }
    section.secret .slick-prev {
        left: 31%;
    }

    .construction .slider .slick-list,
  .voice        .slider .slick-list{
    padding: 0 !important;
    margin: 0 -4px;     /* スライドの左右余白補正 */
  }
  .construction .slider .slick-track,
  .voice        .slider .slick-track{
    display: flex;
    align-items: center;
  }
  .construction .slider .slick-slide,
  .voice        .slider .slick-slide{
    margin: 0 4px !important;  /* ← スライド間隔を狭く（4px程度） */
    padding: 0 !important;
  }

  /* 画像を小さめにして中央寄せ */
  .construction .slider img,
  .voice        .slider img{
    display: block;
    width: min(48%, 560px);   /* ← 以前よりさらに小さめ（58%→48%） */
    max-width: 560px;
    height: auto;
    margin: 0 auto;
    transform: scale(.85);    /* デフォルト縮小率を強めに */
    opacity: .7;
    transition: transform .3s ease, opacity .3s ease;
  }
  .construction .slider .slick-center img,
  .voice        .slider .slick-center img{
    transform: scale(.95);    /* 中央だけ少し拡大 */
    opacity: 1;
  }
  }
  @media screen and (min-width: 769px) and (max-width: 1000px){
    section.secret .slick-next{
        transform: scale(-1, 1);
        right: 31%;
        top: 42%;
    }
  }
  @media (min-width: 768px){
    .slider .slick-track{
      display:flex;
      align-items:center;
    }
    /* 画像同士の余白（必要に応じて調整） */
    .slider .slick-slide{ padding: 0 8px; box-sizing:border-box; }
  
    /* 通常は少し小さく＆薄く */
    .slider .slick-slide img{
      width: 100%;
      height: auto;
      transform: scale(.9);
      opacity: .8;
      transition: transform .3s ease, opacity .3s ease;
      display:block;
      margin: 0 auto;
    }
  
    /* センターだけ大きく＆濃く */
    .slider .slick-center img{
      transform: scale(1);
      opacity: 1;
    }
    @media (min-width: 768px){

        .construction-in{
          max-width: 1200px;
          width: 80%;
          margin: 0 auto;
          padding: 0 0 3%;
        }
        .voice .slider .slick-list
        .construction .slider .slick-list{ overflow: hidden; padding:0 !important; margin:0 -4px; }
        .voice .slider .slick-track{ display:flex; align-items:center; }
        .voice .slider .slick-slide{ margin:0 4px; padding:0; box-sizing:border-box; }
        .voice .slider .slick-slide img{
          width:100%; height:auto; display:block;
          transform: scale(.9); opacity:.8; transition: transform .3s ease, opacity .3s ease;
        }
        .voice .slider .slick-center img{ transform: scale(1); opacity:1; }
      }
    }

/*---------- 流れ ----------*/
section.flow{
    margin-top: 4%;
    background: #dcf4f6;
}
.flow_area{
    padding: 6% 4%;
}
.flow_area .flow_in{
    margin-bottom: 3%;
}
.flow_in01{
    position: relative;
}
.flow_cta{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8%;
    width: 89%;
    margin: 0 auto;
}
.flow_cta_under{
    display: flex;
    width: 100%;
    margin: 2% auto 0;
    justify-content: center;
    gap: 1.5%;
    align-items: center;
}
@media only screen and (min-width: 768px){
    section.flow{
        background-color: #fff;
    }
    .flow h2{
        background: url("../img/reason_bg_pc.png");
        padding: 3% 0 clamp(35px, 0vw, 140px) 0;;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .flow h2 img{
        margin: 0 auto;
        width: 28%;
        max-width: 450px;
        min-width: 300px;
    }
    .flow_area{
        background: #dcf4f6;
        padding-bottom: 3%;
        padding-top: 3%;
    }
    .flow_pc{
        margin: 0 auto;
        width: 70%;
        max-width: 1000px;
        min-width: 720px;
    }
    .flow_area .flow_in{
        margin-bottom: 1%;
    }
    .flow_cta{
        width: 78%;
        max-width: 1000px;
        min-width: 650px;
    }
        .flow_cta {
          display: flex;
          justify-content: space-between; 
          align-items: center;
          gap: 1%; 
          bottom: 11%;
        }
      
        .flow_cta .shine,
        .flow_cta .flow_cta_under {
          flex: 1; /* 3つを均等幅に */
        }
      
        .flow_cta .flow_cta_under {
          display: flex;
          justify-content: space-between;
          gap: 2%;
        }
      
        .flow_cta a {
          display: block;
          width: 100%;
        }
      
        .flow_cta img.pc {
          width: 100%;
          height: auto;
        }
        .flow_cta_under{
            margin-top: 0;
        }
        
}
@media only screen and (min-width: 768px){
    /* 1) STEP画像（pc）を必ず中央に */
    .flow_pc .flow_in > img.pc{
      display: block;
      margin-inline: auto;   /* 左右オートでど真ん中 */
      max-width: 100%;
      height: auto;
    }
  
    /* 2) 絶対配置のCTAも中央にロック（左右ブレ防止） */
    .flow_in01 .flow_cta{
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      /* 既存の幅指定はそのまま活かす（width/max/min は現状のまま） */
    }
  
    /* 3) 念のため：画像がインライン基準で寄らないよう行間を無効化 */
    .flow_cta a{ display:block; line-height:0; }
    .flow_cta img.pc{ display:block; width:100%; height:auto; }
  }

/*---------- エリア ----------*/
section.area{
    padding: 0 0 5%;
    background: #eaf8ff;
}
.area img {
    margin-bottom: 14px;
}
.accordion-001 {
    width: 90%;
    margin: 10px auto;
    background: #fff;
    border-radius: 10px;
}
.accordion-001:not([open]) {
    margin: 10px auto;
}
.accordion-001 summary {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0.6em 1em;
    background-color: #0e808e;
    color: #fff;
    font-weight: 768;
    font-size: 1.2em;
    cursor: pointer;
    position: relative;
}
.accordion-001 summary::-webkit-details-marker {
    display: none;
}
.accordion-001 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
    position: absolute;
    right: 6%;
}

.accordion-001[open] summary::after {
    transform: rotate(225deg);
}
.accordion-001 ul {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    font-size: clamp(14px, 1.2vw, 24px);
    padding: 1em 0.2em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-001[open] ul {
    transform: none;
    opacity: 1;
    width: 50%;
}
.accordion-001[open] div {
    display: flex;
    padding: 2% 4%;
}
.accordion-001[open] ul li{
    text-align: center;
    font-size: 1.3em;
    background: #ebf9fb;
    margin-bottom: 2%;
    padding: 1%;
}
@media only screen and (min-width: 768px){
    .accordion-001 summary {
        font-size: 1.5em;
    }
    .accordion-001[open] ul li{
        font-size: 0.9em;
    }
    .area{
        background: url("../img/area_bg_pc.png") !important;
        padding: 3% 0 clamp(35px, 0vw, 140px) 0;;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .area h2{
        padding: 4% 0 2% 0;
    }
    .area h2 img{
        margin: 0 auto;
        width: 40%;
        max-width: 565px;
        min-width: 300px;
    }
    .area_area{
        background: #dcf4f6;
    }
    .area h3 img{
        margin: 0 auto;
        width: 30%;
        max-width: 455px;
        min-width: 400px;
        margin-bottom: 2%;
    }
    .area-detail{
        margin: 0 auto;
        width: 90%;
        max-width: 900px;
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 24px;                              /* カラム間の余白（お好みで） */
        align-items: start;
      }
      .area-detail .accordion-001{
        width: auto;     /* 90%を解除して自然にフィット */
        margin: 0;       /* autoマージンを解除（中央寄せをやめる） */
      }

}

/*---------- 質問 ----------*/

section.faq {
    background: url("../img/qa_bg_sp.jpg") no-repeat center;
    background-size: cover; 
    padding: 6% 0 26%;
}
section.faq h2 img {
    width: 87%;
    margin: 0 auto 4%;
}
.accordion-002 {
    width: 90%;
    margin: auto;
    margin-bottom: 3%;
    background: linear-gradient(to bottom, #459ca7, #0e808e);
    border-radius: 20px;
}
.accordion-002 summary {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 7% 4%;
    font-weight: 768;
    cursor: pointer;
    gap: 3%;
    font-size: 1.3em;
    line-height: 1.2em;
    color: #fff;
}
.accordion-002 summary img{
    width: 9%;
}
.accordion-002 summary::-webkit-details-marker {
    display: none;
}
.accordion-002 summary::before,
.accordion-002 summary::after {
    position: absolute;
    right: calc(1em + 2.5px);
    width: 3px;
    height: 18px;
    border-radius: 5px;
    background-color: #fff;
    content: '';
}
.accordion-002 summary::before {
    rotate: 90deg;
}
.accordion-002 summary::after {
    transition: rotate .3s;
}
.accordion-002[open] summary::after {
    rotate: 90deg;
}
.accordion-002 div {
    transform: translateY(0);
    opacity: 1;
    margin: 0;
    padding: 0 1em 1em;
    color: #000000;
    transition: transform .5s, opacity .5s;
    text-align: justify;
}
.accordion-002[open] div {
    background-color: #dcf4f6;
    border-radius: 0 0 20px 20px;
    display: flex;
    gap: 3%;
    align-items: flex-start;
    padding: 4%;
    line-height: 1.3em;
}
.accordion-002[open] div img{
    width: 9%;
}
@media only screen and (min-width: 768px){
    .accordion-002 summary img {
        width: 6%;
    }
    .accordion-002[open] div {
        line-height: 1.5em;
    }
    .accordion-002[open] div img {
        width: 5%;
        padding-left: 1%;
    }
    section.faq{
        background: url("../img/qa_bg_pc.jpg") !important;
        padding: 3% 0 clamp(35px, 0vw, 140px) 0;;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-bottom: 16%;
    }
    .faq h2{
        padding: 2% 0 0% 0;
    }
    .faq h2 img{
        margin: 0 auto;
        width: 40%;
        max-width: 580px;
        min-width: 300px;
    }
    .accordion-002 {
        width: 90%;
        max-width: 800px;
        margin: auto;
        margin-bottom: 0.7%;
        background: linear-gradient(to bottom, #459ca7, #0e808e);
        border-radius: 20px;
    }
    .accordion-002 summary {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        padding: 3% 4%;
        font-weight: 768;
        cursor: pointer;
        gap: 5%;
        font-size: 1.6em;
        line-height: 1.2em;
        color: #fff;
    }
    .accordion-002 summary img{
        width: 5%;
    }
    .accordion-002 summary::-webkit-details-marker {
        display: none;
    }
    .accordion-002 summary::before,
    .accordion-002 summary::after {
        position: absolute;
        right: calc(2em + 2.5px);
        width: 4px;
        height: 25px;
        border-radius: 5px;
        background-color: #fff;
        content: '';
    }
    .accordion-002[open] div {
        background-color: #dcf4f6;
        border-radius: 0 0 20px 20px;
        display: flex;
        gap: 5%;
        align-items: flex-start;
        padding: 3%;
        line-height: 1.8em;
    }
}

/*---------- フォーム ----------*/
.form {
    background: #0e808e;
    padding: 6% 0 0;
}
.form h2 img {
    width: 100%;
    margin: -19% auto 4%;
}
.form-container {
    max-width: 500px;
    width: 84%;
    margin: 3% auto 0;
    background: #f2f2f2;
    border-radius: 15px;
    padding: 3% 4% 3%;
}
.form-container label{
    margin-top: 4%;
}
.form-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
}
label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
}
.required {
    color: #0e808e;
    background: #ffe719;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50px;
    margin-left: 5px;
}
input, textarea {
    width: 92%;
    padding: 3% 4%;
    font-size: 14px;
    margin-top: 5px;
    border: 1px solid #ccc;
}
textarea {
    height: 100px;
}

.submit-btn {
    margin: 3% auto 20px;
    width: 40%;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}
.submit-btn:hover {
    background: #0738c8;
}

/* フィールドセットのリセット＆縦並び */
.contact-methods {
    border: none; /* デフォルトの枠を消す */
    margin: 4% 0 5%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ラベル（グループのタイトル） */
.contact-methods > label:first-child {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

/* 各オプションのスタイル */
.contact-methods .option {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
    align-items: flex-start;
    margin-top: -2%;
    font-size: 1.1em;
    font-weight: 400;
}

/* ラジオボタン */
.contact-methods .option input[type="radio"] {
    -webkit-appearance: none; /* Safari対応 */
    -moz-appearance: none;    /* Firefox対応 */
    appearance: none;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s;
    flex: none;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 1% 0 0 0;
}

/* 選択時：丸を緑に */
.contact-methods .option input[type="radio"]:checked {
    background: #0e808e; /* 緑 */
    border-color: #0e808e;
}

/* 選択時の文字を太字に */
.contact-methods .option input[type="radio"]:checked + span {
    font-weight: bold;
}
.contact-methods label{
    margin-top: 0;
}
@media only screen and (min-width: 768px){
    section.form h2{
        background: center top / 100% auto no-repeat url("../img/form_bg_pc.png") !important;
    }
    section.form h2{
        padding: 7% 0 0% 0;
        margin-top: -18%;
    }
    section.form h2 img{
        margin: 0 auto;
        width: 31%;
        max-width: 430px;
        min-width: 300px;
    }
    .form-container {
        max-width: 750px;
        width: 75%;
        margin: 3% auto 0;
        background: #f2f2f2;
        border-radius: 27px;
        padding: 3% 4% 3%;
    }
    .contact-methods {
        border: none; /* デフォルトの枠を消す */
        margin: 1% 0 5%;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-methods .option input[type="radio"] {
        -webkit-appearance: none; /* Safari対応 */
        -moz-appearance: none;    /* Firefox対応 */
        appearance: none;
        display: inline-block;
        width: 18px;
        height: 18px;
        border: 2px solid #ccc;
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
        box-sizing: border-box;
        transition: background 0.2s, border-color 0.2s;
        flex: none;
        aspect-ratio: 1 / 1;
        padding: 0;
        margin: 0.6% 0 0 0;
    }
    .required {
        color: #0e808e;
        background: #ffe719;
        font-size: 17px;
        padding: 2px 10px;
        border-radius: 50px;
        margin-left: 5px;
    }
    .form-container label{
        margin-top: 3%;
        font-size: 18px;
    }
    input, textarea {
        width: 92%;
        padding: 2% 4%;
        font-size: 14px;
        margin-top: 5px;
        border: 1px solid #ccc;
    }
    textarea {
        height: 100px;
    }
    
    .submit-btn {
        margin: 3% auto 20px;
        width: 25%;
        color: white;
        border: none;
        padding: 15px;
        font-size: 20px;
        border-radius: 8px;
        cursor: pointer;
        display: block;
        text-decoration: none;
    }
    .submit-btn:hover {
        background: #0738c8;
    }
    .contact-methods .option {
        margin-top: -1%;
        font-size: 1.1em;

    }
    .accordion-001 summary::after {
        transform: translateY(-25%) rotate(45deg);
        width: 12px;
        height: 12px;
        margin-left: 10px;
        border-bottom: 3px solid #fff;
        border-right: 3px solid #fff;
        content: '';
        transition: transform .3s;
        position: absolute;
        right: 6%;
    }

}

/*---------- 追従ボタン ----------*/
.follow {
    box-sizing: border-box;
    background-color: #ffffffde;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    width: 100%;
    padding: 1% 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.follow.show {
    opacity: 1;
    visibility: visible;
}
@media only screen and (min-width: 768px){
    .follow {
        max-width: 1920px;
        margin: 0 auto;
        padding: 8px 1%;
    }
}

/*---------- フッター ----------*/
footer {
    background-color: #04515b;
    padding: 10% 0 0 0!important;
}
footer a img{
    width: 60%;
    margin: 0 auto 4%;
    display: block;
}
footer p {
    color: #fff;
    font-size: smaller;
    margin: 0;
}
.ff_area{
    max-width: 500px;
    width: 78%;
    padding: 3% 0 10%;
    text-align: left;
    margin: 0 auto;
}
.ff_area .ff{
    display: flex;
    width: 100%;
    gap: 20px;
}
.ff_area .ff p:first-child{
    width: 25%;
}
div.privacy{
    background: #0e808e;
    padding: 2% 10% 3%;
    display: flex;
    text-align: center;
    align-items: flex-start;
    justify-content: center;

}
div.privacy a{
    color: #fff;
}
div.privacy img{
    width: 5%;
    margin: 2%;
    margin-top: 4px;
}
@media only screen and (max-width: 767px){
    footer > .ff_area:first-of-type{
      /* もともと padding: 3% 0 10%; なので下だけ小さく */
      padding-bottom: 3% !important;  /* ← 好みで 0〜4% に調整OK */
      /* 余白がまだ大きければ margin もゼロ化 */
      margin-bottom: 0 !important;
    }
  }

/* =========================
   PC ONLY (>=768px) FOOTER
   ========================= */
   @media only screen and (min-width: 768px){

    /* 調整用トークン */
    :root{
      --foot-inner-max: 855px;                 
      --foot-col-min: 200px;                   
      --foot-col-pref: 26vw;                 
      --foot-col-max: calc(var(--foot-inner-max) / 3); 
  
      --foot-gap-col: 20px;                    
      --foot-gap-row: 37px;                      
      --foot-pad-top: clamp(16px, 3vw, 28px);   
      --foot-pad-bottom: clamp(8px, 2vw, 16px); 
      --foot-pad-x: clamp(8px, 3vw, 32px);     
      --foot-logo-max: 245px;                  
      --foot-label-w: 6.8em;                    
      --foot-fz: clamp(11px, 0.95vw, 14px);     
      --foot-fz-sm: clamp(10px, 0.85vw, 13px);  
    }

    footer{
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, clamp(var(--foot-col-min), var(--foot-col-pref), var(--foot-col-max))));
      justify-content: center;                 
      column-gap: var(--foot-gap-col);
      row-gap: var(--foot-gap-row);
      align-items: start;
      padding: var(--foot-pad-top) var(--foot-pad-x) var(--foot-pad-bottom) var(--foot-pad-x) !important;
      background-color:#04515b;                
    }
  
    /* 既存のPC指定（width:40%、max-width:400px等）を打ち消し */
    footer > a,
    footer > .ff_area{
      margin: 0 !important;
      max-width: none !important;
      width: 100% !important;
    }
    footer a img{ width: auto; }                
  
    /* ロゴ列：中央＆余白ゼロ */
    footer > a{
      display: flex !important;
      align-items: center;
      justify-content: center;
      margin: 0 !important;
    }
    footer > a img{
      display: block;
      width: min(100%, var(--foot-logo-max)) !important;
      height: auto;
      margin: 0 !important;
    }
  
    /* 会社情報ブロック（京都／奈良） */
    .ff_area{
      padding: 0 !important;
      text-align: left;
    }
    .ff_area .ff{
      display: flex;
      width: 100%;
      gap: 6px;                  /* 行内の隙間を最小限に */
      margin: 0 0 4px;           /* 行間も詰める */
    }
    .ff_area .ff:last-child{ margin-bottom: 0; }
  
    /* ラベル列の幅を固定して縦ブレ防止 */
    .ff_area .ff p:first-child{
      flex: 0 0 var(--foot-label-w);
      width: var(--foot-label-w);
      font-weight: 600;
    }
  
    /* 本文文字サイズは画面が小さいほど少し縮む */
    footer p{
      color: #fff;
      margin: 0;
      font-size: var(--foot-fz);
      line-height: 1.5;
    }
  
    /* プライバシー行：中身の幅も3カラムと同じ塊に合わせる */
    div.privacy{
      grid-column: 1 / -1 !important;
      justify-self: center;
      width: calc(3 * clamp(var(--foot-col-min), var(--foot-col-pref), var(--foot-col-max)));
      max-width: var(--foot-inner-max);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 0px 0 10px;       
      background: #04515b;       
      text-align: center;
    }
    div.privacy a{
      color: #fff;
      font-size: clamp(13px, 1vw, 16px) !important;
      text-underline-offset: 3px;
    }
    div.privacy img{
      width: 17px !important;    
      height: auto;
      margin: 0 !important;
    }
  }


/*---------- フォーム確認ページなど ----------*/
.form-confirm #wrapper{
    background: #0e808e;
}
.form-confirm h1 {
    color: #fff;
    text-align: center;
}
.button-area {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
}
.btn {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.back-btn {
    background: #ccc;
    margin: 0 auto 20px;
    box-shadow: 0px 5px 0px 0px #a1a1a1;
}

/* 確認ページ以降のボタンデザイン統一 */
.submit-btn {
    background: #0738c8;
    box-shadow: 0px 5px 0px 0px #02385f;
    cursor: pointer;
    color: #fff;
    border: none;
    padding: 15px;
    transition: 0.2s;
    margin: 0 auto 20px;
}
.submit-btn:disabled {
    background: #0738c8; 
    box-shadow: 0px 5px 0px 0px #02385f;
    cursor: default; 
    opacity: 0.6;
}
.submit-btn:hover:not(:disabled) {
    background: #0550a0;
    box-shadow: 0px 5px 0px 0px #02385f;
}

@media only screen and (min-width: 768px){
    .button-area {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin: 0 auto;
        width: 55%;
        min-width: 300px;
        margin-top: 30px;
    }
    .submit-btn {
        background: #0738c8;
        box-shadow: 0px 5px 0px 0px #02385f;
        cursor: pointer;
        color: #fff;
        border: none;
        padding: 15px;
        transition: 0.2s;
        margin: 0 auto 20px;
        width: 30% !important;
    }
}