/* ==========================================
   RESET / BASE
========================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#000;
    color:#fff;
    font-family:"Yu Mincho","游明朝",serif;
    line-height:2.05;
    overflow-x:hidden;
}

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

a{
    color:inherit;
    text-decoration:none;
}

ul{
    list-style:none;
}

button{
    font:inherit;
}

:root{
    --gold:#bfa15f;
    --line:rgba(191,161,95,.22);
    --text-soft:rgba(255,255,255,.82);
    --panel:#080808;
}

.container{
    width:min(1400px,92%);
    margin:0 auto;
}

/* ==========================================
   HEADER
========================================== */
#header{
    position:relative;
    z-index:999;
    width:100%;
    background:#000;
    border-bottom:1px solid rgba(191,161,95,.14);
    overflow:visible;
}

.header-inner{
    width:min(1500px,94%);
    min-height:112px;
    margin:0 auto;
    padding:16px 0;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:36px;
    overflow:visible;
}

.logo{
    display:flex;
    align-items:center;
    min-width:0;
    overflow:visible;
}

.logo img{
    width:250px;
    max-width:100%;
    height:auto;
    object-fit:contain;
}

#header nav{
    justify-self:center;
}

#header nav ul{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:clamp(18px,2.2vw,42px);
}

#header nav a{
    font-size:15px;
    white-space:nowrap;
    transition:.25s;
}

#header nav a:hover{
    color:var(--gold);
}

.partner-btn{
    border:1px solid var(--gold);
    padding:13px 22px;
    white-space:nowrap;
    transition:.25s;
}

.partner-btn:hover{
    background:var(--gold);
    color:#000;
}

.hamburger{
    display:none;
}

/* ==========================================
   ABOUT FLORE / FIRST VIEW
   ヘッダーを含めて最初の1画面に収める
========================================== */
.about-intro{
    position:relative;
    width:min(1500px,94%);
    height:calc(100svh - 112px);
    min-height:640px;
    margin:0 auto;
    padding:clamp(34px,5vh,72px) 0 clamp(88px,10vh,112px);
    display:grid;
    grid-template-columns:minmax(0,44%) minmax(0,56%);
    align-items:center;
    gap:clamp(42px,5vw,88px);
    overflow:visible;
}

.about-intro-copy{
    min-width:0;
    max-width:760px;
    padding-left:clamp(0px,2vw,30px);
    text-align:center;
}

.about-intro-sub{
    color:var(--gold);
    letter-spacing:.42em;
    font-size:15px;
    margin-bottom:clamp(14px,2vh,25px);
}

.about-intro h1{
    font-size:clamp(38px,3.6vw,64px);
    line-height:1.22;
    font-weight:400;
    margin-bottom:clamp(18px,3vh,32px);
}

.about-intro h1 span{
    color:var(--gold);
}

.about-intro-copy > p:not(.about-intro-sub):not(.about-intro-last){
    font-size:16px;
    line-height:1.9;
    margin-bottom:14px;
    color:rgba(255,255,255,.9);
}

.about-intro-last{
    color:var(--gold);
    font-size:clamp(22px,1.9vw,27px);
    font-weight:600;
    margin-top:clamp(14px,2vh,24px);
}

.about-intro-image{
    min-width:0;
    width:100%;
    height:min(62vh,650px);
    overflow:hidden;
}

.about-intro-image img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    object-position:58% center;
    opacity:1 !important;
    visibility:visible !important;
}

@media screen and (min-width:769px){
    .about-intro-copy,
    .about-intro-image{
        transform:translateY(-10px);
    }
}

