/* 全体設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "ヒラギノ角ゴ ProN W3";
}

/* Reset paragraph margins specifically */
p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

body {
  background-color: #fff;
}

img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

/* cta animation */
.cta {
  padding: 3em 0;
}

.animation {
  animation: dokundokun 3000ms ease infinite;
}

@keyframes dokundokun {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.05);
  }

  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(1);
  }
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
  /* flex-wrap: nowrap; */
  flex-wrap: wrap;
  padding: 0 20px;
}

@media screen and (min-width: 768px) {
  .image-container figure {
    /* flex: 1;
    max-width: 30%; */
    width: calc(100% / 3 - 14px);
  }

  .image-container img {
    width: 100%;
    height: auto;
  }

  .pc img {
    max-width: 33%;
  }

  .slider li img {
    width: 50%;
  }

  .cta img {
    width: 35%;
  }

  .cta-button img {
    width: 70%;
  }

  .ttl p span {
    font-size: 2.5vh;
  }

  .ttl p {
    font-size: 3.5vh;
    letter-spacing: 0.1em;
  }

  .fvsp img {
    display: none;
  }

  .accordion {
    max-width: 600px;
  }
}

@media screen and (max-width: 767px) {
  .fvpc img {
    display: none;
  }

  .image-container {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .image-container figure {
    max-width: 100%;
  }

  .image-container img {
    width: 100%;
    height: auto;
  }

  .cta-button img {
    width: 90%;
  }

  .cta img {
    width: 90%;
  }

  .form_ttl p {
    font-size: 3vh;
    letter-spacing: 0.05em;
  }

  .form_ttl p span {
    font-size: 2vh;
  }


  .ttl p span {
    font-size: 2vh;
  }

  .ttl p {
    font-size: 3vh;
    letter-spacing: 0.05em;
  }
}

/* section */
.section {
  padding-bottom: 40px;
  z-index: 1;
}

/* title */
.ttl {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1000;
}

.ttl,
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.ttl.visible,
.fade.visible {
  opacity: 1;
  transform: translateY(0);
}


.under::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background-color: #1E92B6;
  margin: 1em 0 0.5em;
}

.feature .under::after,
.step .under::after {
  background-color: #fff;
}

.ttl .logo img {
  width: 100px;
  margin-bottom: 1.5em;
  padding: 0;
}

.ttl .arrow img {
  width: 100%;
  margin-top: 1em;
}

.ttl p {
  color: #2a3339;
  font-weight: bold;
  justify-content: center;
  align-items: center;
}

/* img白くする */
.feature .ttl img,
.step .ttl img {
  filter: brightness(0) invert(1);
}


/* fv */
.fv {
  width: 100%;
  background-color: #fff;
  color: #fff;
}

.fv p {
  margin: 0 auto;
  text-align: center;
  font-size: 10vw;
}

/* feature */
.feature,
.step {
  text-align: center;
  background-color: #1f92b6;
}

.feature .ttl,
.step .ttl {
  background-color: #1f92b6;
}

