@charset "UTF-8";

:root {
  /* フォント */
  --font-noto: "Noto Sans JP", sans-serif; 
  --font-zenmaru: "Zen Maru Gothic", sans-serif;

  /* カラー定義 */
  --color-white: #FFFFFF;
  --color-bg-light: #F1F1F1;
  --color-primary: #000000;
  --color-gray: #8E8E8E;
  --color-red:#A70000;
  --color-blue: #031BFD;
  --color-black: #000000;

  /* 左右の可変padding (1920px時: 65px 〜 375px時: 25px) */
  --side-padding: clamp(13px, 3.366vw + 0.38px, 65px);
}

/* 全般リセット */
*, *::before, *::after {
  box-sizing: border-box;
}
.l-header {
  width: 100%;
  background: #fff;
  position: relative;
}
.c-breadcrumb--gray {
  display: flex;
  align-items: center;
}
.bnr_link_win11_wrap {
  margin: 0 auto;
}
.bnr_link_win11 img {
  transition: opacity 0.3s;
  width: 300px;
}
.bnr_link_win11 img:hover {
  opacity: 0.75;
}
.BreadcrumbList_wrap {
  background: #fff;
  position: relative;
  z-index: 2;
}
.footer-wrap {
  background: #fff;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 1280px) {
  .l-header {
    z-index: 10;
  }
}
@media screen and (min-width: 768px), print and (min-width: 768px) {
  .c-breadcrumb__list.u-pc-width,
  .bnr_link_win11_wrap.u-pc-width {
    padding-inline: 30px;
  }
  .bnr_link_win11_wrap.u-pc-width {
    width: auto;
  }
}
@media screen and (max-width: 1000px) {
  .c-breadcrumb--gray {
    display: inherit;
  }
  .bnr_link_win11_wrap {
    width: 100%;
    margin: 10px auto 0 !important;
    padding-block-end: 10px;
  }
  .bnr_link_win11 {
    width: 100%;
    margin-top: 0;
    text-align: center;
  }
}
.contents__wrap {
  width: 100%;
  margin-inline: auto;
  font-family: var(--dp-font-jp);
  letter-spacing: 0.01em;
  color: var(--color-gray-1);
}
.contents__wrap img {
  max-width: 100%;
  vertical-align: bottom;
}

/* ==========================================================================
   レイアウトコンポーネント
   ========================================================================== */
