@charset "UTF-8";
/*
Theme Name: zeroport
Description: test
version: 1.0
Author: n
*/
/*=============

==============*/
.main_color {
  color: #333;
}

p {
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

span {
  color: #333;
}

img {
  width: 100%;
  height: auto;
  backface-visibility: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.04em;
}

/* 767px以下の場合 */
@media (max-width: 767px) {
  html,
  body {
    scroll-padding-top: 80px;
  }
}

/* 499px以下の場合 */
@media (max-width: 499px) {
  html,
  body {
    scroll-padding-top: 60px !important;
  }
}

.bold {
  font-weight: 800;
}

.header {
  padding-top: 100px;
}
@media (max-width: 767px) {
  .header {
    padding-top: 80px;
  }
}
@media (max-width: 499px) {
  .header {
    padding-top: 60px;
  }
}

/* === @media　=== */
@media (min-width: 1200px) {
  .is-1199 {
    display: none;
  }
}
@media (max-width: 1199px) {
  .is-1199 {
    display: block;
  }
}

@media (min-width: 992px) {
  .is-991 {
    display: none;
  }
}
@media (max-width: 991px) {
  .is-991 {
    display: block;
  }
}

@media (min-width: 768px) {
  .is-sp {
    display: none;
  }
}
@media (max-width: 767px) {
  .is-sp {
    display: block;
  }
}

@media (min-width: 768px) {
  .is-pc {
    display: block;
  }
}
@media (max-width: 767px) {
  .is-pc {
    display: none;
  }
}

@media (min-width: 500px) {
  .is-small {
    display: none;
  }
}
@media (max-width: 499px) {
  .is-small {
    display: block;
  }
}
@media (min-width: 992px) {
  .min-992 {
    display: block;
  }
}
@media (max-width: 991px) {
  .min-992 {
    display: none;
  }
}

/* 通常は非表示 */
.is-768-1199 {
  display: none;
}

/* 768px以上1199px以下のときだけ表示 */
@media (min-width: 768px) and (max-width: 1199px) {
  .is-768-1199 {
    display: inline; /* 表示を有効化 */
  }
}

/*=============
  first-view
==============*/
.first-view {
  position: relative; /* テキストを背景画像の上に配置 */
  width: 100%;
  height: 54.8611vw;
  background-image: url("img/fv.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0px;
}
.first-view .first-view-content {
  color: #fff;
  z-index: 10;
  text-align: left;
  margin-top: 3.5%;
  margin-left: 9.7222%;
}

@media (min-width: 768px) {
  .first-view .first-view-content {
    margin-top: 9.375vw;
  }
}

.first-view .promo-cta-container {
  position: absolute; /* 親要素内で位置を調整可能にする */
  bottom: 5vw;
  z-index: 10;
  text-align: left; /* テキストを中央揃え */
  left: 9.7222%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .first-view .promo-cta-container {
    display: none;
  }
}

.first-view-content h1 {
  font-size: 5.2778vw; /* 見出しのサイズ */
  margin: 0px 0px 20px;
  text-align: left;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-shadow: 0 0 13px #595959;
  color: #fff;
}

.first-view-content h1 .en {
  font-size: 5.7639vw;
  color: #fff;
  margin: 0px 3px;
}

.first-view-content p {
  font-size: 3.75vw; /* サブテキストのサイズ */
  margin: 0;
  color: #fff;
  text-align: left;
  font-weight: bold;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-shadow: 0 0 13px #595959;
}

/* === amazon画像 === */
.promo-image-wrapper {
  margin: 30px auto 33px; /* 中央揃え */
  display: inline-block;
  z-index: 2; /* 画像を最前面に */
  order: -1; /* 画像を上に表示 */
}

.promo-image {
  width: 460px; /* 画像の幅 */
  height: auto;
}

.promo-image-wrapper img {
  width: 31.9444vw;
}

/* === CTAボタン === */
.cta-button-wrapper {
  position: relative;
  margin-top: -40px; /* 少し重なるように調整 */
  z-index: 1;
  order: 1; /* CTAボタンを下に表示 */
  width: 100%;
}
.cta-button-wrapper .cta_btn {
  width: 31.9444vw;
  height: 5.5556vw;
}
.cta-button-wrapper .cta_btn_free {
  width: 3.4722vw;
  height: 3.4722vw;
  font-size: 1.1111vw;
  line-height: 3.4722vw;
}
.cta-button-wrapper .cta_btn_inner {
  font-size: 1.6667vw;
}
.cta-button-wrapper .cta_arrow {
  width: 15px;
  height: 2px;
  margin: 30px 20px 30px 0px;
  border-radius: 9999px;
  background-color: #fff;
}
.cta-button-wrapper .cta_arrow::before,
.cta-button-wrapper .cta_arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: -1px;
  width: 8px;
  height: 2px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: calc(100% - 1px) 50%;
  top: calc(50% - 1px);
}

@media (min-width: 768px) {
  .promo-cta-below-fv {
    display: none;
  }
}
@media (max-width: 767px) {
  .promo-cta-in-fv {
    display: none;
  }
  .promo-image-wrapper {
    margin: 14px 24px 25px;
    width: calc(100% - 48px);
  }
  .promo-cta-below-fv .promo-image-wrapper img {
    width: 100%;
  }
  .promo-cta-below-fv .cta_btn {
    width: calc(100% - 16px);
    height: 64px;
  }
  .promo-cta-below-fv .cta_btn_free {
    width: 40px;
    height: 40px;
    font-size: 12px;
    line-height: 40px;
  }
  .promo-cta-below-fv .cta_btn_inner {
    font-size: 20px;
  }
  .promo-cta-below-fv {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .first-view {
    height: 100%;
    max-height: 350px; /* スマホ用の高さ */
  }
  .first-view-content {
    margin-left: 26px;
    margin-top: 20px;
  }

  .promo-image {
    width: 200px; /* スマホ用サイズ */
  }
  .cta_btn {
    font-size: 14px;
  }

  .first-view-content p.fv-text {
    position: absolute; /* 下寄せにするためabsoluteを設定 */
    bottom: 3vw; /* 下から20pxに配置 */
  }
}

@media (max-width: 499px) {
  .first-view-content {
    margin-top: 20px;
    margin-left: 0px;
  }
  .first-view-content h1 {
    font-size: 12vw;
    margin-bottom: 20px;
  }
  .first-view-content h1 .en {
    font-size: 13vw;
  }

  .first-view-content p.fv-text {
    position: absolute; /* 下寄せにするためabsoluteを設定 */
    bottom: 4vw; /* 下から20pxに配置 */
    font-size: 6vw; /* 必要に応じてフォントサイズを調整 */
  }
}

/* 768px以上1199px以下のときだけ表示 */
@media (min-width: 499px) and (max-width: 768px) {
  .first-view-content h1 {
    font-size: 40px;
  }
  .first-view-content h1 .en {
    font-size: 43px;
  }
  .first-view-content p {
    font-size: 28px;
  }
}
/* === logo === */
.first-view_logo {
  padding: 50px 20px;
  margin: 0px auto 0px;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 1199px) {
  .first-view_logo {
    max-width: 900px;
  }
}
@media (max-width: 991px) {
  .first-view_logo {
    max-width: 700px;
  }
}
@media (max-width: 767px) {
  .first-view_logo {
    padding: 10px 40px;
  }
}
@media (max-width: 499px) {
  .first-view_logo {
    padding: 10px 40px 0px;
  }
}

/* === title === */
h2 {
  margin-top: 0px;
  margin-bottom: 8px;
}

.section_title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.section_text {
  margin-top: 24px;
  margin-bottom: 0;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .section_title {
    font-size: 28px;
    line-height: 1.5;
  }
}

/* === LINE === */
.lines-container {
  display: flex;
}
.lines-container .line {
  height: 2px;
}
.lines-container .line-dark {
  background-color: #333333; /* 色 */
  width: 100px; /* 幅 */
}
.lines-container .line-light {
  background-color: #c7c7c7; /* 色 */
  width: 300px; /* 幅 */
}
@media (max-width: 767px) {
  .lines-container .line-dark {
    width: 30%;
  }
  .lines-container .line-light {
    width: 70%;
  }
}

/* === section === */
.section_area {
  padding: 75px 20px;
  margin: 0px auto 0px;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 1199px) {
  .section_area {
    max-width: 900px;
  }
}
@media (max-width: 991px) {
  .section_area {
    max-width: 700px;
  }
}
@media (max-width: 767px) {
  .section_area {
    max-width: 550px;
    padding: 50px 40px;
  }
}

/* === reason === */
.s-reason {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.s-reason .s-reason_inner {
  flex: 1;
}
.s-reason .s-reason_img {
  flex: 1;
  max-width: 100%;
}

.s-reason .s-reason_img img {
  width: 100%;
}
.s-reason .s-reason_bubble {
  display: flex; /* 横並びにする */
  align-items: center; /* 縦中央揃え */
  gap: 15px; /* 画像と吹き出しの間隔を設定 */
  margin-top: 20px;
}
.s-reason .s-reason_bubble img {
  max-height: 100px;
  width: auto;
  display: block; /* 必要に応じて設定 */
}
.s-reason .s-reason_bubble .speechBubble {
  position: relative;
  display: inline-block;
  padding: 10px;
  border: 2px solid #333;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: left;
  line-height: 1.5;
}
.s-reason .s-reason_bubble .speechBubble p {
  margin: 0;
}
.s-reason .s-reason_bubble .speechBubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px; /* 三角形の位置調整 */
  border-style: solid;
  border-width: 12.5px 13px 12.5px 0;
  border-color: transparent #333 transparent transparent;
  translate: 0 -50%;
}
.s-reason .s-reason_bubble .speechBubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px; /* 三角形の位置調整 */
  border-style: solid;
  border-width: 9.7px 10.1px 9.7px 0;
  border-color: transparent #ffffff transparent transparent;
  translate: 0 -50%;
}
@media (max-width: 1199px) {
  .s-reason .s-reason_img {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .s-reason {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .s-reason .s-reason_bubble_right {
    display: none;
  }
}
@media (min-width: 768px) {
  .s-reason .s-reason_bubble_bottom {
    display: none;
  }
}

/* === merit === */
.section_merit {
  padding-top: 55px;
  display: flex; /* 横並びに配置 */
  flex-wrap: wrap;
  justify-content: space-between; /* 均等配置 */
  max-width: 100%;
}
.section_merit .merit {
  flex: 1; /* 各カードの幅を均等に分配 */
  max-width: 200px; /* 最大幅を設定（必要に応じて調整） */
  padding: 0px 10px;
  text-align: center;
  background-color: white; /* カードの背景色 */
}
.section_merit .merit_icon {
  max-width: 150px;
  max-height: 150px;
  margin: 0px auto 25px;
}
.section_merit .merit_icon img {
  width: 100%; /* アイコンの幅 */
  height: auto;
}
.section_merit .merit_title {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 500;
}
.section_merit .merit_text {
  text-align: left;
  font-size: 14px;
  color: #333333;
  line-height: 1.6; /* 行間 */
  margin: 0px;
}
@media (max-width: 767px) {
  .section_merit {
    justify-content: center; /* 要素を中央揃え */
  }
  .section_merit .merit {
    flex: 1 1 calc(50% - 20px); /* 幅を2列に分ける */
    max-width: calc(50% - 20px); /* 50%幅 - 間隔 */
    margin-bottom: 50px; /* 下に余白を追加 */
    padding: 0px 10px;
  }
  .section_merit .merit_icon {
    max-width: 100px;
    max-height: 100px;
    margin: 0px auto 15px;
  }
}
@media (max-width: 990px) {
  .section_merit .merit_title {
    font-size: 16px;
    min-height: 3.4em; /* 2行分の高さを設定 */
  }
}

/* === point === */
.s-point {
  background-color: #e2e9ee;
}
.s-point .point {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 55px;
  gap: 13px;
}
.s-point .point_box {
  background-color: #ffffff;
  flex: 1 1 calc(25% - 20px); /* 横幅の自動調整 */
  max-width: 250px;
  text-align: left;
  box-sizing: border-box;
}
.s-point .point_header {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #333; /* main_color */
  padding: 5px 10px;
  display: inline-block;
}
.s-point .point_icon {
  width: 160px;
  height: auto;
  margin: 16px auto;
}
.s-point .point_icon img {
  width: 100%;
  height: auto;
}
.s-point .point_title {
  font-size: 20px;
  font-weight: 500;
  margin: 0px 10px;
  text-align: center;
  min-height: 3.4em;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 最大3行まで表示 */
  -webkit-box-orient: vertical;
  overflow: hidden; /* 超えた部分を隠す */
}

@media (min-width: 992px) and (max-width: 1199px) {
  .s-point .point {
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .s-point .point_title {
    font-size: 16px;
    display: block; /* 行数制限を無効化 */
    -webkit-line-clamp: unset; /* ラインクランプを無効化 */
    -webkit-box-orient: unset;
    overflow: visible; /* 全ての文字を表示 */
  }
  .s-point .point_icon {
    width: 200px;
  }
}
.s-point .point_text {
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 10px;
}
@media (max-width: 991px) {
  .s-point .point_box {
    flex: 1 1 calc(50% - 20px); /* 50%幅 - 隙間 */
    max-width: calc(50% - 20px); /* 最大幅を設定 */
  }

  .s-point .point_title {
    min-height: unset; /* 高さ固定を解除 */
  }
}
@media (max-width: 767px) {
  .s-point .point_box {
    flex: 1 1 100%; /* 100%幅で縦並び */
    max-width: 100%; /* 幅を全体に */
  }
}

/* === お客様の声 === */
/* スライダー全体のスタイル */
.swiper-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
  position: relative;
  display: flex; /* Flexboxを有効化 */
  justify-content: center; /* スライドを中央に揃える */
  --swiper-theme-color: #333;
  overflow: visible;
}

/* 各スライドのスタイル */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch; /* 高さを揃える */
  text-align: center;
  height: auto;
  margin-bottom: 20px;
}

/* 投稿のアイテム全体 */
.post-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 750px;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column; /* 縦方向に要素を並べる */
  justify-content: space-between; /* 高さを均等に配置 */
  height: 100%; /* 投稿全体の高さを固定 */
  box-sizing: border-box;
}

/* アイキャッチ画像の親要素 */
.post-thumbnail {
  width: 100%; /* 横幅を全体に広げる */
  height: 500px; /* 高さを固定（調整可能） */
  overflow: hidden; /* はみ出した部分を隠す */
  position: relative;
}

/* アイキャッチ画像 */
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 高さに合わせて画像を切り取り表示 */
  object-position: center; /* 中央を基準に表示 */
}

