/* 佳葉生活 公式トップ専用。下層ページの style.css とは別設計。 */
.official-home-v6{
  --k6-bg:#f3efe6;
  --k6-paper:#fffdf8;
  --k6-ink:#23312e;
  --k6-blue:#315a72;
  --k6-coral:#df6d55;
  --k6-yellow:#e9c85c;
  --k6-green:#76927a;
  --k6-line:rgba(35,49,46,.18);
  margin:0;
  background:var(--k6-bg);
  color:var(--k6-ink);
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  font-feature-settings:"palt" 1;
  letter-spacing:.015em;
  line-height:1.75;
}
.official-home-v6 *{box-sizing:border-box}
.official-home-v6 a{color:inherit;text-decoration:none}
.official-home-v6 img{display:block;width:100%;height:100%;object-fit:cover}
.official-home-v6 button{font:inherit;color:inherit}
.official-home-v6 main{overflow:hidden}
.official-home-v6 h1,.official-home-v6 h2,.official-home-v6 p{margin-top:0}
.official-home-v6 h1,.official-home-v6 h2{word-break:keep-all;line-break:strict;overflow-wrap:normal}

.k6-header{position:sticky;top:0;z-index:90;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;min-height:72px;padding:10px 28px;border-bottom:1px solid var(--k6-line);background:rgba(243,239,230,.94);backdrop-filter:blur(16px)}
.k6-brand{display:flex;align-items:center;gap:12px;white-space:nowrap}
.k6-brand strong{font-size:19px;font-weight:700;letter-spacing:.08em}
.k6-brand-mark{position:relative;width:30px;height:30px;display:block}
.k6-brand-mark i{position:absolute;border-radius:50%;width:13px;height:13px}.k6-brand-mark i:nth-child(1){left:1px;top:3px;background:var(--k6-coral)}.k6-brand-mark i:nth-child(2){right:1px;top:3px;background:var(--k6-blue)}.k6-brand-mark i:nth-child(3){left:9px;bottom:1px;background:var(--k6-yellow)}
.k6-nav{display:flex;justify-content:center;gap:clamp(18px,3vw,48px);font-size:13px;font-weight:600}
.k6-nav a{position:relative;padding:12px 0}.k6-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:6px;height:2px;background:var(--k6-coral);transition:right .28s ease}.k6-nav a:hover::after{right:0}
.k6-header-actions{display:flex;align-items:center;gap:10px}.k6-feature-link{padding:9px 13px;border:1px solid var(--k6-ink);font-size:11px;font-weight:700;transition:.25s ease}.k6-feature-link:hover{background:var(--k6-ink);color:#fff}.k6-feature-link span{margin-left:7px}
.k6-menu{display:none;width:42px;height:42px;border:1px solid var(--k6-line);background:transparent;cursor:pointer}.k6-menu i{display:block;width:17px;height:1px;margin:5px auto;background:currentColor}
.k6-drawer{position:fixed;inset:0;z-index:120;background:rgba(35,49,46,.48);backdrop-filter:blur(6px)}.k6-drawer-inner{position:absolute;top:0;right:0;width:min(390px,88vw);height:100%;padding:90px 34px;background:var(--k6-paper);display:grid;align-content:start;gap:0}.k6-drawer-inner>a{padding:17px 0;border-bottom:1px solid var(--k6-line);font-size:17px}.k6-drawer-close{position:absolute;right:24px;top:20px;border:0;background:none;font-size:30px;cursor:pointer}

.k6-intro{padding:26px 28px 34px}.k6-intro-grid{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(420px,1.65fr) minmax(220px,.75fr);grid-template-rows:minmax(340px,54vh) 150px;gap:12px;max-width:1480px;margin:0 auto}
.k6-intro-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:flex-end;padding:34px 28px;border:1px solid var(--k6-line);background:var(--k6-paper)}
.k6-eyebrow{margin-bottom:auto!important;font-size:11px;font-weight:700;letter-spacing:.09em}.k6-intro-copy h1{margin:0 0 18px;font-size:clamp(27px,2.65vw,43px);line-height:1.35;font-weight:650;letter-spacing:.015em}.k6-intro-copy h1 span{display:block}.k6-lead{margin-bottom:26px!important;font-size:13px;color:rgba(35,49,46,.72)}
.k6-intro-links{display:flex;gap:8px;flex-wrap:wrap}.k6-intro-links a{padding:10px 15px;background:var(--k6-ink);color:#fff;font-size:11px}.k6-intro-links a+ a{background:transparent;color:var(--k6-ink);border:1px solid var(--k6-line)}
.k6-photo-stage{position:relative;grid-column:2;grid-row:1/3;min-height:500px;background:#d7dfdc;overflow:hidden}
.k6-photo-main{position:absolute;inset:0}.k6-photo-slide{position:absolute;inset:0;margin:0;opacity:0;transform:scale(1.045);clip-path:inset(0 0 0 100%);transition:opacity .2s linear,clip-path .85s cubic-bezier(.22,.61,.36,1),transform 5.8s ease}.k6-photo-slide.is-active{opacity:1;clip-path:inset(0);transform:scale(1)}
.k6-photo-stage::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(17,31,28,.26));pointer-events:none}
.k6-photo-tabs{position:absolute;left:18px;bottom:18px;z-index:3;display:flex;background:rgba(255,253,248,.92);padding:5px;gap:3px}.k6-photo-tabs button{display:grid;grid-template-columns:auto 28px;align-items:center;gap:8px;border:0;background:transparent;padding:8px 10px;font-size:10px;cursor:pointer}.k6-photo-tabs button i{display:block;height:2px;background:rgba(35,49,46,.18);overflow:hidden}.k6-photo-tabs button i::after{content:"";display:block;height:100%;width:0;background:var(--k6-coral)}.k6-photo-tabs button.is-active i::after{animation:k6-progress 5.2s linear forwards}@keyframes k6-progress{to{width:100%}}
.k6-photo-snapshot{position:absolute;right:20px;top:20px;z-index:2;margin:0;width:clamp(90px,10vw,150px);aspect-ratio:1;border:6px solid var(--k6-paper);box-shadow:0 14px 40px rgba(0,0,0,.16);transform:rotate(3deg);animation:k6-float 5s ease-in-out infinite}@keyframes k6-float{50%{transform:translateY(8px) rotate(-2deg)}}
.k6-intro-news{grid-column:3;grid-row:1;padding:24px;background:var(--k6-blue);color:#fff;display:flex;flex-direction:column}.k6-news-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.25);font-size:11px}.k6-news-head a{text-decoration:underline;text-underline-offset:3px}.k6-news-rotator{position:relative;min-height:210px;flex:1}.k6-news-item{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;transform:translateY(12px);pointer-events:none;transition:.45s ease}.k6-news-item.is-active{opacity:1;transform:none;pointer-events:auto}.k6-news-item time{font-size:11px;opacity:.72}.k6-news-item p{margin:12px 0 0;font-size:18px;line-height:1.65;font-weight:600;word-break:keep-all}.k6-news-dots{display:flex;gap:6px}.k6-news-dots i{width:8px;height:8px;border:1px solid rgba(255,255,255,.65);border-radius:50%}.k6-news-dots i.is-active{background:#fff}
.k6-intro-feature{grid-column:1;grid-row:2;background:var(--k6-yellow);padding:21px 24px;display:flex;align-items:flex-end;justify-content:space-between;transition:transform .3s ease,box-shadow .3s ease}.k6-intro-feature:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(35,49,46,.12)}.k6-intro-feature>div{display:grid;gap:2px}.k6-intro-feature span{font-size:10px}.k6-intro-feature strong{font-size:18px;line-height:1.4}.k6-intro-feature p{margin:3px 0 0;font-size:10px}.k6-feature-arrow{font-size:22px!important}