.content-wrap {
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.content-wrap.maru {
  font-family: var(--font-zenmaru);
}
.content-wrap .lp-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.section-wrap {
  width: fit-content;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.content-wrap .l-section {
  width: 100%;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  margin-left: auto;
  margin-right: auto;
  padding-top: clamp(40px, 1.294vw + 35.15px, 60px);
  padding-bottom: clamp(40px, 1.294vw + 35.15px, 60px);
}
.content-wrap .l-section:nth-of-type(n+2) {
  margin-top: 70px;
}
.content-wrap .l-section:last-child {
  padding-bottom: 80px;
}
.l-container {
  max-width: 1430px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-top: 40px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.center {
  text-align: center;
}
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
@media screen and (max-width: 767px) {
  .l-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .content-wrap .l-section:nth-of-type(n+2) {
    margin-top: 0;
  }
  .content-wrap .l-section:last-child {
    padding-bottom: 50px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }

  /* テーブルレイアウトのブロック解除（縦1列化） */
  .products-a-left, .products-a-right,
  .products-b-left, .products-b-right,
  .special-a-text-block, .special-a-sub-img {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .sticky-image-wrap {
    width: 70%;
    position: static;
    margin-inline: auto;
    margin-bottom: 20px;
  }

  /* PRODUCTS-B スマホ時：画像がテキストの下に安全に並ぶようflexで順序制御 */
  .products-b-container {
    display: flex;
    flex-direction: column;
  }
  .products-b-right {
    order: 1;
  }
  .products-b-left {
    order: 2;
    margin-top: 25px;
  }
  .products-b-image-wrap {
    position: static;
    width: 100%;
  }
  .special-a-text-block { margin-bottom: 20px; }
  .profile-a-container { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
    テキスト・タイポグラフィ
   ========================================================================== */
.ttl-h2 {
  font-size: clamp(32px, 1.812vw + 25.20px, 60px);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin-top: 0;
}
.ttl-sub {
  font-size: clamp(18px, 0.777vw + 15.09px, 30px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.txt-main {
  font-size: clamp(13px, 0.453vw + 11.4px, 20px);
  font-weight: 900;
  line-height: 2.4;
}
.model-catch {
  font-size: clamp(14px, 0.388vw + 12.54px, 20px);
  font-weight: 900;
}
.model-name {
  font-size: clamp(16px, 0.388vw + 14.54px, 22px);
  font-weight: 900;
  margin-top: 0;
}
.model-spec {
  font-size: clamp(13px, 0.324vw + 11.79px, 18px);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 0.5em;
}
.model-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.5em;
  margin-right: 60px;
}
.tax {
  font-size: clamp(14px, 0.259vw + 13.03px, 18px);
  font-weight: 700;
}

.txt-profile {
  font-size: clamp(13px, 0.453vw + 11.30px, 20px);
  font-weight: 500;
  line-height: 2;
  margin-top: 1.3em;
}
.page-copy {
  font-size: clamp(10px, 0.324vw + 8.79px, 15px);
  font-weight: 400;
}
.txt-note {
  font-size: clamp(11px, 0.324vw + 9.79px, 16px);
  font-weight: 500;
  line-height: 1.7;
  margin-top: clamp(15px, 0.971vw + 11.36px, 30px);
}
.bonus-name {
  font-size: clamp(16px, 1.229vw + 11.39px, 35px);
  font-weight: 900;
  line-height: 1.4;
}
.bonus-name .number {
  font-size: clamp(32px, 1.812vw + 25.20px, 60px);
  margin-right: 0.1em;
}
.txt-emphasis {
  font-size: clamp(16px, 1.035vw + 12.12px, 32px);
  font-weight: 900;
  line-height: 1.7;
  margin-top: 1em;
}
.txt-special-l {
  font-size: clamp(16px, 1.229vw + 11.39px, 35px);
  font-weight: 900;
  line-height: 1.5;
}
.txt-special-m {
  font-size: clamp(13px, 0.453vw + 11.30px, 20px);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 1.4em;
}
.txt-left {
  text-align: left;
}
.txt-center {
  text-align: center;
}
.txt-right {
  text-align: right;
}
@media screen and (max-width: 767px) {
  .txt-special-l {
    margin-top: 15px;
  }
  .txt-sp-left {
    text-align: left;
  }
  .txt-sp-center {
    text-align: center;
  }
}
/* ==========================================================================
    共通モジュール：タブ切り替えシステム
   ========================================================================== */
.tab-wrapper input[type="radio"] {
  display: none;
}

.tab-labels {
  display: flex;
  gap: clamp(10px, 0.518vw + 8.06px, 18px);
  border-bottom: 2px solid var(--color-bg-light);
  margin-bottom: 30px;
  width: 100%;
}

.tab-labels label {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 50%;
  padding: clamp(7px, 0.324vw + 5.79px, 12px) clamp(5px, 0.324vw + 3.79px, 10px) clamp(7px, 0.324vw + 5.79px, 12px) clamp(5px, 0.324vw + 3.79px, 10px);
  color: var(--color-white);
  text-align: center;
  cursor: pointer;
  font-size: clamp(16px, 1.036vw + 12.12px, 32px);
  font-weight: 900;
  line-height: 1;
  background-color: var(--color-gray);
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 10px;
}

/* 非アクティブ時：右向き矢印（＞） */
.tab-labels label::after {
  content: "";
  position: absolute;
  right: clamp(12px, 0.841vw + 8.84px, 25px);
  width: clamp(9px, 0.583vw + 6.81px, 18px);
  height: clamp(9px, 0.583vw + 6.81px, 18px);
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.tab-contents {
  position: relative;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.tab-content.is-active {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 0.647vw + 7.57px, 20px);
}

/* アクティブ時の共通指定 */
#prod-a-amd:checked ~ .tab-labels label[for="prod-a-amd"],
#prod-a-intel:checked ~ .tab-labels label[for="prod-a-intel"],
#prod-b-amd:checked ~ .tab-labels label[for="prod-b-amd"],
#prod-b-intel:checked ~ .tab-labels label[for="prod-b-intel"] {
  background-color: var(--color-gray);
  color: var(--color-white);
}

/* アクティブ時：下向き矢印（∨）に回転 */
#prod-a-amd:checked ~ .tab-labels label[for="prod-a-amd"]::after,
#prod-a-intel:checked ~ .tab-labels label[for="prod-a-intel"]::after,
#prod-b-amd:checked ~ .tab-labels label[for="prod-b-amd"]::after,
#prod-b-intel:checked ~ .tab-labels label[for="prod-b-intel"]::after {
  transform: rotate(135deg);
}

#prod-a-amd:checked ~ .tab-labels label[for="prod-a-amd"],
#prod-b-amd:checked ~ .tab-labels label[for="prod-b-amd"] {
  background: var(--color-red);
}

#prod-a-intel:checked ~ .tab-labels label[for="prod-a-intel"],
#prod-b-intel:checked ~ .tab-labels label[for="prod-b-intel"] {
  background: var(--color-blue);
}

#prod-a-amd:checked ~ .tab-contents .-amd,
#prod-a-intel:checked ~ .tab-contents .-intel,
#prod-b-amd:checked ~ .tab-contents .-amd,
#prod-b-intel:checked ~ .tab-contents .-intel {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.647vw + 7.57px, 20px);
  opacity: 1;
}

.product-item {
  padding: clamp(10px, 0.324vw + 8.79px, 15px) clamp(17px, 1.812vw + 10.20px, 45px);
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (hover: hover) {
  .product-item:hover {
    background-color: #f5f7fa;
  }
  .product-item:hover .model-link {
    background-color: #4a74c4;
  }
  .product-item:hover .model-link::after {
    transform: rotate(45deg);
  }
}

.product-inner {
  width: 100%;
  padding-top: 10px;
  padding-right: 60px;
  margin-top: 10px;
  position: relative;
  border-top: 1px solid var(--color-black);
}

.product-inner .model-link {
  width: 45px;
  height: 45px;
  border: 2px solid var(--color-black);
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.model-link::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-black);
  border-right: 2px solid var(--color-black);
  transform: rotate(45deg);
  margin-right: 2px;
  transition: transform 0.3s ease;
}

.model-link::after {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--color-white);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .tab-labels label {
    border-radius: 5px;
  }
  .tab-labels label::after {
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
}
/* ==========================================================================
    共通モジュール：ギャラリー（Flexbox実装に統一）
   ========================================================================== */
.gallery-module,
.special-b-gallery {
  display: flex;
  justify-content: space-between;
  gap: clamp(4px, 1.877vw - 3.04px, 33px); /* 1920px時:33px / 375px時:4px */
  width: 100%;
  margin-top: clamp(20px, 2.913vw + 9.08px, 65px);;
}

.gallery-item {
  flex: 1; /* 均等幅配置 */
  min-width: 0; /* はみ出し防止 */
  padding: clamp(5px, 0.971vw + 1.36px, 20px) clamp(10px, 1.618vw + 3.93px, 35px);
  aspect-ratio: 1 / 1; /* ← ここを追加：常に1:1の正方形にする */
  cursor: pointer;
  overflow: hidden;
  background: var(--color-white);
  transition: background-color 0.3s ease;
}

.gallery-item picture,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%; /* ← 正方形の中に収めるため auto から 100% に変更 */
  object-fit: cover; /* 画像の比率を保ったまま枠いっぱいにトリミング表示 */
  transition: opacity 0.3s ease;
}

/* ホバー演出（拡大なし） */
@media (hover: hover) {
  .gallery-item:hover {
    background-color: var(--color-blue, #00a2e6);
  }
  .gallery-item:hover img {
    opacity: 0.85;
  }
}

/* ==========================================================================
    各セクション固有スタイル (PCベース)
   ========================================================================== */

/* 1. KV */
.p-kv {
  padding: 0 !important;
}
.kv-image img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 767px) {
  .p-kv {
    padding: 0 !important;
  }
}
/* 2-A design */
@media screen and (max-width: 767px) {
  .p-design .l-container  {
    margin-top: 0;
  }
}
/* 3-A. PRODUCTS-A (Sticky) */
.products-a-container {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.products-a-left, .products-a-right {
  display: table-cell;
  vertical-align: top;
}
.products-a-left {
  width: 45%;
  padding-right: 40px;
  position: relative; /* ★追加（is-stopped 時に絶対配置させるため） */
}
.products-a-right {
  width: 55%;
}
.sticky-image-wrap {
  width: 100%;
}
.sticky-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 767px) {
  .products-a-container {
    margin-top: 10px !important;
  }
  .products-a-left, .products-a-right {
    display: block;
  }
  .products-a-left {
    width: 60%;
    margin-inline: auto;
    padding-right: 0;
  }
  .products-a-right {
    width: 100%;
  }
}
/* 3-B. PRODUCTS-B */
.products-b-container {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.products-b-left, .products-b-right {
  display: table-cell;
  vertical-align: top;
}
.products-b-left {
  width: 45%;
  padding-right: 40px;
  position: relative;
}
.products-b-right {
  width: 55%;
}
.products-b-image-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 40px);
}

/* 4-A. SPECIAL-DESIGN-A */
.special-a-container {
  padding: clamp(20px, 1.942vw + 12.72px, 50px) clamp(20px, 5.178vw + 0.58px, 100px);
  border-radius: 25px;
  margin-top: 0;
}
.special-flex {
  display: flex;
  margin-top: 40px;
  justify-content: center;
  gap: 11%;
}
.special-flex .panel {
  width: 44%;
}
.special-flex .txt-block {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shop-block {
  width: 100%;
  text-align: center;
  padding: 30px 10px;
  background: var(--color-white);
  margin-top: auto;
  border: 1px solid var(--color-black);
  margin-top: auto;
}
.shop-block .ttl-h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}
.shop-block .shop-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(10px, 0.324vw + 8.79px, 15px);
}
.special-a-main-img {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.special-a-bottom-row {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.special-a-text-block,
.special-a-sub-img {
  display: table-cell;
  vertical-align: middle;
}
.special-a-text-block {
  width: 60%;
  padding-right: 40px;
}
.special-a-sub-img {
  width: 40%;
}
@media screen and (max-width: 767px) {
  .special-a-container {
    border-radius: 15px;
    margin-top: 0;
  }
  .special-flex {
    gap: 15px;
    flex-direction: column;
    margin-top: 15px;
  }
  .special-flex .panel {
    width: 52%;
    margin-inline: auto;
  }
  .special-flex .txt-block {
    width: 100%;
  }
  .shop-block {
    padding: 10px 5px;
    flex-direction: column;
    gap: 10px;
  }
  .shop-list li {
    text-align: left;
  }
}
/* 4-B. SPECIAL-DESIGN-B */
.special-b-header {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* 5-A. BONUS-A (左右交互寄せ) */
.bonus-a-item {
  width: 80%;
  padding: clamp(15px, 0.971vw + 11.36px, 30px) clamp(20px, 2.589vw + 10.29px, 60px);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.bonus-a-item:nth-of-type(2) {
  margin-bottom: 0;
}
.-align-right {
  margin-left: 20%;
  position: relative;
  z-index: 1;
}
.-align-right::after {
  content: "";
  width: 100vw;
  height: 100%;
  background: var(--color-blue);
  border-radius: 25px 0 0 25px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.-align-left {
  margin-right: 30%;
  position: relative;
  z-index: 1;
}
.-align-left::after {
  content: "";
  width: 100vw;
  height: 100%;
  background: var(--color-blue);
  border-radius: 0 25px 25px 0;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.bonus-item-inner {
  width: 55%;
  max-width: 500px;
}
.bonus-a-item .voice-img-block {
  position: absolute;
  right: -4.5vw;
  bottom: 0;
  z-index: 1;
  width: 23vw;
}
.bonus-a-item .voice-img-block .speech-bubble {
  width: 34%;
  position: relative;
  bottom: -10px;
  margin-inline: auto;
}
.bonus-a-item .voice-img-block .voice-img  {
  width: 66.7%;
  margin-inline: auto;
  position: relative;
  bottom: -1.05vw;
  right: 0;
}
.wallpaper-wrap {
  display: flex;
  gap: clamp(10px, 2.783vw + -0.44px, 53px);
  margin-top: clamp(15px, 0.971vw + 11.36px, 30px);
}
@media screen and (max-width: 767px) {
    .bonus-a-item {
        width: 100%;
    }
    .-align-right {
        margin-left: 0;
    }
    .-align-right::after {
        border-radius: 15px 0 0 15px;
    }
    .-align-left {
        margin-right: 0;
    }
    .-align-left::after {
        border-radius: 0 15px 15px 0;
    }
    .-align-right .deco-block,
    .-align-left .deco-block {
        display: none;
    }
    .bonus-item-inner {
      width: 100%;
    }
    .bonus-a-item .voice-img-block {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      bottom: -22px;
    }
    .bonus-a-item .voice-img-block .speech-bubble {
      width: 100%;
      max-width: 95px;
      margin: 0;
      bottom: 0;
    }
    .bonus-a-item .voice-img-block .voice-img {
      width: 100%;
      max-width: 162px;
      right: 0;
      margin: 0;
    }
    .wallpaper-wrap {
        flex-direction: column;
    }
}
/* 5-B. BONUS-B (中央寄せ) */
.bonus-b-item {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: table;
  width: 100%;
  table-layout: fixed;
  background-color: var(--color-bg-light);
  padding: 30px;
}
.bonus-b-text, .bonus-b-image {
  display: table-cell;
  vertical-align: middle;
}
.bonus-b-text { width: 60%; padding-right: 30px; }
.bonus-b-image { width: 40%; }

/* 6-A. PROFILE-A (Grid) */
.profile-a-container {
  display: grid;
  grid-template-columns: 1.45fr 2fr;
  gap: 65px;
  align-items: center;
}
.profile-a-image {
  max-width: 530px;
}
.sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 65px;
}
.sns-link {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
/* ホバー時のアニメーション（1.1倍に拡大） */
.sns-link:hover {
  transform: scale(1.1);
}
@media screen and (max-width: 767px) {
  .profile-a-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .profile-a-image {
    max-width: 220px;
    margin-inline: auto;
  }
  .logo-profile {
    margin-inline: auto;
  }
  .sns-list {
    gap: 13px;
    margin-top: 30px;
  }
  .sns-link {
    width: 50px;
    height: 50px;
  }
}
/* 6-B. PROFILE-B & コピーライト */
.profile-b-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.profile-b-image { margin-bottom: 25px; }
.profile-copyright {
  text-align: center;
  padding-top: 60px;
  margin-top: 40px;
  border-top: 1px solid var(--color-bg-light);
}
.overflow-hidden {
  overflow: hidden;
}

/* --- Gridコンテナ（2列配置） --- */
.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 35px;
  margin-top: 45px;
}

/* --- アコーディオン枠・トリガー --- */
.accordion-item {
  border-top: 1px solid var(--color-black);
  overflow: hidden;
}
.accordion-item:nth-last-of-type(1),
.accordion-item:nth-last-of-type(2) {
  border-bottom: 1px solid var(--color-black);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 22px 50px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: clamp(16px, 0.388vw + 14.54px, 22px);
  font-weight: 700;
  color: #333;
  
  transition: background-color 0.5s ease;
}
.accordion-trigger:hover {
  background-color:var(--color-gray);
}

/* --- 丸型アイコン（＋/－ 切替） --- */
.accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-black);
  border-radius: 50%;
  margin-left: 15px;
  transition: background-color 0.3s ease;
}

/* 横棒（＋と－共通） */
.accordion-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color:var(--color-black);
  transform: translate(-50%, -50%);
}

/* 縦棒（＋用） */
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  background-color: var(--color-black);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- 開閉（is-open）状態のアイコン指定 --- */
/* 閉じてるとき：＋ / 開いてるとき：－ */
.accordion-item.is-open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0; /* 縦棒を消して「－」にする */
}

/* --- 開閉コンテンツアニメーション --- */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  margin-inline: 50px;
}

