@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap");
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=M+PLUS+Rounded+1c&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

/* 定数 */
:root {
    --key-color: rgba(240, 163, 59, 1);
    --font-size: 0.95rem;
    --font-heading: "M PLUS Rounded 1c", sans-serif;
    --font-heading-weight: 800;
    --font-body: "BIZ UDP Gothic", sans-serif;
    --font-body-weight: 400;
}

/* 商品説明 */
.ec-productRole__profile section.ec-productRole__description h3,
.ec-productRole__profile section.ec-productRole__description p,
.ec-productRole__profile section.ec-productRole__description li {
    font-family: var(--font-body);
}
.ec-productRole__profile section.ec-productRole__description p,
.ec-productRole__profile section.ec-productRole__description li {
    font-size: var(--font-size);
    font-weight: var(--font-body-weight);
}

.ec-productRole__profile section.ec-productRole__description h3 {
    /* margin-bottom: 1em; */
}
.ec-productRole__profile section.ec-productRole__description p {
    line-height: 2rem !important;
}
.ec-productRole__profile section.ec-productRole__description ul {
    margin-top: 1rem;
}
.ec-productRole__profile section.ec-productRole__description br + ul {
    margin-top: 0;
}
.ec-productRole__profile section.ec-productRole__description li {
    line-height: 2rem !important;
    /* font-weight: bold; */
}
.ec-productRole__profile section.ec-productRole__description li:before {
    content: "・";
    margin-right: 0.5em;
}

/* 商品詳細下部カートに入れるボタン */
#page_product_detail .ec-layoutRole__main .cartBtnFixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem;
    margin-bottom: 0;
    background: #fff;

    /* 初期状態で隠れる位置に */
    transform: translateY(100%);
    opacity: 0;
    transition:
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s;
    z-index: 9999;
    pointer-events: none; /* 非表示時はクリック無効 */
}
#page_product_detail .ec-layoutRole__main .cartBtnFixed.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#page_product_detail .ec-layoutRole__main .cartBtnFixed__inner {
    display: flex;
    justify-content: center;
}
#page_product_detail .ec-layoutRole__main .cartBtnFixed__button {
    width: 100%;
    height: 40px;
}
@media only screen and (min-width: 768px) {
    #page_product_detail .ec-layoutRole__main .cartBtnFixed__button {
        width: 350px;
        height: 56px;
    }
}

/* 商品詳細 freearea */

html:has(> #page_product_detail .free-area) {
    font-size: var(--font-size) !important;
    font-family: var(--font-body) !important;
}

#page_product_detail .mt-1rem {
    margin-top: 1rem;
}
#page_product_detail .mt-15rem {
    margin-top: 1.5rem;
}
#page_product_detail .mt-175rem {
    margin-top: 1.75rem;
}
#page_product_detail .mt-2rem {
    margin-top: 2rem;
}
#page_product_detail .mt-5rem {
    margin-top: 5rem;
}

#page_product_detail .bold {
    font-weight: bold;
}
#page_product_detail .marker {
    background: linear-gradient(transparent 70%, #ffe19c 30%);
}
#page_product_detail .small {
    font-size: calc(var(--font-size) - 0.15vw);
}

#page_product_detail .free-area {
    border: 1px solid #f0f0f0;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0.1px 0.1px 2px 0 rgb(187 187 187 / 20%);

    font-family: var(--font-body) !important;
    font-weight: var(--font-body-weight) !important;
    line-height: 2rem !important;
    letter-spacing: 0.1rem !important;
}

#page_product_detail .free-area > .lp-section > section {
    margin-bottom: 5rem;
}
#page_product_detail .free-area > .lp-section > section:last-child {
    margin-bottom: initial;
}
#page_product_detail .free-area > .lp-section + .accordion {
    margin-top: 5rem;
}