/* 投稿内容のスタイル */
.post-content {
  margin-top: 15px;
  font-size: 14px;
  color: #333;
  overflow: visible; /* スクロールを無効化 */
  justify-content: flex-start; /* 上寄せ */
  flex-grow: 1; /* コンテンツが上から下に広がるように調整 */
}

/* 各投稿のテキストの余白 */
.post-content p {
  margin: 5px 0;
}

/* 投稿の名前 */
.post-name {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
}

/* 投稿の本文 */
.post-text {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
}

/* お客様の声 */
.post-voice {
  padding-top: 20px;
  font-size: 16px;
  font-weight: 400;
  display: flex; /* フレックスボックスを使用して横並びにする */
  align-items: center; /* 縦方向の位置を中央揃えに */
  gap: 10px; /* 画像とテキストの間に余白を追加 */
}

.post-main_text p {
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.voice-image {
  width: 30px; /* 画像の横幅を50pxに設定（必要に応じて調整） */
  height: auto; /* 縦横比を維持 */
  object-fit: contain; /* 画像を正しく収める */
}

.yume {
	width: 728px;
	margin: 0 auto;
}

@media (max-width: 1000px) {
  .post-item {
    max-width: 550px;
  }
  .post-thumbnail {
    height: 300px;
  }
  .yume {
	width: 538px;
}
}
@media (max-width: 767px) {
  .post-thumbnail {
    height: 150px;
  }
  /* ボタンのアイコンの大きさを小さくする */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 20px; /* アイコンの文字サイズ */
  }
	.yume {
	width: 728px;
	margin: 0 auto;
}
}
/* === 流れ === */
.image-gallery {
  display: flex;
  flex-wrap: wrap; /* 画面幅によって折り返す */
  gap: 21px; /* アイテム間の隙間 */
  margin-top: 55px;
}

