@charset "UTF-8";

.u-only--sp{
    display: none;
}
@media (max-width: 768px) {
    .u-only--sp{
        display: block;
    }
    .u-only--pc{
        display: none;
    }
}

/*  */
html{
    margin-top: 0!important;
}
.main .container-inner{
    max-width: unset!important;
}
.main .container-fluid{
    padding: 0!important;
}
.main .box-post{
    padding-top: 0!important;
}
.breadcrumb{
    display: none!important;
}

/*  */
.wrap{
    max-width: 835px;
    margin: 0 auto;
}

.fixed_head .inner {
    max-width: 835px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* align-items: center; をやめ、上揃えにします */
    align-items: flex-start; 
    padding: 10px 0;
}

.fixed_head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 6;
    background-color: #003a7d;
}

/* 他の要素（1〜3番目）は中央寄せの見た目を保つため上下マージン等を調整するか、
   個別に align-self: center; を効かせます */
.fixed_head figure:not(:nth-child(4)) {
    align-self: center;
}

.fixed_head figure:first-child {
    width: 80px;
}
.fixed_head figure:nth-child(2) {
    width: 276px;
}
.fixed_head figure:nth-child(3) {
    width: 296px;
}

/* --- 4番目の要素（85周年ロゴ）の調整 --- */
.fixed_head figure:nth-child(4) {
    width: 115px;
    align-self: flex-start; /* 上端をヘッダーのTOPに固定 */
    margin-bottom: -40px;   /* 下に飛び出させる分だけネガティブマージン（数値は微調整してください） */
    position: relative;
    z-index: 10;
}

.fixed_head figure:nth-child(4) img {
    width: 100%;
    height: auto;
    display: block; /* 不要な余白を消去 */
}

.bnr{
    margin-top: 60px;
}
.bnr h2{
    text-align: center;
    color: #e83820;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}
.bnr h2 span{
    padding: 0 30px;
    position: relative;
}
.bnr h2 span::before,
.bnr h2 span::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 32px;
}
.bnr h2 span::before{
    left: 0;
    background: url(/wp/wp-content/uploads/feature/hearingaids_202609/icon_object01.webp) no-repeat center center / contain;
}
.bnr h2 span::after{
    right: 0;
    background: url(/wp/wp-content/uploads/feature/hearingaids_202609/icon_object02.webp) no-repeat center center / contain;
}
.recommend{
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0094c8;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}
.recommend p{
    font-size: 16px;
    color: #fff;
}
.recommend p em{
    font-size: 30px;
}
.recommend p span{
    font-size: 20px;
    position: relative;
    background-color: #fff100;
    padding: 10px 70px 10px 10px;
    color: #0094c8;
    border-radius: 6px;
    font-weight: 700;
}
.recommend p span::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 50px;
    height: 27px;
    background: url(/wp/wp-content/uploads/feature/hearingaids_202609/icon_charge.webp) no-repeat center center / contain;
    
}

.recommend p + p{
    padding-left: 10px;
    border-left: 2px solid #fff;
}

.contact {
    width: calc(100% - 40px);
    margin: 40px auto 0;
}

.product{
    --product-blue: #34a9d4;
    --product-band: #0096c9;
    --product-red: #e83820;
    --product-yellow: #fff200;
    --product-special-bg: #fdebeb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    border: 3px solid var(--product-blue);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 28px;
}

.product p,
.product dl,
.product dt,
.product dd{
    margin: 0;
}

.product figure{
    margin: 0;
}

.product img{
    max-width: 100%;
    height: auto;
    display: block;
}

.product_item{
    position: relative;
    min-height: 300px;
    padding: 14px 16px 16px;
    box-sizing: border-box;
}

.product_item_01,
.product_item_03,
.product_item_05,
.product_item_07{
    border-right: 2px dotted var(--product-blue);
}

.product_item_01,
.product_item_02,
.product_item_05,
.product_item_06{
    border-bottom: 2px dotted var(--product-blue);
}

/* 左上：カテゴリブロック */
.product_item_01,
.product_item_05{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: var(--product-blue);
    color: #fff;
    padding: 22px 16px 16px;
}

.product_item_01 figure,
.product_item_05 figure{
    width: 100%;
    max-width: 200px;
    flex-shrink: 0;
    text-align: center;
}

.product_item_01 figure img,
.product_item_05 figure img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}

.product_item_01 figcaption,
.product_item_05 figcaption{
    margin-top: -20px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-align: right;
    margin-right: -60px;
}

