@charset "UTF-8";

/* Google Fonts (Caveat) の読み込み */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

/* =========================================
   リセット & 基本設定
========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Avenir", "Helvetica Neue", Arial, "yu-gothic-pr6n", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #222;
    background-color: #f7f5ee;
    line-height: 1.85;
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
a {
    color: #222;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
a:hover {
    opacity: 0.75;
}

.caveat-font {
    font-family: 'Caveat', cursive;
}

/* =========================================
   出し分け用ユーティリティクラス
========================================= */
@media (max-width: 767px) {
  .u-hide-sp { display: none !important; }
}
@media (min-width: 768px) {
  .u-hide-pc, .sp-fixed-bottom { display: none !important; }
}

/* =========================================
   共通ヘッダー（SPレスポンシブ最適化済）
========================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid #f0ece3;
    padding: 14px 20px;
    position: relative;
    z-index: 500;
}
.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-logo img {
    display: block;
    height: auto;
}
.header-sub-title {
    font-size: 11px;
    font-weight: bold;
    color: #c2a6e1;
    letter-spacing: 0.12em;
    border-left: 1px solid #e0e0e0;
    padding-left: 12px;
    white-space: nowrap;
}
.header-nav {
    display: flex;
    gap: 20px;
    font-size: 13px;
    letter-spacing: 0.05em;
    align-items: center;
}
.nav-brand-link {
    color: #666;
    white-space: nowrap;
}
.nav-column-link {
    font-weight: bold;
    color: #236092;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .site-header {
        padding: 12px 12px;
    }
    .header-logo {
        gap: 8px;
    }
    .header-logo img {
        width: 100px;
    }
    .header-sub-title {
        font-size: 10px;
        padding-left: 8px;
        letter-spacing: 0.06em;
    }
    .header-nav {
        gap: 10px;
        font-size: 11.5px;
        letter-spacing: 0.02em;
    }
}

/* =========================================
   FAQパーツ
========================================= */
.faq-box {
    background: #faf8f2;
    border: 1px solid #eee8dd;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 28px 0;
}
.faq-q {
    font-weight: bold;
    color: #222;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 16px;
}
.faq-a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #444;
    line-height: 1.8;
}
.faq-icon {
    font-weight: bold;
    color: #c2a6e1;
    flex-shrink: 0;
    font-size: 18px;
}

/* =========================================
   関連記事埋め込みカード
========================================= */
.article-embed-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #eee8dd;
    border-radius: 8px;
    overflow: hidden;
    margin: 28px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-embed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.embed-card-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.embed-card-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    color: #222;
}
.embed-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #888;
    margin-top: 10px;
}
.card-category-label {
    background: #fff;
    color: #c2a6e1;
    border: 1px solid #c2a6e1;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}
.embed-card-thumb {
    width: 120px;
    flex-shrink: 0;
}
.embed-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   CTA ＋ 注意事項 一体化カード (上部マージン最適化済)
========================================= */
.cta-combined-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0 0;
    border: 1px solid #eee8dd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    background: #faf8f2;
}

@media (min-width: 768px) {
    .cta-combined-wrapper {
        margin: 32px 0 0 0;
    }
}

/* 上段：インラインCTA */
.inpage-cta-section {
    background: #ffffff;
    padding: 28px 20px 28px;
    text-align: center;
    margin: 0;
    border: none;
    position: relative;
}
.inpage-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #b393dd 0%, #8e65be 100%);
}

@media (max-width: 767px) {
    .inpage-cta-section {
        padding: 22px 16px 22px;
    }
}
.cta-badge {
    display: inline-block;
    background: #236092;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.cta-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #c2a6e1;
}
.cta-price {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}
.cta-price-note {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 24px;
    line-height: 1.5;
}