.image-item {
  position: relative;
  width: calc(25% - 16px); /* 4つ並べる場合、幅は25%に設定 */
  box-sizing: border-box;
  text-align: center;
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.image-number {
  z-index: 10; /* 前面に表示するための設定 */
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #333; /* main_color */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 8px; /* パディングで円形のサイズ調整 */
  border-radius: 50%;
  width: 32px; /* 幅を固定 */
  height: 32px; /* 高さを固定 */
  display: flex; /* 横並びにする */
  justify-content: center; /* 横方向中央寄せ */
  align-items: center; /* 縦方向中央寄せ */
}

.s-flow_text {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 767px) {
  .image-item {
    width: calc(50% - 8px); /* 2つ並べる場合、幅は50%に設定 */
  }
  .image-gallery {
    gap: 16px; /* アイテム間の隙間 */
  }
  .image-number {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #333; /* main_color */
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 8px; /* パディングで円形のサイズ調整 */
    border-radius: 50%;
    width: 20px; /* 幅を固定 */
    height: 20px; /* 高さを固定 */
    display: flex; /* 横並びにする */
    justify-content: center; /* 横方向中央寄せ */
    align-items: center; /* 縦方向中央寄せ */
  }

  .s-flow_text {
    font-size: 16px;
  }
}

.footer_img img {
  margin-top: 50px;
  margin-bottom: 50px;
}
@media (max-width: 767px) {
  .footer_img img {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .footer_img_area {
    padding-top: 0px;
  }
}
.fukidashi-01-03 {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-bottom: 2px solid #333333;
  background-color: #ffffff;
}

.fukidashi-01-03::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  background-color: #ffffff; /* 背景色と同じ色を指定 */
  rotate: 135deg;
  translate: -50%;
}

.fukidashi-01-03::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  z-index: -1;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: 2px solid;
  border-color: #333333 #333333 transparent transparent;
  background-color: #ffffff;
  rotate: 135deg;
  translate: -50%;
}

