@charset "UTF-8";

/* --- 全体共通スタイル --- */
*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  background-color: #FDFAF4;
  color: #453625;
  font-feature-settings: "palt";
  margin: 0;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
}

.content-wrapper {
  background-color: #fff;
  max-width: 940px;
  margin: auto;
  overflow: hidden;
}

main {
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
}

h2, h3, p {
  margin: 1%;
}

/* --- 各セクションのスタイル --- */
/* --- ロゴ --- */
.logo {
  text-align: center;
  padding: clamp(5px, 3vw, 5px) 0;
}

.logo img {
  width: clamp(120px, 15vw, 200px);
}

/* --- メインビジュアル --- */
.mv {
  position: relative;
  width: 100%;
  padding-bottom: 138.1%;
  height: 0;
  background-image: url(../images/MV.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.main-box {
  display: inline-block;
  padding: clamp(10px, 3vw, 20px) clamp(20px, 5vw, 60px);
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: clamp(10px, 3vw, 20px);
  border: 1.5px solid #453625;
  width: clamp(280px, 80vw, 700px);
  box-sizing: border-box;
}

.price-cta-mv, .btn-cta-mv img {
  width: 100%;
  height: auto;
  margin-top: -3%;
  margin-bottom: 3%;
}

/* --- ベネフィット --- */
.benefit {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 6vw, 60px) clamp(10px, 2vw, 20px);
  gap: clamp(10px, 3vw, 30px);
}

.benefit-item {
  flex-shrink: 0;
  width: clamp(100px, 30vw, 280px);
  height: auto;
}

/* --- 区切り線 --- */
.section-divider {
  padding: clamp(0px, 1vw, 0px) 0;
}

/* --- 選ばれる理由 --- */
.reason {
  background-color: #F2EDE4;
  padding: clamp(30px, 6vw, 50px) clamp(10px, 2vw, 20px);
}

.reason-title {
  padding: clamp(10px, 2vw, 30px) 0;
}

.section-title img {
  width: clamp(180px, 100vw, 580px);
}

.reason-box {
  background-color: #fff;
  border-radius: clamp(10px, 3vw, 20px);
  padding: clamp(15px, 4vw, 35px); /* padding調整 */
  margin: clamp(20px, 5vw, 50px);
}

.reason-item {
  margin-bottom: clamp(10px, 3vw, 30px);
}

.reason-item:last-child {
  margin-bottom: 0;
}

.reason-point-no {
  width: 40%;
  height: auto;
  margin-top: clamp(10px, 2vw, 30px);
}

.reason-point-img {
  width: 100%;
  height: auto;
  margin-bottom: clamp(30px, 6vw, 50px);
}

.reason-point-heading {
  font-size: clamp(20px, 4.5vw, 40px);
  font-weight: 600;
  padding: clamp(10px, 2vw, 20px) 0;
}

.reason-point-text {
  font-size: clamp(14px, 3vw, 30px);
  margin-bottom: clamp(10px, 2vw, 30px);
  line-height: 1.4;
}

/* --- CTA --- */
.cta {
  padding: clamp(30px, 5vw, 60px) 0;
}

.cta-1 {
  background-color: #F2EDE4;
  padding: clamp(30px, 5vw, 60px) 0;
}

.img-cta {
  width: 80%;
  height: auto;
  margin: clamp(10px, 2vw, 20px) 0;
}

.price-cta {
    width: 80%;
    height: auto;
    margin: clamp(5px, 5vw, 50px) 0;
}

.btn-cta {
  margin: clamp(20px, 10vw, 50px) 0;
}

/* --- メニュー --- */
.menu {
    background-color: #F2EDE4;
}

.menu-title {
  padding: clamp(10px, 2vw, 30px) 0;
}

.menu-title img {
  width: clamp(180px, 100vw, 700px);
}

/* --- こんな人におすすめ --- */
.recommend-title {
  margin-top: -4%;
}

.recommend-item {
  margin-bottom: clamp(10px, 5vw, 50px);
}

/* --- 流れ --- */
.flow-title {
  text-align: center;
  margin: clamp(40px, 4vw, 70px) 0;
}

.flow-title img {
  width: clamp(400px, 50vw, 700px) !important;
}

.flow-box {
  margin: clamp(30px, 5vw, 100px) clamp(10px, 5vw, 50px);
}

.flow-item {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 30px);
  margin-bottom: clamp(30px, 5vw, 50px);
}

.flow-icon {
  flex-shrink: 0;
  width: clamp(80px, 25vw, 180px);
}

.flow-text {
  flex-grow: 1;
  text-align: left;
}

.flow-text h3 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  color: #6BBF59;
  margin-top: 0;
  margin-bottom: clamp(5px, 1vw, 10px);
}

.flow-text p {
  font-size: clamp(14px, 4vw, 32px);
}

/* --- お客様の声 --- */
.impression {
  position: relative;
  background-color: #F2EDE4;
  padding: clamp(30px, 6vw, 50px) 0;
}

.impression-title {
  margin: clamp(5px, 3vw, 10px) 0;
}

.impression-title img {
  width: clamp(180px, 80vw, 500px);
}

.impression-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.impression-container {
  overflow: hidden;
}

.impression-slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.impression-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.impression-box {
  background-color: #fff;
  border-radius: clamp(10px, 3vw, 20px);
  padding: clamp(15px, 4vw, 40px);
  margin: clamp(20px, 5vw, 40px) clamp(5px, 1vw, 10px);
  flex-grow: 1;
  max-width: 90%; 
}

.impression-img {
  width: 100%;
  height: auto;
  margin-bottom: clamp(10px, 2vw, 20px);
}

