:root {
  --main-color: #1A1F72;
  --sub-color: #EB5C44;
  --table-color: #95ADE0;
  --table-color: 149, 173, 224;
  --txt-color:#000;
  
  /* 余白 */
  --sp-32: 32px;
  --sp-64: 64px;
  /* フォントサイズ */
  --font-32: 3.2rem;
  --font-24: 2.4rem;
    @media screen and (max-width: 767px) {
      /* 余白   */
        --sp-32: 20px;
        --sp-64: 40px;
      /* フォントサイズ */
        --font-32: 2.4rem;
        --font-24: 2rem;
    }
}
a:hover{
  opacity: 0.8;
}
.pc_none {
  pointer-events: none;
  @media screen and (max-width: 767px) {
    pointer-events: all;
  }
}
/* ------------------
 フェード用CSS
------------------ */
.fade {
	opacity: 0;
	transition: .5s ease-in-out;
	&.fade--bot{transform: translate(0,100px);}
	&.fade--top{transform: translate(0,-100px);}
	&.fade--left{transform: translate(-100px,0);}
	&.fade--right{transform: translate(100px,0);}
	&.fadein{transform: translate(0,0);opacity: 1;}
}
/* 子要素を順番にフェードイン */
.fade.fade--list {
	opacity: 1;
	& + p {
		text-align: center;
		margin: 20px auto;
	}
}
.fade_child {
  opacity: 0;
  transform: translate(0,100px);
  transition: .5s ease-in-out;
	&:nth-child(1){transition-delay: 0.15s;}
  &:nth-child(2){transition-delay: 0.3s;}
  &:nth-child(3){transition-delay: 0.45s;}
  &:nth-child(4){transition-delay: 0.6s;}
  &:nth-child(5){transition-delay: 0.75s;}
  &:nth-child(6){transition-delay: 0.9s;}
  &:nth-child(7){transition-delay: 1.05s;}
  &:nth-child(8){transition-delay: 1.2s;}
  &:nth-child(9){transition-delay: 1.35s;}
}
.fadein .fade_child{
  transform: translate(0,0);
  opacity: 1;
}
@media screen and (max-width: 767px) {
  :root {
    /* 余白 */

  }
}
html{
  scroll-padding-top: 90px;
}
body{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--txt-color);
  letter-spacing: 5%;
  min-width: 1280px;
  @media screen and (max-width: 767px){
    min-width:100%;
    font-size: 1.5rem;
  }
}

main{
  line-height: 2;
  @media screen and (max-width: 767px){
    line-height: 1.8;
  }
}
.bold{
  font-weight: 700;
}
:where(a) {
  color: #000;
  text-decoration: none;
}
.center{
  text-align: center;
}
.text-wrap{
  display: inline-block;
}
/* ------------------
 レイアウト
------------------ */

/* ------------------
 header
------------------ */
header{
  height: 87px;
  position: relative;
  z-index: 9;
}
#top header{
  height: 0;
}
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  gap:5%;
  transition: .3s;
}
.scroll .header_inner {
  background: rgba(255,255,255,.75);
}
.header_logo{
  padding-left: 2.5%;
  a{
    display: flex;
    align-items: center;
    width: 100%;
    span{
      padding: 20px;
      font-size: 2rem;
      font-weight: var(--bold);
      color: var(--main-color);
    }
  }
}