/* ==========================================
   COMMON SECTION
========================================== */
section{
    position:relative;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-sub{
    color:var(--gold);
    font-size:15px;
    letter-spacing:.42em;
    margin-bottom:18px;
}

.section-title h2{
    font-size:clamp(38px,4vw,52px);
    font-weight:400;
    line-height:1.35;
    margin-bottom:24px;
}

.section-copy{
    font-size:17px;
    line-height:2;
    color:var(--text-soft);
}

/* ==========================================
   FLORE VALUE
========================================== */
.value-section{
    padding:118px 0 132px;
    background:#000;
}

.value-section::before{
    content:"";
    display:block;
    width:110px;
    height:1px;
    margin:0 auto 68px;
    background:var(--gold);
    opacity:.45;
}

.value-section::after{
    content:"";
    display:block;
    width:90%;
    height:1px;
    margin:110px auto 0;
    background:rgba(191,161,95,.15);
}

.value-section .container{
    width:min(1740px,96%);
}

.value-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:18px;
}

.value-card{
    min-width:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:var(--panel);
    border:1px solid rgba(191,161,95,.18);
    transition:transform .25s,border-color .25s;
}

.value-card:hover{
    transform:translateY(-5px);
    border-color:var(--gold);
}

.value-image{
    aspect-ratio:1.22 / 1;
    overflow:hidden;
}

.value-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.value-body{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:21px 15px 25px;
}

.value-body h3{
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:clamp(15px,1.1vw,20px);
    line-height:1.55;
    font-weight:400;
    margin-bottom:12px;
}


/* ウォータートリートメント見出しの改行位置を固定 */
.wt-title-line{
    white-space:nowrap;
}
.value-body p{
    text-align:center;
    font-size:13px;
    line-height:1.75;
    color:var(--text-soft);
}

/* ==========================================
   PROPOSAL
========================================== */
.proposal-section{
    padding:124px 0;
}

.proposal-section .container{
    width:min(1580px,94%);
}

.proposal-wrap{
    display:grid;
    grid-template-columns:minmax(250px,.9fr) minmax(300px,420px) minmax(440px,1.25fr);
    gap:54px;
    align-items:center;
}

.proposal-left h3{
    color:var(--gold);
    font-size:32px;
    font-weight:400;
    margin-bottom:18px;
}

.proposal-left p{
    font-size:17px;
    line-height:2.1;
    color:rgba(255,255,255,.86);
    margin-bottom:46px;
}

.proposal-left p:last-child{
    margin-bottom:0;
}

.proposal-center{
    display:flex;
    align-items:center;
    justify-content:center;
}

.proposal-center img{
    width:100%;
    max-width:390px;
    filter:drop-shadow(0 22px 45px rgba(0,0,0,.45));
}

.proposal-right{
    display:grid;
    grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);
    gap:34px;
    align-items:stretch;
}

.proposal-right::before{
    content:"";
    grid-column:2;
    grid-row:1;
    width:1px;
    min-height:290px;
    background:rgba(191,161,95,.42);
}

.proposal-card{
    padding:10px 8px;
    text-align:center;
}

.proposal-card:first-child{
    grid-column:1;
    grid-row:1;
}

.proposal-card:last-child{
    grid-column:3;
    grid-row:1;
}

.proposal-card img{
    width:150px;
    max-width:100%;
    margin:0 auto 22px;
}

.proposal-card h4{
    font-size:24px;
    font-weight:400;
    margin-bottom:15px;
}

.proposal-card p{
    font-size:15px;
    line-height:1.9;
    color:var(--text-soft);
}

/* ==========================================
   FLOW
========================================== */
.flow-section{
    padding:124px 0 110px;
}

.flow-section .container{
    width:min(1620px,96%);
}

.flow-wrap{
    display:grid;
    grid-template-columns:
        minmax(0,1fr) 48px
        minmax(0,1fr) 48px
        minmax(0,1fr) 48px
        minmax(0,1fr) 48px
        minmax(0,1fr);
    gap:8px;
    align-items:start;
}

.flow-item{
    min-width:0;
    text-align:center;
}

.flow-icon{
    width:100%;
    height:190px;
    margin:0 auto 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
}

.flow-icon img{
    width:176px;
    height:176px;
    max-width:100%;
    object-fit:contain;
}

