/* リセットスタイル*/
body,
h1,
h2,
p,
ul,
li,
form,
input,
textarea,
button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body スタイリング */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  padding-bottom: 20vh;
}

/* ヘッダー */
/* 画面サイズが1279px以下の時はPC用メニューは非表示 */
@media screen and (max-width: 1279px) {
  .pc-menu {
    display: none;
  }
}

/* 画面サイズが1280px以上の時はスマホ用メニューは非表示 */
@media screen and (min-width: 1280px) {
  .sp-menu {
    display: none;
  }
}

header {
  display: flex;
  background: #eeeeee;
  height: 60px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
}
.main-menu {
  margin: 0 auto;
  display: flex;
  width: 95%;
}
.logo {
  text-align: center;
  padding: 18px;
  font-size: 24px;
  width: 200px;
  background: #dddddd;
}
.pc-menu {
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.pc-menu > ul {
  display: flex;
  justify-content: right;
  align-items: center;
  list-style: none;
}
.pc-menu > ul > li {
  text-align: center;
  font-size: 16px;
  width: 10%;
}
.pc-menu > ul > li > a {
  display: block;
  text-decoration: none;
  color: #000000;
  line-height: 60px;
}
.pc-menu > ul > li > a:hover {
  background: #cccccc;
}
.sp-menu__box {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background: #3584bb;
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffffff;
  position: absolute;
}
.sp-menu__box span:before {
  bottom: 8px;
}
.sp-menu__box span:after {
  top: 8px;
}
#sp-menu__check {
  display: none;
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#sp-menu__check:checked ~ .sp-menu__box span::after {
  top: 0;
  transform: rotate(-45deg);
}
#sp-menu__check:checked ~ .sp-menu__content {
  left: 0;
}
.sp-menu__content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #3584bb;
  transition: all 0.5s;
}
.sp-menu__list {
  padding: 70px 10px 0;
}
.sp-menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.sp-menu__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}

.fixed-btnContent {
  position: fixed;
  text-align: center;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 20px 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-color: #1c3193;
  z-index: 9;
}

@media (max-width: 919px) {
  .fixed-btnContent {
    padding: 15px 15px;
  }
}