.cta-product-thumb {
    margin: 0 auto 20px;
    max-width: 180px;
}
.cta-product-thumb img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cta-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    background: linear-gradient(135deg, #b393dd 0%, #8e65be 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(142, 101, 190, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.cta-trigger-btn::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 12px;
    margin-top: -2px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.cta-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(142, 101, 190, 0.45);
    background: linear-gradient(135deg, #a07fd4 0%, #7b51b0 100%);
}
.cta-trigger-btn:hover::after {
    transform: rotate(45deg) translate(2px, -2px);
}

/* 下段：取り扱い上の注意（アコーディオン） */
.notice-container {
    width: 100%;
    margin: 0;
    padding: 20px;
    background-color: #faf8f2;
    border: none;
    border-top: 1px dashed #eee8dd;
    border-radius: 0;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .notice-container {
        padding: 16px 12px;
    }
}
.notice-container .accordion-wrapper {
    width: 100%;
    margin-bottom: 0;
}
.btn-secondary {
    width: 100%;
    padding: 14px 20px;
    background-color: #fff;
    color: #236092;
    border: 1px solid #236092;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-secondary:hover {
    background-color: #f4f8fb;
}
.accordion-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
    font-family: inherit;
}
.accordion-icon {
    position: absolute;
    right: 12px;
    transition: transform 0.3s;
}
.accordion-toggle.is-open .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-inner {
    padding: 16px;
    background: #fff;
    border: 1px solid #eee8dd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}
.note-list {
    list-style: none;
    margin-bottom: 12px;
}
.note-list:last-child {
    margin-bottom: 0;
}
.note-list li {
    padding-left: 1em;
    text-indent: -1em;
    margin-bottom: 6px;
    line-height: 1.6;
}
.note-list li:last-child {
    margin-bottom: 0;
}
.note-list li::before {
    content: "・";
}
.note-list.list-asterisk li::before {
    content: "※";
}
.medical-device-info {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #d8d0c5;
    font-size: 12px;
    line-height: 1.7;
    color: #666;
}
@media (max-width: 767px) {
    .medical-device-info {
        font-size: 11px;
        line-height: 1.6;
    }
}
.medical-device-item {
    margin-bottom: 6px;
}
.medical-device-item:last-child {
    margin-bottom: 0;
}

/* =========================================
   フロートCTAバー (SP右下コンパクトカプセル)
========================================= */
.floating-cta-bar {
    position: fixed;
    bottom: 20px;
    right: 16px;
    left: auto;
    transform: none;
    width: auto;
    max-width: none;
    z-index: 900;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.floating-cta-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
}

.floating-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    padding: 10px 16px;
    background: linear-gradient(135deg, #b393dd 0%, #8e65be 100%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(142, 101, 190, 0.4);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.floating-cta-btn::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-top: -1px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.floating-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(142, 101, 190, 0.5);
}

.mall-img-btn {
    display: block;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e8e2d8;
    background: #fff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mall-img-btn img {
    width: 100%;
    height: auto;
    aspect-ratio: 355 / 177;
    object-fit: cover;
    display: block;
    border-radius: 7px;
}
.mall-img-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: #c2a6e1;
}

/* =========================================
   複数商品切り替えタブ ＆ パネル制御
========================================= */
.product-tab-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0ece3;
    padding-bottom: 8px;
}
.product-tab-btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: bold;
    color: #666;
    background-color: #f5f2eb;
    border: 1px solid #e2ddd3;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-tab-btn.is-active {
    background-color: #8e65be;
    color: #fff;
    border-color: #8e65be;
    box-shadow: 0 2px 6px rgba(142, 101, 190, 0.25);
}

.inpage-cta-section .product-tab-nav {
    max-width: 280px;
    margin: 0 auto 16px;
    justify-content: center;
    border-bottom: none;
    padding-bottom: 0;
}

.js-product-panel {
    display: none;
}
.js-product-panel.is-active {
    display: block;
}

/* =========================================
   製品スペック＆度数一覧
========================================= */
.side-spec-card {
    background: #fff;
    border: 1px solid #eee8dd;
    border-radius: 12px;
    padding: 18px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}
.side-spec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.side-spec-thumb {
    width: 65px;
    flex-shrink: 0;
}
.side-spec-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.side-spec-info {
    flex: 1;
    min-width: 0;
}

.spec-brand-logo-img {
    max-width: 95px;
    height: auto;
    display: block;
    margin-left: -4px;
    margin-bottom: 4px;
}
.spec-product-title {
    font-size: 14px;
    font-weight: bold;
    color: #c2a6e1;
    line-height: 1.3;
    margin-bottom: 2px;
    word-break: break-all;
}
.spec-product-sub {
    font-size: 10px;
    color: #236092;
    line-height: 1.3;
    margin-bottom: 6px;
    font-weight: 500;
}
.spec-count-badge {
    display: inline-block;
    background-color: #073562;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 2px;
}

.side-spec-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 11px;
}
.side-spec-table tr {
    border-bottom: 1px solid #236092;
}
.side-spec-table tr:first-child {
    border-top: 1px solid #236092;
}
.side-spec-table th {
    text-align: left;
    padding: 8px 4px 8px 0;
    color: #236092;
    font-weight: bold;
    width: 44%;
    border-right: 1px solid #236092;
    vertical-align: middle;
    word-break: break-all;
}
.side-spec-table td {
    padding: 8px 0 8px 8px;
    color: #236092;
    font-weight: bold;
    vertical-align: middle;
    word-break: break-all;
}