.k6-product-section{display:grid;grid-template-columns:minmax(210px,.62fr) minmax(0,2.2fr);gap:28px;max-width:1480px;margin:0 auto;padding:100px 28px 118px}.k6-product-side{align-self:start;position:sticky;top:104px;padding-right:22px}.k6-product-side>span,.k6-company-copy>span,.k6-news-title>span{display:inline-block;margin-bottom:12px;padding:5px 9px;background:var(--k6-coral);color:#fff;font-size:10px;font-weight:700}.k6-product-side h2{font-size:clamp(24px,2.4vw,36px);line-height:1.45;margin-bottom:18px}.k6-product-side p{font-size:12px;color:rgba(35,49,46,.7);max-width:260px}.k6-product-side a{display:inline-block;margin-top:18px;border-bottom:1px solid;padding-bottom:3px;font-size:12px;font-weight:700}
.k6-product-wall{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}.k6-product-card{position:relative;display:block;background:var(--k6-paper);border:1px solid var(--k6-line);overflow:hidden;transform:translateY(24px);opacity:0;transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease}.k6-product-card.is-visible{opacity:1;transform:none}.k6-product-card:nth-child(1){grid-column:1/8}.k6-product-card:nth-child(2){grid-column:8/13}.k6-product-card:nth-child(3){grid-column:1/5}.k6-product-card:nth-child(4){grid-column:5/9}.k6-product-card:nth-child(5){grid-column:9/13}.k6-product-card:nth-child(6){grid-column:3/11}.k6-product-card figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:#ece8df}.k6-product-card img{transition:transform .55s cubic-bezier(.2,.7,.2,1)}.k6-product-card:hover img{transform:scale(1.035)}.k6-product-card:hover{box-shadow:0 18px 40px rgba(35,49,46,.11)}.k6-product-card>div{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:14px;padding:13px 15px;border-top:1px solid var(--k6-line)}.k6-product-card small{font-size:9px;color:rgba(35,49,46,.58)}.k6-product-card strong{font-size:17px}.k6-product-card span{font-size:9px;text-align:right;color:rgba(35,49,46,.62)}.k6-card-yohaku{background:#f3f0dc}.k6-card-hitoiki{background:#e7eef1}

.k6-company-strip{display:grid;grid-template-columns:minmax(350px,1.25fr) minmax(270px,.9fr) minmax(240px,.75fr);min-height:520px;border-top:1px solid var(--k6-line);border-bottom:1px solid var(--k6-line);background:var(--k6-paper)}.k6-company-photo{overflow:hidden}.k6-company-photo img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}.k6-company-strip.is-visible .k6-company-photo img{transform:scale(1.03)}.k6-company-copy{padding:58px 42px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--k6-line)}.k6-company-copy h2{font-size:clamp(24px,2.5vw,38px);line-height:1.45;margin-bottom:20px}.k6-company-copy p{font-size:12px;max-width:440px}.k6-company-links{display:flex;gap:20px;margin-top:24px}.k6-company-links a{font-size:12px;font-weight:700;border-bottom:1px solid}.k6-company-data{margin:0;display:grid;grid-template-rows:repeat(4,1fr)}.k6-company-data div{display:flex;flex-direction:column;justify-content:center;padding:20px 28px;border-bottom:1px solid var(--k6-line)}.k6-company-data div:last-child{border-bottom:0}.k6-company-data dt{font-size:10px;color:rgba(35,49,46,.55)}.k6-company-data dd{margin:5px 0 0;font-size:17px;font-weight:650;line-height:1.45}

