@charset "utf-8";
/*========================================
header-lp.php用のCSS
========================================*/
.site-header-lp{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  box-shadow: 0 2px 2px rgba(180, 180, 180, 0.5);
  z-index: 1000;
  max-width: 1920px;
  width: 100%;
  background-color: #385060;
}

.site-header-lp__inner{
  display: flex;
  align-items: center;
  justify-content:space-between;
  max-width: calc(1200px + 2vw);
  margin: 0 auto;
  padding: 6px 2vw;
}
@media screen and (max-width:900px) {
  .site-header__top__inner{
    position: fixed;
    background-color: #385060;
    width: 100%;
    z-index: 10;
    overflow: hidden;
  }
}

.site-header-lp__logo__title__img img{
  max-width: 200px;
  max-height: 50px;
  width: 100%;
  display: inline-block;
}
@media screen and (max-width:600px) {
  .site-header-lp__logo__title__img img{
    max-width: 200px;
    max-height: 40px;
  }
}

/*========================================
ヘッダー（上段）_PC
========================================*/

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  box-shadow: 0 2px 2px rgba(180, 180, 180, 0.5);
  z-index: 1000;
  max-width: 1920px;
  width: 100%;
}

/*SPは別で制作*/

.site-header__top{
  background-color: #385060;
  padding: 4px 0;
}
@media screen and (max-width:900px) {
  .site-header__top{
    background-color:transparent;
    padding:0;
  }
}

.site-header__top__inner{
  display: flex;
  align-items: center;
  justify-content:space-between;
  max-width: calc(1200px + 2vw);
  margin: 0 auto;
  padding: 0 2vw;
}
@media screen and (max-width:900px) {
  .site-header__top__inner{
    position: fixed;
    background-color: #385060;
    width: 100%;
    height: 46px;
    z-index: 10;
    overflow: hidden;
  }
}