/* service */
.service {
  background: linear-gradient(to bottom, #fff, #f4f5f6);
  /*background-color: #f4f5f6;*/
}

.service .ttl {
  margin-bottom: 1em;
  background-color: #f4f5f6;
}

.service .ttl h2 p {
  background: linear-gradient(transparent 60%, #FFEA4D 60%);
}

/* value */
.value {
  margin: 0 auto;
  text-align: center;
}

/* STEP */
.slide {
  max-width: 1000px;
}

/* RECORD */
.record {
  margin: 0 auto;
  background-color: #DFF2F8;
}

/* cov */
.cov {
  background-color: #f4f5f6;
}

.carousel-container,
.record-container {
  overflow: hidden;
  padding: 0;
  margin: 0 auto;
}

.carousel-track,
.record-track {
  display: flex;
  gap: 10px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar,
.record-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide img,
.record-slide img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 767px) {

  .carousel-slide,
  .record-slide {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  .carousel-slide:first-child,
  .record-slide:first-child {
    margin-left: 20%;
  }

  .carousel-slide:last-child,
  .record-slide:last-child {
    margin-right: 20%;
  }

  .carousel-container .car-arrow {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .record-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .record-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    max-width: 1200px;
    width: 60%;
    margin: 0 auto;
  }

  .record-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .record-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .carousel-container .carousel-controls,
  .record-container .record-controls {
    display: none;
  }

  .carousel-track {
    gap: 20px;
  }

  .carousel-slide {
    flex: 0 0 calc(80%/5);
    scroll-snap-align: center;
  }

  .carousel-slide:first-child {
    margin-left: 10%;
  }

  .carousel-slide:last-child {
    margin-right: 10%;
  }
}

.car-arrow img {
  width: 10%;
  margin-top: 10px;
  float: right;
  margin-right: 10%;
}

.carousel-controls,
.record-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.carousel-indicators,
.record-indicators {
  display: flex;
  gap: 8px;
}

.carousel-indicators div,
.record-indicators div {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-indicators .active,
.record-indicators .active {
  background: #333;
}

.nav {
  background-color: #1E92B6;
  color: #fff;
  border: none;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
}


/* reason */
.reason {
  background-color: #DFF2F8;
  margin: 0 auto;
  width: 100%;
}

.reason .ttl p {
  color: #1E92B6;
}

.circle1 {
  position: absolute;
  top: calc(-30px);
  right: 0;
  width: 30%;
  object-fit: cover;
  mask-image: linear-gradient(to top right, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to top right, transparent 0%, black 100%);
}

.circle2 {
  position: absolute;
  bottom: calc(-30px);
  left: 0;
  width: 20%;
  object-fit: cover;
  mask-image: linear-gradient(to bottom left, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom left, transparent 0%, black 100%);
}

.accordion {
  position: relative;
  padding: 0 20px;
  margin: 0 auto;
}

.accordion .accordion-item button[aria-expanded='true'] {
  border-bottom: 1px solid #1E92B6;
}

.accordion-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 2px solid #1E92B6;
  position: relative;
  z-index: 20;
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em;
  color: #1E92B6;
  font-size: 1.8vh;
  font-weight: bold;
  border: none;
  background: none;
  outline: none;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  right: 1em;
  width: 22px;
  height: 22px;
  border: 1px solid;
  border-radius: 22px;
}

.accordion button .icon::before {
  display: block;
  position: absolute;
  content: '';
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.accordion button .icon::after {
  display: block;
  position: absolute;
  content: '';
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.accordion button[aria-expanded='true'] .icon::after {
  width: 0;
}

.accordion button[aria-expanded='true']+.accordion-content {
  opacity: 1;
  max-height: 9em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content p {
  color: #1E92B6;
  font-size: 1.8vh;
  font-weight: bold;
  margin: 1em;
  word-wrap: break-word;
  white-space: normal;
}


/* footer */
.footer {
  text-align: center;
  background-color: #2a3339;
  z-index: 1000;
  position: relative;
}

.footer a {
  text-decoration-color: #fff;
  color: #ffffff;
}

.footer img {
  width: 20%;
  padding: 1em 0;
  max-width: 150px;
  filter: brightness(0) invert(1);
}

.privacypolicy,
.sponsored {
  padding-bottom: 1em;
  font-size: 1.5vh;
}

.transaction {
  max-width: 750px;
  margin: 0 auto;
}








/* form.html */
/* form */
.form {
  background-color: #f4f5f6;
  padding: 1em 1em 4em;
}

.form-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 30px;
  box-sizing: border-box;
  box-shadow: 0px 0px 10px #ccc;
}

/* 横並び */
.form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  margin: 0 auto;
  width: 100%;
  max-width: 750px;
}

.form-group label {
  width: 35%;
  max-width: 10em;
  text-align: left;
  font-size: 1.8vh;
  color: #2a3339;
  font-weight: bold;
  white-space: nowrap;
}

.form-group select,
.form-group input {
  flex: 1;
  background-color: #fff !important;
  width: 100%;
  max-width: 20em;
  padding: 1vh !important;
  border: 0.25vh solid #f4f5f6 !important;
  border-radius: 10px !important;
  font-size: 1.6vh !important;
  color: #595959 !important;
  height: 4.5vh !important;
  box-sizing: border-box !important;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2) !important;
  line-height: 1.2 !important;
  font-weight: bold !important;
  margin-left: 1em;
}

/*
label {
  display: flex;
  align-items: center;
  width: 80%;
  padding-bottom: 3px;
  letter-spacing: 0.1vw;
  text-align: left;
  font-size: 1.5vh;
  color: #000;
  font-weight: bold;
}*/

/*.form-group select,
.form-group input {
  background-color: #fff !important;
  width: 80% !important;
  padding: 1vh !important;
  border: 0.25vh solid #f4f5f6 !important;
  border-radius: 10px !important;
  font-size: 1.5vh !important;
  margin: 0 auto !important;
  color: #595959 !important;
  height: 4.5vh !important;
  box-sizing: border-box !important;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2) !important;
  font-weight: bold!important;
  letter-spacing: 0.1vw!important;
}*/

option {
  font-weight: bold;
}

input::placeholder {
  color: #595959;
  padding: 1vh;
}

.cta-button {
  padding: 1.75rem 0 2rem;
}

.cta-button button {
  max-width: 700px;
  background-color: transparent;
  overflow: hidden;
  border-style: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.form_ttl {
  text-align: center;
}

.form_ttl img {
  width: 120px;
  filter: brightness(1000%);
}

.form_ttl p {
  font-size: 3vh;
  color: #2a3339;
  font-weight: bold;
  padding: 1.5rem 0 1rem;
  letter-spacing: 0.2em;
}

.form_ttl p span {
  font-size: 2.5vh;
}

.form_logo {
  background-color: #2a3339;
  padding: 0.75em 0;
  border-radius: 30px 30px 0 0;
}







/* thanks.html */
.thanks-wrapper {
  background-color: #fff;
  overflow: auto;
  text-align: center;
  width: 100%;
  height: 100vh;
}

.done {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
  overflow-wrap: break-word;
}

.done p {
  margin: 0 auto;
  font-size: 2vh;
  color: #2a3339;
  word-break: break-word;
  white-space: normal;
}

#thanks {
  width: 70px;
  height: 80px;
  margin: 0 auto;
  margin-top: 35vh;
  margin-bottom: 5vh;
  -webkit-perspective: 200;
  -webkit-perspective-origin: 50% 0;
  -moz-perspective: 200;
  -moz-perspective-origin: 50% 0;
  perspective: 200;
  perspective-origin: 50% 0;
}

.anvelopebg {
  width: 70px;
  height: 40px;
  background-color: #af1d24;
  position: absolute;
  margin-bottom: 0;
  z-index: 3;
}

.anvelope {
  width: 0px;
  height: 0px;
  position: relative;
  margin-bottom: 0;
  border-left: 35px #af1d24 solid;
  border-bottom: 20px #eb0a1e solid;
  border-right: 35px #eb0a1e solid;
  border-top: 20px rgba(0, 0, 0, 0) solid;
  box-shadow: 0px 4px 0px 0px #af1d24;
  -webkit-box-shadow: 0px 4px 0px 0px #af1d24;
  z-index: 4;

}

.letter {
  width: 54px;
  height: 44px;
  background-color: #fff;
  position: relative;
  top: -95px;
  left: 8px;
  z-index: 3;

}

.letter:after {
  content: "";
  position: absolute;
  width: 32px;
  height: 6px;
  background-color: #ffe681;
  top: 6px;
  left: 6px;
}

.letter:before {
  content: "";
  position: absolute;
  width: 21px;
  height: 6px;
  background-color: #ffe681;
  top: 15px;
  left: 6px;
}

.opener {
  position: relative;
  width: 0;
  height: 0;
  border-left: 35px rgba(0, 0, 0, 0) solid;
  border-bottom: 31px #af1d24 solid;
  border-right: 35px rgba(0, 0, 0, 0) solid;
  top: -71px;
  z-index: 2;
  transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  /* IE 9 */
  -webkit-transform-origin: 0 100%;
  /* Safari and Chrome */
}

@keyframes letteranim {
  0% {
    top: -95px;
  }

  50% {
    top: -71px;
  }

  100% {
    top: -71px;
  }
}

@-webkit-keyframes letteranim {
  0% {
    top: -95px;
  }

  50% {
    top: -71px;
  }

  100% {
    top: -71px;
  }
}

@keyframes openanim {
  0% {
    -webkit-transform: rotateX(0deg);
  }

  50% {
    -webkit-transform: rotateX(0deg);
    z-index: 2;
  }

  100% {
    -webkit-transform: rotateX(180deg);
    z-index: 5;
  }
}

@-webkit-keyframes openanim {
  0% {
    -webkit-transform: rotateX(0deg);
  }

  50% {
    -webkit-transform: rotateX(0deg);
    z-index: 2;
  }

  100% {
    -webkit-transform: rotateX(180deg);
    z-index: 5;
  }
}

#thanks:hover .letter {
  animation: letteranim 1s ease-out 0s 2 alternate;
  -webkit-animation: letteranim 1s ease-out 0s 2 alternate;
  /* Safari and Chrome */
}

#thanks:hover .opener {
  animation: openanim 1s ease-out 0s 2 alternate;
  -webkit-animation: openanim 1s ease-out 0s 2 alternate;
  /* Safari and Chrome */
}

/* thanks-footer */
.thanks-footer {
  text-align: center;
  background-color: #2a3339;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.thanks-footer a {
  text-decoration-color: #fff;
  color: #ffffff;
}

.thanks-footer img {
  width: 20%;
  padding: 1em 0;
  max-width: 150px;
}



/* Edit button styles */

.edit-btn-custom {
  background: #fff;
  color: #1E92B6;
  border: 1px solid #1E92B6;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  margin-left: 15em;
  width: auto;
  box-sizing: border-box;
  white-space: nowrap;
  min-width: fit-content;
}