/*
Theme Name: ライフジェネレーション 2026
Theme URI: https://life-generation.com/
Description: ライフジェネレーション株式会社サイト用のデザインテーマ。Lightning の子テーマとして動作し、既存の固定ページ・お問い合わせフォーム・設定はそのまま使います。
Author: ライフジェネレーション株式会社
Template: lightning
Version: 1.12.0
Text Domain: life-generation-2026
*/


:root{--bg:#FFFFFF;--mist:#FDF7F1;--mist2:#F9EDE2;--line:#EADFD4;--dash:#C2AC96;--text:#332D2B;--sub:#6A5E55;--accent:#B4551A;--brand:#DB8A3B;--brand2:#CE5C3A;--on-accent:#FFFFFF}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--bg:#FFFFFF;--mist:#FDF7F1;--mist2:#F9EDE2;--text:#332D2B}}
:root[data-theme="dark"]{--bg:#FFFFFF;--mist:#FDF7F1;--mist2:#F9EDE2;--text:#332D2B}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Zen Kaku Gothic New','Hiragino Sans','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;font-size:23px;line-height:2;-webkit-font-smoothing:antialiased}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.en{font-family:Figtree,'Helvetica Neue',Arial,sans-serif}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
section{scroll-margin-top:88px}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;background:#fff;padding:8px 12px;z-index:100}

/* header */
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line)}
.hd{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{text-decoration:none;display:flex;align-items:center;flex-shrink:0}.brand img{display:block;height:52px;width:auto;max-width:none;flex-shrink:0}
.gnav{display:flex;align-items:center;gap:32px;font-size:22px;white-space:nowrap}
.gnav a{text-decoration:none}
.gnav a:not(.btn):hover{color:var(--accent)}
.menu-btn{display:none;width:44px;height:44px;border:0;background:transparent;color:var(--text);padding:0;cursor:pointer}
.hd-right{display:flex;align-items:center;gap:6px}
.btn.sp-shop{display:none}

/* buttons */
.btn{letter-spacing:.06em;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 30px;border-radius:999px;text-decoration:none;font-weight:500;font-size:23px;line-height:1.4;border:1px solid transparent;transition:opacity .15s}
.btn:hover{opacity:.88}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn-outline{border-color:var(--text)}
.btn-small{min-height:44px;padding:0 22px;font-size:22px}
.btn-white{background:#fff;color:var(--accent);font-weight:700;min-height:56px;padding:0 40px}
.btn svg{flex-shrink:0}
.btns{display:flex;flex-wrap:wrap;gap:14px}
.textlink{color:var(--accent);font-weight:500;text-underline-offset:6px;display:inline-block;padding:8px 0}

/* sections */
.sec{padding:112px 0}
.sec.mist{background:var(--mist)}
h2{margin:0;font-size:49px;font-weight:700;letter-spacing:.04em;line-height:1.5}
h3{margin:0;font-size:30px;font-weight:700;line-height:1.6}
p{margin:0}
.lead{margin-top:12px;font-size:24px}
.ph{color:var(--sub)}

/* hero */
.hero{padding:104px 0 120px}
.catch-en{margin:0;font-size:clamp(44px,10.66vw,138px);line-height:.98;font-weight:600;letter-spacing:-.02em}
.hero-row{margin-top:56px;padding-top:40px;border-top:1px solid var(--line);display:grid;grid-template-columns:420px 1fr;gap:88px}
.hero h1{margin:0;font-size:43px;line-height:1.6;font-weight:500;letter-spacing:.06em;color:var(--accent)}
.hero-body{display:flex;flex-direction:column;gap:32px;max-width:610px;font-size:24px}

/* about */
.about{border-top:1px solid var(--line)}
.two{display:grid;grid-template-columns:320px 1fr;gap:88px}
.about-body{max-width:700px;font-size:24px;line-height:2.1;display:flex;flex-direction:column;gap:20px}

/* business */
.biz{margin-top:56px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;max-width:980px}
.biz article{padding-top:28px;border-top:2px solid var(--brand);display:flex;flex-direction:column;gap:14px}

/* shops */
.shops{margin-top:48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.shop{border:1px solid var(--line);border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.shop .mall{font-size:20px;color:var(--sub);line-height:1.4}
.shop h3{font-size:35px;margin-top:4px}
.shop p{flex-grow:1}
.shop p.shop-catch{flex-grow:0;color:var(--accent);font-weight:700;font-size:24px;margin-bottom:-8px}
.more-shops{margin-top:24px;border:1px solid var(--line);border-radius:8px;padding:22px 32px;font-size:23px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px}
.more-label{font-size:20px;color:var(--sub);font-weight:700;letter-spacing:.04em}

/* nagomin */
.nago{display:grid;grid-template-columns:420px 1fr;gap:88px}
.nago .kind{font-size:22px;color:var(--sub)}
.nago h2{font-size:103px;line-height:1;font-weight:600;letter-spacing:-.01em;margin-top:12px}
.nago-body{display:flex;flex-direction:column;gap:24px;max-width:610px}
.nago-copy{font-size:31px;line-height:1.8;font-weight:500}

/* company */
.company-row{margin-top:48px;display:grid;grid-template-columns:1fr 460px;gap:64px}
dl.info{margin:0;display:grid;grid-template-columns:minmax(150px,max-content) 1fr;column-gap:32px;line-height:1.8}
dl.info dt,dl.info dd{margin:0;padding:18px 0;border-bottom:1px solid var(--line)}
dl.info dt{color:var(--sub)}
.map{min-height:380px;background:var(--mist2);border:1px dashed var(--dash);border-radius:6px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--sub);font-size:20px;line-height:1.8;padding:24px}
.company-more{margin-top:24px}

/* contact */
.contact{background:var(--accent);color:var(--on-accent);padding:96px 0}
.contact .wrap{display:flex;justify-content:space-between;align-items:center;gap:64px}
.contact-body{display:flex;flex-direction:column;gap:16px;max-width:680px;font-size:24px}

/* footer */
footer.site{background:var(--mist2);padding:72px 0 40px;font-size:22px}
.ft{display:flex;justify-content:space-between;gap:48px}
.ft-co{display:flex;flex-direction:column;line-height:1.9}
.ft-co strong{font-size:24px}
.fnav{display:grid;grid-template-columns:repeat(3,minmax(0,auto));column-gap:56px;row-gap:4px}
.fnav a{text-decoration:none;padding:6px 0}
.fnav a:hover{color:var(--accent)}
.copy{margin-top:48px;font-size:19px;color:var(--sub)}

@media (max-width:1100px){
  .menu-btn{display:flex;align-items:center;justify-content:center}
  .btn.sp-shop{display:inline-flex}
  .gnav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 20px;font-size:23px}
  .gnav.open{display:flex}
  .gnav a{padding:14px 0;border-bottom:1px solid var(--line)}
  .gnav .btn{margin-top:16px;border-bottom:0;padding:0 30px}
}
/* tablet */
@media (max-width:1024px){
  .gnav{gap:20px;font-size:20px}
  .hero-row,.two,.nago{grid-template-columns:1fr;gap:28px}
  .biz{grid-template-columns:1fr;gap:40px}
  .company-row{grid-template-columns:1fr;gap:32px}
  .map{min-height:280px}
}
/* smartphone */
@media (max-width:768px){
  body{font-size:13px;line-height:1.95}
  .wrap{padding:0 20px}
  .hd{height:64px}
  .brand img{height:42px}
  .menu-btn{display:flex;align-items:center;justify-content:center}
  .sp-shop{display:inline-flex}
  .hd-right{display:flex;align-items:center;gap:6px}
  .gnav{display:none;position:absolute;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 20px;font-size:13px}
  .gnav.open{display:flex}
  .gnav a{padding:14px 0;border-bottom:1px solid var(--line)}
  .gnav .btn{margin-top:16px;border-bottom:0;padding:0 30px}
  .sec{padding:64px 0}
  .hero{padding:48px 0 64px}
  .hero-row{margin-top:32px;padding-top:28px}
  .hero h1{font-size:17px}
  .hero-body{font-size:13px;gap:24px}
  .btns{flex-direction:column}
  .btns .btn{width:100%}
  h2{font-size:21px}
  .lead,.about-body{font-size:13px}
  .shops{grid-template-columns:1fr;gap:20px}
  .shop{padding:24px}
  .shop h3{font-size:16px}
  .shop .btn{width:100%}
  .more-shops{padding:18px 20px;font-size:13px}
  .nago h2{font-size:39px}
  .nago-copy{font-size:15px}
  dl.info{grid-template-columns:1fr}
  dl.info dt{padding:14px 0 0;border-bottom:0;font-size:11px}
  dl.info dd{padding:0 0 14px}
  .map{min-height:220px}
  .contact{padding:56px 0}
  .contact .wrap{flex-direction:column;align-items:stretch;gap:24px}
  .contact-body{font-size:13px}
  .btn-white{width:100%}
  .ft{flex-direction:column;gap:28px}
  .fnav{grid-template-columns:1fr 1fr;column-gap:16px}
  .fnav a{padding:10px 0}
  .copy{margin-top:28px;font-size:11px}
}

/* greeting page */
.pg-head{padding:88px 0 48px;border-bottom:1px solid var(--line)}
.pg-head .crumb{font-size:20px;color:var(--sub)}
.pg-head .crumb a{color:var(--sub)}
.pg-head h1{margin:8px 0 0;font-size:58px;font-weight:700;letter-spacing:.04em;line-height:1.5}
.greet{display:grid;grid-template-columns:320px 1fr;gap:88px}
.greet-vision{font-size:43px;line-height:1.25;font-weight:600;letter-spacing:-.01em;color:var(--accent)}
.msg{max-width:700px;font-size:24px;line-height:2.2;display:flex;flex-direction:column;gap:1.4em}
.sign{margin-top:16px;line-height:1.9}
.sign strong{font-size:29px;letter-spacing:.1em}
dl.prof{margin:0;display:grid;grid-template-columns:120px 1fr;line-height:1.8;max-width:700px}
dl.prof dt,dl.prof dd{margin:0;padding:16px 0;border-bottom:1px solid var(--line)}
dl.prof dt{color:var(--sub)}
.back{margin-top:56px}
@media (max-width:1024px){.greet{grid-template-columns:1fr;gap:28px}}
@media (max-width:768px){
  .pg-head{padding:48px 0 32px}.pg-head h1{font-size:23px}
  .greet-vision{font-size:20px}.msg{font-size:13px;line-height:2.1}
  dl.prof{grid-template-columns:88px 1fr}
}

.genres{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;max-width:700px}
.genres li{padding:16px 0;border-bottom:1px solid var(--line);line-height:1.7}
@media (max-width:768px){.genres{grid-template-columns:1fr}}

.nago-hero{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.nago-hero h1{margin:8px 0 0;font-size:115px;line-height:1;font-weight:600;letter-spacing:-.01em}
.photo-slot{aspect-ratio:4/3;background:var(--mist2);border:1px dashed var(--dash);border-radius:6px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--sub);font-size:20px;line-height:1.8;padding:24px}
.points{display:flex;flex-direction:column;gap:0;max-width:700px}
.points li{list-style:none;padding:22px 0;border-bottom:1px solid var(--line)}
.points{margin:0;padding:0}
@media (max-width:1024px){.nago-hero{grid-template-columns:1fr;gap:32px}}
@media (max-width:768px){.nago-hero h1{font-size:41px}}

.form{max-width:700px;display:flex;flex-direction:column;gap:28px}
.field{display:flex;flex-direction:column;gap:8px}
.field label,.field legend{font-weight:700;font-size:22px;line-height:1.6}
.field input[type=text],.field input[type=email],.field textarea{font:inherit;font-size:23px;color:var(--text);background:#fff;border:1px solid #9A8F87;border-radius:6px;padding:12px 14px;width:100%}
.field textarea{min-height:200px;resize:vertical;line-height:1.8}
.field input:focus,.field textarea:focus{outline:3px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
fieldset.field{border:0;margin:0;padding:0}
.radios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin-top:4px}
.radios label{font-weight:400;display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.radios input{width:20px;height:20px;accent-color:var(--accent)}
.proto-note{font-size:20px;color:var(--sub);background:var(--mist2);border-radius:6px;padding:12px 16px;line-height:1.8}
.thanks{max-width:700px;display:flex;flex-direction:column;gap:24px}
@media (max-width:768px){.radios{grid-template-columns:1fr}}

.photo{display:block;width:100%;height:auto;border-radius:6px}
.nago-top{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.nago-top .kind{font-size:22px;color:var(--sub)}
.nago-top .sub{font-size:26px;font-weight:500;margin-top:14px;line-height:1.6}
.keypts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.keypt{border-top:2px solid var(--brand);padding-top:22px;display:flex;flex-direction:column;gap:10px}
.keypt h3{font-size:26px}
.keypt img{width:112px;height:112px;border-radius:50%;margin-bottom:6px}
.feat{display:flex;flex-direction:column;max-width:760px}
.feat-item{padding:28px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.feat-item:first-child{padding-top:0}
.note{font-size:20px;color:var(--sub)}
.colors{display:flex;flex-wrap:wrap;gap:28px}
.color{display:flex;align-items:center;gap:14px}
.chip{width:56px;height:56px;border-radius:50%;border:1px solid var(--line)}
.sizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;max-width:900px}
.size{border:1px solid var(--line);border-radius:8px;padding:32px;background:#fff;display:flex;flex-direction:column;gap:12px}
.size .dim{font-family:Figtree,sans-serif;font-size:49px;font-weight:500;line-height:1.2;letter-spacing:.01em}
.size .tag{display:inline-block;align-self:flex-start;border:1px solid var(--accent);color:var(--accent);border-radius:999px;padding:2px 14px;font-size:20px;line-height:1.8}
@media (max-width:1024px){.shops{grid-template-columns:repeat(2,minmax(0,1fr))}.nago-top{grid-template-columns:1fr;gap:32px}.keypts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:768px){.keypts{grid-template-columns:1fr}.sizes{grid-template-columns:1fr}.size .dim{font-size:23px}.size{padding:24px}}

.shop-logo{align-self:stretch;height:150px;display:flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid var(--line);background:#fff}
.shop-logo{padding:0 16px}.shop-logo img{height:auto;display:block}.shop-logo img.t1{width:67.6%}.shop-logo img.t2{width:100%}
.shop-logo.empty{border-style:dashed;border-color:var(--dash);background:var(--mist2);color:var(--sub);font-size:20px}
@media (max-width:768px){.shop-logo{height:120px;padding:0 16px}}

.shop-banner{align-self:stretch;margin:-32px -32px 8px;aspect-ratio:2000/270;display:flex;align-items:center;background:#fff;border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;overflow:hidden}
.shop-banner img{display:block;width:100%;height:auto}
@media (max-width:768px){.shop-banner{margin:-24px -24px 4px}}

.policy{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:20px;font-size:23px;line-height:2}
.policy h2{font-size:31px;margin-top:40px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.policy ol{margin:0;padding-left:1.6em;display:flex;flex-direction:column;gap:12px}
.policy ul{margin:8px 0 0;padding-left:1.4em}
.policy .sig{text-align:right;color:var(--sub)}
.policy .contact-box{background:var(--mist);border-radius:8px;padding:24px 28px;line-height:1.9}
@media (max-width:768px){.policy{font-size:13px}.policy h2{font-size:15px;margin-top:28px}.policy .contact-box{padding:20px}}

#page-business .greet{grid-template-columns:380px 1fr;gap:64px}
#page-business .greet h2{font-size:37px;word-break:keep-all;overflow-wrap:anywhere;line-height:1.6}
@media (max-width:1024px){#page-business .greet{grid-template-columns:1fr;gap:24px}}


.shop h3{font-size:29px;word-break:keep-all;overflow-wrap:anywhere}
@media (max-width:768px){.shops{grid-template-columns:1fr}.shop .btn{width:100%}}

/* --- image slots (写真が入る場所) --- */
.imgslot{background:var(--mist2);border:1px dashed var(--dash);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--sub);font-size:19px;line-height:1.75;padding:20px}
.imgslot svg{color:var(--brand);flex-shrink:0}
.imgslot b{display:block;font-size:20px;color:var(--text);font-weight:700}
.imgslot.wide{aspect-ratio:16/7}
.imgslot.box{aspect-ratio:4/3}
.imgslot.port{aspect-ratio:3/4}
.imgslot.sq{aspect-ratio:1/1}

/* --- orange accents --- */
.sec>.wrap>h2,.sec .wrap>h2{position:relative}
h2.rule{padding-top:22px}
h2.rule::before{content:"";position:absolute;top:0;left:0;width:56px;height:4px;background:var(--brand);border-radius:2px}
.pg-head{background:var(--mist)}
.pg-head h1{padding-top:20px;position:relative}
.pg-head h1::before{content:"";position:absolute;top:0;left:0;width:56px;height:4px;background:var(--brand);border-radius:2px}
.hero{background:var(--mist)}
.biz article{gap:0}
.biz .bizimg{margin-bottom:18px}
.biz h3{margin-bottom:10px}
.about-media{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:8px}
.company-media{margin-top:32px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.company-media.one{grid-template-columns:1fr;max-width:780px}
.greet-photo{margin-top:32px}
.bizrow{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.genre-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:8px}
.genre-grid .imgslot{font-size:17px;padding:14px}
@media (max-width:1024px){.bizrow{grid-template-columns:1fr;gap:28px}.genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:768px){.about-media,.company-media{grid-template-columns:1fr}.imgslot.wide{aspect-ratio:4/3}}

.greet>*,.two>*,.nago>*,.nago-top>*,.nago-hero>*,.company-row>*,.biz>*,.about-media>*,.company-media>*,.genre-grid>*,.shops>*,.sizes>*,.keypts>*{min-width:0}

.award{display:grid;grid-template-columns:260px 1fr;gap:56px;align-items:center;max-width:860px}
.award img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid var(--line)}
.award .yr{font-family:Figtree,sans-serif;font-size:22px;font-weight:600;letter-spacing:.06em;color:var(--accent)}
.award h3{margin:8px 0 0;font-size:35px;line-height:1.5}
.award p{margin:14px 0 0;font-size:23px;line-height:1.9}
.award .src{margin-top:10px;font-size:20px;color:var(--sub)}
@media (max-width:768px){.award{grid-template-columns:1fr;gap:24px;max-width:340px}}


/* ============================================================
   WordPress 本番用の追加調整
   ============================================================ */

/* 管理バーが出ているときに、固定ヘッダーが隠れないようにする */
body.admin-bar header.site{top:32px}
@media screen and (max-width:782px){body.admin-bar header.site{top:46px}}

/* WordPress 標準の配置クラス */
.alignleft{float:left;margin:0 24px 16px 0}
.alignright{float:right;margin:0 0 16px 24px}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}
.wp-caption-text,figcaption{font-size:20px;color:var(--sub);line-height:1.8}
.screen-reader-text{position:absolute;left:-9999px}
img{max-width:100%;height:auto}

/* Google マップ（レスポンシブ） */
.map{padding:0;overflow:hidden;border-radius:8px;border:1px solid var(--line);background:var(--mist2)}
.map iframe{display:block;width:100%;height:100%;min-height:320px;border:0}
.map-wide{margin-top:8px;height:420px}
@media (max-width:768px){.map-wide{height:300px}}

/* ============================================================
   Contact Form 7（既存フォームをこのデザインに合わせる）
   ============================================================ */
.wpcf7{font-size:23px}
.wpcf7 p{margin:0 0 22px}
.wpcf7 label{display:block;font-size:22px;font-weight:500;margin-bottom:8px;line-height:1.8}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=url],
.wpcf7 input[type=number],
.wpcf7 input[type=date],
.wpcf7 select,
.wpcf7 textarea{
  width:100%;font-family:inherit;font-size:23px;line-height:1.8;color:var(--text);
  background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 14px;
  -webkit-appearance:none;appearance:none;transition:border-color .15s,box-shadow .15s}
.wpcf7 textarea{min-height:200px;resize:vertical}
.wpcf7 input:focus,.wpcf7 select:focus,.wpcf7 textarea:focus{
  outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(180,85,26,.14)}
.wpcf7 .wpcf7-list-item{display:block;margin:0 0 10px}
.wpcf7 .wpcf7-list-item label{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:0;cursor:pointer}
.wpcf7 input[type=radio],.wpcf7 input[type=checkbox]{
  width:20px;height:20px;margin:6px 0 0;accent-color:var(--accent);flex-shrink:0}
.wpcf7 .wpcf7-list-item-label{line-height:1.9}
.wpcf7 input[type=submit],
.wpcf7 button[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 36px;
  border:0;border-radius:999px;background:var(--accent);color:var(--on-accent);
  font-family:inherit;font-size:23px;font-weight:500;letter-spacing:.06em;line-height:1.4;
  cursor:pointer;transition:opacity .15s;width:auto}
.wpcf7 input[type=submit]:hover,.wpcf7 button[type=submit]:hover{opacity:.88}
.wpcf7 .wpcf7-spinner{margin:0 0 0 12px}
.wpcf7 .wpcf7-not-valid-tip{color:#B3261E;font-size:20px;margin-top:6px;line-height:1.7}
.wpcf7 .wpcf7-response-output{
  margin:24px 0 0;padding:16px 18px;border-radius:8px;border:1px solid var(--line);
  background:var(--mist);font-size:22px;line-height:1.9}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output{border-color:#E7B4AE;background:#FDF2F0}
.wpcf7 form.sent .wpcf7-response-output{border-color:#B7D3BC;background:#F2F8F3}
.wpcf7 .wpcf7-required,.wpcf7 .required{color:var(--brand2)}
/* 必須マークなど CF7 側の小さなラベル */
.wpcf7 .req{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:4px;
  background:var(--brand2);color:#fff;font-size:17px;font-weight:500;line-height:1.7;vertical-align:middle}

/* 本文をそのまま出すページ（プライバシーポリシー・お問い合わせ完了など） */
.entry{font-size:23px;line-height:2}
.entry h2{font-size:31px;line-height:1.6;margin:48px 0 14px;padding-top:18px;position:relative}
.entry h2::before{content:"";position:absolute;top:0;left:0;width:40px;height:3px;background:var(--brand);border-radius:2px}
.entry h3{font-size:26px;margin:32px 0 10px}
.entry p{margin:0 0 20px}
.entry ul,.entry ol{margin:0 0 20px;padding-left:1.4em}
.entry li{margin-bottom:8px}
.entry a{color:var(--accent)}
.entry table{width:100%;border-collapse:collapse;margin:0 0 24px}
.entry th,.entry td{border:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top}
.entry th{background:var(--mist);font-weight:500;white-space:nowrap}

/* ============================================================
   横幅をそろえる
   ・すべてのセクションの左端・右端を同じ位置にする
   ・ブロックごとの個別の上限幅（max-width）を解除する
   ============================================================ */
@media (min-width:1025px){
  /* 左右の余白：画面幅の10%＋40px。画面の端に文字が貼り付かないようにする */
  .wrap{max-width:min(86vw,1440px);padding:0 40px}

  /* 個別にかかっていた横幅の上限を外して、端をそろえる */
  .lead,.about-body,.msg,.hero-body,.contact-body,.nago-body,.biz,.award,
  .feat,.sizes,.genres,.points,.prof,.company-media.one,.ft-co{max-width:none}

  /* 見出し列＋本文列のレイアウトは列幅だけそろえる（見出しが折り返さない幅にする） */
  .two,.greet,#page-business .greet,.hero-row{grid-template-columns:380px 1fr;gap:72px}
}
@media (min-width:1360px){
  .two,.greet,#page-business .greet,.hero-row{grid-template-columns:460px 1fr}

  /* 読み物ページ（プライバシーポリシー等）も左端をそろえる */
  .policy{max-width:1040px;margin:0}
}

/* ============================================================
   文字を少し小さく、余白を広めに（パソコン・タブレット表示のみ）
   スマホ表示は従来のまま
   ============================================================ */
@media (min-width:769px){
  body{font-size:16px}
  h2{font-size:32px}
  h3{font-size:20px}
  .lead,.about-body,.msg,.hero-body,.contact-body{font-size:17px}
  .catch-en{font-size:clamp(42px,6.01vw,80px)}
  .hero h1{font-size:29px}
  .pg-head h1{font-size:36px}
  .greet-vision{font-size:29px}
  .nago-hero h1{font-size:70px}
  .nago-copy{font-size:20px}
  .shop h3{font-size:22px}
  .award h3{font-size:22px}
  .sign strong{font-size:19px}

  /* ヘッダー・ボタン・フッターの文字（スマホ表示には影響しません） */
  .gnav,.gnav a{font-size:15px}
  .btn{font-size:16px}
  .btn-small{font-size:15px}
  .copy{font-size:13px}

  /* テンプレートに直接書かれた文字サイズを、パソコン表示だけ上書きする */
  .nago-top .en{font-size:clamp(31px,6.26vw,64px)!important}
  .contact .greet .msg,.greet .msg{font-size:16px!important}
  .nago-hero .sub{font-size:20px!important}

  /* 上下の余白を広げて、ゆったり見せる */
  .sec{padding:132px 0}
  .hero{padding:112px 0 128px}
  .pg-head{padding:96px 0 56px}
  .biz{margin-top:64px;gap:72px}
  .shops{margin-top:56px}
  .more-shops{margin-top:32px}
  .company-media{margin-top:40px}
  footer.site{padding:80px 0 44px}
}

/* ============================================================
   Nagomin カラー（3色を個別の写真で並べる）
   ============================================================ */
.colorgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.colorgrid>*{min-width:0}
.colorgrid figure{margin:0}
.colorgrid img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid var(--line);background:#fff}
.colorgrid figcaption{display:flex;align-items:center;gap:14px;margin-top:16px;font-size:20px;line-height:1.7}
.colorgrid .chip{width:34px;height:34px;flex-shrink:0}
@media (max-width:768px){
  .colorgrid{grid-template-columns:1fr;gap:24px}
  .colorgrid figcaption{font-size:11px;gap:12px}
  .colorgrid .chip{width:30px;height:30px}
}


/* ============================================================
   スマホ表示の文字サイズ（パソコン表示には影響しません）
   ============================================================ */
@media (max-width:768px){
  .catch-en{font-size:clamp(24px,6.22vw,80px)}
  .nago-top h2.en{font-size:clamp(24px,6.30vw,64px)!important}
  .nago-hero .sub{font-size:15px!important}
  .greet .msg{font-size:13px!important}
  .policy,.entry{font-size:12px}
  .wpcf7{font-size:12px}
  .wpcf7 label{font-size:11px}
  .wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],
  .wpcf7 select,.wpcf7 textarea{font-size:11px}
  .wpcf7 input[type=submit],.wpcf7 button[type=submit]{font-size:12px}
  .colorgrid figcaption{font-size:11px}
}


/* iPhone で入力欄をタップしたときに画面が拡大しないよう、入力欄だけ16pxを確保 */
@media (max-width:768px){
  .wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],
  .wpcf7 input[type=url],.wpcf7 input[type=number],.wpcf7 input[type=date],
  .wpcf7 select,.wpcf7 textarea{font-size:16px}
}

/* ============================================================
   スマホ表示：本文の大きさに合わせて、残りの要素もそろえる
   （パソコン表示には影響しません）
   ============================================================ */
@media (max-width:768px){
  .pg-head .crumb,.pg-head .crumb a{font-size:12px}
  .fnav a{font-size:13px}
  .btn{font-size:14px;min-height:44px;padding:0 22px}
  .btn-small{font-size:13px;min-height:40px;padding:0 18px}
  .policy h2,.entry h2{font-size:19px}
  .policy h3,.entry h3{font-size:16px}
  .policy,.entry,.policy .contact-box{font-size:13px}
  .award h3{font-size:17px}
  .award p{font-size:13px}
  .award .src{font-size:12px}
  .award .yr,.yr{font-size:13px}
  .feat-item h3{font-size:17px}
  .feat-item p{font-size:13px}
  .feat-item .note,.note,figcaption.note{font-size:12px}
  .keypt h3{font-size:16px}
  .keypt p{font-size:13px}
  .size .dim{font-size:16px}
  .size .tag{font-size:13px}
  .size p{font-size:13px}
  .nago-hero .sub,.sub{font-size:15px}
  .kind{font-size:13px}
  .shop .mall{font-size:12px}
  .more-shops,.more-label{font-size:13px}
  .sign,.sign strong{font-size:16px}
  .ft-co span{font-size:13px}
  .ft-co strong{font-size:14px}
  .wpcf7 .req,.req{font-size:11px}
  .genres li,.genres{font-size:13px}
  dl.info dd,dl.info dt,dl.prof dd,dl.prof dt{font-size:13px}
}

/* スマホ表示：上の指定より後ろに書かれていた分の調整 */
@media (max-width:768px){
  h3{font-size:17px}
  .shop h3{font-size:17px}
  .biz h3{font-size:17px}
  .nago .kind,.nago-top .kind{font-size:13px}
  .nago-top .sub{font-size:15px}
  .nago-top h2.en{font-size:34px}
}

/* お問い合わせ帯のボタン：文字が途中で改行されないようにする */
.contact .wrap>.btn{flex-shrink:0;white-space:nowrap}
.contact-body{min-width:0}
@media (max-width:768px){
  .contact .wrap>.btn{white-space:normal}
}

/* 画面が狭めのパソコンで、ボタンの文字が途中で改行されないようにする */
@media (max-width:1400px) and (min-width:769px){
  /* ショップ一覧は3列→2列にして、1枚あたりの幅を確保 */
  .shops{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1200px) and (min-width:769px){
  /* 文字数の多いボタンは少し小さくして1行に収める */
  .btns .btn,.shop .btn{font-size:13px;padding:0 22px;gap:8px}
}

/* 送信完了・エラーメッセージ：スマホでは文字を本文に合わせる */
@media (max-width:768px){
  .wpcf7 .wpcf7-response-output{font-size:14px;line-height:1.9;padding:14px 16px;margin-top:20px}
  .wpcf7 .wpcf7-not-valid-tip{font-size:13px}
}

/* ============================================================
   横幅が狭いノートパソコン（1101〜1460px）のヘッダー
   メニューの文字と間隔を少しだけ詰めて、1行に収める
   （これまで、この幅だけ右端がはみ出して横スクロールが出ていた）
   ============================================================ */
@media (min-width:1101px) and (max-width:1460px){
  .gnav{gap:20px}
}

/* ============================================================
   パソコン・タブレット表示の文字サイズ（当初の設計サイズ）
   ・ベースの指定が大きいままだった箇所をまとめて揃える
   ・769px未満（スマホ）には一切影響しません
   ============================================================ */
@media (min-width:769px){
  .shop .mall{font-size:14px}   /* 20px → 14px */
  .shop p.shop-catch{font-size:17px}   /* 24px → 17px */
  .more-shops{font-size:16px}   /* 23px → 16px */
  .more-label{font-size:14px}   /* 20px → 14px */
  .nago .kind{font-size:15px}   /* 22px → 15px */
  .nago h2{font-size:72px}   /* 103px → 72px */
  .map{font-size:14px}   /* 20px → 14px */
  footer.site{font-size:15px}   /* 22px → 15px */
  .ft-co strong{font-size:17px}   /* 24px → 17px */
  .pg-head .crumb{font-size:14px}   /* 20px → 14px */
  .photo-slot{font-size:14px}   /* 20px → 14px */
  .field label,.field legend{font-size:15px}   /* 22px → 15px */
  .field input[type=text],.field input[type=email],.field textarea{font-size:16px}   /* 23px → 16px */
  .proto-note{font-size:14px}   /* 20px → 14px */
  .nago-top .kind{font-size:15px}   /* 22px → 15px */
  .nago-top .sub{font-size:18px}   /* 26px → 18px */
  .keypt h3{font-size:18px}   /* 26px → 18px */
  .note{font-size:14px}   /* 20px → 14px */
  .size .dim{font-size:34px}   /* 49px → 34px */
  .size .tag{font-size:14px}   /* 20px → 14px */
  .shop-logo.empty{font-size:14px}   /* 20px → 14px */
  .policy{font-size:16px}   /* 23px → 16px */
  .policy h2{font-size:22px}   /* 31px → 22px */
  #page-business .greet h2{font-size:26px}   /* 37px → 26px */
  .imgslot{font-size:13px}   /* 19px → 13px */
  .imgslot b{font-size:14px}   /* 20px → 14px */
  .genre-grid .imgslot{font-size:12px}   /* 17px → 12px */
  .award .yr{font-size:15px}   /* 22px → 15px */
  .award p{font-size:16px}   /* 23px → 16px */
  .award .src{font-size:14px}   /* 20px → 14px */
  .wp-caption-text,figcaption{font-size:14px}   /* 20px → 14px */
  .wpcf7{font-size:16px}   /* 23px → 16px */
  .wpcf7 label{font-size:15px}   /* 22px → 15px */
  .wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 input[type=number], .wpcf7 input[type=date], .wpcf7 select, .wpcf7 textarea{font-size:16px}   /* 23px → 16px */
  .wpcf7 input[type=submit], .wpcf7 button[type=submit]{font-size:16px}   /* 23px → 16px */
  .wpcf7 .wpcf7-not-valid-tip{font-size:14px}   /* 20px → 14px */
  .wpcf7 .wpcf7-response-output{font-size:15px}   /* 22px → 15px */
  .wpcf7 .req{font-size:12px}   /* 17px → 12px */
  .entry{font-size:16px}   /* 23px → 16px */
  .entry h2{font-size:22px}   /* 31px → 22px */
  .entry h3{font-size:18px}   /* 26px → 18px */
  .colorgrid figcaption{font-size:14px}   /* 20px → 14px */
}

/* ============================================================
   詐欺・偽通販サイトへの注意喚起
   ・ヘッダー直下の帯（全ページ共通）
   ・トップページの「お知らせ」欄（1件目）
   ・この指定は .lg-bar / .lg-news の中だけに効きます
   ============================================================ */
.lg-bar{display:block;background:#d6000f;color:#fff;text-decoration:none}
.lg-bar:hover{background:#b0000c}
.lg-bar-in{max-width:min(86vw,1440px);margin:0 auto;padding:11px 40px;
  display:flex;align-items:center;justify-content:center;gap:12px}
.lg-bar-mark{flex:none;width:1.5em;height:1.5em;background:#fff;color:#d6000f;border-radius:50%;
  text-align:center;line-height:1.5em;font-weight:700;font-size:13px}
.lg-bar-txt{font-size:15px;font-weight:700;line-height:1.5}
.lg-bar-more{flex:none;font-size:13px;opacity:.9}
@media (max-width:768px){
  .lg-bar-in{padding:9px 20px;gap:8px;justify-content:flex-start}
  .lg-bar-txt{font-size:12px}
  .lg-bar-more{display:none}
}

.lg-news{background:#fff}
.lg-news-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 18px}
.lg-news-head h2{margin:0}
.lg-news-en{font-size:13px;letter-spacing:.14em;color:var(--sub)}
.lg-news-row{display:flex;align-items:flex-start;gap:24px;padding:20px 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  text-decoration:none;color:inherit}
.lg-news-row:hover{background:#fdf7f3}
.lg-news-date{flex:none;font-size:14px;color:var(--sub);padding-top:3px}
.lg-news-cat{flex:none;font-size:12px;font-weight:700;color:#fff;background:#d6000f;
  border-radius:3px;padding:3px 10px;margin-top:2px}
.lg-news-ttl{font-size:17px;font-weight:700;color:#d6000f;line-height:1.7}
.lg-news-arw{margin-left:auto;flex:none;color:#b0000c;font-size:14px;padding-top:3px}
@media (max-width:768px){
  .lg-news-head{margin-bottom:10px}
  .lg-news-row{flex-wrap:wrap;gap:8px 12px;padding:16px 0}
  .lg-news-ttl{font-size:14px;width:100%}
  .lg-news-arw{display:none}
}

/* 注意喚起ページ（本文側に見出しがあるため、ページ見出しは出さない） */
.pg-head-slim{padding:40px 0 0}
@media (max-width:768px){.pg-head-slim{padding:20px 0 0}}
.pg-head-slim h1{display:none}
.sec-notice{padding-top:8px}
.sec-notice .back{margin-top:8px}

/* フッターの「重要なお知らせ」だけ、少し目立たせる */
.fnav .fnav-notice{color:#d6000f;font-weight:700}
.fnav .fnav-notice:hover{color:#b0000c}