.accordion-item.is-open .accordion-content {
  border-top: 1px solid var(--color-black);
  grid-template-rows: 1fr; /* 開いたときに高さを自動展開 */
  padding-block: 30px;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-content .txt-answer {
  margin: 0;
  font-size: clamp(13px, 0.324vw + 11.79px, 18px);
  font-weight: 500;
  line-height: 1.6;
}
.accordion-content .txt-answer-note {
  font-size: clamp(11px, 0.194vw + 10.27px, 14px);
  font-weight: 500;
  line-height: 1.8;
  margin-top: 0.5em;
}
@media screen and (max-width: 767px) {
  .accordion-grid {
    grid-template-columns: 1fr; /* スマホ時は1列 */
    gap: 0;
    margin-top: 30px;
  }
  .accordion-item:nth-last-of-type(2) {
    border-bottom: none;
  }
  .accordion-trigger {
    padding: 17px 15px 17px 15px;
  }
  .accordion-content {
    margin-inline: 10px;
  }
  .accordion-item.is-open .accordion-content {
    padding-block: 15px;
  }
  .accordion-icon {
    width: 28px;
    height: 28px;
  }
}
/* ==========================================================================
	モーダル
   ========================================================================== */

/* モーダル全体の枠 */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* 黒い背景部分 */
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 中央のコンテナ */
.modal-container {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10001;
}

/* モーダルが開いたときのアニメーション用クラス */
.modal.is-open .modal-overlay {
    opacity: 1;
}
.modal.is-open .modal-container {
    opacity: 1;
    transform: scale(1);
}

/* 画像スタイル */
.modal-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    user-select: none;
    display: block;
    opacity: 0; /* 最初は透明にしておく */
}