.product_item_01 .txt,
.product_item_05 .txt{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.product_item_01 .txt p,
.product_item_05 .txt p{
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.product_item_01 .txt em,
.product_item_05 .txt em{
    font-style: normal;
    font-size: 32px;
    color: var(--product-yellow);
    letter-spacing: 0.06em;
}

.product_item_01 .txt_box,
.product_item_05 .txt_box{
    display: inline-block;
    border: 1px solid #fff;
    padding: 4px 14px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    flex-shrink: 0;
    font-weight: 700;
}

/* 商品カード */
.product_item_02,
.product_item_03,
.product_item_06,
.product_item_07,
.product_item_08{
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-items: center;
    gap: 8px 12px;
}

.head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.band{
    position: relative;
    display: inline-block;
    width: fit-content;
    background: var(--product-band);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    padding: 6px 14px;
    z-index: 1;
}

.band:empty{
    display: none;
}

.band:empty::after{
    display: none;
}

.band::after{
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 28px;
    height: 100%;
    background: linear-gradient(to right, var(--product-band), rgba(0, 150, 201, 0));
    pointer-events: none;
}

.signia{
    width: 70px;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    right: 0;
}

.phonak{
    width: 100px;
    flex-shrink: 0;
}

.oticon{
    width: 120px;
    flex-shrink: 0;
}

.brand{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    position: absolute;
    top: 0;
    right: 0;
}

.ai_tag{
    display: inline-block;
    background: transparent;
    color: #072579;
    border: 2px solid #072579;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    padding: 4px 10px;
}

.product_item_02 figure,
.product_item_03 figure,
.product_item_04 figure,
.product_item_06 figure,
.product_item_07 figure,
.product_item_08 figure{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product_item_02 figure img,
.product_item_03 figure img,
.product_item_04 figure img,
.product_item_06 figure img,
.product_item_07 figure img,
.product_item_08 figure img{
    max-width: 78%;
    max-height: 170px;
    width: auto;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: left center;
}

.product_item_04 figure img{
    max-width: 48%;
}

.data_box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.data_box > .tag{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 40%;
    max-width: none;
    flex-shrink: 0;
}

.tag{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tag p{
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--product-band);
    border-radius: 8px;
    color: var(--product-band);
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    padding: 4px 8px;
    text-align: center;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
}

.tag.gray{
    max-width: none;
}

.tag.gray p{
    border-color: #222;
    color: #222;
    background: #c1c2c2;
}

.tag a{
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.price{
    flex: 1;
    min-width: 0;
    text-align: right;
}

.price .ttl{
    margin: 0 0 6px;
    padding-bottom: 3px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
    border-bottom: 1px solid #222;
}

.price dl{
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 10px;
    row-gap: 2px;
    margin: 0;
    width: 100%;
}

.price dt{
    justify-self: start;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
}

.price dd{
    justify-self: end;
    margin: 0;
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.price dd:last-of-type{
    font-size: 22px;
    color: var(--product-red);
}

.product_item_04 .price .tag{
    width: 100%;
    margin-top: 8px;
    gap: 6px;
}

/* 右下：特別価格枠 */
.product_item_04{
    display: flex;
    padding: 6px;
    background: #fff;
}

.product_item_04 .inner{
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    gap: 8px 10px;
    width: 100%;
    padding: 0 12px 12px;
    border: 3px solid var(--product-red);
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    background: #faecea;
}

.product_item_04 .special_band{
    background: var(--product-red);
    color: var(--product-yellow);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 7px 10px;
    margin: 0 -12px 4px;
}

.footer{
    max-width: 1000px;
    margin: 24px auto 40px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #222;
    background: #fff;
    text-align: center;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}

.notice{
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    margin: 20px;
}

.btn_store{
    display: block;
    padding: 24px 20px;
    border:2px solid #003a7d;
    color: #003a7d;
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.5em;
    font-weight: 700;
    transition: opacity .3s;
    margin: 40px 0;
}
.btn_store span{
    position: relative;
    padding-right: 100px;
}

.btn_store span::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 80px;
    height: 56px;
    background: url(/wp/wp-content/uploads/feature/hearingaids_202609/icon_store.webp) no-repeat center center / cover;
    display: block;
}

.btn_store:hover{
    text-decoration: none;
    opacity: .7;
    color: #003a7d;
}
@media (max-width: 768px) {
    .wrap{
        padding: 0 20px;
    }

    .fixed_head .inner{
        padding: 10px;
        gap: 10px;
    }

    .bnr{
        margin-top: 32px;
    }
    .bnr h2{
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 8px;
        padding: 0 8px;
    }
    .bnr h2 span{
        padding: 0 22px;
        display: inline-block;
    }
    .bnr h2 span::before,
    .bnr h2 span::after{
        width: 10px;
        height: 22px;
    }

    .recommend{
        flex-direction: column;
        gap: 12px;
        padding: 14px 16px;
        margin-top: 32px;
        text-align: center;
    }
    .recommend p{
        font-size: 14px;
        line-height: 1.6;
    }
    .recommend p em{
        font-size: 22px;
        display: inline-block;
    }
    .recommend p span{
        font-size: 16px;
        padding: 6px 48px 6px 8px;
        display: inline-block;
    }
    .recommend p span::after{
        right: 8px;
        width: 36px;
        height: 20px;
    }
    .recommend p + p{
        padding-left: 0;
        padding-top: 12px;
        border-left: none;
        border-top: 2px solid #fff;
    }

    .contact {
        width: 100%;
        margin: 20px auto 0;
    }

    .product{
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .product_item{
        min-height: 0;
        border-right: none;
        border-bottom: 2px dotted var(--product-blue);
    }

    .product_item_04,
    .product_item_08{
        border-bottom: none;
    }

    .product_item_01,
    .product_item_05{
        flex-direction: column;
        text-align: center;
    }

    .product_item_01 figure,
    .product_item_05 figure{
        width: 58%;
    }

    .product_item_01 .txt p,
    .product_item_05 .txt p{
        font-size: 20px;
    }

    .product_item_01 .txt em,
    .product_item_05 .txt em{
        font-size: 26px;
    }

    .price .ttl{
        font-size: 16px;
    }

    .price dd:last-of-type{
        font-size: 18px;
    }

    .oticon{
        width: 90px;
    }
    .phonak{
        width: 70px;
    }
    .signia{
        width: 50px;
    }
    .ai_tag{
        font-size: 16px;
    }
    .data_box{
        gap: 14px;
    }
    .data_box > .tag{
        width: 36%;
    }
    .tag p{
        font-size: 14px;
    }

}