.site-logo{
  display: inline-block;
  max-width: 200px;
  width: 100%;
}
@media screen and (max-width:900px) {
  .site-logo{
    max-height: 46px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
}

.site-logo__title__img img{
  max-width: 200px;
  max-height: 60px;
  width: 100%;
  display: inline-block;
}
@media screen and (max-width:900px) {
  .site-logo__title__img{
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;
  }
  .site-logo__title__img img{
    max-width: 200px;
    width: auto;
    max-height: 38px;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
  }
}

/*==========
CTAボタン_PC
============*/
.site-header__top__right{
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width:900px) {
  .site-header__top__right{
    display: none;
  }
}

.site-header__cta{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-header__cta__up-box{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.site-header__cta__s-box__label{
  color: #385060;
  padding: 2px 16px;
  background-color: #fff;
  border-radius: 2px;
  font-size: 18px;
  margin-right: 8px;
  line-height: 1.2;
}

.site-header__cta__s-box__number{
  color: #ffffff;
  font-size: 26px;
  letter-spacing: .05em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.site-header__cta__down-box{
  font-size: 14.2px;
  display: flex;
  align-self: center;
  justify-content: center;
  color: #ffffff;
}

.site-header__cta__down-box__day{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #385060; 
  font-weight: bold;
  letter-spacing: .1em;
  border-radius: 50%;
  background-color: #ffffff;
  font-size: 12px;
}

.site-header__cta__down-box__day--mon{
  margin: 0 2px 0 4px;
}

.site-header__cta__down-box__day--fri{
  margin: 0 2px 0 4px;
}

.site-header__cta__web{
  max-width: 224px;
}

.site-header__cta__web__link{
  text-align: center;
  display: inline-block;
  background: #E66464;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  color: #ffffff;
  padding: 8px 16px;
  min-width: 220px;
  margin-left: 16px;
  font-size: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  border: solid 2px #E66464;
}

.site-header__cta__web__link:hover{
  background-color: #fff;
  color: #E66464;
}

.site-header__cta__web__link__arrow{
  display: inline-block;
  width: 0; 
  height: 0; 
  margin-left: 8px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent; 
  border-left: 8px solid #ffffff;
  top: 0;
  bottom: 0;
  transition: .3s;
}

.site-header__cta__web__link:hover .site-header__cta__web__link__arrow{
  border-left: 8px solid #E66464;
}


/*========================================
ヘッダー（下段）_PC 
========================================*/
.site-header__bottom{
  background-color: #ECEBE7;
  padding: 4px 0;
}
@media screen and (max-width:900px) {
  .site-header__bottom{
    display: none;
  }
}

.site-header__list{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
}

.site-header__item__link{
  font-size: 16px;
  letter-spacing: .1em;
  color: #385060;
  transition: .3s;
}

.site-header__item__link:hover{
  color: #A19A7D;
  border-bottom: solid 1px #A19A7D;
  transition: .3s;
}

/* =========================================================
スマホ用ハンバーガーメニュー
========================================================= */
@media (min-width:901px){
  .hamburger-morph { 
    display: none; 
  }
  .nav-morph { 
    display: none; 
  }
}

@media (max-width:900px){
  /*==========
  ハンバーガーメニューボタン
  ============*/
  .hamburger-morph{
    display:block;
    position: fixed;
    top: 0px;
    right: 12px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger-morph__icon{ 
    width:100%; height:100%; 
  }

  .hamburger-morph__line{
    fill:none;
    stroke:#ffffff;
    stroke-width:6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4,0,0.2,1),
                stroke-dashoffset 600ms cubic-bezier(0.4,0,0.2,1),
                stroke 200ms ease;
    will-change: stroke-dasharray, stroke-dashoffset, stroke;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .hamburger-morph__line:nth-child(1){ 
    stroke-dasharray:60 207; 
  }
  .hamburger-morph__line:nth-child(2){ 
    stroke-dasharray:60 60; 
  }
  .hamburger-morph__line:nth-child(3){ 
    stroke-dasharray:60 207; 
  }

  .hamburger-morph.active .hamburger-morph__line:nth-child(1){ 
    stroke-dasharray:90 207; stroke-dashoffset:-134; 
  }
  .hamburger-morph.active .hamburger-morph__line:nth-child(2){ 
    stroke-dasharray:1 60;  stroke-dashoffset:-30;  
  }
  .hamburger-morph.active .hamburger-morph__line:nth-child(3){ 
    stroke-dasharray:90 207; stroke-dashoffset:-134;
  }

  .nav-morph{
    position: fixed;
    inset: 0;
    z-index: 900;
    display:block;
    background:#ECEBE7;
    clip-path: circle(0% at calc(100% - 38px) 38px);
    -webkit-clip-path: circle(0% at calc(100% - 38px) 38px);
    transition: clip-path .7s cubic-bezier(0.4,0,0.2,1);
    overflow:auto;
    will-change: clip-path;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .nav-morph.active{ 
    clip-path: circle(150% at calc(100% - 38px) 38px);
    -webkit-clip-path: circle(150% at calc(100% - 38px) 38px);
  }

  .hamburger-morph.active .hamburger-morph__line{ 
    stroke:#385060; 
  } 

  /* ===== List Layout ===== */
  .nav-morph__wrapper{
    display:flex; 
    align-items:center; 
    justify-content:center;
    width:100%; 
    min-height:100%;
  }
  .nav-morph__list{
    width:70%; 
    margin:0 auto; 
    list-style:none; 
    text-align:left;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 54px 24px 24px;
  }
  @media (max-width:600px){
    .nav-morph__list{
      width:100%; 
    }
  }
  @media (max-width:374px){
    .nav-morph__list{
      margin: 48px 16px 24px; 
    }
  }

  .nav-morph__item{
    margin-bottom:32px;
    width: 100%;
  }
  @media (max-width:600px){
    .nav-morph__item{
      margin-bottom:8px;
    }
  }

  /* フェードイン */
  .nav-morph__item{ 
    opacity:0; 
    transform:translateY(14px); 
  }

  .nav-morph.active .nav-morph__item{
    opacity:1; 
    transform:none; 
    transition: opacity .35s ease, transform .35s ease;
  }
  .nav-morph.active .nav-morph__item:nth-child(1){ transition-delay:.12s; }
  .nav-morph.active .nav-morph__item:nth-child(2){ transition-delay:.20s; }
  .nav-morph.active .nav-morph__item:nth-child(3){ transition-delay:.28s; }
  .nav-morph.active .nav-morph__item:nth-child(4){ transition-delay:.36s; }
  .nav-morph.active .nav-morph__item:nth-child(5){ transition-delay:.44s; }
  .nav-morph.active .nav-morph__item:nth-child(6){ transition-delay:.52s; }
  .nav-morph.active .nav-morph__item:nth-child(7){ transition-delay:.60s; }

  /* ===== Menu Links ===== */
  .nav-morph__link{
    position:relative; 
    display:block;
    padding:18px 0 16px;
    color:#385060; 
    font-size:24px; 
    font-weight:700; 
    letter-spacing:.03em;
    text-decoration:none; 
    overflow:visible;
  }
  @media (max-width:600px){
    .nav-morph__link{ 
      font-size:20px; 
    }
  }


  /* 重複表示を防ぐ（テキストはtextだけ表示） */
  .nav-morph__text{ 
    display:inline;
    padding-left: 8px;
    font-size: 20px;
    font-weight: 500;
  }
  /* ↓ 肝心 */
  .nav-morph__hover{ 
    display:none !important; 
  } 

  .nav-morph__text--phone{
    font-size: 24px;
  }
  @media (max-width:600px){
    .nav-morph__text--phone{
      font-size: 20px;
    }
  }

  .nav-morph__text__line{
    display: inline-block;
    width: 200px;
    height: 2px;
    background-color: #214359;
    position: absolute;
    bottom: 10px;
    left: 0;
  }

  .nav-morph__text__line::before,
  .nav-morph__text__line::after{
    content: "";
    position: absolute;
    width: 0;
    height: 5px;
    width: 6px;
    background-color: #ECEBE7;
    transition: all 0.3s ease;
    bottom: 10px;
    bottom: -2px;
  }

  .nav-morph__text__line::before{
    left: 8px;
  }

  .nav-morph__text__line::after{
    left: 24px;
  }


  /* ===== CTA 1：ウェブ申し込み（下から2番目） ===== */
  .nav-morph__item:nth-last-child(2) .nav-morph__link{
    margin-top:40px; 
    padding:14px 20px; 
    text-align:center;
    background:#B3AC8E; 
    color:#fff; 
    border-radius:8px;
    font-size:18px; 
    letter-spacing:.08em; 
  }
  .nav-morph__item:nth-last-child(2) .nav-morph__link::before,
  .nav-morph__item:nth-last-child(2) .nav-morph__link::after{ 
    display:none; 
  }

  /* ===== CTA 2：Call（最下段） ===== */
  .nav-morph__item:last-child .nav-morph__link{
    position:relative; 
    display:flex; 
    align-items:center; 
    justify-content: center;
    gap:12px;
    margin-top:14px; 
    padding:12px 16px;
    background:#385060; 
    color:#fff; 
    border-radius:8px;
    font-size:22px; 
    letter-spacing:.06em;
    text-align: center;
  }
  .nav-morph__item:last-child .nav-morph__link::before{
    content:"通話料無料";
    display:inline-block; padding:4px 10px; background:#fff; color:#385060;
    border-radius:999px; 
    font-weight:500; 
    font-size:15px; 
    line-height:1;
    padding: 8px 12px;

  }
  .nav-morph__item:last-child .nav-morph__link::after{ display:none; }
  .nav-morph__item:last-child{ position:relative; }
  .nav-morph__item:last-child::after{
    content:"電話受付時間  月〜金 9:00-17:00（祝日を除く）";
    display:block; 
    margin:6px 2px 0; 
    color:#385060; opacity:.9; 
    font-size:12.5px; 
    font-weight:500;
    text-align: center;
  }

  /* 小画面微調整 */
  @media (max-width:600px){
    .nav-morph__link{ 
      font-size:20px; 
    }
    .nav-morph__item:last-child .nav-morph__link{ 
      font-size:20px; 
    }
  }
}

/* =========================================================
モーダル（BEM構造／JSなし／縦スクロール対応）
========================================================= */

/* トリガーボタン */
.modal__button {
  display: inline-block;
  background: #214359;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: .08em;
  transition: .25s;
  position: relative;
  padding: 14px 36px 14px 20px;
  outline: 2px solid #214359;
  width: 100%;
}

.modal__button::after{
  content: "+";
  display: inline-block;
  font-size: 32px;
  line-height: 0.7;
  position: absolute;
  right: 24px;
}

.modal__button:hover {
  background: #fff;
  color: #214359;
  outline: 2px solid #214359;
}

/* モーダル全体（初期は非表示） */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

/* :target で表示 */
.modal:target {
  opacity: 1;
  visibility: visible;
}

/* 背景オーバーレイ */
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 0;
}

/* モーダルウィンドウ本体 */
.modal__window {
  position: relative;
  z-index: 1;
  width: min(92%, 1200px);
  max-height: calc(90dvh - 64px); 
  overflow-y: auto;
  overflow-x: hidden;
  background: #214359;
  color: #214359;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  padding: 24px 28px 32px;
  margin-top: 0px;
}
@media screen and (max-width:600px) {
  .modal__window {
    width: 100%;
    padding: 32px 12px;
    margin-top: 0px;
  }
}

/* 閉じるボタン */
.modal__close {
  position: absolute;
  top: 0px;
  right: 4px;
  z-index: 2;
  text-decoration: none;
  font-size: 48px;
  line-height: 1;
  color: #7a8791;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 8px; 
}
@media screen and (max-width:600px) {
  .modal__close { 
    font-size: 32px; 
    top: -6px; 
    right: 0px; 
  }
}

.modal__close:hover {
  color: #214359;
}

/* コンテンツ */
.modal__content {
  line-height: 1.8;
  text-align: left;
}

.modal__title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 500;
  background-color: #fff;
  max-width: 320px;
  margin: 0 auto 24px auto;
  text-align: center;
  border-radius: 34px;
  padding: 0 16px;
}
@media screen and (max-width:900px) {
  .modal__title { 
    font-size: 24px; 
  }
}

.modal__lead {
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
}
@media screen and (max-width:900px) {
  .modal__lead {
    text-align: left;
  }
}
@media screen and (max-width:600px) {
  .modal__lead {
    font-size: 14px;
    line-height: 1.8;
  }
}
@media screen and (max-width:374px) {
  .modal__lead {
    font-size: 13.2px;
    line-height: 1.8;
  }
}

.modal__content__bg{
  background-color: #fff;
  padding: 24px 16px;
}
@media screen and (max-width:600px) {
  .modal__content__bg{
    padding: 24px 12px;
  }
}

.modal__content__title{
  font-size: 24px;
  color: #A19A7D;
  font-weight: 700;
  margin-bottom: 8px;
}
@media screen and (max-width:900px) {
  .modal__content__title{
    font-size: 20px;
  }
}
@media screen and (max-width:600px) {
  .modal__content__title{
    font-size: 16px;
  }
}

/*テーブル*/
.modal__table{
  border: solid 1px #E9E9E6;
}

.modal__row{
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}
@media screen and (max-width:900px) {
  .modal__row{
    flex-direction: column;
  }
}

.modal__cell--label{
  min-width: 200px;
  font-size: 18px;
  font-weight: 500;
  background-color: #F6F6F4;
  padding: 16px;
  color: #214359;
  border-bottom: solid 1px #E9E9E6;
}
@media screen and (max-width:600px) {
  .modal__cell--label{
    font-size: 16px;
  }
}

.modal__row:last-of-type .modal__cell--label {
  border-bottom: none;
}

.modal__cell--list{
  border-bottom: solid 1px #E9E9E6;
  width: 100%;
}

.modal__row:last-of-type .modal__cell--list {
  border-bottom: none;
  color: #214359;
}

.modal__plain__list{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 16px 32px;
}
@media screen and (max-width:900px) {
  .modal__plain__list{
    padding: 16px 16px;
  }
}

.modal__plain__item{
  font-size: 18px;
  line-height: 2;
}
@media screen and (max-width:600px) {
  .modal__plain__item{
    font-size: 16px;
  }
}

.modal__plain__item::after{
  content: "/";
  display: inline-block;
  padding: 0 8px;
}

.modal__plain__item:last-of-type::after{
  content: none;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .modal { 
    padding: 16px; 
  }
}

/* 背景スクロール防止（CSS :has対応ブラウザ限定） */
@supports selector(body:has(.modal:target)) {
  body:has(.modal:target) {
    overflow: hidden;
    height: 100dvh;
  }
}


.modal__row--text{
  font-size: 16px;
  font-weight: 500;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .modal__row--text{
    font-size: 14px;
  }
}

.modal__row--text:first-of-type{
  margin-bottom: 64px;
}
