@charset "utf-8";

/*
Theme Name: Protein LP
Theme URI: https://wp.hase-mkt33.com/
Author: Mako
Description: プロテインLPのカスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: protein-lp
*/

/* ====== Base / Reset ====== */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
    /* 基準サイズはここ */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
}

/* iOSフォーム要素の初期化（必要なら） */
input,
button,
textarea,
select {
    -webkit-appearance: none;
    appearance: none;
}

/* 画像LP前提：セクション画像だけ100%にしたいなら範囲を限定 */
.lp-content img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    width: 100%;
}

/***** LPここから *****/
.lp-content {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
}

/* ボタン */
.section11 {
  position: relative;
}

.btn_box {
  position: absolute;
  z-index: 999;
}

/* PC */
@media screen and (min-width: 769px) {
  .btn_box {
    width: 34%;
    left: 18%;
    bottom: 15%;
  }
}

/* SP */
@media screen and (max-width: 768px) {
  .btn_box {
    width: 75%;
    top: 80%;
    left: 0;
    right: 0;
    margin: auto;
  }
}

/* 拡大縮小 */
.cta_style {
    display: block;
    -webkit-animation: cta_style8 2.0s infinite ease-in-out;
    animation: cta_style4 1.0s infinite ease-in-out;
}

/* ===== QA ===== */

.section13 {
  position: relative;
}

.section13 > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.section13 > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qa-wrap {
  position: relative;
  z-index: 1;
  width: 74%;
  margin: 0 auto;
  padding: 8% 0 10%;
}

.qa-wrap h2 {
  text-align: center;
  font-size: 3.4rem;
  color: #523431;
  letter-spacing: 0.1em;
  margin: 0 0 70px;
}

.qa-item:not(:last-child) {
  margin-bottom: 45px;
}

.qa-item summary {
  background: #e79232;
  color: #fff;
  padding: 28px 32px;
  cursor: pointer;
  list-style: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 1.2em;
}

/* QA 矢印 */
.qa-item summary {
  position: relative;
  padding-right: 80px;
}

.qa-item summary::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s;
}

/* 開いている時は上向き */
.qa-item[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.qa-q {
  font-size: 2.0rem;
  flex-shrink: 0;
  letter-spacing: 0.08em;
}

.qa-question {
  font-size: 2.0rem;
  letter-spacing: 0.12em;
}

.qa-answer {
  background: #fff;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.qa-a {
  color: #523431;
  font-size: 1.9rem;
  line-height: 1.9;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.qa-text {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.9;
  letter-spacing: 0.08em;
  flex: 1;
}

/* ===== QA SP ===== */
@media screen and (max-width: 768px) {
  
  .qa-wrap {
    width: 82%;
    padding: 14% 0 12%;
  }

  .qa-wrap h2 {
    font-size: 1.5rem;
    letter-spacing: 0.11em;
    margin-bottom: 32px;
  }

  .qa-item summary {
    padding: 18px 16px;
    padding-right: 50px;
    gap: 0.45em;
  }

  .qa-q {
    font-size: 1rem;
  }

  .qa-question {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .qa03 .qa-question {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .qa-answer {
    padding: 20px;
    gap: 0.4em;
  }

  .qa-a {
    font-size: 1rem;
    line-height: 1.9;
  }

  .qa-text {
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }

  .qa-item summary::after {
    right: 18px;
    width: 9px;
    height: 9px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }

  .qa-item {
    margin-bottom: 25px !important;
  }

}

/*** フッター ***/
.footer-section {
    background: #FAF3E5(225, 225, 225);
    padding: 2rem;
    text-align: center;
    color: #523431;
}

.footer-section a {
    color: #523431;
    text-decoration: none;
}

.footer-section a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 768px) {
    .footer-section {
        padding: 1rem;
    }
}

/* ========================================
   法務ページ（特商法・プライバシーポリシー）
   ======================================== */
.legal-page {
  background: #fff;
  font-size: 14px;
  font-family: 'Noto Sans JP', 'MS UI Gothic', Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.legal-wrap {
  width: 100%;
  padding: 1em;
  box-sizing: border-box;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
  line-height: 1.75;
  text-align: left;
  font-size: 1em;
}

.legal-title {
  font-size: 1.8rem;
  margin: 0 auto 1.5em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #ccc;
  display: table;
}

.legal-container p {
  margin-bottom: 1em;
}

.legal-container h2 {
  font-size: 1.4em;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #222;
}

.legal-copyright {
  text-align: center;
  padding: 2em 0;
  font-size: 0.9em;
  color: #666;
}

.legal-copyright a {
  color: #000;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .legal-container {
    padding: 1em;
    font-size: 0.95em;
  }
  .legal-title {
    font-size: 1.4rem;
  }
}