.flow-item:nth-child(5) .flow-icon img{
    width:160px;
    height:160px;
}

.flow-item h3{
    min-height:66px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    font-size:21px;
    line-height:1.55;
    font-weight:400;
    margin-bottom:14px;
}

.flow-item p{
    font-size:14px;
    line-height:1.8;
    color:var(--text-soft);
}

.flow-arrow{
    color:var(--gold);
    font-size:52px;
    line-height:1;
    text-align:center;
    margin-top:70px;
}

/* ==========================================
   FOOTER
========================================== */
#flore-footer{
    padding:50px 0;
    background:#000;
    border-top:1px solid rgba(191,161,95,.18);
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:45px;
    margin-bottom:20px;
}

.footer-links a{
    color:var(--gold);
}

.copyright{
    text-align:center;
    color:#888;
    font-size:14px;
}

/* ==========================================
   DRAWER
========================================== */
#drawer{
    position:fixed;
    top:0;
    right:-100%;
    z-index:9999;
    width:320px;
    max-width:85%;
    height:100%;
    padding:90px 40px;
    background:#000;
    transition:right .35s;
}

#drawer.open{
    right:0;
}

#drawer a{
    display:block;
    padding:18px 0;
    border-bottom:1px solid rgba(191,161,95,.2);
}

#drawer a:hover{
    color:var(--gold);
}

/* ==========================================
   TABLET
========================================== */
@media screen and (max-width:1350px){
    .header-inner{
        grid-template-columns:auto 1fr auto;
        gap:22px;
    }

    .logo img{
        width:215px;
    }

    #header nav ul{
        gap:18px;
    }

    .partner-btn{
        padding:12px 15px;
    }

    .about-intro{
        grid-template-columns:43% 57%;
        gap:38px;
    }

    .value-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:24px;
    }

    .value-image{
        aspect-ratio:16 / 10;
    }

    .value-body h3{
        min-height:0;
        font-size:21px;
    }

    .value-body p{
        font-size:15px;
    }

    .proposal-wrap{
        grid-template-columns:.9fr 350px 1.1fr;
        gap:34px;
    }

    .proposal-card img{
        width:130px;
    }

    .flow-icon img{
        width:145px;
        height:145px;
    }

    .flow-item h3{
        font-size:18px;
    }
}

