@charset "utf-8";

/* rem設定用 */
html{
    font-size: 15px;
}

/*============================
#layout
margin、paddingなどは親コンテナの幅を基準に％指定
30pxなら30/640*100=4.69%、通常4.69%に設定
画像は左右paddingとmax-widthでコントロール
============================*/

#wrapper {
  width: 100%;
  background-color: #FFF;
  
}
#wrapper .mainCont {
  position: relative;
  width: 100%;
  max-width: 750px; /* デザインデータ幅を最大幅に設定 */
  margin: 0 auto;
  /* background-image: linear-gradient(45deg, #d6f0f8 25%, #fff 25%, #fff 50%, #d6f0f8 50%, #d6f0f8 75%, #fff 75%); */
  background-size: 20px 20px;
  text-align: center;
  overflow: hidden;
}
#wrapper .thank-box {
  width: 92%;
  margin: 8% auto;
  background: #fff;
  border: solid 1px #37518b;
}
#wrapper img {
  width: 100%;
  height: auto; /* width/height属性はアスペクト比確保用 */
}
#wrapper a {
  text-decoration: none;
  color: #000;
  -webkit-transition: opacity 0.5s ease-out;
  -moz-transition: opacity 0.5s ease-out;
  -ms-transition: opacity 0.5s ease-out;
  transition: opacity 0.5s ease-out;
}
#wrapper a:hover {
  opacity: 0.7;
}

#wrapper .thank-txt-box {
  padding: 7% 4.69% 0;
}
#wrapper .thank-txt-box p {
  font-size: 1.06rem;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 5%;
  font-family: 'Noto Sans JP', sans-serif;
}

#wrapper .thank-txt-box p:last-child {
  margin-bottom: 0;
}

#wrapper .thank-txt-box ul {
  margin-bottom: 5%;
}

#wrapper .thank-txt-box li {
  text-indent: -1em;
  padding-left: 1em;
  font-size: 1.06rem;
  line-height: 1.6;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
}

#wrapper .thank-txt-box li::before{
  content: '・';
}




#wrapper footer .footer-inner {
  width: 100%;
  padding: 6% ;
  background: #fff;
  border-radius: 10px;
}

#wrapper .footer-title {
  margin: 0 16px 16px;
}

@media (max-width: 750px) {
  #wrapper .footer-title {
    margin: 0 8px 8px;
  }
}
#wrapper footer .footer-inner p {
  font-size: min(3.7vw, 21px);
  line-height: 1.4;
  text-align: left;
  margin-bottom: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
#wrapper footer .footer-inner p a{
  color: #008ac0;
  text-decoration: underline;
  display: inline-block;
}

#wrapper footer .footer-inner p:last-child {
  margin-bottom: 0;
}
#wrapper footer .footer-map {
  width: 100%;
  height: 240px;
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
}
#wrapper footer .footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 769px) {
/*rem設定用*/
  html {
    font-size: 20px;
  }
}

/*20230516*/
.b-tel,
.b-tel a {
    color: #FF0000 !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    text-decoration: none;
}


.line_content {
  padding: 3rem 8px 8px;
  background-color: #fff;
}

.line_content p:nth-child(1) {
  /* padding: 2rem 2rem 0; */
  margin-bottom: 0 !important;
}

.line_content p:nth-child(1) img{
  width: 100% !important;
  /* padding: 2rem 2rem 0; */
}

.line_content p:nth-child(2) {
  padding: 1rem 1rem 0;
  border-right: 4px solid #39ad36;
  margin-top: -1px;
  border-left: 4px solid #39ad36;
  margin-bottom: 0 !important;
}

.line_content p:nth-child(3) {
  padding: 1rem 1rem 0;
  border-right: 4px solid #39ad36;
  border-left: 4px solid #39ad36;
  margin-bottom: 0 !important;
}


.line_content p:nth-child(4) {
  padding: 1rem 3rem;
  border-right: 4px solid #39ad36;
  border-left: 4px solid #39ad36;
  margin-bottom: 0 !important;
}

.line_content p:nth-child(5) {
  padding: 0 1rem;
  border-right: 4px solid #39ad36;
  border-left: 4px solid #39ad36;
  margin-bottom: 0 !important;
}

.line_content p:nth-child(6) {
  padding: 1rem 3rem;
  border-right: 4px solid #39ad36;
  border-left: 4px solid #39ad36;
  border-bottom: 4px solid #39ad36; 
  border-radius:0 0 15px 15px;
}

.line_content p:nth-child(6) img{
  width: 70% !important;
}
  

