@charset "UTF-8";
/* CSS Document */

:root {
  --bg-dot: url(../images/bg_dot.png) top left;
  --main-color: #47539E;
  --sub-color: #F0C26B;
  --gradation-color: radial-gradient(circle at 0% 0%, #4BD9E8, #47539E);
  --shadow: 0 3px 20px rgba(0,0,0,.16) ;
  --space15-30:clamp(15px, -7.500px + 2.93vw, 30px);
  --space30-50: clamp(30px, 0.000px + 3.906vw, 50px);
  --space50-80:clamp(50px, 5.000px + 5.859vw, 80px);
}

html,body { height: 100%; }

body {
  font-family: var(--font-family-sans-serif);;
  color: var(--font-color);
  background-color: #F2F5F8;
  font-size: clamp(1rem, calc(0.875rem + 0.333vw), 1.125rem); /* min: 16px, max: 18px */;
  line-height: 1.7;
  font-weight: 500;
  overflow-x: hidden;
}

.text-justify{
  text-align: justify;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
      pointer-events: none;
  }
}

article h2 { text-align: center; }

.link_btn {
  display: flex;
  justify-content: center;
  margin: var(--space30-50) 0;
}

.link_btn a {
  display: inline-flex;
  justify-content: center;
  line-height: 1.2;
  font-weight: 700;
  background: var(--main-color);
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: clamp(1.25rem, calc(1rem + 0.667vw), 1.5rem); /* min: 20px, max: 24px */;
  box-shadow: var(--shadow);
}

.tel_color{
  color: var(--font-color) !important;
}

/*
  header
*/

header { 
  background: #fff; 
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  position: fixed;
  z-index: 99;
  width: 100%;
}

header h1 { margin: 0; }

ul.menu {
  display: flex;
  gap: 0 15px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.menu a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  line-height: 1;
  font-size: .75rem;
  color: var(--font-color);
}


ul.menu a:hover {
  opacity: 0.6;
}

ul.menu a.top_form {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--sub-color);
  padding: 20px;
}

/*
  top_movie
*/

.top_movie {
  width: 100%;
  height: 80svh;
  position: relative;
}

.top_movie::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-dot);
  bottom: -15px;
  left: 0;
}

.top_movie video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.movie_inline {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  padding-bottom: clamp(30px, -60.000px + 11.719vw, 90px);
  padding-right: clamp(20px, -70.000px + 11.719vw, 80px);
}

.movie_inline img {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: auto;
  height: clamp(180px, -150.000px + 42.969vw, 400px);
}

/*
  main
*/

main {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.lead_text {
  margin: var(--space50-80) 0;
  text-align: center;
  font-size: clamp(1.125rem, calc(1rem + 0.333vw), 1.25rem); /* min: 18px, max: 20px */;
  font-weight: 700;
}

.main_inquiry { 
  text-align: center;
  font-weight: 700;
}

.main_inquiry h2 { margin-bottom: var(--space15-30); }

.main_inquiry p {
  margin: 0;
  
  font-size: clamp(1.125rem, calc(0.75rem + 1vw), 1.5rem); /* min: 18px, max: 24px */;
}

.main_inquiry h3 {
  font-size: clamp(3rem, calc(0.75rem + 6vw), 5.25rem); /* min: 48px, max: 84px */;
  line-height: 1;
}

.main_inquiry h3 span {
  display: block;
  font-size: clamp(1.125rem, calc(0.75rem + 1vw), 1.5rem); /* min: 18px, max: 24px */;
  margin-top: 10px;
}

.form_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: stretch;
  padding: 20px;
  margin: var(--space15-30) 0;
}

.form_btn a {
  display: inline-flex;
  background-color:  var(--sub-color);
  border-radius: 80px;
  color: var(--blak-color);
  font-size: clamp(1.25rem, calc(0.25rem + 2.667vw), 2.25rem); /* min: 20px, max: 36px */;
  padding: 15px var(--space30-50) 15px clamp(63px, 7.500px + 7.227vw, 100px);
  position: relative;
  box-shadow: var(--shadow);
  transition: .2s;
}