/* ★復活：画像切り替え時のフェードイン効果 */
.modal-content.fade-in {
    animation: imgFadeIn 0.35s ease forwards;
}

@keyframes imgFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* 閉じるボタン (画像のすぐ右上) */
.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 1010;
}
.modal-close:hover { color: #ccc; }

/* 左右ボタン共通 */
.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-prev:hover, .modal-next:hover { background: rgba(255, 255, 255, 0.2); }

/* 矢印（ボーダー） */
.modal-prev::after, .modal-next::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
.modal-prev::after { transform: rotate(-135deg); margin-left: 4px; }
.modal-next::after { transform: rotate(45deg); margin-right: 4px; }

.modal-prev { left: -65px; }
.modal-next { right: -65px; }

/* 元の画像一覧への指定 */
.ss-wrap .ss img {
    cursor: pointer;
    transition: opacity 0.2s;
}
.ss-wrap .ss img:hover { opacity: 0.8; }

/* スマホ対応 */
@media (max-width: 767px) {
  .modal-container { max-width: 90%; }
  .modal-prev, .modal-next { zoom: 0.75;}
  .modal-prev { left: 10px; }
  .modal-next { right: 10px; }
  .modal-close { top: -35px; font-size: 32px; font-weight: 400;}
}

/* ==========================================================================
	音楽プレイヤー
   ========================================================================== */

.player {
	color: var(--color-blue-6);
	width: 100%;
  max-width: 480px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #F1F3F4;
	padding: 10px 20px;
	margin: 0;
	border-radius: 9999px;
	box-sizing: border-box;
	flex: none;
	position: relative;
  margin-top: 30px;
}
.player button {
	font-family:"Noto Sans JP", sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	border: none;
	background: none;
	font-size: 16px;
	cursor: pointer;
}
.player .playPauseBtn {
	font-size: 13px;
	line-height: 1;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	flex: none;
}
.player .playPauseBtn:hover {
	background: #e0e0e0;
}
.player input[type="range"] {
	width: 100%;
	height: 1px;
	appearance: auto;
	background: inherit;
	accent-color: #484848;
}
.player input[type="range"]::-webkit-slider-thumb {
	width: 16px;
	height: 16px;
}
.player .currentTime, .duration {
	font-size: 14px;
}
.player .volumeIcon {
	width: 20px;
}
@media (max-width: 767px) {
  .player {
        padding: 10px 15px;
  }
  .player .playPauseBtn {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
	アニメーション
   ========================================================================== */

.fade-in { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-center { transform: translate(0, 0); }      /* 位置変更なし */
.fade-in-top { transform: translateY(-200px); }      /* 上から */
.fade-in-bottom { transform: translateY(50px); }    /* 下から */
.fade-in-right { transform: translateX(50px); }     /* 右から */
.fade-in-left { transform: translateX(-50px); }     /* 左から */
.fade-in-zoom-in { transform: scale(0.7); }          /* ズームイン：最初は小さく表示される */
.fade-in-zoom-out { transform: scale(1.1); }         /* ズームアウト：最初は大きく表示される */
.fade-in.is-visible { opacity: 1; transform: translate(0, 0); } /* 元の位置に戻る */