.fixed-btnContent.visible {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fixed-btn {
  width: auto;
  height: auto;
}

.fixed-btn a {
  text-decoration: none;
  color: #fff;
  background-color: #159bd7;
  width: 500px;
  height: auto;
  margin: 0 auto;
  padding: 10px 50px;
  border-radius: 50px;
  transition: background-color 0.5s, color 0.5s;
  font-size: clamp(1.125rem, 0.807rem + 1.59vw, 2rem);
}

/* ファーストビュー */
.first-view {
  margin-top: 60px;
  padding: 0;
  width: 100%;
  min-height: calc(100vh - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* 追加 */
}

.fv-elements {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

/* fv-1 */
.fv-1 {
  position: relative;
  display: flex;
  justify-content: center;
  height: calc(80vh - 60px);
  width: 100%;
  overflow: hidden;
}

.fv-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/FV/fv-bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: repeat-x;
  z-index: -1;
}

/* .fv-1::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 180px;
  height: 50px;
  background-image: url("../img/logo/logo-blue.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
} */

@media (max-width: 919px) {
  .fv-1 {
    flex-direction: column;
    padding: 0;
  }
  .fv-1::before {
    background-image: url(../img/FV/fv-bg-sp.png);
  }
}

.fv-title {
  width: 45%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 7.5%;
}

.fv-title picture {
  width: 100%;
  height: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

@media (max-width: 919px) {
  .fv-title {
    width: 100%;
    height: 60%;
    padding: 25px;
  }
}
@media (max-width: 400px) {
  .fv-title {
    padding: 15px;
  }
}

.fv-title img {
  width: 100%;
  height: auto;
  margin-top: 5%;
}

@media (max-width: 919px) {
  .fv-title img {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }
}

/* @media (max-width: 400px) {
  .fv-title img {
    width: 100%;
    height: auto;
  }
} */

.fv-title-list {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.fv-1-illust {
  display: flex;
  align-items: flex-end;
  padding-top: 5vh;
}

.fv-1-illust picture {
  display: flex;
  width: 100%;
  height: 100%;
}

.fv-1-illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 919px) {
  .fv-1-illust {
    width: 100%;
    height: 40%;
    justify-content: center;
    text-align: center;
    padding-top: 0;
    margin-bottom: 0;
  }
  .fv-1-illust img {
    width: auto;
    height: 100%;
    margin: 0px auto;
  }
}
@media (max-width: 400px) {
  .fv-1-illust img {
    width: auto;
    height: 100%;
  }
}

/* fv-2 */
.fv-2 {
  height: 20vh;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1c3193;
  z-index: 99999;
}

.fv-2-content {
  height: 100%;
  z-index: 1;
}

@media (max-width: 919px) {
  .fv-2-content {
    padding: 15px 15px;
  }
}

.fv-cta {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 15px;
}

@media (max-width: 919px) {
  .fv-cta {
    padding: 0;
  }
}

.fv-cta p {
  color: #fff;
  font-size: clamp(1.375rem, 1.257rem + 0.59vw, 1.75rem);
  font-weight: 500;
}

@media (max-width: 400px) {
  .fv-cta p {
    font-size: 16px;
  }
}

.yellowtext {
  color: #f7ff00;
}

.fv-cta a {
  text-decoration: none;
  color: #fff;
  background-color: #159bd7;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
  width: 500px;
  height: auto;
  margin: 0 auto;
  padding: 10px 50px;
  border-radius: 50px;
  transition: background-color 0.5s, color 0.5s;
  font-size: clamp(1.5rem, 1.303rem + 0.98vw, 2.125rem);
  font-weight: 500;
}

.fv-cta a:hover {
  background-color: #fff;
  color: #159bd7;
}

.bar-cta a {
  box-shadow: 0px 0px 10px 0px #159bd7;
}

@media (max-width: 919px) {
  .fv-cta a {
    width: 100%;
    max-width: 350px;
  }
}
@media (max-width: 400px) {
  .fv-cta a {
    font-size: 18px;
  }
}

.first-view h2 {
  margin-bottom: 20px;
}

/* お悩みセクション */
.problem {
  width: 100%;
  height: auto;
  padding-top: 80px;
  background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
      )
      0 0,
    linear-gradient(#f5f5f5 1px, transparent 1px) 0 0,
    linear-gradient(90deg, #f5f5f5 1px, transparent 1px) 0 0;
  background-size: 100% 100%, 30px 30px, 30px 30px;
}

@media (max-width: 919px) {
  .problem {
    padding-top: 40px;
  }
}

.problem-title {
  width: 100%;
  height: auto;
  text-align: center;
  margin-bottom: 2.5rem;
}

.problem-title h2 {
  color: #1c3193;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.375rem);
}

.problem-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 35px;
}
@media (max-width: 919px) {
  .problem-content {
    gap: 0;
  }
}

.problem-image {
  display: flex;
  justify-content: center;
  width: 60%;
  height: auto;
}
@media (max-width: 919px) {
  .problem-image {
    width: 90%;
  }
}

.problem-image img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.og-arrow-icon {
  display: flex;
  width: auto;
  height: auto;
}

@media (max-width: 919px) {
  .og-arrow-icon {
    margin-bottom: 15px;
  }
}

.og-arrow-icon img {
  width: 100%;
  height: 100%;
}

.problem-text {
  width: auto;
  padding: 20px 50px;
  letter-spacing: 0.18em;
  background-color: #1c3193;
  color: #fff;
  font-weight: 500;
}
@media (max-width: 919px) {
  .problem-text {
    padding: 20px 25px;
  }
}
@media (max-width: 400px) {
  .problem-text {
    padding: 20px 0;
    width: 100%;
  }
}

.problem-text p {
  color: #fff;
  font-size: 1rem;
}

.problem-text p span {
  color: #f7ff00;
  font-size: clamp(1.263rem, 1.217rem + 0.23vw, 1.688rem);
  font-weight: 700;
}

@media (max-width: 400px) {
  .problem-text p span {
    font-size: 21px;
  }
}

/* 3つの特徴 */
.feature {
  width: 100%;
  height: auto;
  padding-top: 80px;
}

@media (max-width: 400px) {
  .feature {
    padding-top: 40px;
  }
}

.feature-title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

@media (max-width: 400px) {
  .feature-title img {
    width: 40%;
  }
}

.feature-title p {
  font-size: clamp(1.5rem, 1.409rem + 0.45vw, 1.75rem);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.feature-content {
  width: 70%;
  margin: 0 auto;
  margin-top: 50px;
  position: relative;
}

@media (max-width: 919px) {
  .feature-content {
    max-width: 500px;
    padding: 0;
  }
}

@media (max-width: 400px) {
  .feature-content {
    width: 80%;
    margin-top: 25px;
  }
}

.feature-swiper {
  width: 80%;
}

.feature-card {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  text-align: center;
  border: 3px solid #1c3193;
  border-radius: 25px;
  margin: 0 auto;
  padding-top: 15px;
}

.feature-text-box {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.feature-text-box h4 {
  width: 90%;
  height: auto;
  margin: 0 auto;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

.feature-text-box h5 {
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 5px;
  padding-bottom: 0;
  font-size: clamp(1.75rem, 1.568rem + 0.91vw, 2.25rem);
  color: #159bd7;
  border-bottom: 3px solid #159bd7;
}

.feature-text-box p {
  width: 90%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 5px;
}

/* Swiper */
.swiper-slide img {
  width: 100%;
  height: auto;
}

.swiper-pagination {
  display: none;
}

.swiper-buttons {
  width: 100%;
  height: 100%;
}

/* 前へ次へのボタンのスタイルを透明に設定 */
.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 50px;
}

.swiper-button-prev {
  left: -25px;
}

.swiper-button-next {
  right: -25px;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  width: 100%;
  height: 100%;
  display: block;
}

.swiper-button-prev::after {
  background-image: url(../img/back-button.svg);
}

.story-prev {
  left: 10px;
}

.story-next {
  right: 10px;
}

/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  background-image: url(../img/next-button.svg);
}

/* Swiper */

.feature01-img img,
.feature02-img img,
.feature03-img img {
  width: 70%;
}

.feature01-img img,
.feature02-img img,
.feature03-img img {
  max-width: 399px;
  height: auto;
}

/* ご利用者様の体験談 */
.user-voice {
  width: 100%;
  height: auto;
}

.user-voice-content {
  width: 100%;
  text-align: center;
  padding: 80px 0;
}
@media (max-width: 919px) {
  .user-voice-content {
    padding: 40px 0;
  }
}

.user-voice-content h2 {
  color: #1c3193;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.375rem);
}

.user-voice-boxes {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: auto;
  margin: 0 auto;
  margin-top: 50px;
}
@media (max-width: 919px) {
  .user-voice-boxes {
    gap: 0;
    margin-top: 25px;
  }
}

.user-voice-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  gap: 25px;
}

.user-voice-box:nth-child(2n) {
  flex-direction: row-reverse;
}

@media (max-width: 919px) {
  .user-voice-box {
    flex-direction: column;
    gap: 35px;
  }
  .user-voice-box:nth-child(2n) {
    flex-direction: column;
  }
}

.voice-icon {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
}

.voice-icon img {
  width: 100px;
  height: 130px;
  object-fit: cover;
  margin: auto;
}

@media (max-width: 919px) {
  .voice-icon {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 90%;
  }
  .voice-age {
    width: fit-content;
  }
  .voice-age p {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .voice-icon {
    gap: 25px;
  }
  .voice-icon img {
    margin: 0;
  }
}

.voice-age {
  margin-top: 10px;
}

.voice-age p {
  font-weight: 600;
  padding: 5px 15px;
  border: 1px solid #1c3193;
  color: #1c3193;
}

.voice-text {
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  max-width: 600px;
  margin-left: 15px;
  padding: 1.8em 1.5em;
  border-radius: 50px;
  background-color: #159bd7;
  color: #fff;
  font-size: 1.25rem;
}

.voice-text:nth-child(2n) {
  margin-left: 0;
}

.voice-text::before {
  position: absolute;
  left: -20px;
  width: 25px;
  height: 45px;
  background-color: #159bd7;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  content: "";
}

.user-voice-box:nth-child(2n) .voice-text::before {
  left: auto;
  right: -20px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

@media (max-width: 919px) {
  .voice-text::before {
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    width: 50px;
    height: 20px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
  }
  .user-voice-box:nth-child(2n) .voice-text::before {
    left: 50%;
    right: auto; /* 右からの配置を解除 */
    transform: translateX(-50%);
    top: -15px;
    width: 50px;
    height: 20px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
  }
}

@media (max-width: 919px) {
  .voice-text:nth-child(2n) {
    margin: 0 25px;
  }
}

/* 成功事例 */
.success-story {
  width: 100%;
  height: auto;
  padding: 80px 0;
  background-color: #efefef;
}

@media (max-width: 919px) {
  .success-story {
    padding: 40px 0;
  }
}

.success-story-content {
  width: 100%;
  text-align: center;
}

.success-story-content h2 {
  color: #1c3193;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.375rem);
}

.story-swiper {
  max-width: 1000px;
  margin-top: 50px;
}

@media (max-width: 919px) {
  .story-swiper {
    margin-top: 25px;
  }
}

.story-slide01 img {
  width: 80%;
  box-shadow: 7px 5px 1px 0px rgba(0, 0, 0, 0.45);
}

/* CM */
.cm div,
.faq div {
  text-align: center;
  width: 100%;
  height: 720px;
  background-color: #fafafa;
}

/* フォーム */
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: calc(80vh - 60px);
  padding: 50px 0;
  padding-bottom: 30px;
}

@media (max-width: 919px) {
  .form-section {
    width: 90%;
    padding-top: 40px;
    margin: 0 auto;
  }
}

.form-section h2 {
  color: #1c3193;
  font-size: 1.5rem;
}

.input-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  text-align: center;
}

.form-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.form-element-top h2 {
  margin-bottom: 20px;
}

.form-element-top h4 {
  margin-bottom: 30px;
}

input {
  padding: 20px;
  border-radius: 15px;
  width: 350px;
  border: 1px solid #bdbdbd;
}
@media (max-width: 919px) {
  .input-form {
    gap: 15px;
  }
  input {
    width: 300px;
  }
}

::placeholder {
  font-size: 1rem;
  color: #bdbdbd;
}

.passbutton {
  width: fit-content;
  background-color: transparent;
  border: none;
  color: #bdbdbd;
  margin: auto;
  cursor: pointer;
}

.mailbutton {
  width: fit-content;
  background-color: transparent;
  border: none;
  color: #1c3193;
  margin: auto;
  cursor: pointer;
  margin-bottom: 10px;
}

.policybutton a {
  width: fit-content;
  background-color: transparent;
  border: none;
  color: #1c3193;
  margin: auto;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 919px) {
  .policybutton a {
    gap: 15px;
  }
}

@media (max-width: 919px) {
  .policybutton {
    font-size: 0.625rem;
  }
  .mailbutton {
    font-size: 0.75rem;
  }
}

.fixed-auth-mailbutton {
  position: fixed;
  text-align: center;
  align-items: center;
  width: 100%;
  height: 20vh;
  padding: 20px 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-color: #fff;
  box-shadow: 2px -3px 10px 0px rgba(0, 0, 0, 0.2);
  z-index: 79 !important;
}

@media (max-width: 919px) {
  .fixed-auth-mailbutton {
    padding: 15px 15px;
    padding-bottom: 30px;
  }
}

.auth-mailbuttons {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 15px;
}

.auth-mail-button {
  width: 100%;
  max-width: 350px;
  padding: 25px 25px;
  margin: 0 auto;
  border-radius: 50px;
  color: #fff;
  background-color: #bdbdbd;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

@media (max-width: 400px) {
  .auth-mail-button {
    padding: 15px 25px;
    font-size: 18px;
  }
}

.login-button {
  text-decoration: none;
  color: #1c3193;
}

@media (min-width: 919px) {
  .sp-br {
    display: none;
  }
}

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

/* ボタンのアニメーション */
@keyframes shiny {
  0% {
    transform: scale(0) rotate(25deg);
    opacity: 0;
  }

  50% {
    transform: scale(1) rotate(25deg);
    opacity: 1;
  }

  100% {
    transform: scale(50) rotate(25deg);
    opacity: 0;
  }
}

.shiny-btn {
  position: relative;
  display: block;
  overflow: hidden;
}

.shiny-btn::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 50px;
  height: 50px;
  background-image: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 1) 100%,
    rgba(255, 255, 255, 0) 0%
  );

  animation-name: shiny;
  animation-duration: 3.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  pointer-events: none;
}
/* ボタンのアニメーション */
