@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #f5f5f7;
  color: #675237;
  font-family: Helvetica, Arial, Verdana, 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro W3, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  background-color: #fff;
  border-left: #e5e5e5 1px solid;
  border-right: #e5e5e5 1px solid;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
}

.wrapper {
  margin: 0 auto;
  padding: 80px 4%;
  text-align: center;
}

img {
  border: none;
  vertical-align: bottom;
  align-items: baseline;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* 文字--------------*/
a {
  text-decoration: none;
  color: #675237;
}

a:not(.cta-btn):hover img {
  position: relative;
  top: 3px;
  opacity: 0.9;
}

/* 文字--------------*/
.bg_gray {
  background-color: #EFEFEF;
}

.bg_yellow {
  background-color: #FFFAD4;
}

.bg_blue {
  background-color: #0067af;
}

.bg_green {
  background-color: #E1EFEF;
}

.bg_white {
  background-color: #fff;
}

.bg_lightgray {
  background-color: #f6f1e4;
}


.bg_orange {
  background-color: #FFFAEC;
}

.white {
  color: #fff;
}

.red {
  color: #d62b2b;
}

.bold {
  font-weight: bold;
}

/*余白
-------------------*/
.mb40 {
  margin-bottom: 40px;
}

.mt2 {
  margin-top: 2rem;
}

/*ヘッダー
-------------------------------------*/
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  z-index: 80;
  align-items: center;
  display: flex;
  position: fixed;
  height: 80px;
}

.logo {
  height: 50px;
  width: auto;
}

.logo_p {
  font-size: 66.6%;
  margin-left: 15px;
}

.header_inner {
  display: flex;
  align-items: center;
  width: 1024px;
  padding: 0 30px;
  margin: 0 auto;
  justify-content: space-between;
}

.header_inner ul {
  display: flex;
  align-items: center;
  height: 100%;
}

.header_inner ul li {
  list-style: none;
  margin-left: 20px;
  font-size: 14px;
}

.header_inner ul a {
  text-decoration: none;
}

.header_inner ul a:hover {
  color: #FE8A00;
}

.header_btn {
  height: 80px;
  background-color: #f03232;
  display: flex;
  align-items: center;
}

.header_btn a {
  font-weight: bold;
  color: #fff;
  padding: 20px;
}

.header_btn a:hover {
  color: #fff !important;
}

.header_btn:hover {
  opacity: 0.8;
}
#reason,#price,#flow,#top,#form {
  scroll-margin-top: 80px;
}
/*fv
-------------------------------------*/
#top {
  padding-top: 80px;
}

/*cta
-------------------------------------*/

.floatbtn {
  display: none;
}


.btn a:not(.cta-btn):hover img {
  position: relative;
  bottom: 3px;
  opacity: 0.9;
}

.cta {
  text-align: center;
  padding-bottom: 3rem;

}

.cta p {
  font-size: 24px;
  font-weight: bold;
}

.cv_btn {
  margin: 0 auto;
}

.relative {
  position: relative;
}

.cta-main-inner {
  background: url(../images/btn_cta-bg.jpg) no-repeat top center / contain;
  border-radius: 12px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 570px;
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  border: solid 6px #f39b1d;
}

.cta-lead {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.cta-btn .btn {
  width: 100%;
  max-width: 800px;
  height: auto;
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transition: transform 0.28s cubic-bezier(.5,1.7,.37,.81), opacity 0.25s;
}
/* ホバーでふわっと浮かす！ */
.cta-btn:hover .btn,
.cta-btn:focus .btn {
  transform: translate(-50%, 4px); /* Y方向に上げる */
  opacity: 0.95;
}

.cta {
  background-color: #fee95e;
  background-image:
   repeating-linear-gradient(-45deg,
  #fee64c, #fee64c 10px,
   transparent 0, transparent 20px);
   text-align: center;
   padding-bottom: 60px;

}

.cta2 {text-align: center;
  padding: 2rem 4% 60px 4%;
}

.cv_btn {
  margin: 0 auto;
}
.btn_tel {
  margin: 0 1rem;
  padding-top: 2rem;
}

/* タブレット幅専用：W975〜W769 */
@media (max-width: 975px) and (min-width: 769px) {
  .cta-main-inner {
    min-height: 460px;
    padding: 20px 8px;
    background-size: cover;
  }
  .cta-lead {
    top: 0.5rem;
    max-width: 95%;
  }
  .cta-btn .btn {
    bottom: 20px;
    max-width: 550px;
  }
}

/* SP（768px以下）でSP画像＋もっとコンパクトに */
@media (max-width: 768px) {
  .cta-main-inner {
    min-height: 286px;
    padding: 12px 4px;
    background: url(../images/btn_cta-bg_sp.webp) no-repeat top center / cover;
    border: solid 3px #f39b1d;
  }
  .cta-lead {
    top: 0;
    width: 90%;
  }
  .cta-btn .btn {
    bottom: 18px;
    width: 92.5%;
  }
}
/*q&a
----------------------------*/
#qa {
  padding-bottom: 80px;
}

