/* ============================================
   ReFa FINE BUBBLE 統合LP
   リブハウジング代理店向け
   シャワーヘッド & ランドリー
   ============================================ */

/* ---------- Base Reset & Variables ---------- */
:root {
    --refa-black: #1a1a1a;
    --refa-dark-gray: #333333;
    --refa-gray: #666666;
    --refa-light-gray: #999999;
    --refa-silver: #e5e5e5;
    --refa-off-white: #f8f8f8;
    --refa-white: #ffffff;
    --refa-accent: #c9a96e;
    --refa-accent-light: #dfc99e;
    
    --font-mincho: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", "Noto Serif JP", serif;
    --font-gothic: "游ゴシック", "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
    
    --header-height: 50px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-gothic);
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--refa-dark-gray);
    background-color: var(--refa-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ---------- Typography ---------- */
.mincho {
    font-family: var(--font-mincho);
}

h1, h2, h3, h4 {
    font-family: var(--font-mincho);
    font-weight: 400;
    line-height: 1.4;
}

/* ---------- Layout ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section--gray {
    background-color: var(--refa-off-white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--refa-white);
    border-bottom: 1px solid var(--refa-silver);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.header__logo {
    height: 22px;
}

.header__logo img {
    height: 100%;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header__link {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--refa-dark-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header__link:hover {
    color: var(--refa-accent);
}

.header__link svg {
    width: 14px;
    height: 14px;
}

/* ---------- Hamburger Menu ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.hamburger__line {
    width: 24px;
    height: 2px;
    background: var(--refa-black);
    transition: var(--transition-smooth);
    position: relative;
}

.hamburger__line::before,
.hamburger__line::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--refa-black);
    transition: var(--transition-smooth);
}

.hamburger__line::before {
    top: -8px;
}

.hamburger__line::after {
    top: 8px;
}

/* Hamburger Active State */
.hamburger.active .hamburger__line {
    background: transparent;
}

.hamburger.active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--refa-white);
    z-index: 999;
    padding: 4rem 2rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__list {
    list-style: none;
}

.mobile-menu__item {
    border-bottom: 1px solid var(--refa-silver);
}

.mobile-menu__link {
    display: block;
    padding: 2rem 0;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    color: var(--refa-dark-gray);
}

.mobile-menu__link:hover {
    color: var(--refa-accent);
}

.mobile-menu__cta {
    margin-top: 3rem;
}

/* ============================================
   MAIN HERO (動画版)
   ============================================ */
.main-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--header-height));
    background: var(--refa-off-white);
}

.main-hero__video {
    position: relative;
    overflow: hidden;
}

.main-hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero__video-pc {
    display: block;
}

.main-hero__video-sp {
    display: none;
}

.main-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem;
    background: var(--refa-white);
}

.main-hero__label {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--refa-accent);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.main-hero__title {
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    letter-spacing: 0.12em;
    line-height: 1.6;
    color: var(--refa-black);
    margin-bottom: 3rem;
}

.main-hero__text {
    font-size: 1.7rem;
    line-height: 2.2;
    color: var(--refa-gray);
    margin-bottom: 3rem;
}

.main-hero__dealer {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: var(--refa-dark-gray);
    padding-top: 2rem;
    border-top: 1px solid var(--refa-silver);
}

/* ============================================
   PRODUCT TABS
   ============================================ */
.product-tabs {
    position: sticky;
    top: var(--header-height);
    background: var(--refa-white);
    border-bottom: 1px solid var(--refa-silver);
    z-index: 100;
}