@media (max-width: 750px) {
  .line_content {
  padding: 1rem 8px 8px;
}
.line_content p:nth-child(2) {
  padding: 1rem 1rem 0;
  margin-top: -1px;
}

.line_content p:nth-child(3) {
  padding: 1rem 1rem 0;
}

.line_content p:nth-child(4) {
  padding: 1rem;
  /* border-radius:0 0 15px 15px; */
  font-size: .8rem;
}
}

/* .line_thanks_text_2 {
  font-size: 2rem !important;
} */

/*============================
  画像はデザイン幅750px基準（ボックス内は686px基準）で％指定
============================*/
#wrapper .fv-area p img,
#wrapper .flow_area p img {
  display: block;
}

/* ---------- 電話ボックス ---------- */
#wrapper .tel_area {
  position: relative;
  width: 92%;
  margin: 4% auto 0;
}
#wrapper .tel_area > p {
  position: relative;
  z-index: 1;
  width: 45.2%;
  margin: 0 auto -3%;
}
#wrapper .tel_area img {
  display: block;
}
#wrapper .tel_area_innner {
  background: #fff;
  border: 2px solid #00488d;
  border-radius: 12px;
  overflow: hidden;
  padding-top: 5.5%;
}
#wrapper .tel_area_innner p {
  margin: 0 auto;
}
#wrapper .tel_area_innner p:nth-child(1) { width: 86.4%; }                 /* 電話番号 */
#wrapper .tel_area_innner p:nth-child(2) { width: 45.9%; margin-top: 1%; } /* 受付時間 */
#wrapper .tel_area_innner p:nth-child(3) { width: 93.6%; margin-top: 2.5%; } /* 連絡先に登録 */
#wrapper .tel_area_innner p:nth-child(4) { width: 93.4%; margin-top: 2%; } /* いつ・所要時間・お聞きすること */
#wrapper .tel_area_innner p:nth-child(5) { width: 100%; margin-top: 2.5%; } /* 出られなくても */

/* ---------- お申込後の流れ ---------- */
#wrapper .flow_area {
  margin-top: 5%;
}

/* ---------- LINE ---------- */
#wrapper .line_area {
  width: 92%;
  margin: 6% auto 8%;
}
#wrapper .line_area img {
  display: block;
}
#wrapper .line_area_inner {
  background: #edf6ed;
  border: 2px solid #3fae46;
  border-radius: 12px;
  padding: 4% 0;
}
#wrapper .line_area_inner p {
  width: 93.4%;
  margin: 0 auto;
}
#wrapper .line_area_inner p + p {
  margin-top: 4%;
}
#wrapper .line_area > p {
  width: 91%;
  margin: 2.5% auto 0;
}

/* ---------- footer（index.phpと同じ形・背景色のみ#00488d） ---------- */
#wrapper footer {
  padding: 4% 4% 8%;
  background: #00488d;
}
#wrapper footer .footer-inner {
  width: 100%;
  margin: 0 auto;
  padding: 6%;
  background: #fff;
  border-radius: 16px;
}
#wrapper .foot-map {
  width: 100%;
  margin: 0 auto 4%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#wrapper .foot-map .map-ttl { width: 100%; margin-bottom: 2%; }
#wrapper .foot-map .map-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 40%;
}
#wrapper .foot-map .map-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
#wrapper .foot-map .map-img span {
  position: absolute;
  right: 2%;
  bottom: 2%;
  display: inline-block;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  backdrop-filter: blur(2px);
}
#wrapper .foot-map .map-area { width: 58%; }
#wrapper .foot-map .map-area iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}
@media screen and (max-width: 750px) {
  /* スマホ：写真と地図を同じ高さに固定（写真が縦長に伸びないように） */
  #wrapper .foot-map .map-img,
  #wrapper .foot-map .map-area {
    height: 36vw;
  }
  #wrapper .foot-map .map-img img {
    object-position: center 30%;
  }
  #wrapper .foot-map .map-area {
    border-radius: 16px;
    overflow: hidden;
    background: #e5e3df;
  }
  #wrapper .foot-map .map-area iframe { height: 100%; }
  #wrapper .foot-map { width: 96%; }
  #wrapper footer .footer-inner { width: 96%; }
}

/* ---------- プライバシーポリシー（privacy.php） ---------- */
.privacy-page #wrapper .mainCont {
  background-image: linear-gradient(45deg, #d6f0f8 25%, #fff 25%, #fff 50%, #d6f0f8 50%, #d6f0f8 75%, #fff 75%);
}
.privacy-page #wrapper footer {
  padding: 0;
  background: none;
}
.privacy-page #wrapper footer .footer-inner {
  width: 100%;
  margin: 0;
  border-radius: 10px;
}
