@charset "utf-8";

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,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  border: 0;
  font-size: 100%;
  font: inherit;
  padding: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

ol,
ul {
  list-style: none
}

body {
  margin: 0;
    font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  line-height: 1.6;
  color: #333333;
  text-align: justify;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

button {
  cursor: pointer;
}

body img {
  vertical-align: bottom;
  width: 100%;
}

main {
  width: 640px;
  text-align: center;
  margin: auto;
  box-shadow: 0px 0px 10px #888888;
  background-color: #161d23;
}

@media (max-width: 650px) {
  main {
    width: 100%;
    ;
  }
}

.mb20 {
  margin-bottom: 20px;
}

.mb40 {
  margin-bottom: 40px;
}

.pb20 {
  padding-bottom: 20px;
}

.sp {
  display: none;
}

@media (max-width: 500px) {
  .sp {
    display: block;
  }
}



.btn:hover {
  transform: scale(0.96, 0.96);
  /* ボタンを小さくする */
  transition: transform 0.2s ease-in-out;
  /* アニメーション効果 */
}


/* ----------------------------------------------------
    header
---------------------------------------------------- */
header {
  background-color: #fff;
}

header .logo {
  text-align: center;
  margin: auto;
  width: 100px;
  padding: 8px 0;
}

h1 {
  position: relative;
}

.fv_btn {
  position: absolute;
  bottom: 2%;
  left: 0;
  right: 0;
  margin: auto;
  width: 86%;
}

/* ----------------------------------------------------
    フローティングボタン
---------------------------------------------------- */
.floating-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1000;

  /* 初期状態：非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

/* FVを過ぎたら表示 */
.floating-btn.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn .cont_wrap {
  padding: 0;
}

.floating-btn a {
  display: block;
}

.floating-btn img {
  display: block;
  width: 80%;
  max-width: 520px;
  margin: auto;
  height: auto;
}
/* ----------------------------------------------------
    section
---------------------------------------------------- */

section {
  text-align: center;
  margin: auto;
  padding: 60px 0 20px;
}

.cont_wrap {
  width: 93.75%;
  text-align: center;
  margin: auto;
}

.sec02{
  padding: 60px 0 0;
}
.sec03 {
  background: linear-gradient(to bottom, #161d29, #223743);
}

.sec05 h2 {
  width: 60%;
  text-align: center;
  margin: auto;
  margin-bottom: 70px;
}

.sec05 .cont_wrap,
.sec06 .cont_wrap {
  width: 86%;
  text-align: center;
  margin: auto;
}



/* ----------------------------------------------------
    CTA
---------------------------------------------------- */

.CTA {
  position: relative;
}

.CTA_btn {
  position: absolute;
  width: 84%;
  text-align: center;
  margin: auto;
  bottom: 8%;
  left: 0;
  right: 0;
}

@media screen and (max-width: 650px) {
  .CTA_btn {
    bottom: 9vw;
  }
}

/* ----------------------------------------------------
    faq
---------------------------------------------------- */
.faq {
  background-color: #fff;
}


/* =========================================================
faq
========================================================= */

.faq h2 {
  width: 40%;
  text-align: center;
  margin: auto;
}

.faq-list {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 10%;
}

.faq-list dt {
  position: relative;
  margin-top: 5%;
  cursor: pointer;
}

.faq-list dt:first-child {
  margin-top: 0;
}

.faq .icn_area {
  display: flex;
  position: absolute;
  top: 50%;
  right: 4%;
  width: 4%;
  height: 38%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  align-items: center;
  justify-content: center;
}

.faq .icn__plus::before,
.faq .icn__plus::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
}

.faq .icn__plus::before {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.faq .icn__plus.is_active::before {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.faq .aco_contents {
  display: none;
  width: 90%;
  text-align: center;
  margin: auto;
  margin-top: 10px;
  font-size: 18px;
}

.faq .aco_contents p {
  text-align: left;
}


@media (max-width: 650px) {
.faq .aco_contents {
  font-size: 15px;
}
}
/* ----------------------------------------------------
    form
---------------------------------------------------- */
.form_wrap {
  background: linear-gradient(90deg, #2879a7 0%, #58bea8 100%);
  max-width: 640px;
  margin: 0 auto;
  /* padding: 34px 20px 60px; */
}

.chat-area {
  background: #fff;
  border-radius: 20px;
  padding-bottom: 50px
}

.chat-block {
  padding: 30px 30px 0;
  display: none;
  margin-bottom: 10px;
}

@media (max-width: 650px) {
  .chat-block {
  padding: 18px 15px 0;
  display: none;
  margin-bottom: 10px;
}
}

.chat-block.is-visible {
  display: block;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.avatar {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bubble {
  position: relative;
  flex: 1;
  background: #f2f2f2;
  border-radius: 18px;
  padding: 24px 28px;
  font-size: 22px;
  line-height: 1.5;
  text-align: left;
}

.bubble::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 24px;
  border-width: 10px 14px 10px 0;
  border-style: solid;
  border-color: transparent #ececec transparent transparent;
}

.options {
  margin: 18px 0 46px 0;
  display: block;
  gap: 16px;
}

.option-btn {
  width: 100%;
  min-height: 92px;
  border: 2px solid #cfcfcf;
  border-radius: 18px;
  background: #fff;
  font-size: 22px;
  text-align: left;
  padding: 20px 26px 20px 72px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.option-btn span {
  margin-left: 12%;
}

.option-btn::before {
  content: "";
  width: 26px;
  height: 26px;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  transition: all 0.25s ease;
}

.option-btn:hover {
  background: #e7f6ff;
  border-color: #62b8e8;
  color: #13638e;
}

.option-btn.is-selected {
  background: #d8f2ff;
  border-color: #2ea7e0;
  color: #0b5e87;
  font-weight: 700;
}

.option-btn.is-selected::before {
  border-color: #2ea7e0;
  background: #2ea7e0;
  box-shadow: inset 0 0 0 5px #fff;
}

.form-note {
  margin: 0 0 20px;
  text-align: left;
  color: #555;
  font-size: 20px;
  line-height: 1.6;
}

.contact-form {
  margin-top: 12px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: left;
}

.form-label .required {
  color: #d73d3d;
  font-size: 14px;
  margin-left: 8px;
}

.form-label .optional {
  color: #777;
  font-size: 14px;
  margin-left: 8px;
}

.form-control {
  width: 92%;
  min-height: 56px;
  border: 2px solid #d5d5d5;
  border-radius: 12px;
  padding: 0 4%;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #47acd8;
  box-shadow: 0 0 0 4px rgba(71, 172, 216, 0.15);
}

.submit-wrap {
  margin-top: 40px;
}

.submit-btn {
  appearance: none;
  border: none;
  width: 100%;
  min-height: 70px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2b87b7 0%, #51c7ae 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

@media (max-width: 650px) {
  .form_wrap {
    padding: 20px 12px 40px;
  }

  .message-row {
    gap: 12px;
    margin-bottom: 20px;
  }

  .avatar {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }

  .bubble {
    font-size: 18px;
    padding: 10px 15px;
  }

  .bubble::before {
    top: 18px;
  }

  .options,
  .form-note,
  .contact-form,
  .submit-wrap {
    padding-left: 0;
  }

  .option-btn {
    min-height: 78px;
    font-size: 18px;
    padding: 18px 18px 18px 58px;
  }

  .option-btn::before {
    width: 22px;
    height: 22px;
    left: 16px;
  }
}


/* 最初は各要素を隠しておく */
.chat-block .avatar,
.chat-block .bubble,
.chat-block .options,
.chat-block .form-note,
.chat-block .contact-form,
.chat-block .submit-wrap {
  opacity: 0;
  transform: translateY(24px);
}

/* 表示時 */
.chat-block .avatar.is-show,
.chat-block .bubble.is-show,
.chat-block .options.is-show,
.chat-block .form-note.is-show,
.chat-block .contact-form.is-show,
.chat-block .submit-wrap.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ----------------------------------------------------
    footer
---------------------------------------------------- */

footer {
  padding: 60px 0px 20px 0px;
  font-size: 14px;
  color: #fff;
}

@media screen and (max-width: 650px) {
  footer {
    padding: 20px 0px;
    font-size: 2.5vw;
  }
}

.Copyright {
  display: block;
  text-align: center;
  margin: auto;
}

footer nav {
  width: 90%;
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin: 40px auto 20px;
}

footer li {
  list-style-type: none;
  margin-right: 20px;
  margin-left: 20px;
}

footer .logo {
  width: 100px;
  text-align: center;
  margin: auto;
}

footer a {
  text-decoration-line: none;
  font-size: 14px;
  font-weight:400;
  color: #fff;

}


/* ----------------------------------------------------
    thanks
---------------------------------------------------- */
.thanks img {
  width: 100%;
}

.thanks {
  background: #fff;
}


.cta_btn {
  position: absolute;
  width: 90%;
  height: auto;
  text-align: center;
  bottom: 15%;
  top: 58%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
}


.thanks-main {
      flex: 1;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 80px 20px 100px;
    }

    /* 背景のやわらかい曲線 */
    .thanks-main::before,
    .thanks-main::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .thanks-main::before {
      width: 900px;
      height: 900px;
      right: -320px;
      top: 80px;
      background: rgba(255, 255, 255, 0.5);
    }

    .thanks-main::after {
      width: 1200px;
      height: 500px;
      left: -180px;
      bottom: -260px;
      background: rgba(255, 255, 255, 0.7);
      border-radius: 50% 50% 0 0 / 100% 100% 0 0;
      transform: rotate(-8deg);
    }

    .thanks-inner {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 1200px;
      text-align: center;
    }

    .thanks-icon {
      width: 92px;
      height: 92px;
      margin: 0 auto 28px;
      border: 3px solid #4d8fe8;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4d8fe8;
      font-size: 44px;
      font-family: sans-serif;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.65);
    }

    .thanks-sub {
      color: #7aa7ea;
      font-size: 18px;
      letter-spacing: 0.08em;
      margin-bottom: 34px;
    }

@media screen and (max-width: 500px) {
  .thanks-txt {
    font-size: 13px;
  }
}