@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+JP:500,700&display=swap&subset=japanese);

/* =============================================
 全体設定
============================================= */

html {
  font-size: 75%;
  line-height: 1.5;
  background-color: #CCC
}

/* 430px 以上：少し大きく（1rem = 14px） */
@media (min-width: 430px) {
  html {
    font-size: 87.5%;
  }
}

html * {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  max-width: 600px
}

body {
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  background-color: #F6F4F1;
  color: #2A2A2A;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}

@media (min-width: 430px) {
  body {
    font-size: 1rem;
  }
}

html,
body {
  min-height: 100vh;
}

.hbspt-form {
  display: none;
}

h1 {
  height: 47px;
  margin: 0;
  font-weight: normal;
}

.header_text {
  vertical-align: middle;
  display: inline-block;
  font-size: 0.75rem;
  height: 60px;
}

button {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none
}

html {
  line-height: 1
}

ol,
ul {
  list-style: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

caption,
td,
th {
  text-align: left;
  font-weight: inherit;
  vertical-align: middle
}

blockquote,
q {
  quotes: none
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none
}

a img {
  border: none
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block
}

a {
  color: inherit;
  text-decoration: inherit
}

*,
::after,
::before {
  box-sizing: border-box
}

.next-btn:hover,	
#last-name:hover,	
#tel:hover,	
#email:hover { cursor: pointer; }

/* =============================================
 トップページ
============================================= */

#sec2,
#sec3,
#sec4,
#sec5,
#sec6,
#sec7 {
  display: none;
}

#sec1 .wrapper,
#sec2 .wrapper,
#sec3 .wrapper,
#sec4 .wrapper,
#sec5 .wrapper {
  position: relative;
}

#sec1::before {
  content: none;
}

#sec1 {
  width: 100%;
}

.triangle{
  width: 50%;
  height: 35px;
  background-color: #D1E4EB;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  margin: 0 auto;
}

.question-navy {
  background-color: #1A3B73;
  width: 85%;
  text-align: center;
  margin: 10px auto 0;
  border-radius: 10px 10px 0 0;
  div {
    color: #FC8032;
    padding-top: 5px;
    font-weight: bold;
  }
  span{
    font-size: 1.3rem;
    vertical-align: -1px;
  }
  h3{
    color: white;
    padding-bottom: 10px;
    margin: 0;
  }
}
.question-blue {
  background-color: #E6F8FF;
  width: 85%;
  margin: 0 auto; 
  text-align: center; 
}
#sec1>.wrapper {
  background: transparent;
}

#sec1>div>img {
  max-width: 100%;
}

.topTextBox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.formList-top {
  display: flex;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
  width: fit-content;
  margin: 0 auto;
}

@media (max-width: 400px) {
  .formList-top {
    gap: 60px;
  }
}

.item-top {
  width: auto;
  margin-top: 30px;
}

.progress {
  display: block;
  width: 84%;
  margin: 10px auto;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  margin-bottom: 15px;
}

.checkbox input[type="checkbox"] {
  display: none;
}

.checkbox .box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #ddd;
  border: 2px solid #c5c5c5;
  display: inline-block;
  position: relative;
  transition: 0.2s ease;
}

.checkbox input[type="checkbox"]:checked + .box {
  background: #1a3b73;
  border-color: #1a3b73;
}

.checkbox input[type="checkbox"]:checked + .box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0px;
  width: 6px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.me-message {
  background-color: #fff;
  margin: 25px 30px;
  padding: 10px;
  h2{
    border-bottom: solid 0.5px #929191;
    color: #196281;
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    padding-bottom: 10px;
    margin: 5px;
  }
}

header {
  background-color: #F6F4F1;
  position: relative;
  z-index: 50;
}

footer {
  margin-top: auto;
  z-index: 100;
}

footer .wrapper {
  padding: 5px 0;
  text-align: center;
  font-size: 10px;
  line-height: 1
}

footer>.wrapper>ul {
  padding: 0;
}

main .sec>.wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.sec>.wrapper .formHead {
  text-align: center;
  line-height: 1.4;
  padding: 15px 8px;
}

.logo {
  padding: 4px;
}

.logo>a>img {
  width: 110px;
  padding: 5px;
}

#sec1 .guide-hand{	
position: absolute;	
top: -120px;	
left: var(--left, auto);	
right: var(--right, 10px);	
width: 56px;	
opacity: 0;	
pointer-events: none;	
z-index: 5;	
--sway: 8px;	
}