.k6-news-list-section{display:grid;grid-template-columns:minmax(180px,.45fr) minmax(0,1.8fr) auto;gap:28px;align-items:start;max-width:1380px;margin:0 auto;padding:100px 28px 130px}.k6-news-title h2{font-size:31px;margin-bottom:0}.k6-news-list{border-top:1px solid var(--k6-ink)}.k6-news-list a{display:grid;grid-template-columns:110px 84px minmax(0,1fr) 30px;gap:12px;align-items:center;padding:18px 4px;border-bottom:1px solid var(--k6-line);font-size:12px;transition:padding-left .25s ease,background .25s ease}.k6-news-list a:hover{padding-left:12px;background:rgba(255,255,255,.45)}.k6-news-list time{font-size:10px}.k6-news-list b{font-size:10px;color:var(--k6-blue)}.k6-news-list span{min-width:0;word-break:keep-all}.k6-news-list i{font-style:normal;text-align:right}.k6-news-more{font-size:11px;font-weight:700;border:1px solid var(--k6-ink);padding:10px 13px;white-space:nowrap}

.k6-footer{padding:52px 28px 96px;background:#22332f;color:#f7f3ea;display:grid;grid-template-columns:1fr auto;gap:28px}.k6-footer-main strong{font-size:18px;letter-spacing:.08em}.k6-footer-main p{margin:10px 0 0;font-size:10px;opacity:.68}.k6-footer nav{display:flex;gap:24px;font-size:11px}.k6-footer .fiction-note{grid-column:1/-1;margin:34px 0 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.16);font-size:9px;opacity:.62}

.official-home-v6 [data-k6-reveal]{opacity:0;transform:translateY(16px);transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1)}.official-home-v6 [data-k6-reveal].is-visible{opacity:1;transform:none}
.official-home-v6 .page-count{position:fixed;right:14px;bottom:12px;z-index:110;padding:9px 12px;background:#22332f;color:#fff;font-size:9px;letter-spacing:.08em}.official-home-v6 .history-trigger{position:fixed;left:14px;bottom:12px;z-index:112;padding:10px 15px;border:0;background:#22332f;color:#fff;font-size:10px;cursor:pointer}.official-home-v6 .history-overlay{position:fixed;inset:0;z-index:116;background:rgba(8,18,13,.46)}.official-home-v6 .history-panel{position:fixed;left:16px;bottom:58px;z-index:117;width:min(360px,calc(100vw - 32px));padding:28px;background:var(--k6-paper);box-shadow:0 24px 70px rgba(20,36,27,.26)}.official-home-v6 .history-panel h2{font-size:20px}.official-home-v6 .history-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:24px}.official-home-v6 .history-list{display:grid;gap:7px}.official-home-v6 .history-list a{padding:10px;border-bottom:1px solid var(--k6-line);font-size:11px}

@media(max-width:1050px){.k6-header{grid-template-columns:auto 1fr}.k6-nav{display:none}.k6-header-actions{justify-self:end}.k6-menu{display:block}.k6-feature-link{display:none}.k6-intro-grid{grid-template-columns:.85fr 1.5fr;grid-template-rows:300px 170px 160px}.k6-intro-copy{grid-column:1;grid-row:1/3}.k6-photo-stage{grid-column:2;grid-row:1/3}.k6-intro-news{grid-column:1;grid-row:3}.k6-intro-feature{grid-column:2;grid-row:3}.k6-company-strip{grid-template-columns:1.25fr 1fr}.k6-company-data{grid-column:1/-1;grid-template-columns:repeat(4,1fr);grid-template-rows:none;border-top:1px solid var(--k6-line)}.k6-company-data div{border-bottom:0;border-right:1px solid var(--k6-line)}.k6-company-data div:last-child{border-right:0}.k6-news-list-section{grid-template-columns:180px 1fr}.k6-news-more{grid-column:2;justify-self:start}}
@media(max-width:760px){.k6-header{min-height:62px;padding:8px 15px}.k6-brand strong{font-size:16px}.k6-brand-mark{width:26px;height:26px}.k6-intro{padding:14px}.k6-intro-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 330px 160px 140px;gap:8px}.k6-intro-copy{grid-column:1/-1;grid-row:1;padding:24px}.k6-eyebrow{margin-bottom:28px!important}.k6-intro-copy h1{font-size:28px}.k6-lead{font-size:12px}.k6-photo-stage{grid-column:1/-1;grid-row:2;min-height:0}.k6-photo-snapshot{width:88px;right:12px;top:12px}.k6-photo-tabs{left:10px;bottom:10px}.k6-intro-news{grid-column:1;grid-row:3;padding:17px}.k6-news-rotator{min-height:100px}.k6-news-item p{font-size:13px;line-height:1.55}.k6-intro-feature{grid-column:2;grid-row:3;padding:16px}.k6-intro-feature strong{font-size:14px}.k6-product-section{display:block;padding:72px 14px 90px}.k6-product-side{position:static;padding:0 0 28px}.k6-product-side h2{font-size:28px}.k6-product-wall{gap:8px}.k6-product-card:nth-child(n){grid-column:span 6}.k6-product-card:nth-child(1),.k6-product-card:nth-child(6){grid-column:1/-1}.k6-product-card>div{display:block;padding:11px}.k6-product-card small,.k6-product-card span{display:block}.k6-product-card strong{display:block;margin:2px 0;font-size:15px}.k6-product-card span{font-size:8px;text-align:left}.k6-company-strip{display:block;min-height:0}.k6-company-photo{height:320px}.k6-company-copy{padding:42px 22px;border-right:0}.k6-company-copy h2{font-size:26px}.k6-company-data{grid-template-columns:1fr 1fr}.k6-company-data div{border-bottom:1px solid var(--k6-line)}.k6-news-list-section{display:block;padding:72px 14px 100px}.k6-news-title{margin-bottom:25px}.k6-news-list a{grid-template-columns:82px 62px 1fr 18px;gap:6px;padding:15px 2px;font-size:10px}.k6-news-more{display:inline-block;margin-top:22px}.k6-footer{display:block;padding:44px 20px 90px}.k6-footer nav{margin-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:10px}}
@media(max-width:460px){.k6-intro-grid{grid-template-rows:auto 280px 154px 132px}.k6-intro-copy h1{font-size:25px}.k6-intro-copy h1 span{display:inline}.k6-intro-copy h1 span+span::before{content:" "}.k6-photo-tabs button{grid-template-columns:auto;padding:7px}.k6-photo-tabs button i{display:none}.k6-product-card:nth-child(n){grid-column:1/-1}.k6-company-data{grid-template-columns:1fr}.k6-company-data div{border-right:0}.k6-news-list a{grid-template-columns:72px 1fr 18px}.k6-news-list b{display:none}.k6-news-list span{line-height:1.55}}
@media(prefers-reduced-motion:reduce){.official-home-v6 *{animation:none!important;transition:none!important}.official-home-v6 [data-k6-reveal],.k6-product-card{opacity:1!important;transform:none!important}}

