@charset "utf-8";

#hero {
  background: url(../img/top/hero.jpg) no-repeat center/cover;
  height: 62rem;
  padding: 0 min(3vw, 6rem);
  width: 168rem;
  max-width: 100%;
  border-radius: 1.2rem;
  position: relative;
  overflow: hidden;
}
#hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 72rem;
}
.ttl_line {
  color: var(--gold);
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.ttl_line::after {
  content: "";
  display: block;
  background: var(--brown);
  height: 1px;
  margin: 1.5rem auto 3rem auto;
  width: 2rem;
}
#service_list {
  display: flex;
  gap: 3rem 2rem;
}
.service_item {
  width: calc(100%/3 - 14px);
}

.plan-cards {
  gap: 30px 20px;
  margin-top: 2rem;
}
.plan-card {
  width: calc(100%/3 - 14px);
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  position: relative;
}
.plan-card .price {
  font-weight: 700;
  margin: .6rem 0 1rem;
  font-size: clamp(2.6rem, 2.1vw, 4rem);
}
.plan-card .price .note {
  font-size: 60%;
  font-weight: 400;
  margin-left: .3em;
}
.plan-card .features {
  margin-left: 1.2rem;
}
.plan-card .features li {
  list-style: disc;
  margin: .3rem 0;
}
.plan-card.recommend {
  border: 2px solid #896e46;
}
.plan-card .badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #896e46;
  color: #fff;
  padding: .3rem .9rem;
  border-radius: 999px;
  font-size: 1.2rem;
}

.subplans {
  gap: 20px;
  margin-top: 1.8rem;
}
.sub-card {
  flex: 1 1 320px;
  background: #fff;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.sub-card .price {
  font-weight: 700;
  margin: .5rem 0 1rem;
  font-size: clamp(2.6rem, 2.1vw, 3.2rem);
}
.sub-card .note {
  font-size: 70%;
}
.option-list li {
  background: #fff;
  border: 1px solid #e6e0d5;
  border-radius: 999px;
  padding: .6rem 1.2rem;
}

#cta {
  background: var(--black);
  /* background: url(../img/top/hero.jpg) no-repeat center; */
}
#cta li {
  margin: 0 1rem;
}

.flow {
  gap: 20px;
  counter-reset: step;
  margin-top: 1rem;
}
.flow-item {
  width: calc(100%/3 - 14px);
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

/*----- faq -----*/
.faq_ttl {
  padding: clamp(1.0rem, 1.0vw, 2.0rem) clamp(4.0rem, 4.0vw, 6.0rem) clamp(1.0rem, 1.0vw, 2.0rem) clamp(4.5rem, 4.5vw, 7.5rem);
  cursor: pointer;
  background: var(--brown);
  color: #fff;
  position: relative;
}

.faq_ttl::before {
  content: "Q";
  font-family: "gotham", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  left: clamp(1.5rem, 1.5vw, 3.0rem);
  top: clamp(0.6rem, 0.6vw, 1.2rem);
  font-size: 2.4rem;
}

.faq_ttl::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  background: url(../img/faq/plus.webp) no-repeat center, url(../img/faq/minus.webp) no-repeat center;
  background-size: contain;
  position: absolute;
  right: clamp(1.5rem, 1.5vw, 3.0rem);
  top: calc(50% - 1rem);
}

.faq_ttl.active::after {
  background: url(../img/faq/minus.webp) no-repeat center;
}

.faq_area {
  padding: clamp(1.0rem, 1.0vw, 2.0rem) clamp(1.5rem, 1.5vw, 3.0rem) clamp(1.0rem, 1.0vw, 2.0rem) clamp(4.5rem, 4.5vw, 7.5rem);
  position: relative;
  display: none;
  transition: 0.3s;
}

.faq_area.active {
  display: block;
}

.faq_area::before {
  content: "A";
  font-family: "gotham", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--brown);
  position: absolute;
  left: clamp(1.5rem, 1.5vw, 3.0rem);
  top: clamp(0.6rem, 0.6vw, 1.2rem);
  font-size: 2.4rem;
}

#contact .white_bg {
  max-width: min(69vw, 138rem);
  margin: 0 auto;
  border-radius: 1.6rem;
  background: #fff;
  padding: 2.4rem;
}

#contact form {
  padding: min(3.0vw, 6.0rem);
}

#form dt {
  color: #896e46;
  display: flex;
  align-items: center;
  line-height: 1;
  padding: .3rem 0;
  margin-bottom: .6rem;
}

#form dt span {
  background: #896e46;
  color: #fff;
  margin-left: .9rem;
  display: block;
  padding: .3rem 1.5rem;
}

#form dd {
  margin-bottom: 1.6rem;
}

.features-vertical .feature-item{
  display: grid;
  grid-template-columns: minmax(160px, 28%) 1fr;
  gap: 1.6rem;
  align-items: center;
}
.features-vertical .feature-media{
  overflow: hidden;
  background: #f4f1eb;
}
.features-vertical .feature-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.features-vertical .feature-body h3{ margin-bottom:.6rem; }