/*チェックボックスを消す*/
.checkbox {
  display: none;
}

/*アコーディオンの大きさと位置調整*/
.accordion {
  max-width: 960px;
  margin: 0 auto;
  text-align: justify;
  border-radius: 10px;
}

/*アコーディオンのラベルの設定*/
.accordion dt label {
  background-color: #ffd793;
  padding: 20px 30px;
  /* font-weight: 700; */
  display: flex;
  align-items: center;
  line-height: 1;
  position: relative;
  cursor: pointer;
}

.accordion dd {
  display: flex;
}

.title_q, .p_a {
  padding-right: 40px;
  padding-left: 40px;
}

.accordion dt label::after {
  content: "";
  background-image: url(../images/icon_plus.webp);
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  transition: transform 0.3s ease;
}

.checkbox:checked~dl dt label::after {
  transform: translate(0, -50%) rotate(-45deg);
}

.accordion dd {
  height: 0;
  overflow: hidden;
  padding: 0 20px;
  border: solid 1px transparent;
  position: relative;
}

.checkbox:checked~dl dd {
  height: auto;
  padding: 20px 30px;
  background-color: #fff;
}

.icon_q {
  content: url(../images/Q.svg);
  position: absolute;
  top: 15%;
  left: 20px;
}

.icon_a {
  content: url(../images/A.svg);
  position: absolute;
  top: 15%;
  left: 20px;
}


.a {
  position: relative;
}

.a::before {
  color: #66769e;
  content: "A";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  left: -20px;
  position: absolute;
}



/*footer*/
footer {
  text-align: center;
  padding-top: 40px;
  width: 100%;
  font-size: 0.875rem;
  background-color: #888;
  color: #fff;
}

.footer_li {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  list-style: none;
  justify-content: center;
}

.footer_li li {
  padding-left: 20px;
  padding-right: 20px;
}

.footer_li li a {
  color: #fff;
}

.footer_li li a:hover {
  color: #eee;
}

.left_border {
  border-left: 1px solid #fff;
}

.copyright {
  background-color: #888;
  color: #eee;
  padding-top: 15px;
  padding-bottom: 15px;
}


/* map */
.map {
  text-align: center;
}
.map_flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 32px;
  gap: 40px;

}

