@charset "UTF-8";
body {
/* background: url(images/2222@2x.png) no-repeat top center / contain;
height: 30000px;
background-position-y: 13318px; */

}

/* ---------------------------------------------------------
config
--------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@900&family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@900&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");
/* ---------------------------------------------------------
A Modern CSS Reset
--------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ol,
ul,
li,
td,
th,
figure,
input,
select,
button,
optgroup,
textarea {
  margin: 0;
  padding: 0;
}

article,
aside,
footer,
header,
main,
nav,
section,
figcaption,
figure {
  display: block;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

li {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media screen and (max-width: 749px) {
  [data-sc-pc] {
    display: none !important;
  }
}

@media print, screen and (min-width: 750px) {
  [data-sc-sp] {
    display: none !important;
  }
}

/* ---------------------------------------------------------
style
--------------------------------------------------------- */
html {
  /* font-size: 62.5%; */
  font-size: 12px; /* 通常時 1rem = 10px */
}

@media (max-width: 750px) {
  html {
    font-size: 2.4vw;
    /* font-size: clamp(13px, 2.4vw, 18px);  */
  }
}
body {
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  line-height: 2;
  color: #000;
  font-size: 2rem;
  letter-spacing: 0.05em;
  word-break: break-all;
}

img {
  border-style: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

a,
button {
  outline: 0;
  text-decoration: none;
  color: inherit;
  background-color: transparent;
  transition: opacity 0.3s;
  cursor: pointer;
}
a:hover,
button:hover {
  opacity: 0.6;
}

a.no_opacity:hover {
  opacity: 1;
}


/* ---------------------------------------------------------
style
--------------------------------------------------------- */
/* ------全体---------------------- */
@media screen and (min-width: 751px) {

  .mainflex {
    /* display: flex; */
    position: relative;
  }
  main.homeMain {
    max-width: 500px;
    margin: 0 auto;
    /* height: 100vh; */
    /* position: relative; */
  }



  .lBox,
  .rBox {
    width: calc((100vw - 500px) / 2);
  height: 100vh;
  position: fixed;
    top: 0;
    left: 0;
 
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex: 1; */
    height: 100vh;

    & img {
      width: 20rem;
      height: auto;
      padding: 0 20px;
    }
  }
  .rBox {
    right: 0;
    left: auto;
  }
}
@media screen and (max-width: 751px) {
  .lBox,
  .rBox {
    display: none;
  }
}
/* @media screen and (min-width: 1400px) {
  main.homeMain {
    max-width: 600px;
}
} */
/* ------全体---------------------- */

/* ------mv---------------------- */
.mvWrap {
  /* height: 100svh; */
  /* width: auto; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 5rem .3rem 5rem 1rem; */
  img.mv {
    /* padding: 3rem .6rem 3rem 2rem; */
    padding: 2rem .3rem 2rem 1rem;
    width: auto;
    height: 100svh;
    object-fit: contain;
  }
}


/* -----mv---------------------- */

/* ------リセット---------------------- */
header#masthead {
  display: none;
}

.site-content-contain {
  background-color: unset;
  position: relative;
}


.homeMain a {
  text-decoration: none;
  border: none;
  background-color: unset;
  display: block;
  text-align: unset;
  font-size: unset;
  letter-spacing: unset;
  color: unset;
  padding: 0;
  &:hover {
    background: none;
    border: none;
  }
}
/* ------リセットここまで---------------------- */

html {
  scroll-behavior: smooth;
}
.ankp {
  margin-top: -2rem;
  padding-top: 2rem;
}
body {
  background: #FFFEBA;
}

.w430 {
  padding: 0 2rem;
}



.mvbotm_a {
  width: 80%;
  margin: 5rem auto;
  @media screen and (min-width: 750px) {
    margin-bottom: 7rem;
  }
  
}

.lead {
  margin-bottom:11.4rem;
}
.lead__in {
  background-color: #fff;
  border-radius: 7rem;
  margin-top: 4.4rem;
  padding: 2.5rem;
  padding-bottom: 4.5rem;
  & img:nth-of-type(1) {
    padding: 1rem;
    }

}
.lead__in .txt {
  color: #197BC9;
  font-size: 1.4rem;
  text-align: justify;
  margin-top: 1.25rem;
  line-height: 2.3;
  margin-bottom: 2rem;
  font-weight: 600;
}
.lead__in .txt2 {
  color: #197BC9;
  font-size: 1.3rem;
  text-align: center;
  font-weight: bold;
  margin-top: 34px;
}
.lead__in .txt2 span {
  display: inline-block;
  background: #FFEE21;
  margin: .3rem 0;
}