.flow-onecol.flow-side .flow-item{
  display: grid;
  grid-template-columns: minmax(180px, 34%) 1fr;
  gap: 1.6rem;
  align-items: center;
  padding-right: 1.6rem;
}
.flow-onecol.flow-side .flow-item .thumb{
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: 1.2rem 0 0 1.2rem;
}
.flow-onecol.flow-side .flow-item .thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  border-radius: 1.2rem 0 0 1.2rem;
}
.flow-onecol.flow-side .flow-item .flow-body h3{ margin-bottom:.6rem; }

.flow-onecol{
  display:block;
  counter-reset: step;
}
.flow-onecol .flow-item{
  width:100%;
  background:#fff;
  border-radius:1.2rem;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  margin-bottom: 4.5rem;
  position: relative;
}
.flow-onecol .flow-item .thumb{
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 0 0 1.2rem 0;
  background: #f4f1eb;
}
.flow-onecol .flow-item .thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.num{
  margin-right:0.6rem;
}
.flow-onecol .flow-item:not(:last-child)::after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #e6e0d5;
  margin: 1.2rem auto 0 auto;
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
}

.voice-item {
  width: 36rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  margin: 0 1rem;
}
.voice-photo{
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1.2rem 1.2rem 0 0;
  overflow: hidden;
}
.voice-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voice-text{
  padding: 1.6rem 1.6rem 0;
  margin: .4rem 0 .8rem;
}
.voice-meta{
  color: var(--brown);
  font-weight: 700;
  padding: 0 1.6rem 2rem;
}

#area .area-card{
  display: grid;
  grid-template-columns: minmax(220px, 40%) 1fr;
  gap: 1.6rem;
  align-items: center;
}
#area .area-media{
  width: min(21vw, 42rem);
}
#area .area-body .area-text{
  line-height: 2;
}

.table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
#compare table{
  border-spacing:0 !important;
  border-radius:12px;
  background:#fff;
  margin: 0 auto;
}
#compare thead th{
  background:#f4f1eb;
  text-align:center;
  font-weight:700;
  padding:16px 12px;
  border-radius:1.2rem 1.2rem 0 0;
}

#compare thead th:first-child {
  background:transparent;
  border: none;
}
#compare tbody th {
  background:#fbf8f3;
}

#compare th, #compare td{
  padding:18px 16px;
  border-bottom:1px solid #eee;
  vertical-align:middle;
}
#compare tbody td{ text-align:center; }

#compare thead th:nth-child(2){
  background:var(--gold);
  color: #fff;
  border-bottom: 1px solid var(--gold);
}
#compare tbody td:nth-child(2){
  background:#fff;
  border:3px solid var(--gold);
  border-bottom:1px solid var(--gold);
  border-top: none;
}
#compare tbody tr:last-child td:nth-child(2){
  border-bottom:3px solid var(--gold);
}

#compare tbody tr:hover td{ background:#fffdf6;}

#compare thead th:nth-child(2){
  position: relative;
  z-index: 3;
}
#compare thead th:nth-child(2)::after{
  z-index: 4;
  top: -20px;
}


body.is-locked{
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
}

@media screen and (min-width:1025px){
  .btn{ font-size: clamp(1.6rem, 1.5vw, 2.2rem); }
}

@media screen and (max-width:1024px){
  #mv .box {
    padding-left: 0;
    padding-right: 0;
  }
  #hero {
    height: 460px;
  }

  .plan-card .price{ font-size: 2.8rem; }
}

@media screen and (max-width:768px){
  #hero {
    height: 360px;
    background-position: right center;
  }

  .service_item, .plan-card, .flow-item {
    width: calc(50% - 10px);
  }

  .features-vertical{
    max-width: 100%;
  }
  .flow-onecol .flow-item{
    padding:1.5rem;
  }

  #compare th, #compare td{ padding:14px 12px; }
  #compare thead th:first-child, #compare tbody th:first-child{ position:-webkit-sticky; }
  
  
  #area .area-media {
    width: 21rem;
    margin: 0 auto;
  }
}
@media screen and (min-width:481px){
  .features-vertical .feature-media{
    aspect-ratio: 1 / 1;
  }
}
@media screen and (max-width:540px){
  #hero {
    height: 320px;
  }

  .service_item, .plan-card, .flow-item {
    width: 100%;
  }

  form {
    padding: 4.5rem 3.0rem;
  }
  #form dt {
    font-size: 1.8rem;
    margin-bottom: .6rem;
  }

  #form dd {
    margin-bottom: 1.5rem;
  }

  #area .area-card{
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }
  .features-vertical .feature-item, .flow-onecol.flow-side .flow-item{
    grid-template-columns: 1fr;
  }
  #compare{
    max-width: 640px;
  }
  #compare table {
    width: max-content;
  }
  
  .features-vertical .feature-media{
    aspect-ratio: 3 / 2;
  }
  
  #hero {
    background: url(../img/top/hero_sp.jpg) no-repeat center bottom/cover;
    display: block;
    padding-top: 3rem;
    height: 45rem;
  }
}