/* === form === */

.s-form {
  background-color: #e2e9ee; /* 背景色を設定 */
}
.s-form .main_text {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin: 0px;
}
.s-form .main_text::after {
  content: "";
  display: block;
  max-width: 300px; /* ラインの幅（例：文字幅の半分） */
  height: 2px; /* ラインの高さ */
  background-color: #333; /* ラインの色 */
  margin: 5px auto 5px; /* 上下余白と中央揃え */
}
.s-form .sub_text {
  font-weight: bold;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 50px;
}

/* ラベルのスタイル */
.wpcf7 p {
  margin: 0px;
}

.wpcf7 label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 18px;
  margin-top: 40px;
}

.required {
  background-color: #333; /* 背景色 */
  color: #fff; /* 文字色 */
  border-radius: 4px; /* 角を丸く */
  padding: 4px 13px; /* 内側の余白（上下左右を調整） */
  display: inline-block; /* 長方形にするための設定 */
  font-size: 14px; /* 文字サイズ */
  text-align: center; /* 文字の中央揃え */
  margin-left: 10px;
}

.no-required {
  background-color: #999; /* 背景色 */
  color: #fff; /* 文字色 */
  border-radius: 4px; /* 角を丸く */
  padding: 4px 13px; /* 内側の余白（上下左右を調整） */
  display: inline-block; /* 長方形にするための設定 */
  font-size: 14px; /* 文字サイズ */
  text-align: center; /* 文字の中央揃え */
  margin-left: 10px;
}