#page_product_detail .free-area h2,
#page_product_detail .free-area h3 {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-heading-weight) !important;
    display: flex;
    align-items: center;
}
#page_product_detail .free-area h2 {
    margin-bottom: 2rem;
    font-size: calc(var(--font-size) + 0.2vw);
    padding: 1rem;
    background-color: var(--key-color);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 1);
}
#page_product_detail .free-area h2::before {
    content: "\eac9" !important;
    margin-right: 0.5em;
    font-family: "Material Icons";
    align-items: center;
}
#page_product_detail .free-area h3 {
    font-size: calc(var(--font-size) + 0.15vw);
    padding-bottom: 1rem;
    border-bottom: 1px dotted var(--key-color);
}
#page_product_detail .free-area h3::before {
    content: "\eac9" !important;
    margin-right: 0.5em;
    font-family: "Material Icons";
}
#page_product_detail .free-area p,
#page_product_detail .free-area li {
    font-family: var(--font-body);
}

#page_product_detail .free-area p {
    font-size: var(--font-size);
    font-weight: var(--font-body-weight);
}
#page_product_detail .free-area .check-list li {
    display: flex;
    font-size: var(--font-size);
    margin-bottom: 0.75rem;
    font-weight: 600;
}
#page_product_detail .free-area .check-list li::before {
    content: "\e5ca" !important;
    margin-right: 0.5em;
    font-family: "Material Icons";
    color: var(--key-color);
}

#page_product_detail .free-area figure {
    margin: 2rem auto;
}

/* アコーディオン */
#page_product_detail .details {
    border-top: 1px dotted var(--key-color);
}

#page_product_detail .details:last-of-type {
    border-bottom: 1px dotted var(--key-color);
}

#page_product_detail .details-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    position: relative;
    padding: 1rem 0;
    color: var(--key-color);
    font-size: var(--font-size) !important;
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    /* text-align: center はflexで制御するため削除 */
    /* background-color: #b2e4e2; */
    list-style: none;
}

#page_product_detail .details-summary:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* --- アイコンのスタイル (Flexboxでの配置) --- */
#page_product_detail .details-summary .btn {
    /* absoluteでの位置指定を解除し、Flexアイテムとして扱う */
    position: relative;
    flex-shrink: 0;
}

/* ユーザー提供の > アイコンのCSSを適用 */
#page_product_detail .details-summary .btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    /* 視認性向上のためボーダーを太く設定 */
    border-top: 2px solid var(--key-color);
    border-right: 2px solid var(--key-color);

    /* 中央寄せし、45度回転させて > を表現 */
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.3s ease;
}

/* .btn:after は使用しないので content: none; で明示的に非表示 */
#page_product_detail .details-summary .btn:after {
    content: none;
}
/* --- ここまでアイコンのスタイル --- */

/* --- アニメーションの変更 --- */
#page_product_detail .details-summary.is-active .btn:before {
    /* 開いたとき、さらに90度回転させて v を表現 */
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
}
/* --- ここまでアニメーションの変更 --- */

#page_product_detail .details-summary::-webkit-details-marker {
    display: none;
}

#page_product_detail .details-content {
    padding: 0.5rem;
}

#page_product_detail .details-content p {
    /* margin: 0 0 20px; */
    font-size: var(--font-size) !important;
    font-family: var(--font-heading);
}

#page_product_detail .details-content p:last-of-type {
    margin: 0 0 0;
}

/* freeareaのテーブル */
#page_product_detail .free-area table {
    width: 100%;
    border: 1px solid #eaedf2;
    margin-bottom: 2rem;
}

#page_product_detail .free-area table th {
    border-bottom: 1px solid #eaedf2;
    border-right: 1px solid #eaedf2;
    text-align: center;
    font-size: var(--font-size);
}

#page_product_detail .free-area table thead th {
    background-color: #f2f2f2;
    font-size: calc(var(--font-size) + 0.5vw);
}
#page_product_detail .free-area table tbody th {
    background-color: #f8f9fa;
    min-width: 7rem;
    padding: 0.5rem;
    min-width: 7em;
}
#page_product_detail .free-area table td {
    border-bottom: 1px solid #eaedf2;
    font-size: var(--font-size) !important;
    padding: 0.5rem;
}

/* freeareaのリスト */
#page_product_detail .free-area ul li {
    display: flex;
    font-size: var(--font-size);
    margin-bottom: 0.75rem;
    /* font-weight: 600; */
}
#page_product_detail .free-area ul li::before {
    content: "・";
    margin-right: 0.5em;
    /* font-family: "Material Icons"; */
    /* color: var(--key-color); */
}