/* --- V7.1 readability pass: small text only, layout unchanged --- */
.k6-nav{font-size:14px}
.k6-feature-link{font-size:12.5px}
.k6-eyebrow{font-size:12.5px}
.k6-lead{font-size:14px;line-height:1.85}
.k6-intro-links a{font-size:12.5px}
.k6-photo-tabs button{font-size:12px}
.k6-news-head{font-size:12px}
.k6-news-item time{font-size:12px}
.k6-intro-feature span{font-size:11.5px}
.k6-intro-feature strong{font-size:19px}
.k6-intro-feature p{font-size:12px;line-height:1.65}
.k6-product-side>span,.k6-company-copy>span,.k6-news-title>span{font-size:11.5px}
.k6-product-side p{font-size:14px;line-height:1.85}
.k6-product-side a{font-size:13px}
.k6-product-card small{font-size:11px;line-height:1.5}
.k6-product-card strong{font-size:18px}
.k6-product-card span{font-size:11px;line-height:1.5}
.k6-company-copy p{font-size:14px;line-height:1.85}
.k6-company-links a{font-size:13px}
.k6-company-data dt{font-size:11.5px}
.k6-company-data dd{font-size:18px}
.k6-news-list a{font-size:13px;line-height:1.7}
.k6-news-list time,.k6-news-list b{font-size:11.5px}
.k6-news-more{font-size:12.5px}
.k6-footer-main p{font-size:11.5px;line-height:1.7}
.k6-footer nav{font-size:12px}
.k6-footer .fiction-note{font-size:10px;line-height:1.7}
.official-home-v6 .page-count{font-size:10.5px}
.official-home-v6 .history-trigger{font-size:11.5px}
.official-home-v6 .history-list a{font-size:12px;line-height:1.6}
@media(max-width:760px){
  .k6-news-item p{font-size:14px}
  .k6-intro-feature strong{font-size:16px}
  .k6-product-card small,.k6-product-card span{font-size:11px}
  .k6-product-card strong{font-size:16px}
  .k6-news-list a{font-size:12px}
  .k6-news-list time,.k6-news-list b{font-size:10.5px}
}