.pc_nav_list{
  display: flex;
  gap:20px;
  white-space: nowrap;
}
.pc_nav_parent {
  height: 87px;
  padding-top: 2px;
  > a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: var(--bold);
    border-bottom: 2px solid transparent;
    &:hover{
      border-color: var(--sub-color);
    }
  }
}
.pc_mega{
  position: fixed;
  top: 87px;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 0;
  overflow: hidden;
  transition: .3s;
}
.pc_nav_item:hover .pc_mega,.pc_mega.lock{
  max-height: 300px;
  background: linear-gradient(180deg,#027b710D 0,transparent 25%,transparent 100%) #fff;
}
.pc_mega_inner{
  max-width: 1120px;
  width: 90%;
  margin: auto;
  padding: 60px 0;
  gap:60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pc_mega_list{
  width: calc(100% - 326px);
  display: flex;
  flex-wrap: wrap;
}
.pc_mega_child{
  width: calc(100% / 3);
  height: 50px;
  a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap:10px;
    &:hover{
      text-decoration: underline;
    }
    &::before{
      content: '';
      width: 7px;
      height: 7px;
      display: block;
      border-bottom: 1px solid var(--main-color);
      border-right: 1px solid var(--main-color);
      transform: rotate(-45deg);
    } 
  }

}
.pc_mega_btn{
  width: calc(100% - (100% / 3));
  height: 50px;
  display: flex;
  align-items: center;
  a{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 265px;
    width: 100%;
    height: 30px;
    background: var(--sub-color);
    color: #fff;
    font-weight: var(--bold);
    font-size: 1.2rem;
    border-radius: 50px;
  }
}
.header_ig {
  display: flex;
  align-items: center;
  justify-content: center;
  @media screen and (max-width: 767px){
    width: 100%;
    margin-top: 20px;
    padding-right: 5%;
    justify-content: flex-end;
  }
  a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    width: 32px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: 0 0 20px 0 rgba(104,125,188, 0.2);
    background: #fff;
  }
}
.pc_nav_contacts {
  max-width: 320px;
  width: 100%;
}
.pc_nav_row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
  padding: 0 10px;
  gap: 20px;
  line-height: 1;
  background: rgba(255,255,255,.75);
}
.pc_nav_cal{
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}
.pc_nav_line{
  display: block;
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg,var(--main-color) 0,var(--main-color) 50%,var(--sub-color) 50%);
}
.pc_nav_bot {
  display: flex;
  align-items: center;
  height: 55px;
  width: 100%;
  line-height: 1;
}
.pc_nav_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  font-weight: bold;
  color: #fff;
  background: #000;
  gap:10px;
  &:hover{
    opacity: 0.6;
  }
}
.pc_nav_btn--est{
  background: var(--main-color);
  &::before{
    content: '';
    display: block;
    width: 24px;
    height: 33px;
    background: url(../img/estimate.svg) no-repeat center;
    background-size: contain;
  }
}
.pc_nav_btn--cont{
  background: var(--sub-color);
  &::before{
    content: '';
    display: block;
    width: 29px;
    height: 21px;
    background: url(../img/contact.svg) no-repeat center;
    background-size: contain;
  }
}
/* スマホメニュー */
.spNav_btn,.spNav_panel {display: none;}
@media screen and (max-width: 767px){
  .pc_nav_list{display: none;}
  header{height: 60px;}
  #top header{height: 60px;}
  .header_inner{height: 60px; background: #fff;}
  .scroll .header_inner{background: #fff;}
  .header_logo {
    padding-left: 5%;
     a {
      img{
        width: auto;
        max-height: 40px;
      }
      span {
        padding: 0 0 0 10px;
        font-size: min(2rem,4.5vw);
      }
    }
  }
/* ボタン */
  .spNav_btn {
    display: block;position: absolute; width: 60px;height: 60px;background: var(--main-color);top:0;right: 0;transition: all 0.5s;z-index: 100;
    span {position: absolute;display: block;height: 3px;background: #fff;margin: auto;}
    &::after{content: 'MENU';font-size: 1rem;font-weight: var(--bold);position: absolute;width: 100%;left: 0;top: 41px;text-align: center;color: #fff;}
    
    /* 閉じた状態 */
    &[aria-pressed="false"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="false"] span:nth-child(1) {top: 13px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(2) {top: 24px;left: 0;right: 0; transform: translateY(-50%);}
    &[aria-pressed="false"] span:nth-child(3) {top: 31px;left: 0;right: 0;}
    
    /* 開いた状態 */
    &[aria-pressed="true"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="true"] span:nth-child(1) {top: 28px;transform: translateY(-1.5px) rotate(45deg);left: 20px;}
    &[aria-pressed="true"] span:nth-child(2) {display: none;}
    &[aria-pressed="true"] span:nth-child(3) {top: 25px;transform: translateY(1.5px) rotate(-45deg);left: 20px;}
    &[aria-pressed="true"]::after{content: '閉じる';left: 5px;}
  }

  /* メニューパネル */
  .spNav_panel {
    display: block;
    height: 100vh;
    width: 260px;
    position: fixed;
    top: 0;
    right: 0;
    transition: all 0.5s;
    background: var(--main-color);
    box-shadow: -8px 0px 8px -1px rgba(0, 0, 0, 0.2);
    overflow: auto;
    z-index: 99;
    
    /* パネルが閉じている状態 */
    &[aria-hidden="true"] {
      visibility: hidden;
      pointer-events: none;
      transform: translateX(100%);
    }

    /* パネルが開いている状態 */
    &[aria-hidden="false"] {
      visibility: visible;
      transform: translateX(0);
    }
  }

  /* メニューパネル内の項目 */
  .spNav_list {
    width: 100%;
    padding: 56px 0 0;
    font-size: 1.5rem;
  }
  .spNav_list--item {
    border-bottom: 1px solid #fff;
    a {
      display: block;
      padding: 12px 20px;
      color: #fff;
    }
  }
  .spNav_accordion--title {
    width: 100%;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    &::after {
      display: inline-flex;
      justify-content: center;
      align-items: center;
    }
    
    /* アコーディオン開閉時の状態表示 */
    &[aria-expanded="false"]::after {content: "+";}
    &[aria-expanded="true"]::after {content: "-";}

    /* アコーディオン内の項目 */
    &[aria-expanded="false"] + .spNav_accordion {
      max-height: 0;
      height: auto;
    }
    &[aria-expanded="true"] + .spNav_accordion {
      max-height: 1000px;
    }
  }
  .spNav_accordion {
    overflow: hidden;
    background: #fff;
    transition: all 0.5s;
    a {
      padding-left: 12.5%;
      padding-right: 15px;
      font-size: 1.3rem;
      color: var(--txt-color);
      border-bottom: 1px dashed #ccc;
    }
  }
  /* カレンダー　お試し中 */
  .calendar_txt {
    display: block;
    padding: 12px 20px;
    color: #fff;
  }
  .calendar_all {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 20px 12px;
    a {
      display: initial;
      padding: 0;
      text-decoration: underline;
    }
  }
}

/* PCのみ表示する要素を表示 */
.pc_block {display: block;}
.sp_block {display: none;}
@media screen and (max-width: 767px){
  .pc_block {display: none;}
  .sp_block {display: block;}
}



/* ------------------
下層ページ共通
------------------ */
/* 下層ページのmv */
.breadcrumb_list li,
.breadcrumb_list a{
  color: #fff;
}
.mv_top {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  @media screen and (max-width: 767px) {
    height: 240px;
    display: flex;
    justify-content: center;
  }
}
.mv_top img {
  position: relative;
  margin: auto;
  max-width: 90%;
  @media screen and (max-width: 767px) {
    height: 100%;
    max-width: none;
  }
}
.mv_top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background-color: var(--main-color);
}
.mv_bottom{
  position: relative;
  height: 234px;
  margin-top: -234px;
  z-index: 1;
  display: flex;
  justify-content: center;
  @media screen and (max-width: 767px) {
    height: 100px;
    margin-top: -100px;
  }
  &::before{
    content: '';
    display: block;
    width: calc(50% - 190px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(/common/img/mv_parts.webp) no-repeat right top,linear-gradient(-90deg,transparent 0,transparent 175px, var(--main-color) 175px);
    @media screen and (max-width: 767px) {
      width: 85%;
    }
  }
}
.mv_bottom_inner{
  max-width: 1200px;
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: auto;
  position: relative;
  z-index: 1;
}
.mv_bottom_inner h1{
  color: #fff;
  font-size: min(4.2rem, 6vw);
}
.mv_bottom_nav{
  background: var(--main-color);
}
/* アンカーリンク */
.anchor{
  padding: var(--sp-64) 0;
  background: #D9D9D9;
}
.anchor_links {
  max-width: 1200px;
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  @media screen and (max-width: 767px) {
    gap: 10px 15px;
  }
}
.anchor_links--item {
  max-width: calc(100% / 5 - 80px / 5);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 7.5px);
  }
}
.anchor_links--item a {
  width: 100%;
  min-height: 42px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  background: #fff;
   box-sizing: border-box;
  line-height: 1.5;
  font-weight: bold;
  color: #000;

  @media screen and (max-width: 767px) {
    padding: 0.2em 1em;
  }
  &::after {
  content: url("../img/arrow.svg");
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
}

/* パンくずリスト */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  @media screen and (max-width: 767px) {
    width: 90%;
  }
}
.breadcrumb_list {
  padding: 20px 0;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 0 5px;
  line-height: 1.5;
  margin: auto;
  @media screen and (max-width: 767px){
    padding: 10px 0;
  }
}
.breadcrumb_item {
  color: #fff;
  a {
    text-decoration: underline;
		color: #fff;
    &:hover {text-decoration: none;}
  }
  &:has(a[href]) {
    display: flex;
    align-items: center;
    gap: 0 5px;
  }
  &:has(a[href])::after {
    content: "";
    display: inline-block;
    width: 4px;
    border: 1px solid #fff;
  }
  @media screen and (max-width: 767px){
    white-space: nowrap;
    font-size: var(--font-14);
  }
}
/* footer */
footer{
  min-height: 200px;
}
.footer_inner {
  max-width: 1200px;
  width: 90%;
  margin: auto;
  padding: 64px 0;
  position: relative;
  a:hover{
    text-decoration: underline;
  }
  @media screen and (max-width: 767px){
    padding: 32px 0;
  }
}
.footer_address {
  display: flex;
  flex-direction: column;
  line-height: 2;
  gap: 9px 60px;
  padding: 0 30px;
  & > p{
    font-size: 2.4rem;
    font-weight: bold;
  }
  @media screen and (max-width: 767px){
    border-left: none;
    padding: 0;
  }
}
.footer_address--logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer_group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0 60px;
  @media screen and (max-width: 767px){padding-bottom: 0;}
  a{
    width: calc(25% - (60px / 4));
    @media screen and (max-width: 767px){width: auto;}
  }
}
.footer_group_head {
  width: 100%;
  border-top: 1px solid var(--main-color);
  padding-top: 20px;
}
.footer_nav_outer {
  display: flex;
  justify-content: space-between;
  margin: auto;
}
.footer_nav {
  min-height: 100%;
  padding: 0 30px;
  line-height: 2;
  border-right: 1px solid var(--main-color);
  border-left: 1px solid var(--main-color);
  @media screen and (max-width: 767px){
    display: none;
  }
}
.footer_item{
  &.footer_item--second{
    padding-left: 1em;
  }
  &.footer_item--third{
    padding-left: 2.5em;
  }
}
.contact_txt {
  letter-spacing: -0.02em;
}
/* footer画像 */
footer{
  position: relative;
  padding-top: 256px;
}
footer::before{
  content: '';
  display: block;
  width: 100%;
  height: 480px;
  background: url(/common/img/footer_img.webp) center no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
   @media screen and (max-width: 767px){
    height: 303px;
    background-position: bottom center;

   }
}

/* お問い合わせ */
.contact_top{
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: #fff;
  padding: 64px 100px 30px;
  max-width: 1100px;
  width: 90%;
  margin: auto;
   @media screen and (max-width: 767px){
    padding: 32px 5% 22px;
   }
}
.contact_all{
  position: relative;
  @media screen and (max-width: 767px){
    padding: 0 5%;
  }
}
.co_top_txt01{
  font-size: 3.2rem;
  @media screen and (max-width: 767px){
    font-size: 2.4rem;
  }
}
.co_top_txt01::before{
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 3px;     
  height: 40px;
  margin-right: 24px;
  background: linear-gradient(180deg,var(--main-color) 0,var(--main-color) 50%,var(--sub-color) 50%,var(--sub-color) 100%);
  @media screen and (max-width: 767px){
    margin-right: 10px;
  }
}

/* 3つのボタン */
.contact_bottom_all{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  width: 90%;
  background-color: #fff;
  margin: auto;
  @media screen and (max-width: 767px){
    flex-direction: column;
    gap: 10px;
}
}
.contact_bottom img{
  height: 32px;
  width: auto;
}
.contact_bottom:nth-of-type(3) img {
  height: 22px;
  width: auto;
}
  
.contact_bottom{
  max-width: 285px;
  width: 100%;
  min-height: 285px;
  background-color: #F5F5F5;
  display: flex;
  align-items: center;
  flex-direction: column; 
  padding: 35px 16px;
  @media screen and (max-width: 767px){
    min-height: 257px;
    min-width: 257px;
    width: 80%;
  }
}
.contact_bottom p:nth-of-type(1) {
  font-size: 2.4rem;
  color: var(--main-color);
  font-weight: bold;
  padding: 20px 0 16px;
  @media screen and (max-width: 767px){
    font-size: 2.1rem;
  }
}
.contact_bottom p:nth-of-type(2) {
  padding-bottom: 16px;
}
.button_bottom{
  height: 40px;
  margin-top: auto;
}
.button_bottom a{
  color: #fff;
  display: block;
  padding: 10px 6px;
  border-radius: 100px;
  background: var(--sub-color);
  width: 249px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  @media screen and (max-width: 767px){
    font-size: 1.4rem;
    width: 222px;
}
}
.copyright {
  background: var(--main-color);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 5%;
  small {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    letter-spacing: 0.05em;
    @media screen and (max-width: 767px) {
      display: inline-block;
      font-size: 1.2rem;
      align-items: center;
      text-align: center;
      gap: 5px;
      line-height: 1.5;
    }
  }
  img{
    width: 90%;
    @media screen and (max-width: 767px) {
      display: inline;
      max-width: 100px;
      display: inline;
      max-width: 100px;
      transform: translateY(0.15em);
      height: 14px;
    }
  }
}

.copyright small {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  gap: 0.35em;
  @media screen and (max-width: 767px) {
    display: inline-block;
    line-height: 1.5;
  }
}
.copyright a {
  transform: translate(0px, 2px);
  @media screen and (max-width: 767px) {
    transform: initial;
  }
}
/* ------------------
  Backtop
------------------ */
#backtop {
  position: fixed;
  display: block;
  width: 50px;
  height: 50px;
  right: 3%;
  bottom: 50px;
  border-radius: 50%;
  background: rgba(50,50,50,0.9);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: -10;
}
#backtop::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-25%) rotate(-45deg);
  top: 50%;
  left: 0;
  right: 0;
  margin-inline: auto;
}
#backtop.active {
  opacity: 0.6;
  visibility: visible;
  z-index: 50;
}

/* ------------------
下層ページ共通
------------------ */
/* タイトル */
.title_h2{
  font-size: 3.2rem;
  margin-bottom: var(--sp-16);
  @media screen and (max-width: 767px){
    font-size: 2.0rem;
    white-space: nowrap;
  }
}
.title_h2::before{
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 3px;     
  height: 40px;
  margin-right: 24px;
  background: linear-gradient(180deg,var(--main-color) 0,var(--main-color) 50%,var(--sub-color) 50%,var(--sub-color) 100%);
  @media screen and (max-width: 767px){
    margin-right: 10px;
  }
}
.title_h2{
  font-size: 2.4rem;
  @media screen and (max-width: 767px){
    font-size: 1.6rem;
  }
}
/* 印刷用設定 */
@media print {
  body {
    width:1280px!important;
    zoom: 0.68;
    -webkit-print-color-adjust: exact;
  }
  .header_inner {
    position: absolute;
    min-width: 1280px;
  }
  #backtop {
    display: none;
  }
}
@page {
  size: A4;margin: 5px;
}











