@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: "noto-sans-cjk-jp", sans-serif;
}

main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

img {
  vertical-align: top;
  width:100%
}

.bg {
  position: relative;
}

.bg > picture {
    display: block;
    margin-top: -1px;
}

.abs {
  position: absolute;
  z-index: 99;
}

/* ティッカー */
.ticker_wrap {
    width: 100%;
    overflow: hidden;
    background-color: #111;
    padding-bottom: 2px;
}

.ticker_track {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker_track span {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 動画 */
.video_wrap {
    width: 95%;
    top: 31%;
    left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 16 / 9;
}

.video_wrap iframe {
    width: 100%;
    height: 100%;
}

/* ふわっと表示アニメーション */
.abs00,.abs01, .abs02, .abs03, .abs04, .abs05, .abs06, .abs07, .abs08 {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* transformを持つabs（center寄せ）は既存のtranslateXと合成 */
.abs00, .abs01, .abs03, .abs07, .abs08 {
    transform: translateX(-50%) translateY(-30px);
}

.abs00.is-visible, .abs01.is-visible, .abs02.is-visible, .abs03.is-visible,
.abs04.is-visible, .abs05.is-visible, .abs06.is-visible,
.abs07.is-visible, .abs08.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.abs00.is-visible,.abs01.is-visible, .abs03.is-visible, .abs07.is-visible, .abs08.is-visible {
    transform: translateX(-50%) translateY(0);
}

.abs00 {
    width: 55%;
    top: 0;
    left: 50%;
}
.abs01 {
    width: 95%;
    top: 18%;
    left: 50%;
}
.abs02 {
    width: 200px;
    top: 56%;
    left: 69%;
}
@media screen and (max-width: 700px) {
.abs02 {
    width: 28%;
}
}
.abs03 {
    width: 91%;
    top: 18%;
    left: 50%;
}
.abs04 {
    width: 250px;
    top: 38%;
    left: 59%;
}
@media screen and (max-width: 700px) {
.abs04 {
    width: 35%;
}
}
.abs05 {
    width: 440px;
    top: 9%;
    left: -2%;
}
@media screen and (max-width: 700px) {
.abs05 {
    width: 62%;
}
}
.abs06 {
    width: 310px;
    top: 16%;
    left: 52%;
}
@media screen and (max-width: 700px) {
.abs06 {
    width: 44%;
}
}
.abs07 {
    width: 95%;
    top: 12%;
    left: 50%;
}
.abs08 {
    width: 92%;
    top: 36%;
    left: 50%;
}

.bg1 {
  z-index: 1;
}

.cta {
  width: 92%;
  top: 78%;
  left: 50%;
  transform: translateX(-50%);
  animation: cta_pulse 2.4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes cta_pulse {
  0%   { transform: translateX(-50%) scale(1); }
  50%  { transform: translateX(-50%) scale(1.04); }
  100% { transform: translateX(-50%) scale(1); }
}

.qa-section {
    padding: 50px 20px 60px;
    background-color: #fff;
    font-family: arial, sans-serif;
}

/* タイトル */
.qa-main-title {
    text-align: center;
    margin-bottom: 36px;
    line-height: 1;
}

.qa-main-title .en {
    display: block;
    font-size: 80px;
    font-weight: bold;
    color: #cb140d;
    letter-spacing: 1px;
}

.qa-main-title .en .amp {
    font-size: 50px;
}

.qa-main-title .ja {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #cb140d;
    margin-top: 4px;
}

/* コンテナ */
.qa-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* カード */
.qa-item {
    overflow: hidden;
}

/* ヘッダー（赤帯） */
.qa-header {
    width: 100%;
    background-color: #cb140d;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
}

/* Qバッジ（白丸） */
.qa-q-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background-color: #cb140d;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}
.qa-q-badge-title {
    width: auto;
    height: auto;
    min-width: auto;
    border-radius: 0;
    color: #fff;
    font-size: 38px;
    font-weight: bold;
}

/* 質問テキスト */
.qa-question-text {
    flex: 1;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
}

/* 右側のトグル（丸枠＋chevron矢印） */
.toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.toggle-btn::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid #ffffff;
    border-bottom: 2.5px solid #ffffff;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.3s ease;
}

/* 回答エリア */
.qa-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #ffffff;
}

.qa-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
}

/* Aバッジ（赤丸） */
.qa-a-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background-color: #c0392b;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}

.qa-a-text {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
    padding-top: 6px;
}

.qa-note {
    display: block;
    font-size: 13px;
    color: #6e6e6e;
    text-align: right;
}

/* 開いた状態：矢印を上向きに */
.qa-item.open .toggle-btn::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

/* カテゴリ内QAリスト */
.qa-list {
    padding: 8px 16px 16px;
    background-color: #ffdddd;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.qa-pair {
    padding: 16px 0;
}

.qa-pair:last-child {
    border-bottom: none;
}

.qa-pair dt {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.qa-pair dd {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: #6e6e6e;
    line-height: 1.7;
    margin-left: 0;
}

/* 小サイズバッジ（リスト内） */
.qa-q-badge.sm,
.qa-a-badge.sm {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 16px;
    margin-top: 1px;
}

.qa-a-badge.sm {
    background-color: #fff;
    color: #cb140d;
}

@media (max-width: 600px) {
    .qa-main-title .en { font-size: 56px; }
    .qa-main-title .en .amp { font-size: 44px; }
    .qa-main-title .ja { font-size: 18px; }
    .qa-question-text { font-size: 17px; }
    .qa-a-text { font-size: 16px; }
}

/* 商品仕様セクションのコンテナ */
.spec-section {
    width: 100%;
    max-width: 700px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.spec-item {
    margin-bottom: 24px;
}

/* 【超重要】すべての見出し共通のスタイル
    ブラウザ標準のボタン枠線や背景を完全にリセットし、きれいな一本線にします
*/
.spec-header {
    font-family: "noto-sans-cjk-jp", sans-serif;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 0 12px 0;
    background: transparent; /* 背景を透明に */
    border: none; /* 余計な枠線をすべて削除 */
    border-bottom: 2px solid #cb140d; /* 画像のきれいな赤下線 */
    outline: none;
    text-align: left;
    box-sizing: border-box;
    margin: 0;
}

/* アコーディオンとして動く項目（クリック可能）だけマウスカーソルをポインターに */
.spec-item.clickable .spec-header {
    cursor: pointer;
}

/* 見出しテキスト */
.spec-title {
    color: #cb140d;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.2;
}

/* 右側のプラス・マイナスアイコン */
.spec-toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    margin-bottom: 2px;
    flex-shrink: 0;
}

.spec-toggle-icon::before,
.spec-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #cb140d;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.spec-toggle-icon::before { width: 16px; height: 1.5px; }
.spec-toggle-icon::after { width: 1.5px; height: 16px; }

/* コンテンツの開閉アニメーションエリア */
.spec-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* 最初から表示させておく項目（商品名・内容量）は常に中身を見せる */
.spec-item.static .spec-body {
    max-height: none;
    overflow: visible;
}

/* 中身のテキストエリア */
.spec-content {
    font-family: "noto-sans-cjk-jp", sans-serif;
    padding: 10px 0 10px 0;
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 500;
}

/* インラインの枠線（関係部位/症状、皮膚、消化器など） */
.spec-badge {
    display: inline-block;
    border: 1px solid #1a1a1a;
    padding: 2px 8px;
    margin-right: 8px;
    font-size: 18px;
    line-height: 1.3;
    background-color: #ffffff;
}

.spec-list-item {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
    margin-top: 8px;
}

/* ---- 開いた状態の制御 ---- */
.spec-item.open .spec-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

@media (max-width: 600px) {
    .spec-title { font-size: 18px; }
    .spec-content { font-size: 16px; }
    .spec-badge { font-size: 14px; }
}