#sec1 .guide-hand.is-active{	
animation:	
handDrop .9s cubic-bezier(.22,.61,.36,1) forwards,	
handSway 1.6s ease-in-out .9s infinite;	
}	

@keyframes handDrop{	
0% { top:-120px; opacity:0; }	
100% { top:var(--stop, 0px); opacity:1; }	
}	

@keyframes handSway{	
0% { transform: translateX(calc(var(--sway) * -1)); }	
50% { transform: translateX(var(--sway)); }	
100% { transform: translateX(calc(var(--sway) * -1)); }	
}

.error-msg {
  color: red;
  font-size: 0.875rem;
  text-align: center;
  min-height: 18px;
  margin: 5px auto;
}

/* =============================================
 2ページ目（状況確認ページ）
============================================= */

h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: bold;
  span {
    font-weight: normal;
  }
}

#sec2 {
  position: relative;
  isolation: isolate;
}

.formHead {
  margin: 0 auto 15px;
  padding-bottom: 15px;
  border-bottom: #1A3B73 solid 1px;
  width: 80%;
}

.formList {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
}

.item {
  padding: 15px 0 0 0;
  font-size: 1rem;
}

#sec2>.wrapper,
#sec3>.wrapper,
#sec4>.wrapper,
#sec5>.wrapper,
#sec6>.wrapper {
  display: flex;
  flex-direction: column;
}

#sec2>.wrapper>.next-btn,
#sec3>.wrapper>.next-btn,
#sec4>.wrapper>.next-btn,
#sec5>.wrapper>.next-btn {
  margin: 0 auto;
}

#sec2>.wrapper>.btnBack,
#sec3>.wrapper>.btnBack,
#sec4>.wrapper>.btnBack,
#sec5>.wrapper>.btnBack,
#sec6>.wrapper>.btnBack {
  text-align: left;
}

#sec2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  aspect-ratio: 393 / 474;
  background: url('../img/back_image_item/back_image1.png') no-repeat center bottom / contain;
  z-index: 0;
  pointer-events: none;
  width: 65%;
}

.next-btn:active {
  transform: translateY(4px);
  box-shadow: none;
}

.prevBtn {
  font-size: 0.625rem;
  color: #737373;
  margin-top: 30px;
  margin-left: 25px;
}

.dli-chevron-round-left {
  display: inline-block;
  vertical-align: middle;
  color: #737373;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  transform: translateX(25%) rotate(-135deg);
}

.dli-chevron-round-left::before {
  top: 0;
    left: 0;
    right: 0;
    height: 0.1em;
}

.dli-chevron-round-left::after {
  top: 0;
    right: 0;
    bottom: 0;
    width: 0.1em;
}

.dli-chevron-round-left::before, .dli-chevron-round-left::after {
  content: '';
    position: absolute;
    background: currentColor;
    border-radius: 0.1em;
}

#sec2 .guide-hand,
#sec3 .guide-hand,	
#sec4 .guide-hand,	
#sec5 .guide-hand,
#sec6 .guide-hand {	
position: absolute;	
right: 10px;	
top: var(--stop, 0px);	
width: 56px;	
opacity: 1;	
pointer-events: none;	
z-index: 5;	
--sway: 8px;	
animation: handSway 1.6s ease-in-out infinite;	
}	
#sec5 .guide-hand {	
z-index:200;	
}

/* =============================================
 5ページ目（名前確認ページ）
============================================= */
#sec5 {
  position: relative;
  padding-bottom: clamp(200px, 30vw, 320px);
}

#sec5>div.wrapper {
  text-align: center;
}

#sec5>div.wrapper>div.privacy>p>a {
  color: #E47911;
}

#sec5>div.wrapper>div.privacy>p {
  margin: 25px 0 0 0;
  color: #737373;
}

#sec5>div.wrapper>div.privacy {
  font-size: 1rem;
}

.input {
  all: unset;
  text-align: left; 
  padding: 10px;
  width: 60%;
  border-radius: 10px;  
  border: 2px solid #BDBDBD;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: border-color .3s ease-in-out;
  margin-top: 30px;
  background-color: #FFF;
}

.input:hover,
.input:focus {
  border-color:#1A3B73;
}