@media only screen and (max-width:768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  body {
    width: 100%;
  }

  .container {
    border-left: none;
    border-right: none;
    overflow: hidden;
  }

  /* case study カルーセル（アロー・フリック・マウス操作・ドット・調整用変数） */
  #case_study .case_study_carousel_wrap {
    --carousel-slide-count: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fefcdf
  }
  #case_study .case_study_slider_row {
    display: flex;
    align-items: center;
    width: 100%;
  }
  #case_study .case_study_carousel {
    flex: 1;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }
  #case_study .case_study_track {
    display: flex;
    width: calc(var(--carousel-slide-count) * 100%);
    transition: transform 0.3s ease-out;
    will-change: transform;
  }
  #case_study .case_study_slide {
    flex: 0 0 calc(100% / var(--carousel-slide-count));
    width: calc(100% / var(--carousel-slide-count));
    box-sizing: border-box;
  }
  #case_study .case_study_slide img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
    pointer-events: none;
  }
  #case_study .case_study_arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #675237;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #case_study .case_study_arrow:disabled {
    opacity: 0.3;
    cursor: default;
  }
  #case_study .case_study_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 0 0;
  }
  #case_study .case_study_dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s;
  }
  #case_study .case_study_dot:hover {
    background: #999;
  }
  #case_study .case_study_dot.is-active {
    background: #f39800;
  }

  img {
    max-width: 100% !important;
  }

  .wrapper {
    padding: 50px 4%;
  }

  .pb2 {
    padding-bottom: 1rem;
  }

  .mt2 {
    margin-top: 2rem;
  }

  .mb40 {
    margin-bottom: 1rem;
  }

  .logo {
    height: 40px;
    align-items: center;
  }

  header {
    padding: 0 1rem;
    height: 60px;
  }

  .header_inner {
    width: 100%;
    padding: 0;
  }

  .header_inner ul {
    display: block;
    align-items: center;
    height: 100%;
  }

  /* ハンバーガーメニュー */
  .hamburger-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
  }



  .menu-btn {
    position: relative;
    top: 0.5rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;

  }

  .menu-text {
    position: absolute;
    top: -2rem;
    text-align: center;
    font-size: 14px;
    color: #9f783f;
    font-weight: bold;
  }

  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 2rem;
    border-radius: 2px;
    background-color: #9f783f;
    position: absolute;
  }

  .menu-btn span {
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-btn span:before {
    top: -10px;
  }

  .menu-btn span:after {
    top: 10px;
  }

  /* ボタンタップ時はｘにする */
  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
  }

  #menu-btn-check:checked~.menu-btn span::before {
    top: 0;
    transform: rotate(45deg);
    background-color: #9f783f;
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: #9f783f;
  }

  #menu-btn-check {
    display: none;
  }

  .menu-content ul {
    padding: 70px 10px;
  }

  .menu-content ul li {
    border-bottom: solid 1px #9f783f;
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    padding: 1rem;
    position: relative;
    color: #9f783f;
  }

  .menu-content ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px #9f783f;
    border-right: solid 2px #9f783f;
    transform: rotate(45deg);
    position: absolute;
    right: 1rem;
    top: 26px;
  }
  .menu-content ul li.header_btn a::before {
    border: none !important;
    content: "";
  }
  .header_btn {
    background:none;
    height: auto;
  }
  
  /* ボタン押していないときは非表示 */
  .menu-content {
    width: 100vw;
    height: 60vh;
    position: fixed;
    top: 0;
    left: 100%;
    background-color: #fffffff5;
    transition: all 0.5s;
    z-index: 9998;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0;
  }
  #reason,#price,#flow,#top,#form {
    scroll-margin-top: 60px;
  }
  #top {
    padding-top: 60px;
  }
  #qa {
    padding-bottom: 30px;
}
  /* footer */
  footer {
    padding-top: 0;
    padding-bottom: 7vh;
  }


  .footer_li {
    display: block;
    margin-bottom: 0;
  }

  .footer_li li {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #fff;
  }

  .left_border {
    border-left: none;
  }

  .copyright {
    font-size: 0.75rem;
  }

  /* cta */
  .cta {
    padding: 1rem 0;
  }


  .cta p {
    font-size: 1em;
  }

  .w80 {
    width: 80%;
  }
  .btn_inner {
    position: fixed;
    z-index: 80;
    left: 0%;
    bottom: 0px;
    display: flex;
  }
.btn_tel {
  margin: 0 1rem;
  margin-top: 1rem;
}
  .map iframe {
    width: 100%;
  }
  .map_flex {
    display: block;
    padding: 0;
  }

  /* qa */
  .accordion {
    margin: 0 1rem;
  }
.accordion dl{
  margin-top: 10px;

}
  .accordion dt label {
    padding: 5px 0.5rem;
  }

  .accordion dt label::after {
    width: 3vw;
    height: 3vw;
    right: 0.5rem;
  }

  .checkbox:checked~dl dt label::after {
    transform: translate(0, -50%) rotate(-45deg);
  }


  .icon_q {
    width: 5%;
    left: 0.5rem;
  }

  .title_q {
    font-size: 1rem;
    line-height: 1.5;
    padding-right: 1.4rem;
    padding-left: 8%;
  }

  .checkbox:checked~dl dd {
    height: auto;
    padding: 10px 1rem;
    font-size: 1rem;
  }

  .icon_a {
    width: 5%;
    top: 10px;
    left: 0.5rem;
  }

  .p_a {
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.5;
    padding-right: 0px;
    padding-left: 5%;
  }

}