/* --- V7.2 overflow fix: readable type must wrap inside its own module --- */
.official-home-v6 h1,
.official-home-v6 h2,
.official-home-v6 h3,
.official-home-v6 p,
.official-home-v6 strong,
.official-home-v6 small,
.official-home-v6 dd,
.official-home-v6 dt,
.official-home-v6 .k6-news-list span{
  word-break:normal;
  line-break:strict;
  overflow-wrap:anywhere;
}
.official-home-v6 h1,
.official-home-v6 h2,
.official-home-v6 h3{ text-wrap:pretty; }

.k6-header > *,
.k6-intro-grid > *,
.k6-intro-copy,
.k6-intro-copy h1,
.k6-intro-copy h1 span,
.k6-intro-news,
.k6-news-rotator,
.k6-news-item,
.k6-intro-feature,
.k6-intro-feature > div,
.k6-product-section > *,
.k6-product-side,
.k6-product-wall,
.k6-product-card,
.k6-product-card > div,
.k6-product-card > div > *,
.k6-company-strip > *,
.k6-company-copy,
.k6-company-data,
.k6-company-data div,
.k6-news-list-section > *,
.k6-news-list,
.k6-news-list a,
.k6-news-list a > *{min-width:0}

.k6-news-item p,
.k6-news-list span{word-break:normal;overflow-wrap:anywhere}
.k6-intro-copy h1 span{max-width:100%}
.k6-product-side h2,.k6-company-copy h2{max-width:100%}

/* Product metadata has three pieces; allow the third one to use its own row
   before it ever forces the product name outside the card. */
@media (max-width:1280px){
  .k6-product-card>div{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .k6-product-card>div>span{grid-column:1/-1;text-align:left}
}

@media(max-width:1050px){
  .k6-intro-copy h1{font-size:clamp(28px,3.5vw,38px)}
  .k6-product-side h2{font-size:clamp(25px,3vw,33px)}
  .k6-company-copy h2{font-size:clamp(25px,3.1vw,34px)}
}

@media(max-width:760px){
  .k6-intro-copy h1,.k6-product-side h2,.k6-company-copy h2{overflow-wrap:anywhere}
  .k6-product-card>div{display:block}
}
