/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #eeeeee;
    font-family:
            -apple-system, BlinkMacSystemFont,
            "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
            "Meiryo", "Roboto", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
    min-width: 930px; /* 20251021add */
}



.product-anchor-nav {
    max-width: 1080px;
    margin: 0 auto;
}

.product-anchor-nav ul {
    padding: 12px 20px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-anchor-nav li {
    display: inline-flex;
}

.product-anchor-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background-color: #fff;
    color: #003595;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-anchor-nav a:hover,
.product-anchor-nav a:focus {
    background-color: #003595;
    color: #ffffff;
}

.product-anchor-nav a:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.product-anchor-nav a:active {
    background-color: #003595;
    color: #ffffff;
}

/* comment out 20251021 */
/*@media (max-width: 768px) {*/
/*    .product-anchor-nav ul {*/
/*        padding: 12px 16px;*/
/*        gap: 10px;*/
/*    }*/

/*    .product-anchor-nav a {*/
/*        padding: 8px 14px;*/
/*        font-size: 14px;*/
/*    }*/
/*}*/

/* メインコンテナ */
.product-catalog {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
}

/* セクションヘッダー */
.section-header {
    text-align: left;
    margin-bottom: 0;
}

.section-badge {
    display: inline-block;
    background: none;
    background-color: transparent;
    color: #000;
    padding: 8px 0;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 8px;
}

/* 製品行 */
.product-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

.product-row.single-product {
    justify-content: flex-start;
}

.product-row.single-product .product-card {
    max-width: calc(33.333% - 14px);
}

.product-row.two-products {
    justify-content: flex-start;
}

.product-row.two-products .product-card {
    max-width: calc(33.333% - 14px);
}

/* 製品カード */
.product-card {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 製品ヘッダー */
.product-header {
    margin-bottom: 15px;
    position: relative;
}

.material-label {
    font-size: 12px;
    font-weight: normal;
    color: #000;
    padding: 4px 0;
    margin-bottom: 4px;
    background: none !important;
    background-color: transparent !important;
}

.function-label {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 8px 8px;
}

/* 機能別ヘッダー色 */
.product-card.myopia .product-header .material-label,
.product-card.myopia .product-header .function-label {
    background-color: #0070BD;
}

.product-card.astigmatism .product-header .material-label,
.product-card.astigmatism .product-header .function-label {
    background-color: #40a731;
}

.product-card.multifocal .product-header .material-label,
.product-card.multifocal .product-header .function-label {
    background-color: #7b59a3;
}

.product-card.myopia-presbyopia .product-header .material-label,
.product-card.myopia-presbyopia .product-header .function-label {
    background-color: #31bada;
}

.product-card.myopia-presbyopia-treatment .product-header .material-label,
.product-card.myopia-presbyopia-treatment .product-header .function-label {
    background-color: #0070BD;
}

.product-card.circle .product-header .function-label,
.product-card.color .product-header .function-label {
    background-color: #ee869a;
}

.product-card.lens-care .product-header .function-label {
    background-color: #6b7280;
}

.product-card.lens-care {
    justify-content: flex-start;
}

.product-card.lens-care .product-buttons {
    margin-bottom: 0;
}

/* UVアイコン */
.uv-icon {
    position: absolute;
    top: 12px;
    right: 2px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uv-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 製品名 */
.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 2.8em; /* 2行分の高さを確保 */
    /*display: flex;*/ /* 20251021 comment out */
    align-items: center;
    /*justify-content: center;*/ /* 20251021 comment out */
    text-align: center;
}

/* 製品画像エリア */
.product-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.product-box {
    max-width: 240px;
    height: auto;
}


/* 色インジケーター */
.color-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    min-height: 24px;
}

.color-image {
    width: 16px;
    height: 16px;
    object-fit: contain;
}


.color-name {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

/* 色オプション（装飾レンズ用） */
.color-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.color-options-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.color-options-horizontal {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 0;
    min-height: 60px;
}

.color-options-equal .color-option {
    flex: 1;
}

.color-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 0;
}

.color-option .color-name {
    font-size: 10px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    font-weight: 400;
}

/* 製品ボタン */
.product-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.product-info-btn,
.consumer-info-btn {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.product-info-btn:hover,
.consumer-info-btn:hover {
    background-color: #f5f5f5;
}

/* セクション分離線 */
.daily-disposable {
    padding-bottom: 30px;
}

.two-week-disposable {
    padding-bottom: 30px;
}

.monthly-disposable {
    padding-bottom: 30px;
}

.lens-care {
    margin-bottom: 30px;
}

.professional-banner {
    margin-top: 80px;
    margin-bottom: 40px;
    text-align: center;
}

.professional-banner .section-header {
    text-align: center;
}

.professional-banner .section-badge {
    text-align: center;
    margin-bottom: 0;
}

.professional-banner .section-badge ul {
    font-weight: normal;
    font-size: 16px;
    margin-top: 8px
}

.professional-banner .section-badge ul > li {
    margin-bottom: 8px;
}

.banner-container {
    text-align: center;
}

.professional-banner-image {
    width: 800px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 8px;
}

.decorative-lenses {
    margin-top: 30px;
}

/* comment out 20251021 */
/* レスポンシブ対応（最小幅） */
/*@media (max-width: 1200px) {*/
/*    .product-catalog {*/
/*        padding: 15px;*/
/*    }*/

/*    .product-row {*/
/*        gap: 15px;*/
/*    }*/

/*    .product-card {*/
/*        padding: 15px;*/
/*    }*/
/*}*/

/*@media (max-width: 1000px) {*/
/*    .product-row {*/
/*        flex-direction: column;*/
/*    }*/

/*    .product-card {*/
/*        min-height: auto;*/
/*    }*/
/*}*/

/* 2025/10/21 */
.product-anchor-nav {
    margin-top: 40px;
}

header.catalog-header,
header.section-header {
    background: initial;
    min-width: initial;
    height: initial;
    box-sizing: initial;
    display: initial;
}

header.catalog-header nav li {
    width: initial;
    text-indent: initial;
    float: initial;
    line-height: initial;
}

header.catalog-header nav li a {
    width: initial;
    height: initial;
}