/* 入力フィールドのスタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
  -webkit-appearance: none; /* デフォルトの外観をリセット */
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 60px;
  padding: 5px 10px 5px;
  margin-bottom: 0px;
  box-sizing: border-box;
  font-size: 18px;
  border: 1px #999 solid;
  color: #333;
  background-color: #fff;
}

.wpcf7 textarea {
  resize: vertical; /* テキストエリアのサイズ変更を縦方向のみに制限 */
  height: 100px;
}

/* チェックボックスのスタイル */
.wpcf7 .policy {
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin: 40px auto 30px;
  text-align: center; /* テキストの中央揃え */
  max-width: 100%; /* コンテナの幅を調整 */
}

.wpcf7 .policy input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #333333;
}

.wpcf7-list-item-label {
  display: none;
}

.policy-link {
  color: #333;
  text-decoration: none;
  cursor: pointer;
  display: inline-block; /* 横並びのためにインラインブロック指定 */
  margin: 0; /* 不要な余白をなくす */
  max-width: calc(100% - 40px); /* チェックボックスの分を引いた幅 */
  word-wrap: break-word; /* テキストが長い場合に折り返し */
}

/* 送信ボタンのスタイル */
.wpcf7 input[type="submit"] {
  margin: 0px auto;
  display: block;
  width: 100%;
  height: 56px;
  padding: 10px;
  background-color: #ec6c19; /* ボタンの色 */
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 5px #999;
  -webkit-appearance: none;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #e76e40; /* ホバー時の色 */
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  background-color: #fff !important; /* 背景色を白に */
  color: #333 !important; /* 文字色を適用 */
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important; /* 背景色を強制 */
}

