/*
Theme Name: LP Custom Theme
Description: LP専用のカスタムテーマ
Version: 1.0
Author: You
*/
/*初期設定*/
html {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  animation: loading 1s;
}
@keyframes loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
img, video {
  width: 100%;
  pointer-events: none;
  vertical-align: bottom
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 700px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
body {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', sans-serif;
}
/***** header *****/
/* ヘッダー全体 */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 中身を横並びで */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 20px 30px;
  box-sizing: border-box;
}

/* ロゴ画像 */
.logo img {
  height: 50px;
  max-width: 100%;
}

/* CTAボタン */
.header-btn a {
  display: inline-block;
  background-color: #e15b00;
  color: #fff;
  padding: 10px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  font-size: 1.6rem;
}

/* スマホでも横並びを維持（重要） */
@media screen and (max-width: 768px) {
  .header-inner {
    flex-direction: row;       /* 横並びを維持 */
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
  }

  .logo img {
    height: auto;
    max-height: 32px;
    width: auto;
    max-width: 100%;
  }

  .header-btn a {
    font-size: 1.2rem;
    padding: 8px 12px;
  }
}

/***** LP *****/
.fv {
  position: relative;
  margin-top: 70px;
}
@media screen and (max-width: 768px)  {
  .fv {
    margin-top: 20%;
  }
}
.main_title {
  position: absolute;
  width: 90%;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 29%;
}
.buy {
  position: relative;
}
.buy_illu {
  position: absolute;
  width: 95%;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 37%;
}
/***** form *****/
.form {
  width: 80%;
  margin: 0 auto;
  padding: 30px 0;
}
.form_title {
  color: #EC6E24;
  margin: 30px auto;
  text-align: center;
  font-size: 2.4rem;
}
.lp_form_wrap {
  text-align: left;
}
.form_item_p {
  font-size: 1.6rem;
  font-weight: bold;
}
.form_item_input, .form_item_input_short {
  display: block;
  width: 100%;
  margin: 10px auto 0;
  padding: 20px 16px;
  border: 2px solid #EC6E24;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 1.6rem;
}
.form_item_input_short {
  margin: 10px 0 0;
  width: 60%;
}
.lp_check {
  font-size: 1.4rem;
  margin-top: 20px;
  text-align: left;
}
.checkbox-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 10px 0;
}
.required {
  color: #fff;
  background-color: #f00;
  border-radius: 10px;
  padding: 2px 10px;
  display: inline-block;
  font-size: 1rem;
  margin-left: 10px;
  font-weight: 500;
}
.form_submit {
  width: 80%;
  margin: 60px auto 0;
}
.form_submitBtn input {
  width: 100%;
  font-size: 1.6rem;
  padding: 30px 0;
  border-radius: 60px;
  border: none;
  border-bottom: solid 5px #bc3e00;
  background-color: #ec6e24;
  color: #fff;
  font-weight: 600;
  transition: .5s ease;
  margin: 30px 0;
}
.form_submitBtn input:hover {
  transform: translateY(3px);
  border-bottom-width: 2px;
}
/* ラジオボタンを非表示 */
.wpcf7-list-item input[type="radio"] {
  display: none;
}
/* ラベルの見た目（ボタン風） */
.wpcf7-radio .wpcf7-list-item label {
  display: block;
  padding: 20px 80px;
  background-color: #fff;
  border: 2px solid #F47E00;
  border-radius: 10px;
  color: #333;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: bold;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin: 0 0 30px;
}
.wpcf7-radio .wpcf7-list-item label.selected {
  background-color: #F47E00;
  color: #fff;
  border-color: #F47E00;
}
@media screen and (max-width: 768px) {
  .form_item_p {
    font-size: 1.4rem;
  }
  .form_item_input_short select {
    font-size: 1.4rem;
  }
  .checkbox-item {
    font-size: 1rem;
  }
  .wpcf7-radio .wpcf7-list-item label {
    padding: 10px 30px;
    font-size: 1.0rem;
    margin: 0 0 10px;
  }
  .last[type="radio"] {
    margin: 0;
  }
  .form_submit {
    width: 100%;
    margin: 40px auto 0;
  }
  .form_submitBtn input {
    padding: 20px 0;
  }
}
/***** form confirm thanks *****/
.form_confirm_wrap, .form_thanks_wrap {
  padding: 10% 0;
  background-color: #f0ffc5;
  text-align: center;
}
.form_confirm, .form_thanks {
  width: 60%;
  margin: 0 auto;
  padding: 2% 5%;
  background-color: rgba(255, 255, 255, 0.6); /* 白の60% */
  backdrop-filter: blur(6px); /* 背景のぼかし効果（オプション） */
}
.form_thanks{
  width: 80%;
}
.form_confirm {
  text-align: left;
}
.confirm_item_p{
  font-size: 1.6rem;
  font-weight: bold;
  margin: 30px 0 0;
}
.form_confirm p {
  font-size: 1.6rem;
  margin: 0;
}
.form_thanks p {
  margin: 30px 0;
}
/*前へ戻るボタン*/
.wpcf7-previous {
  display: block;
  width: 40%;
  margin: 30px auto 0;
  padding: 10px;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
}
@media screen and (max-width: 768px) {
  .wpcf7-previous {
    width: 70%;
  }
  /***** form confirm thanks *****/
  .form_confirm{
    width: 80%;
  }
  .form_confirm_wrap, .form_thanks_wrap {
  padding: 4% 0;
  }
  .confirm_item_p{
  font-size: 1.4rem;
  margin: 20px 0 0;
}
 .form_confirm p{
    font-size: 1.2rem;
}
  .form_submitBtn input[type="submit"]{
    width: 100%
  }
  .form_thanks {
    width: 90%;
    padding: 2%;
  }
  .form_thanks h1{
    font-size: 1.6rem;
  }
}
.form_item_note {
    font-size: 1.0rem !important;
    margin-top: 5px !important;
    color: #888 !important;
}
/*アニメーション*/
/* 拡大 */
.zoomIn {
  animation-name: zoomInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes zoomInAnime {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.scroll_fadein {
  opacity: 0;
}
.fadein_animation_start {
  animation-name: fadein_animation;
  animation-delay: 0.3s;
  animation-duration: 1s;
  animation-fill-mode: both;
}
@keyframes fadein_animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
.slideup {
  transform: translateY(50px);
}
.slidedown {
  transform: translateY(-50px);
}
.slideright {
  transform: translateX(50px);
}
.slideleft {
  transform: translateX(-50px);
}