/* ==========================================
   MOBILE
========================================== */
@media screen and (max-width:768px){
    #header{
        position:relative;
        background:#000;
    }

    .header-inner{
        min-height:92px;
        padding:10px 0;
        display:flex;
        justify-content:space-between;
        gap:20px;
    }

    .logo img{
        width:205px;
    }

    #header nav,
    .partner-btn{
        display:none;
    }

    .hamburger{
        display:flex;
        flex:0 0 50px;
        width:50px;
        height:50px;
        align-items:center;
        justify-content:center;
        color:#fff;
        font-size:28px;
        background:none;
        border:1px solid var(--gold);
        cursor:pointer;
    }

    .about-intro{
        width:100%;
        height:calc(100svh - 92px);
        min-height:700px;
        padding:24px 0 72px;
        display:grid;
        grid-template-columns:1fr;
        grid-template-rows:auto minmax(190px,1fr);
        align-content:stretch;
        gap:20px;
        overflow:hidden;
    }

    .about-intro-copy{
        order:1;
        width:100%;
        max-width:none;
        padding:0 7%;
    }

    .about-intro-image{
        order:2;
        width:100%;
        height:auto;
        min-height:0;
        margin-top:0;
        overflow:hidden;
    }

    .about-intro-image img{
        display:block !important;
        width:100% !important;
        height:auto !important;
        aspect-ratio:16 / 10;
        object-fit:cover;
        object-position:58% center;
    }

    .about-intro-sub{
        margin-bottom:10px;
        font-size:12px;
    }

    .about-intro h1{
        font-size:clamp(30px,8.8vw,40px);
        margin-bottom:14px;
    }

    .about-intro-copy > p:not(.about-intro-sub):not(.about-intro-last){
        font-size:13px;
        line-height:1.65;
        margin-bottom:5px;
    }

    .about-intro-last{
        font-size:21px;
        margin-top:10px;
    }

    .section-title{
        margin-bottom:52px;
    }

    .section-title h2{
        font-size:38px;
    }

    .section-copy{
        font-size:16px;
    }

    .value-section,
    .proposal-section,
    .flow-section{
        padding:90px 0;
    }

    .value-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .value-image{
        aspect-ratio:16 / 9;
    }

    .proposal-wrap{
        grid-template-columns:1fr;
        gap:46px;
    }

    .proposal-left{
        order:1;
    }

    .proposal-center{
        order:2;
    }

    .proposal-right{
        order:3;
        grid-template-columns:1fr;
        gap:30px;
    }

    .proposal-right::before{
        display:none;
    }

    .proposal-card:first-child,
    .proposal-card:last-child{
        grid-column:1;
        grid-row:auto;
    }

    .proposal-card{
        padding:18px 10px;
    }

    .proposal-card img{
        width:145px;
    }

    .flow-wrap{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:0;
    }

    .flow-item{
        width:100%;
        max-width:360px;
    }

    .flow-icon{
        height:185px;
    }

    .flow-icon img{
        width:165px;
        height:165px;
    }

    .flow-item h3{
        min-height:0;
        font-size:22px;
        margin-bottom:10px;
    }

    .flow-item p{
        font-size:15px;
    }

    .flow-arrow{
        margin:8px 0;
        transform:rotate(90deg);
    }

    .footer-links{
        flex-direction:column;
        align-items:center;
        gap:18px;
    }
}

/* Scroll guide */
.scroll-guide{
    position:absolute;
    left:50%;
    bottom:max(22px,env(safe-area-inset-bottom));
    transform:translateX(-50%);
    z-index:20;
    text-align:center;
}

.scroll-guide a{
    display:flex;
    flex-direction:column;
    align-items:center;
    color:var(--gold);
    font-size:11px;
    letter-spacing:.25em;
}

.scroll-arrow{
    display:block;
    font-size:24px;
    line-height:1;
    margin-top:4px;
    animation:scrollMove 1.8s ease-in-out infinite;
}

@keyframes scrollMove{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(8px);}
}

@media screen and (max-width:768px){
    .scroll-guide{
        bottom:max(12px,env(safe-area-inset-bottom));
    }
}


/* ===== Smartphone copy alignment only ===== */
@media screen and (max-width:768px){
  .about-intro-copy{
    text-align:center !important;
  }

  .about-intro-copy h1{
    width:100%;
    text-align:center !important;
    margin-left:auto;
    margin-right:auto;
  }

  .about-intro-copy p,
  .about-intro-sub,
  .about-intro-last{
    text-align:center !important;
  }
}


/* ===== VALUE CARD CTA / CLICKABLE ===== */
.value-card{
    cursor:pointer;
    color:inherit;
    text-decoration:none;
}

/* 6枚すべて：CTAをカード最下部へ固定 */
.value-body{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
}

.value-body > p{
    margin-bottom:20px;
}

.value-more{
    display:block;
    flex:0 0 auto;
    margin-top:auto !important;
    padding-top:16px;
    text-align:center;
    color:#bfa15f !important;
    font-size:13px;
    letter-spacing:.08em;
    border-top:1px solid rgba(191,161,95,.28);
    transition:letter-spacing .25s;
}

.value-card:link .value-more,
.value-card:visited .value-more,
.value-card:hover .value-more,
.value-card:active .value-more{
    color:#bfa15f !important;
}

.value-card:hover .value-more{
    letter-spacing:.14em;
}

@media screen and (max-width:768px){
    .value-more{
        padding-top:16px;
        font-size:14px;
    }
}