/* === footer === */
.footer {
  background-color: #333; /* main_color */
  width: 100%;
  margin: 0;
  padding: 0;
}
.footer .footer_title {
  color: #fff;
  font-size: 32px;
  margin: 0px;
  font-weight: 800;
}
.footer .footer_text {
  color: #fff;
  font-size: 14px;
  margin: 5px 0px 55px 0px;
}
.footer_container img {
  max-width: 180px;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .footer .footer_text {
    margin-bottom: 30px;
  }
  .footer .section_area {
    padding-bottom: 80px;
  }
}

/* === 追従cta === */
html {
  scroll-behavior: smooth; /* スムーズスクロールを有効化 */
}

.fixed_cta {
  position: fixed; /* 固定表示 */
  bottom: 24px;
  left: auto;
  right: 24px;
  z-index: 9999;
  overflow: hidden; /* はみ出し部分を隠す */
}
@media (max-width: 767px) {
  .fixed_cta {
    bottom: 0px;
    left: 0px;
    right: 0px; /* 右側の位置をリセット */
  }
}

.fixed_cta .cta_btn_inner {
  line-height: 1;
}

.cta_btn {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
  width: 460px;
  background-color: #ec6c19;
  color: #fff;
  border: none;
  cursor: pointer; /* ポインタ表示 */
  transition: background-color 0.3s ease;
  border-radius: 3px;
  text-decoration: none;
  box-sizing: border-box; /* 幅や高さにpaddingやborderを含める */
}
@media (max-width: 767px) {
  .cta_btn {
    width: calc(100% - 16px);
    margin: 8px;
  }
}

.cta_btn:hover {
  background-color: #e26718; /* ホバー時の背景色 */
}

.cta_btn_free {
  display: inline-block; /* インライン要素としてブロック化 */
  text-align: center; /* テキストを中央揃え */
  font-size: 16px; /* フォントサイズ */
  color: #fff; /* テキストの色を白に */
  width: 50px; /* 円の幅 */
  height: 50px; /* 円の高さ */
  line-height: 50px; /* テキストを円の中心に配置 */
  border: 1px solid #fff; /* 枠線を白に設定 */
  border-radius: 50%; /* 完全な円にする */
  background-color: transparent; /* 背景色を透明にする */
  margin: 15px 0px 15px 26px;
}
@media (max-width: 767px) {
  .cta_btn_free {
    font-size: 12px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 12px 0px 12px 10px;
  }
}

.cta_btn_inner {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 767px) {
  .cta_btn_inner {
    font-size: 20px;
  }
}

.cta_btn_subtext {
  font-size: 12px; /* 小さな文字サイズ */
  font-weight: normal;
  margin-bottom: 8px; /* 下に余白 */
  color: #fff;
}
@media (max-width: 767px) {
  .cta_btn_subtext {
    font-size: 10px;
  }
}

@media (max-width: 1199px) {
  .copy_right {
    display: none;
  }
  .copy_right_mobile {
    display: block;
    text-align: left;
  }
}

@media (min-width: 1120px) {
  .copy_right {
    text-align: center;
    display: block;
    padding-bottom: 12px;
  }
  .copy_right_mobile {
    display: none;
  }
}

.copy_right {
  text-align: center;
}

/* === cta矢印 === */
.cta_arrow {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 2px;
  margin: 30px 20px 30px 0px;
  border-radius: 9999px;
  background-color: #fff;
}

.cta_arrow::before,
.cta_arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 12px;
  height: 2px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: calc(100% - 1px) 50%;
}

.cta_arrow::before {
  transform: rotate(45deg);
}

.cta_arrow::after {
  transform: rotate(-45deg);
}