.merit {
  margin-bottom: 14rem;
  .yBox h2 {
    position: relative;
    height: 23rem;
    img {
      position: absolute;
      top: -6rem;
      padding: 0;
      width: 90%;
      height: auto;
      left: calc(50% - 45%);
    }
  }
  
  .yBox {
    background: #ffdf21;
    position: relative;
    border-radius: 11rem;
    padding-top: 0;
    padding-bottom: 7rem; 
  }
  
  .yBox img {
    padding-top: 4.6rem;
    width: 90%;
    margin: 0 auto;
  }
}

.sikumi h2{
  margin-bottom: 2.4rem;
}
.sikumi .hajime {
  margin-bottom: 2.5rem;
  max-width: 14rem;
  margin: 0 auto;
}
.sikumi .hajime + p{
  color: #197BC9;
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.8;
  margin-top: 1rem;
  font-weight: 700;
}
.sikumi__lead {
  padding: 0 1.7rem;
  margin-top: 3rem;
  margin-bottom: 3.3rem;
}
.sikumi__lead img {
  margin-top: 3rem;
}

.kou {
  padding: 6rem 1.4rem;
  background: #F6A89E;
  border-radius: 5rem;
  margin-left: 1.5rem;
    margin-right: 1.5rem;
  margin-bottom: 6rem;
}
.tei {
  background-color: #99D5E6;
  margin-bottom: 11rem;
}

.kou img:nth-of-type(1) {  margin-bottom: 5rem;}
.kou img:nth-of-type(2) {  margin-bottom: 4rem;}
.kou img:nth-of-type(3) {  margin-bottom: 4rem;}
.kou img:nth-of-type(4) {  margin-bottom: 4rem;}

.case {
  position: relative;
  background-color: #fff;
  border-radius: 5rem;
  padding: 6rem 0  1rem .5rem;
  &:before {
    position: absolute;
    content: "";
    top: -9rem;
    right: 2.5rem;
    width: 15rem;
    height: 17.2rem;
    background: url(images/case_06.png) no-repeat center/contain;
}
  & img {
    margin-bottom: 3rem;
  }
  & .kome {
    color: #197BC9;
    text-align: center;
    font-size: 1.5rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
  }
}
.qa {
  margin-top: 8rem;
  img {
    margin-bottom: 3rem;
  }
  & .ttl {
    width: 24rem;
    margin: 0 auto;
    margin-bottom: 3rem;
  }
  & .dame {
    margin-top: 10rem;
    margin-bottom: 10rem;
  }

}

.plan {
  background-color: #FFDF21;
  position: relative;
  margin-top: 5rem;
  border-radius: 11rem;
  color: #197BC9;
  line-height: 1.5;
  font-weight: 700;
  padding: 24.7rem 0 6rem 0;
  & img:nth-of-type(1) {
    margin-bottom: 5rem;
    position: absolute;
    width: 32rem;
    top:-1.8rem;
    height: 27.3rem;
    left: calc(50% - 17.3rem);
    /* left: 3rem; */
  }
  & img:nth-of-type(2) {
    margin-bottom: 3rem;
    padding: 0 .5rem;
  }
  & img:nth-of-type(3) {
    margin-bottom: 3rem;
    padding: 0 .5rem;
  }
  & .txtBox {
    padding: 0 2rem;
}
  & .kome {
    font-size: 1.2rem;
    text-indent: -1.5em;
    padding: 0 1.5rem 0 2.5rem;
    margin-bottom: 1.5rem;
  }
  & h3 {
    background: #197BC9;
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
    padding: .5rem 0;
    margin-bottom: 1.4rem;
}
& .row {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}
& .l {
  background: #fff;
  width: 5.5em;
  font-size: 1.5rem;
  text-align: center;
  padding: 1rem 0;
  border-radius: .4rem;
}
& .r {
  font-size: 1.1rem;
  flex: 1;
  margin-left: 1rem;
}
& h4 {
  color: #197BC9;
  text-align: center;
  font-size: 1.6rem;
  margin: .5rem;
  & + p {
    font-size: 1.3rem;
    text-indent: -1em;
    padding-left: 1em;
  }
}
}