.product-tabs__list {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.product-tabs__item {
    flex: 1;
}

.product-tabs__button {
    width: 100%;
    padding: 1rem 1rem;
    background: none;
    border: none;
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--refa-light-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.product-tabs__button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--refa-accent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.product-tabs__button:hover {
    color: var(--refa-dark-gray);
}

.product-tabs__button.active {
    color: var(--refa-black);
}

.product-tabs__button.active::after {
    width: 80%;
}

.product-tabs__en {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* ============================================
   PRODUCT CONTENT
   ============================================ */
.product-content {
    display: none;
}

.product-content.active {
    display: block;
}

/* ---------- Product Hero (動画版) ---------- */
.product-hero {
    display: none;  /* デフォルト非表示 */
    grid-template-columns: 55% 45%;
    min-height: 70vh;
    background: var(--refa-off-white);
}

.product-hero.active {
    display: grid;  /* activeクラスで表示 */
}

.product-hero__video {
    position: relative;
    overflow: hidden;
}

.product-hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero__video-pc {
    display: block;
}

.product-hero__video-sp {
    display: none;
}

.product-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    background: var(--refa-white);
}

.product-hero__brand {
    font-size: 1.6rem;
    letter-spacing: 0.25em;
    color: var(--refa-black);
    font-weight: 500;
    margin-bottom: 2rem;
}

.product-hero__title {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: var(--refa-black);
    margin-bottom: 2.5rem;
}

.product-hero__text {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--refa-gray);
    margin-bottom: 3rem;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--refa-off-white) 0%, var(--refa-white) 100%);
    overflow: hidden;
    padding: 6rem 2rem;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero__text {
    animation: fadeInUp 1s ease-out;
}

.hero__brand {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--refa-light-gray);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    color: var(--refa-black);
}

.hero__subtitle {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    line-height: 2.2;
    color: var(--refa-gray);
    margin-bottom: 3rem;
}

.hero__visual {
    position: relative;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.hero__visual img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.1));
}

/* ---------- Price Badge ---------- */
.price-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2.5rem;
    background: var(--refa-white);
    border: 1px solid var(--refa-silver);
}

.price-badge__label {
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--refa-light-gray);
    margin-bottom: 0.3rem;
}

.price-badge__value {
    font-family: var(--font-mincho);
    font-size: 2.8rem;
    color: var(--refa-black);
    letter-spacing: 0.05em;
}

.price-badge__tax {
    font-size: 1.2rem;
    color: var(--refa-gray);
    margin-left: 0.5rem;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header__en {
    font-size: 1.3rem;
    letter-spacing: 0.4em;
    color: var(--refa-accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-header__title {
    font-size: clamp(2.4rem, 3.2vw, 3rem);
    letter-spacing: 0.15em;
    color: var(--refa-black);
}

.section-header__subtitle {
    font-size: 1.6rem;
    color: var(--refa-gray);
    margin-top: 1.5rem;
    line-height: 2;
}

/* ---------- Feature Cards ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--refa-white);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--refa-silver);
    box-shadow: var(--shadow-soft);
}

.feature-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--refa-accent);
    stroke-width: 1;
    fill: none;
}

.feature-card__title {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
    color: var(--refa-black);
}

.feature-card__text {
    font-size: 1.3rem;
    color: var(--refa-gray);
    line-height: 1.9;
}

/* ---------- Water Flow Cards (Shower) - 2x2グリッド ---------- */
.water-flows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-card {
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
}

.flow-card:hover {
    transform: none;
    box-shadow: none;
}

.flow-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 5;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border-radius: 0;
    display: block;
}

.flow-card__title {
    font-family: var(--font-mincho);
    font-size: 1.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--refa-black);
}

.flow-card__text {
    font-size: 1.4rem;
    color: var(--refa-gray);
    line-height: 1.9;
}

/* ---------- Benefits List ---------- */
.benefits {
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--refa-silver);
    align-items: start;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item__number {
    font-family: var(--font-mincho);
    font-size: 2.2rem;
    color: var(--refa-accent);
    line-height: 1;
    padding-top: 0.3rem;
}

.benefit-item__content h4 {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    color: var(--refa-black);
}

.benefit-item__content p {
    font-size: 1.3rem;
    color: var(--refa-gray);
    line-height: 1.9;
}

/* ---------- Technology Section ---------- */
.technology {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.technology--reverse {
    direction: rtl;
}

.technology--reverse > * {
    direction: ltr;
}

.technology__image img {
    width: 100%;
    border-radius: 4px;
}

.technology__content {
    padding: 2rem 0;
}

.technology__label {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--refa-accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.technology__title {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--refa-black);
}

.technology__text {
    font-size: 1.4rem;
    color: var(--refa-gray);
    line-height: 2.2;
}

/* ---------- Specifications ---------- */
.specs {
    max-width: 800px;
    margin: 0 auto;
    background: var(--refa-white);
    padding: 4rem;
    box-shadow: var(--shadow-soft);
}

.specs__table {
    width: 100%;
    border-collapse: collapse;
}

.specs__table tr {
    border-bottom: 1px solid var(--refa-silver);
}

.specs__table tr:last-child {
    border-bottom: none;
}

.specs__table th,
.specs__table td {
    padding: 1.5rem;
    text-align: left;
    vertical-align: top;
}

.specs__table th {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--refa-light-gray);
    width: 30%;
    letter-spacing: 0.1em;
}

.specs__table td {
    font-size: 1.5rem;
    color: var(--refa-dark-gray);
    line-height: 1.7;
}

/* ---------- Installation ---------- */
.installation__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    position: relative;
    padding: 2.5rem;
    text-align: center;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--refa-silver);
    border-right: 1px solid var(--refa-silver);
    transform: translateY(-50%) rotate(45deg);
}