/* === header === */
/* ヘッダー全体のスタイル */
.fixed-header {
  position: fixed; /* スクロールしても固定 */
  top: 0;
  left: 0;
  width: 100%; /* 幅を画面全体に */
  height: 100px; /* ヘッダーの高さ */
  background-color: #fff; /* ヘッダーの背景色 */
  color: #333; /* テキストの色 */
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: space-between; /* 左右に配置 */
  z-index: 1000; /* 他の要素より前に表示 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 下に影を追加 */
}

/* ロゴとテキストのコンテナ */
.logo-container {
  display: flex; /* 横並び */
  align-items: center; /* 垂直方向の中央揃え */
  gap: 10px; /* ロゴとテキストの間の余白 */
  margin-left: 20px;
  text-decoration: none;
}

/* ロゴテキストのスタイル */
.logo_text {
  font-size: 24px; /* テキストサイズ */
  font-weight: bold; /* 太字 */
  color: #333; /* テキスト色 */
  margin: 0; /* 余白をリセット */
}

/* ロゴのスタイル */
.logo img {
  height: 80px; /* ロゴの高さを指定 */
  width: auto;
  display: block;
}

/* メニュー全体のスタイル */
.menu {
  display: flex; /* 横並び */
  align-items: center; /* 垂直方向の中央揃え */
  gap: 20px; /* アイテム間のスペース */
  margin-right: 20px;
}

/* メニューアイテムのスタイル */
.menu_tel {
  padding: 8px 16px; /* 枠内の余白 */
  background-color: #fff; /* 背景色を白に */
  color: #333; /* テキストの色 */
  border: 3px solid #ec6c19;
  border-radius: 5px; /* 角丸 */
  font-size: 14px; /* フォントサイズ */
  font-weight: bold;
  height: 50px;
  text-align: center;
  text-decoration: none; /* 下線を消す */
}

.tel {
  font-size: 23px;
  margin: 0px;
}

.menu_consult {
  padding: 8px 16px; /* 枠内の余白 */
  background-color: #ec6c19; /* 背景色を白に */
  color: #fff; /* テキストの色 */
  border-radius: 5px; /* 角丸 */
  font-size: 14px; /* フォントサイズ */
  font-weight: bold;
  height: 56px;
  text-align: center;
  line-height: 28px;
}

.menu_consult a {
  color: #fff;
  text-decoration: none; /* 下線を消す */
}

/* スマホ用のレスポンシブ対応 */
@media (max-width: 767px) {
  .fixed-header {
    height: 80px; /* 自動調整 */
  }
  .menu {
    gap: 10px;
  }
  .logo img {
    height: 60px;
    width: auto;
  }
  .logo_text {
    font-size: 18px;
  }
  .menu_tel {
    padding: 3px 16px;
    height: 44px;
    font-size: 12px;
  }
  .tel {
    font-size: 18px;
  }
  .menu_consult {
    padding: 3px 16px;
    height: 50px;
    line-height: 25px;
    font-size: 12px;
  }
}
@media (max-width: 499px) {
  .header {
    padding-top: 60px;
  }
  .fixed-header {
    height: 60px; /* 自動調整 */
  }
  .logo-container {
    margin-left: 5px;
    gap: 5px;
  }
  .menu {
    gap: 5px;
    margin-right: 5px;
  }
  .logo img {
    height: 40px;
  }
  .logo_text {
    font-size: 12px;
  }
  .menu_tel {
    border: 2px solid #ec6c19;
    padding: 3px 10px;
    height: 30px;
    font-size: 10px;
  }
  .tel {
    font-size: 12px;
  }
  .menu_consult {
    padding: 3px 10px;
    height: 34px;
    line-height: 17px;
    font-size: 10px;
  }
}

/* === popup === */
.popup,
.popup-2 {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* ポップアップを最前面に */
}

.popup.view {
  display: flex;
}

.popup__inner {
  display: inline-block;
  background: #fff;
  padding: 50px 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  position: relative;
  max-width: 790px; /* 最大幅790px */
  max-height: 95%; /* 高さを画面の95%に設定 */
  height: auto; /* 高さは自動調整 */
  overflow: hidden; /* 内部でスクロールが発生しないように */
}

.popup__inner .popup_maintitle p {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  margin-top: 15px;
}
.popup__title p {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  margin-top: 15px;
}

.popup__body .popup__title p {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  margin-top: 15px;
}

.popup2__text p {
  font-size: 12px;
  margin-top: 0px;
  margin-bottom: 3px;
}