.impression-heading {
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 600;
  margin-bottom: clamp(5px, 1vw, 10px);
}

.impression-person {
  font-size: clamp(14px, 2.5vw, 22px);
  margin-bottom: clamp(10px, 2vw, 20px);
}

.impression-text {
  font-size: clamp(14px, 2.5vw, 30px);
  line-height: 1.3;
  text-align: left;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: clamp(30px, 8vw, 50px);
  height: clamp(30px, 8vw, 50px);
  z-index: 10;
}

.prev-btn img, .next-btn img {
  width: 100%;
  height: auto;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* --- FAQ --- */
.faq {
  background-color: #F2EDE4;
  padding: clamp(30px, 6vw, 50px) clamp(10px, 2vw, 20px);
}

.faq-title {
  margin: clamp(5px, 3vw, 10px) 0;
}

.flow-title img {
  width: clamp(180px, 5vw, 500px);
}

.faq-container {
  max-width: 900px;
  margin: clamp(10px, 5vw, 20px) auto;
  padding: clamp(5px, 2vw, 10px) 0;
}

.faq-item {
  padding: clamp(15px, 4vw, 25px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: clamp(10px, 1vw, 20px);
}

.faq-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(50px, 8vw, 100px);
  height: clamp(50px, 8vw, 100px);
  border-radius: 50%;
  background-color: #fff;
  color: #453625;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 500;
  flex-shrink: 0;
}

.question-text {
  flex-grow: 1;
  text-align: left;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
}

.faq-open {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #453625;
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}

.faq-item.is-active .faq-open {
  transform: rotate(180deg);
}

.faq-answer {
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  margin-top: clamp(10px, 5vw, 20px);
  padding: 0 clamp(26px, 5vw, 26px);
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.is-active .faq-answer {
  max-height: 200px;
  padding-bottom: clamp(15px, 4vw, 25px);
}

.faq-answer p {
  margin: clamp(5px, 1vw, 30px) 0;
  font-size: clamp(20px, 2.5vw, 36px);
  text-align: left;
}

/* --- フッター --- */
footer {
  text-align: center;
  padding: clamp(10px, 5vw, 30px) 0;
}

.footer-links {
  margin-bottom: clamp(10px, 2vw, 20px);
}

.footer, .copyright {
  font-size: clamp(14px, 2.5vw, 20px);
  margin: clamp(5px, 1vw, 20px) 0;
}

.footer a {
  color: #453625;
}

/* --- スマホ用メディアクエリ --- */
@media screen and (max-width: 768px) {
  .content-wrapper {
    max-width: none;
    margin: 0;
  }

  .price-cta-mv{
    width: 95%;
    margin-top: -4%;
  }
  
  .btn-cta-mv img {
  width: 95%;
  margin-bottom: -1%;
  }

  .price-cta{
    margin-top: 1%;
  }
  
  .btn-cta img {
  width: 95%;
  margin-bottom: 5%;
  }

  .img-cta {
    margin-top: clamp(20px, 5vw, 30px);
  }

  .prev-btn {
    left: clamp(5px, 1vw, 10px);
  }

  .next-btn {
    right: clamp(5px, 1vw, 10px);
  }
}

@media screen and (min-width: 769px) {
  .prev-btn {
    left: 20px;
  }

  .next-btn {
    right: 20px;
  }
}

/* --- フォームセクション --- */
form {
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  display: grid;
  gap: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #6BBF59;
  outline: none;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  width: 30%;
  padding: 15px;
  background-color: #6BBF59;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

button[type="submit"]:hover {
  background-color: #5aa64c;
}

select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 30px; 
}

.checkbox-group {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.checkbox-item input[type="checkbox"]:checked {
  border-color: #6BBF59;
  background-color: #6BBF59;
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '✓';
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
}

/* --- 共通スタイル: プライバシーポリシー、特商法、会社概要 --- */
.privacy-policy,
.legal-notices,
.company-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.privacy-policy h1,
.legal-notices h1,
.company-profile h1 {
  font-size: clamp(26px, 5vw, 30px);
  font-weight: bold;
  margin-bottom: 18px;
  text-align: center;
}

.privacy-policy h2,
.legal-notices h2,
.company-profile h2 {
  font-size: clamp(16px, 4vw, 24px);
  font-weight: bold;
  margin-top: 35px;
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 3px solid #6BBF59;
}

.privacy-policy p,
.legal-notices p,
.company-profile p {
  font-size: clamp(14px, 3vw, 18px);
  line-height: 1.8;
  margin-bottom: 20px;
}

.privacy-policy p + h2,
.legal-notices p + h2,
.company-profile p + h2 {
  margin-top: 40px;
}

.privacy-policy ol,
.legal-notices ul {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.privacy-policy li,
.legal-notices li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* tableの共通スタイル */
.legal-notices table,
.company-profile table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.legal-notices th,
.legal-notices td,
.company-profile th,
.company-profile td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: clamp(14px, 3vw, 18px);
}

.legal-notices th,
.company-profile th {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: bold;
}

/* --- ページ固有スタイル --- */

/* プライバシーポリシー */
.privacy-policy .main-title {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: bold;
  margin-bottom: 18px;
}

.privacy-policy ol ol {
  list-style-type: lower-alpha;
  margin-top: 8px;
}

/* 特定商取引法 */
.legal-notices section {
  margin-bottom: 30px;
}

.legal-notices p,
.legal-notices dt,
.legal-notices dd {
  margin-left: 20px;
}

/* 会社概要 */
.company-profile .vision-section,
.company-profile .greeting-section {
  margin-top: 40px;
}