section.last {
  position: relative;
  padding-bottom: 4rem;
  margin-top: 5rem;
  & >img:nth-of-type(1) {
    width: 45vh;
    height: auto;
    margin: 0 auto;
    padding-left: 1rem;
    margin-bottom: 3rem;
  }
  & >img:nth-of-type(2) {
    padding: 1rem 4rem;
  }
  & a {
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-top: 1rem;
  }
}
@media screen and (min-width: 751px) {
section.last >img:nth-of-type(1) {
  width: 48vh;
}
}
footer.topfooter {
  font-size: 1.4rem;
  text-align: left;
  line-height: 1.8;
  & img {
    max-width: 13rem;
    margin-bottom: 2rem;
  }
  & a {
    text-decoration: underline;
    margin-top: 1em;
  }
}

/* ---------------------------------------------------------
トップへ戻る
--------------------------------------------------------- */

#page_top {
  width: 5rem;
  height: 5rem;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #e1e1e1;
  opacity: 0.6;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}


/* ---------------------------------------------------------
コンタクト
--------------------------------------------------------- */
:not(.mejs-button) > button:hover,
:not(.mejs-button) > button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: unset; /* または希望の色 */
}
input[type="text"],
input[type="email"],
 input[type="url"],
 input[type="password"],
 input[type="search"],
 input[type="number"],
 input[type="tel"],
 input[type="range"],
 input[type="date"],
 input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
  color: unset;
  background: #fff;
  background-image: none;
  border: 3px solid #197BC9;
  -webkit-border-radius: 3px;
  border-radius: 4rem;
  display: block;
  padding: 1rem 2rem;
  width: 100%;
  font-size: 1.8rem;
}
.contact .tab-container {

  & input[type="submit"] {
    background-color: #FFDF21;
    font-size: 1.5rem;
    margin: 4rem auto;
    width: 80%;
    display: block;
  }
}


div#content {
  padding: 0 !important;
}


.tab-container {
  margin: 2rem;
}
/*
.tab-container .tab-buttons {
  display: flex;
  justify-content: flex-start;
}

.tab-container .tab-button {
  opacity: 1;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #fff;
  border: none;
  transition: background-color 0.3s;
  border-radius: 15px 15px 0 0;
}
.tab-container .tab-button:hover {
  background-color: #fff;

}

.tab-container .tab-button:last-child {
  border-right: none;
}

.tab-container .tab-button.active {
  background-color: #FFDF21;
  color: #197BC9;
}
.tab-container .tab-button.active#form2 {
  background-color: #FFDF21;
  color: #e95541;
} */

section.contact__btnArea {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
}

.contact__h2 {
  margin-top: 3rem;
    padding: 0 7rem;
}

.formWwrap {
  padding: 3rem 3rem;
  & .dt {
    color: #197BC9;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5em;
    margin-left: 2rem;
    & span {
      margin-left: 1em;
      background: #197BC9;
      color: #fff;
      font-size: .8em;
      padding: 2px 5px;
    }
  }
  & .pri {
    font-size: 1.4rem;
    margin-top: 2rem;
    & a {
      display: inline;
      text-decoration: underline;
    }
  }
  & input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #f7931e;
    font-size: 1.5rem;
    width: 80%;
    margin: 0 auto;
    display: block;
    margin-top: 2rem;
  }
  & a.retop {
    background: #f7931e;
    font-size: 1.5rem;
    width: 80%;
    margin: 0 auto;
    display: block;
    margin-top: 2rem;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-weight: 600;
  }
}
.formWwrap.aka {
  & .dt {
    color: #e95541;
    & span {

      background: #e95541;

  }
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
  border: 3px solid #e95541;
}
input[type="radio"] {
  accent-color: #e95541; /* 好きな色を指定 */
}
}



.contact__contactImg__01 {
  margin-bottom: 2rem;
}
.contact__contactA__01 {
  margin-bottom: 2rem;
}
.contact__line {
  margin: 10rem auto;
  width: 87%;
}