.step:last-child::after {
    display: none;
}

.step__number {
    font-family: var(--font-mincho);
    font-size: 3.5rem;
    color: var(--refa-accent-light);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.step__title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--refa-black);
}

.step__text {
    font-size: 1.5rem;
    color: var(--refa-gray);
    line-height: 1.8;
}

/* ---------- Certification ---------- */
.certification {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    background: var(--refa-off-white);
    margin-top: 5rem;
}

.certification__logo {
    width: 70px;
}

.certification__text {
    font-size: 1.2rem;
    color: var(--refa-gray);
    max-width: 500px;
    line-height: 1.8;
}

/* ============================================
   DEALER SECTION (共通)
   ============================================ */
.dealer {
    background: linear-gradient(135deg, var(--refa-black) 0%, #2a2a2a 100%);
    color: var(--refa-white);
    text-align: center;
}

.dealer .section-header__en {
    color: var(--refa-accent);
}

.dealer .section-header__title {
    color: var(--refa-white);
}

.dealer__name {
    font-family: var(--font-mincho);
    font-size: 2.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}

.dealer__description {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ---------- CTA Button ---------- */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 4rem;
    background: var(--refa-accent);
    color: var(--refa-white);
    font-family: var(--font-mincho);
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: var(--refa-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.cta-button__arrow {
    width: 20px;
    height: 1px;
    background: var(--refa-white);
    position: relative;
}

.cta-button__arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--refa-white);
    border-right: 1px solid var(--refa-white);
    transform: rotate(45deg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--refa-silver);
}

.footer__logo {
    font-family: var(--font-mincho);
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    color: var(--refa-black);
    margin-bottom: 1rem;
}

.footer__text {
    font-size: 1.4rem;
    color: var(--refa-light-gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    /* Main Hero */
    .main-hero {
        grid-template-columns: 1fr;
    }
    
    .main-hero__video {
        height: 50vh;
        min-height: 400px;
    }
    
    .main-hero__content {
        padding: 4rem 3rem;
        text-align: center;
    }
    
    /* Product Hero */
    .product-hero {
        grid-template-columns: 1fr;
    }
    
    .product-hero__video {
        height: 50vh;
        min-height: 350px;
    }
    
    .product-hero__content {
        padding: 4rem 3rem;
        text-align: center;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero__visual {
        order: -1;
    }
    
    .hero__visual img {
        max-width: 350px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .water-flows {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .technology {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .technology--reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 44px;
    }
    
    html {
        font-size: 56.25%;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    /* Main Hero Mobile */
    .main-hero__video-pc {
        display: none;
    }
    
    .main-hero__video-sp {
        display: block;
    }
    
    .main-hero__video {
        height: 60vh;
        min-height: 350px;
    }
    
    .main-hero__content {
        padding: 3rem 2rem;
    }
    
    .main-hero__title {
        font-size: 2.2rem;
    }
    
    .main-hero__text {
        font-size: 1.4rem;
    }
    
    /* Product Hero Mobile */
    .product-hero__video-pc {
        display: none;
    }
    
    .product-hero__video-sp {
        display: block;
    }
    
    .product-hero__video {
        height: 75vh;
        min-height: 300px;
    }
    
    .product-hero__content {
        padding: 3rem 2rem;
    }
    
    .product-hero__title {
        font-size: 2rem;
    }
    
    .product-hero__text {
        font-size: 1.4rem;
    }
    
    /* Header Mobile */
    .header__nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Tabs Mobile */
    .product-tabs__button {
        padding: 1.5rem 0.5rem;
        font-size: 1.2rem;
    }
    
    .product-tabs__en {
        font-size: 0.9rem;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 4rem 2rem;
    }
    
    .hero__visual img {
        max-width: 280px;
    }
    
    .price-badge {
        width: 100%;
        align-items: center;
    }
    
    /* Features Mobile */
    .water-flows {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .flow-card {
        padding: 1.5rem 1rem;
    }
    
    .flow-card__title {
        font-size: 1.2rem;
    }
    
    /* Benefits Mobile */
    .benefit-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Specs Mobile */
    .specs {
        padding: 2.5rem 1.5rem;
    }
    
    .specs__table th,
    .specs__table td {
        padding: 1.2rem 0.5rem;
        display: block;
        width: 100%;
    }
    
    .specs__table th {
        padding-bottom: 0.3rem;
    }
    
    /* Installation Mobile */
    .installation__steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step::after {
        display: none;
    }
    
    /* Certification Mobile */
    .certification {
        flex-direction: column;
        text-align: center;
    }
    
    /* CTA Mobile */
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section-header__title {
        font-size: 1.8rem;
    }
    
    .water-flows {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   IMAGE-BASED HERO (動画の代わりに静止画)
   ============================================ */
.product-hero__image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.product-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--refa-off-white);
}
.product-hero__img-pc { display: block; }
.product-hero__img-sp { display: none; }
@media (max-width: 1024px) {
    .product-hero__img-pc { display: none; }
    .product-hero__img-sp { display: block; }
    .product-hero__image {
        min-height: 50vh;
    }
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.intro__lead {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.intro__text {
    font-size: 1.5rem;
    line-height: 2;
    color: #555;
}
@media (max-width: 768px) {
    .intro__lead { font-size: 1.5rem; }
    .intro__text { font-size: 1.4rem; line-height: 1.9; }
}

/* ============================================
   FEATURES PHOTO (画像つき3カード)
   ============================================ */
.features-photo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.photo-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.photo-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}
.photo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.photo-card__body {
    padding: 2rem 1.8rem;
}
.photo-card__title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}
.photo-card__text {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #555;
}
@media (max-width: 900px) {
    .features-photo { grid-template-columns: 1fr; gap: 1.5rem; }
    .photo-card__image { aspect-ratio: 16 / 9; }
}

/* ============================================
   FLOW CARDS (4つの水流) - 画像はラッパーで制約せず自然表示
   ============================================ */
.flow-card__img-wrap {
    width: 100%;
    margin-bottom: 1rem;
}

/* ============================================
   BENEFIT BLOCK (試験画像つき効果)
   ============================================ */
.benefit-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e5e5e5;
}
.benefit-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.benefit-block__title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}
.benefit-block__desc {
    font-size: 1.5rem;
    line-height: 2;
    color: #555;
}
.benefit-block__compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.compare-item {
    text-align: center;
}
.compare-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    background: #f5f5f5;
}
.compare-item__label {
    margin-top: 0.8rem;
    font-size: 1.3rem;
    color: #555;
    letter-spacing: 0.1em;
    line-height: 1.6;
}
.benefit-block__single img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    background: #f5f5f5;
}
@media (max-width: 768px) {
    .benefit-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .benefit-block__title { font-size: 1.8rem; }
}

/* ============================================
   TECHNOLOGY REVERSE (互い違い配置)
   ============================================ */
.technology--reverse {
    direction: rtl;
}
.technology--reverse > * {
    direction: ltr;
}
@media (max-width: 768px) {
    .technology--reverse { direction: ltr; }
}

/* ============================================
   COLORS (カラーバリエーション)
   ============================================ */
.colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.color-item {
    text-align: center;
}
.color-item img {
    width: 100%;
    height: auto;
    max-width: 280px;
    display: block;
    margin: 0 auto;
    background: #fafafa;
    border-radius: 4px;
}
.color-item__name {
    margin-top: 1.2rem;
    font-size: 1.6rem;
    color: #333;
    letter-spacing: 0.1em;
}
@media (max-width: 768px) {
    .colors { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .color-item__name { font-size: 1.3rem; }
}

/* ============================================
   INSTALLATION (取り付け)
   ============================================ */
.installation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.installation__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.installation__steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (max-width: 768px) {
    .installation {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   FOOTNOTE (注釈)
   ============================================ */
.footnote {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.3rem;
    color: #666;
    letter-spacing: 0.05em;
    line-height: 1.7;
}

/* ============================================
   CERTIFICATION (FBIA認証)
   ============================================ */
.certification {
    margin-top: 3rem;
    padding: 2.5rem;
    background: #fafafa;
    border-radius: 4px;
    text-align: center;
}
.certification__text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   TEST METHOD (試験方法テキスト)
   ============================================ */
.test-method {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e5e5e5;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #555;
}
.test-method dt {
    font-weight: 500;
    color: #333;
    margin-top: 0.4rem;
    display: inline;
}
.test-method dd {
    display: inline;
    margin: 0;
}
.test-method dd::after {
    content: "";
    display: block;
    margin-bottom: 0.5rem;
}

/* ============================================
   BENEFIT BLOCK - TREATMENT バリアント
   （タイトル中央 + 試験詳細 + 画像/グラフ2カラム）
   ============================================ */
.benefit-block--treatment {
    display: block;
}
.benefit-block--treatment .benefit-block__title {
    text-align: center;
    margin-bottom: 2rem;
}
.benefit-block--treatment .benefit-block__desc {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2rem;
}
.benefit-block--treatment .benefit-block__text {
    margin-bottom: 3rem;
}
.benefit-block--treatment .test-method {
    max-width: 100%;
    margin: 0;
}

/* 画像＋グラフの2カラム結果 */
.treatment-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1rem;
}
.treatment-result__col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    background: #f5f5f5;
}
.treatment-result__caption {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.3rem;
    color: #555;
    letter-spacing: 0.05em;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .treatment-result {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .treatment-result__caption {
        font-size: 1.2rem;
    }
}

.benefit-block--scalp {
    border-bottom: none;
    padding-bottom: 0;
}
/* ============================================
   2026-05-26 クライアント指示修正分
   ============================================ */

/* --- 価格バッジ下の注記（カラー別価格） --- */
.price-note {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--refa-gray);
    letter-spacing: 0.05em;
}

/* --- ※イメージ表記（クレンズ作用のみ・水流カードは非表示） --- */
.photo-card--illustrative .photo-card__image,
.flow-card--illustrative .flow-card__img-wrap {
    position: relative;
}
.photo-card--illustrative .photo-card__image::after {
    content: "※イメージ";
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 1.1rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 8px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    line-height: 1;
    z-index: 2;
    font-family: var(--font-gothic);
}

/* --- 洗い残し画像 顔部分クローズアップ --- */
.benefit-block__compare--face .compare-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;
    background: #f5f5f5;
    border-radius: 4px;
}

/* --- 画像オーバーレイラベル（ファインバブルなし／あり） --- */
.image-overlay-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.image-overlay-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.overlay-label {
    position: absolute;
    top: 50%;
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.7rem 1.4rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-align: center;
    z-index: 2;
    white-space: nowrap;
    border-radius: 3px;
    backdrop-filter: blur(2px);
}
.overlay-label--left {
    left: 25%;
    transform: translate(-50%, -50%);
}
.overlay-label--right {
    left: 75%;
    transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
    .overlay-label {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
}

/* --- 機能ハイライト画像 全体表示（モード名・取り付け部分が見切れない） --- */
.photo-card--full-image .photo-card__image {
    aspect-ratio: 4 / 3;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-card--full-image .photo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* --- ランドリー構造画像 センター寄せ --- */
.technology__image--center-crop {
    overflow: hidden;
}
.technology__image--center-crop img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ============================================
   TECH DUO（ダブルスパイラルキャビテーション 2画像並び）
   ============================================ */
.tech-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.tech-duo__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}
.tech-duo__item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.tech-duo__caption {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: var(--font-gothic);
    font-weight: 500;
}
@media (max-width: 768px) {
    .tech-duo {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================
   LAUNDRY TECHNOLOGY 添付画像準拠
   ============================================ */

/* 見出し（小サブ + 大メイン の2行構成） */
.laundry-tech-heading {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    line-height: 1.4;
}
.laundry-tech-heading__sub {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    color: var(--refa-dark-gray);
    letter-spacing: 0.1em;
    font-weight: 400;
}
.laundry-tech-heading__main {
    font-size: clamp(2.4rem, 3.4vw, 3.2rem);
    color: var(--refa-black);
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* 本文 + 画像（PC: 左テキスト/右画像、SP: 縦積み） */
.laundry-tech {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.laundry-tech__text {
    padding: 1rem 0;
}
.laundry-tech__copy {
    font-family: var(--font-mincho);
    font-size: 1.6rem;
    line-height: 2.2;
    color: var(--refa-dark-gray);
    letter-spacing: 0.08em;
}
.laundry-tech__image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
}
.laundry-tech__image img {
    width: 100%;
    height: auto;
    display: block;
}
.laundry-tech__caption {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: var(--font-gothic);
    font-weight: 500;
}
@media (max-width: 900px) {
    .laundry-tech {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .laundry-tech__copy {
        text-align: center;
        font-size: 1.5rem;
        line-height: 2;
    }
}

/* ============================================
   LAUNDRY INSTALLATION 添付画像準拠
   ============================================ */
.laundry-install {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.laundry-install__text {
    padding: 1rem 0;
}
.laundry-install__copy {
    font-size: 1.5rem;
    line-height: 2.1;
    color: var(--refa-dark-gray);
    letter-spacing: 0.05em;
}
.laundry-install__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
@media (max-width: 900px) {
    .laundry-install {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .laundry-install__copy {
        text-align: center;
    }
}

/* ============================================
   LAUNDRY 新セクション (2026-06-02)
   ============================================ */

/* ---- 繊維の奥の汚れまで ---- */
.laundry-fiber {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.laundry-fiber__sub {
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    color: var(--refa-black);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.laundry-fiber__desc {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--refa-dark-gray);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}
.laundry-fiber__image {
    margin: 0;
    position: relative;
}
.laundry-fiber__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.laundry-fiber__image--pc { display: block; }
.laundry-fiber__image--sp { display: none; }

.laundry-fiber__caption-sp {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: var(--font-gothic);
    font-weight: 500;
}

@media (max-width: 768px) {
    .laundry-fiber__image--pc { display: none; }
    .laundry-fiber__image--sp {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        position: relative;
    }
}

/* ---- 皮脂・食べこぼし 2カード ---- */
.laundry-wash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}
.laundry-wash-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.laundry-wash-card__title {
    font-size: clamp(1.7rem, 2.4vw, 2.1rem);
    color: var(--refa-black);
    letter-spacing: 0.08em;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}
.laundry-wash-card__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.laundry-wash-card__note {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #777;
    letter-spacing: 0.02em;
    margin: 0;
}
@media (max-width: 900px) {
    .laundry-wash-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* ---- 洗濯槽 2カラム ---- */
.laundry-tub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}
.laundry-tub__col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.laundry-tub__note {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #777;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .laundry-tub {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ② 毛束（染色）画像のラベルを下からの余白で配置（毛束に被らないように） */
.treatment-result .overlay-label {
    top: auto;
    bottom: 3%;
    transform: translateX(-50%);
}

/* ③ タイトル直下の比較注釈（試験品エリアと同じ 1.5rem） */
.benefit-block--treatment .test-note-compare {
    text-align: center;
    font-size: 1.5rem;
    color: #555;
    line-height: 1.6;
    margin: -1rem 0 0;
}