.side-pwr-section {
    text-align: center;
    width: 100%;
}
.pwr-title-badge {
    background-color: #073562;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
    display: block;
}
.pwr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 2px;
    font-size: 11px;
    font-weight: bold;
    color: #236092;
    width: 100%;
}
.pwr-grid span {
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}

.side-cta-card {
    background: #fff;
    border: 1px solid #eee8dd;
    border-radius: 12px;
    padding: 18px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.side-cta-card .cta-price {
    margin-bottom: 2px;
}
.side-cta-card .pc-price-note {
    margin-top: 2px;
    margin-bottom: 14px;
}
.side-cta-card .cta-badge {
    margin-bottom: 6px;
}
.side-cta-card .offer-wrap {
    margin-top: 0;
}

.pc-side-area {
    display: none !important;
}
@media (min-width: 1280px) {
    .pc-side-area {
        display: block !important;
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        width: 260px;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 450;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .pc-side-area::-webkit-scrollbar {
        display: none;
    }
    .pc-left-column {
        left: calc(25vw - 300px);
    }
    .pc-right-column {
        right: calc(25vw - 300px);
    }
    .offer-wrap {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;
    }
    .floating-cta-bar {
        display: none !important;
    }
}

/* =========================================
   モール選択モーダル（SP含め常時2列表示＆閉じるボタン完全分離）
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
}
.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #faf8f2;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 48px 20px 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
}
.modal-overlay.is-active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2ddd3;
    color: #555;
    border: none;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover {
    background: #8e65be;
    color: #fff;
}

.modal-btn-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
}

.modal-price-note,
.pc-price-note {
    font-size: 10px;
    color: rgba(0,0,0,0.65);
    line-height: 1.4;
    margin-top: 14px;
    text-align: center;
}

.modal-spec-container {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #d8d0c5;
}
.modal-spec-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.modal-spec-header .spec-brand-logo-img {
    max-width: 80px;
    height: auto;
    display: block;
    margin-left: 0;
    margin-bottom: 0;
}
.modal-spec-title {
    font-size: 13px;
    font-weight: bold;
    color: #236092;
    line-height: 1.3;
}

/* =========================================
   フッター
========================================= */
.bottom-gfooter {
    background: #a9a9a9;
    color: #fff;
    padding: 40px 16px 100px;
    text-align: center;
}
@media (min-width: 768px) {
    .bottom-gfooter {
        padding: 60px 16px 40px;
    }
}
.bottom-gfooter a {
    color: #fff;
    transition: opacity 0.3s;
}
.bottom-gfooter a:hover {
    opacity: 0.7;
}
.bottom-gfooter__inner {
    max-width: 960px;
    margin: 0 auto;
}
.bottom-gfooter__logos {
    margin-bottom: 24px;
}

/* ロゴのaタグ領域を画像サイズに限定 */
.bottom-gfooter__logos .logo a {
    display: inline-block;
}
.bottom-gfooter__logos .logo img {
    max-width: 160px;
    margin: 0 auto 8px;
    display: block;
}
@media (min-width: 768px) {
    .bottom-gfooter__logos .logo img {
        max-width: 180px;
    }
}

.bottom-gfooter__logos .sincere-addr {
    font-size: 12px;
    font-weight: bold;
}
.bottom-gfooter__auth {
    margin-bottom: 24px;
    text-align: center;
}
.bottom-gfooter__auth-ttl {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
}
.bottom-gfooter__sub-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 24px;
    text-align: center;
}
.bottom-gfooter__misc-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: bold;
}
.bottom-gfooter__copyright {
    font-size: 10px;
    font-weight: normal;
}
.bottom-gfooter__auth-list,
.bottom-gfooter__misc-nav,
.bottom-gfooter__logos ul,
.sp_logos {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bottom-gfooter__auth-list {
    font-size: 11px;
    line-height: 1.6;
    display: inline-block;
    text-align: left;
}
.bottom-gfooter__auth-list li {
    margin-bottom: 4px;
}
.bottom-gfooter__logos ul,
.sp_logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 24px auto 32px;
}
.bottom-gfooter__logos ul li,
.sp_logos li {
    list-style: none;
}
.bottom-gfooter__logos ul img,
.sp_logos img {
    max-height: 50px;
    width: auto;
    display: block;
}