.popup__body .popup2__text p {
  font-size: 12px;
  margin-top: 0px;
  margin-bottom: 3px;
}

.popup__body .popup2__text .popup_text_amazon {
  font-size: 12px;
  margin-top: 15px;
  margin-bottom: 3px;
}

.close {
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #333;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  opacity: 0.6;
}

.popup__body {
  max-height: 400px; /* 親要素に合わせて最大高さに設定 */
  height: 100%; /* 高さを100%に指定して親要素に合わせる */
  overflow-y: auto; /* スクロールを可能にする */
  padding-right: 10px; /* 右端に少し余白を追加 */
}

.popup__body p {
  margin-bottom: 3px; /* 各段落の間に余白を追加 */
  margin-top: 30px;
  font-size: 12px;
}

.popup__body .popup2__bottom p {
  margin-bottom: 30px;
}

ol {
  padding-left: 20px; /* インデント */
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 12px;
  list-style-type: decimal; /* 番号付きリスト */
}

ul {
  padding-left: 20px; /* リスト項目のインデント */
  margin-top: 0px;
  margin-bottom: 10px;
  color: #333;
  font-size: 12px;
}

.popup-1 li {
  margin-bottom: 3px; /* 各リスト項目に少し余白を追加 */
  list-style-type: none; /* デフォルトのリスト記号を消去 */
  display: block;
}
.popup-2 li {
  margin-bottom: 3px; /* 各リスト項目に少し余白を追加 */
}

.popup-1 li::before {
  content: "・ ";
  font-weight: bold;
  font-size: 12px; /* 少し大きめにする */
}

.popup-2 li::before {
  font-weight: bold;
  font-size: 12px; /* 少し大きめにする */
}

li span {
  display: block; /* 改行したテキストを別行にする */
  margin-left: 20px; /* 改行後のインデントを追加 */
}

.popup-2-policy p {
  font-size: 16px;
}

.popup-2-right {
  text-align: right;
}

.policy_text p {
  margin: 0px;
}

.policy_text a {
  color: #333;
}

@media (max-width: 767px) {
  .popup__inner {
    width: 100%; /* 幅は100%に設定 */
    max-height: 100%; /* 高さは80%に固定 */
  }

  .popup__body {
    max-height: 300px; /* 親要素に合わせて最大高さに設定 */
  }
}

/* === サンクスページ === */
/* page-thanksページにのみ適用 */
body.page-thanks,
body.page-thanks .wrapper {
  height: 100%;
  margin: 0;
}

body.page-thanks .wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: calc(var(--vh, 1vh) * 100 - 100px); /* ヘッダーの高さを引く */
}

@media (max-width: 767px) {
  body.page-thanks .wrapper {
    height: calc(var(--vh, 1vh) * 100 - 80px); /* ヘッダーの高さを引く */
  }
}

@media (max-width: 499px) {
  body.page-thanks .wrapper {
    height: calc(var(--vh, 1vh) * 100 - 60px); /* ヘッダーの高さを引く */
  }
}

body.page-thanks main {
  flex: 1;
  height: calc(var(--vh, 1vh) * 100 - 100px); /* ヘッダーの高さを引く */
}

body.page-thanks footer {
  margin-top: auto;
}

.breadcrumb {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.breadcrumb .section_area {
  padding-top: 40px;
  padding-bottom: 0px;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb a {
  text-decoration: none;
  color: #333; /* リンク色 */
  transition: color 0.3s;
}

.breadcrumb li::after {
  content: "＞"; /* 区切り記号 */
  margin: 0 5px;
  color: #333;
}

.breadcrumb li:last-child::after {
  content: ""; /* 最後の要素には区切り記号を表示しない */
}

.thanks_title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.13em;
  margin-bottom: 8px;
  margin-top: 0px;
}

@media (max-width: 767px) {
  .thanks_title {
    font-size: 24px;
    line-height: 1.5;
  }
}
@media (max-width: 499px) {
  body.page-thanks footer .section_area {
    padding-bottom: 40px !important; /* 優先度を上げて強制適用 */
  }
}

/* === reCAPTCHAロゴ消す === */
.grecaptcha-badge {
  visibility: hidden;
}

.cf7-recaptcha-info a {
  color: #333; /* リンク色を指定 */
  text-decoration: none; /* 下線を消す場合 */
}