.form_btn a::before {
  content: "";
  display: block;
  width: clamp(30px, 12.000px + 2.344vw, 42px);
  height: clamp(30px, 12.000px + 2.344vw, 42px);
  background: url(../images/icon_inquiry.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  left: var(--space30-50);
  top: 0;
  bottom: 0;
  margin: auto;
}

.form_btn a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* products */

.products {
  position: relative;
  width: 100vw;
  margin: var(--space50-80) calc( 50% - 50vw ) clamp(100px, 55.000px + 5.859vw, 130px);
  /*margin: var(--space50-80) calc( 50% - 52vw ) clamp(100px, 55.000px + 5.859vw, 130px);*/
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.products::before {
  content: "";
  display: block;
  position: absolute;
  width: 90vw;
  height: 100%;
  right: 0;
  top: 50px;
  border-radius: 50px 0 0 50px;
  background: var(--gradation-color);
  z-index: -1;
  margin: 0 calc( 50% - 50vw );
}

.products::after {
  content: "";
  display: block;
  position: absolute;
  width: calc( 90vw - 10px );
  height: 100%;
  right: 0;
  top: 60px;
  border-radius: 50px 0 0 50px;
  background: var(--bg-dot);
  z-index: -2;
  margin: 0 calc( 50% - 50vw );
}

.product_item {
  width: 90%;
  max-width: 960px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.product_item section {
  padding: var(--space15-30);
  border-radius: 20px;
  background-color: #fff;
  box-shadow: var(--shadow);
  width: calc( ( 100% - 15px ) / 2 );
}

@media screen and (max-width: 667px) {
  .product_item section { width: 100%; }
}

.product_item section h4 {
  display: flex;
  text-align: left;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  line-height: 1;
}

.product_item section h4 span {
  font-weight: 500;
  font-size: clamp(1rem, calc(0.875rem + 0.333vw), 1.125rem); /* min: 16px, max: 18px */;
}

.price {
  line-height: 1;
  margin: 0 0 20px;
}

.price span { 
  font-weight: 700; 
  font-size: clamp(1.75rem, calc(1.25rem + 1.333vw), 2.25rem); /* min: 28px, max: 36px */;
  display: inline-block;
  margin-right: 10px;
}

.explanation {
  line-height: 1.5;
  margin: 20px 0 0;
}

/* submission */

.submission { margin: var(--space50-80) 0; }

.submission h2 img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.process {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: var(--space30-50) 0;
}

.process div {
  aspect-ratio: 1 / 1;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
}

.process div img {
  aspect-ratio: 1 / 1;
  height: auto;
}

@media screen and (max-width: 768px) {
  .process { flex-wrap: wrap; }
  .process div { width: calc( ( 100% - 15px ) / 2 ); }
}


/* white_bg */

.white_bg {
  position: relative;
  width: 100vw;
  margin: var(--space50-80) calc( 50% - 50vw ) ;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  padding: var(--space30-50) 0;
  opacity: 1;
}

.white_bg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 10px;
  background: var(--bg-dot);
  z-index: -1;
}


/* point */

.point_list {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 960px;
  margin: var(--space30-50) auto;
  padding: 0 30px;
}

.point_list div {
  width: calc( ( 100% - 30px ) / 3 );
}

.point_list div p {
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .point_list { flex-wrap: wrap; }
  .point_list div { width: 100%; }
}

/* voice */

.voice h2 img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.voice_wrap {
  position: relative;
  width: 100vw;
  margin: var(--space30-50) calc( 50% - 50vw ) clamp(100px, 55.000px + 5.859vw, 130px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.voice_wrap::before {
  content: "";
  display: block;
  position: absolute;
  width: 90vw;
  height: 100%;
  left: 0;
  top: 50px;
  border-radius: 0 50px 50px 0;
  background: var(--gradation-color);
  z-index: -1;
  margin: 0 calc( 50% - 50vw );
}

.voice_wrap::after {
  content: "";
  display: block;
  position: absolute;
  width: calc( 90vw + 10px );
  height: 100%;
  left: 0px;
  top: 60px;
  border-radius: 0 50px 50px 0;
  background: var(--bg-dot);
  z-index: -2;
  margin: 0 calc( 50% - 50vw );
}

.voice_item {
  width: 90%;
  max-width: 960px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.voice_item::after {
  content: "";
  display: block;
  width: calc( ( 100% - 30px ) / 3 );
}

.voice_item section {
  padding: var(--space15-30);
  border-radius: 10px;
  border: 5px solid var(--main-color);
  background-color: #fff;
  box-shadow: var(--shadow);
  width: calc( ( 100% - 30px ) / 3 );
  position: relative;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 667px) {
  .voice_item section { width: calc( ( 100% - 15px ) / 2 ); }
  .voice_item::after { width: calc( ( 100% - 15px ) / 2 ) }
}

@media screen and (max-width: 430px) {
  .voice_item section { width: 100%; }
}

.voice_item section::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: var(--bg-dot);
  top: 10px;
  left:10px;
  z-index: -1;
}

.voice_item section img {
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 5px;
}

.voice_item section p {
  line-height: 1.5;
  margin: 0;
}

.voice_name{
  text-align: center;
  margin: 1em 0 0 0;
  font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
  flex-grow: 1;
}

.voice_text{
  padding: 1em 0;
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  flex-grow: 1;
}

/* bottom_btn */

.bottom_btn {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  margin: var(--space50-80) 0;
}

.bottom_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: var(--main-color);
  border-radius: 20px;
  font-weight: 700;
  width: calc( ( 100% - 30px ) / 2 );
  max-width: 260px;
  padding: 30px;
  font-size: clamp(1.125rem, calc(1rem + 0.333vw), 1.25rem); /* min: 18px, max: 20px */;
  box-shadow: var(--shadow);
  transition: .2s;
}

.bottom_btn a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.bottom_btn a img {
  display: inline-block;
  margin: 0;
}

@media screen and (max-width: 430px) {
  .bottom_btn { flex-wrap: wrap; }
  .bottom_btn a { width: 100%; }
}

/* bottom_inquiry */

.bottom_inquiry { 
  text-align: center;
}

.bottom_inquiry p {
  margin: 0 0 15px;
  font-size: clamp(1.125rem, calc(1rem + 0.333vw), 1.25rem); /* min: 18px, max: 20px */;
}

.bottom_inquiry h3 {
  font-size: clamp(1.25rem, calc(0.75rem + 1.333vw), 1.75rem); /* min: 20px, max: 28px */;
  line-height: 1;
}

.bottom_inquiry h3 span {
  display: inline-block;
  font-size: clamp(1rem, calc(0.875rem + 0.333vw), 1.125rem); /* min: 16px, max: 18px */;
  margin-top: 10px;
  font-weight: normal;
}

.bottom_inquiry > .form_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: stretch;
  padding: 20px;
  margin: 15px 0 0;
}

.bottom_inquiry > .form_btn a {
  display: inline-flex;
  background-color:  var(--sub-color);
  border-radius: 60px;
  color: var(--blak-color);
  font-size: clamp(1.125rem, calc(0.75rem + 1vw), 1.5rem); /* min: 18px, max: 24px */;
  padding: 15px 30px 15px 70px;
  position: relative;
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: .2s;
}

.bottom_inquiry > .form_btn a::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url(../images/icon_inquiry.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  margin: auto;
}

/*
  guide
*/

article.guide {
  padding-top: clamp(80px, 5.000px + 9.766vw, 130px);
  margin-bottom: var(--space30-50);
}

.guide_box {
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  padding: var(--space30-50);
  margin-top: var(--space15-30);
}

.guide_box::before {
  content: "";
  border-radius: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 10px;
  top: 10px;
  background: var(--bg-dot);
  z-index: -1;
}

.guide_box h3 {
  border-radius: 30px;
  background: #F9F9F9;
  box-shadow: inset 5px 5px 10px #ebebeb,
              inset -5px -5px 10px #F9F9F9;
  font-size: 1.25rem;
  padding: 15px 15px 15px 50px;
  position: relative;
  margin-top: var(--space30-50);
}

.guide_box h3:first-of-type { margin-top: 0; }

.guide_box h3::before {
  content: "";
  position: absolute;
  aspect-ratio: 1/1;
  width: 25px;
  height: 25px;
  border-radius: 13px;
  background-color: #E3EA8C;
  top: 15px;
  left: 15px;
}

.guide_box p {
  padding: 0 1em;
}

.guide_box ul {
  padding: 0 1em 0 2.5em;
}

.to-top_btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.to-top_btn a {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 30px;
  background-color: #E3EA8C;
  color: #333;
  margin-top: var(--space50-80);
  box-shadow: var(--shadow);
}

.to-top_btn a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.template-box{
  display: grid; 
  gap: 1rem;
  grid-template-columns: 80px 1fr;
  align-items: center;
}

.template-box .icon-box {
  width: 80px;
  height: 80px;
  padding: 10px;
}

.template-box .icon-box .icon-ai{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid;
  font-size: 2rem;
  color: #47539e;
  width: 100%;
  height: 100%;
}

/*
  faq
*/

article.faq {
  padding-top: clamp(80px, 5.000px + 9.766vw, 130px);
  margin-bottom: var(--space30-50);
}

.faq_box {
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  padding: var(--space30-50);
  margin-top: var(--space15-30);
}

.faq_box::before {
  content: "";
  border-radius: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 10px;
  top: 10px;
  background: var(--bg-dot);
  z-index: -1;
}

.faq_box h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  /*border: 1px solid  var(--main-color);;*/
}

.faq-question__wrap {
  position: relative;
  background:  var(--main-color);;
  padding: 10px 5px 10px 55px;
  cursor: pointer;
  border-radius:20px;
}

.active-radius{
  border-radius: 20px 20px 0 0;
}

.minus-icon {
  position: absolute;
  content: "";
  width: 20px;
  height: 3px;
  background: #fff;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.plus-icon {
  position: absolute;
  content: "";
  width: 20px;
  height: 3px;
  background: #fff;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: ease all 0.5s; /* 擬似要素のトランジションを追加 */
}

.plus-icon.active {
  transform: translateY(-50%);
}

.faq-question__title {
  font-weight: bold;
  color: #FFF;
  font-size: 20px;
  position: relative;
  padding-right: 2em;
  margin: 0;
}
.faq-question__title::before {
  position: absolute;
  color: #fff;
  content: "Q";
  top: 50%;
  left: -35px;
  transform: translateY(-50%);
}

.faq-answer__wrap {
  background: #fff;
  padding: 1em;
  transition: ease all 0.5s; /* 擬似要素のトランジションを追加 */
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}



.faq-answer__wrap.active {
  height: auto;
  padding: 1em;
  border: 1px solid  var(--main-color);
}
.faq-answer__wrap {
  background: #fff;
  opacity: 0;
  padding: 1em;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: linear 0.1s; /* 擬似要素のトランジションを追加 */
}

.faq-answer__wrap.active {
  opacity: 1;
  padding: 1em;
  border-radius: 0 0 20px 20px;
}

.faq-answer__title {
  position: relative;
  font-weight: bold;
  color:  var(--main-color);;
  font-size: 20px;
  padding-right: 2em;
}

.faq-answer__title::before {
    position: absolute;
    color:  var(--main-color);;
    content: "A";
    top: 50%;
    left: -35px;
    transform: translateY(-50%);
  }

.faq-answer__text {
  margin-top: 5px;
}


/*
  footer
*/

footer {
  color: #fff;
  background-color: var(--main-color);
  font-size: .75rem;
  text-align: center;
  padding: 10px 1em;
  margin-top: var(--space50-80);
  position: sticky;
  top: 100svh;
}

.footer_link {
  font-size: .875rem;
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 5px;
}

.footer_link a {
  color: #fff;
  text-decoration: underline;
}

/* 
  pc / sp 
*/

.sp-only { display: none; }

@media screen and (max-width: 430px) {
  .pc-only { display: none; }
  .sp-only { display: block; }
}

/*
  animation_up
*/

.fadeInUp{
  animation-name:fadeInUp;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeInUp{
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.up { opacity: 0; }

/*
  page_top
*/

#page_top {
  position: fixed;
  right: 30px;
  bottom: 60px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  aspect-ratio: 1/1;
  background-color: rgba(0,0,0,.8);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition: .3s;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

#page_top.visible {
  opacity: 1;
  visibility: visible;
}

#page_top a {
  color: #fff;
  font-size: 12px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