input::placeholder {
  text-align: left;
  color: #BDBDBD;
  font-size: 0.75rem;
}

#sec5 .annotation,
#sec5 #last-name {
  display: block;
  width: 60%;
  margin: 0 auto;
}

.annotation {
  padding-top: 25px;
  padding-bottom: 8px;
  text-align: left;
}

#sec5::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  aspect-ratio: 393 / 474;
  background: url('../img/back_image_item/back_image2.png') no-repeat center bottom / contain;
  z-index: 0;
  pointer-events: none;
  width: 65%;
}

#sec5>.wrapper>.next-btn {
  margin: 0 auto;
}

/* =============================================
 6ページ目（電話番号、メールアドレス確認ページ）
============================================= */
#sec6 {
  position: relative;
  padding-bottom: clamp(200px, 30vw, 320px);
}

#sec6>div.wrapper {
  text-align: center;
}

.next-btn {
  display: inline-flex;
  align-items: center;

  max-width: 230px;
  width: 64%;
  height: 46px;
  border-radius: 999px;

  background: linear-gradient(180deg, #FF8A36 0%, #F35E25 51%, #FF8A36 100%);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 3px 4px 4px #AAAAAA;
  justify-content: center;
}

/* 横幅がかなり狭いときは少し小さめに */
@media (max-width: 340px) {
  .next-btn {
    width: 74%;
    font-size: 1rem; /* 16px 相当 */
  }
}

#sec1>.wrapper>.question-blue>button {
  margin-bottom: 30px;
}

.next-btn .label {
  padding: 5px 15px 5px 10px;
}

@media (max-width: 380px) {
  .next-btn .label {
    padding: 5px 5px 5px 10px;
  }
}
@media (max-width: 340px) {
 .next-btn {
  width: 74%;
  font-size: 16px;
}
}
.cta-btn {
  max-width: 330px;
  height: 70px;
  margin: 20px auto 0;
}

.icon-circle {
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.arrow {
  width: 14px;
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
  margin-left: -2px;
}

.arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

@media screen and (max-width: 450px) {
  .next-btn {
    font-size: 20px;
  }
}

.next-btn:hover {
  background: linear-gradient(180deg, #FF8A36 0%, #FF8A36 25%, #FFA07B 51%, #FF8A36 75%, #FF8A36 100%);
}

.sp-br {
  display: none;
}

@media (max-width: 480px) {
  .sp-br {
    display: inline;
  }
  .next-btn .label {
    line-height: 1.3;
  }
}

.input-first {
  margin-top:30px;
}

.input-second {
  margin-top: 20px;
}

.input-second>p {
  padding-left: 40px;
}

.input-first>p,
.input-second>p {
  margin: 0;
  padding-right: 50%;
}

.input-first>input,
.input-second>input {
  margin-top: 0;
}

#sec6::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  aspect-ratio: 393 / 474;
  background: url('../img/back_image_item/back_image3.png') no-repeat center bottom / contain;
  z-index: 0;
  pointer-events: none;
  width: 65%;
}

#error-messages {
  text-align: center;
  margin: 20px auto;
}

#error-messages p {
  color: red;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

/* =============================================
 7ページ目（Thanksページ）
============================================= */
#sec7>.wrapper>h3 {
  font-size: 1.2rem;
  font-weight: bold;
}

#sec7>.wrapper>.formHead {
  margin: 0;
  width: 100vw;
}

.thanks-header {
  background: #1A3B73;
  color: #fff;
  text-align: center;
  padding: 30px 20px 40px;
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  font-weight: bold;
}

.thanks-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -20px;
  width: 100%;
  height: 20px;
  background: #1A3B73;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.cta-text {
  margin: 30px auto 30px;
  width: 70%;
}

.cta-text>a {
  color: #e47911;
  text-decoration: underline;
}

.line {
  display:flex;
  flex-flow: column;
  text-align: center;
  background-color: #FFF;
  border-radius: 10px;
  padding: 10px 5px;
  width: 80%;
  margin: 15px auto 0;
  box-shadow: 4px 4px 10px #CAC6C6;
  img {
    width: 100px;
    margin: 0 auto;
  }
}

.line>p {
  font-weight: bold;
}

.line>a>img {
  width: 80%;
  padding: 20px 0 15px;
}

.guide-hand.slide-mode {
  animation: none !important;
  opacity: 1 !important;
}