/* SEIRYU LP — style.css (Figma rebuild 2026-03-04e) */

/* ── Variables ── */
:root{
  --hdr:64px;
  --mw:1200px;
  --accent:#ed7a1a;
  --bg-light:#f3eefd;
  --purple:#856ea8;
  --purple-dk:#8073b0;
  --purple-hd:#7e469b;
  --blue-svc:#015a9d;
  --text:#0d0d0d;
  --text-sub:#333;
  --cta-grad:linear-gradient(to right,#f6bc00,#f2782c);
  --shadow:0 0 14px rgba(0,0,0,.15);
  --cta-shadow:0 3.613px 0 #421300;
  --ja:'Noto Sans JP',sans-serif;
  --en:'Roboto',sans-serif;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--ja);color:var(--text);line-height:1.8;background:#fff;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none}
input,select,textarea{font:inherit}

/* ── Layout ── */
.inner-wide{max-width:var(--mw);margin:0 auto;padding:0 24px}

/* ── Shared Components ── */
.section-label{display:inline-flex;align-items:center;gap:8px;font-family:var(--en);font-weight:700;font-size:24px;line-height:1.6;color:var(--accent);margin-bottom:8px}
.section-label::before{content:'';width:12px;height:12px;border-radius:50%;background:var(--accent);flex-shrink:0}
.section-header-center{text-align:center;margin-bottom:48px;position:relative;z-index:1}
.section-header-center .section-label{justify-content:center;width:100%}
.section-title-xl{font-size:clamp(28px, 2.6vw, 50px);font-weight:900;line-height:1.6;margin-bottom:0}
.section-sub-lead{font-size:clamp(20px, 1.6vw, 30px);font-weight:500;line-height:1.8;text-align:center;margin-bottom:48px;position:relative;z-index:1}
.text-purple{color:var(--purple-hd)}

/* Ghost text */
.ghost-text{display:block;font-family:var(--en);font-weight:700;font-size:clamp(48px, 7.8vw, 150px);line-height:1.2;pointer-events:none;user-select:none;position:absolute;white-space:nowrap;z-index:0;color:#f3f3f3;left:50%;transform:none;top:-10px}
.section-light .ghost-text{color:rgba(255,255,255,.7)}
.ghost-vertical{writing-mode:vertical-rl;text-orientation:mixed;left:auto;right:171px;top:144px;transform:none;color:rgba(255,255,255,.7);width:180px}
#tea-culture .ghost-text{color:#f3f3f3;left:47%;white-space:normal;width:777px}
#calligraphy .ghost-text{left:42%}
#achievements .ghost-text{color:#f3f3f3;left:32%;top:0}
.contact-ghost{color:rgba(255,255,255,.10)!important;top:20px;left:54%}

/* Buttons */
.btn-cta{display:inline-flex;align-items:center;justify-content:center;min-width:min(440px, 90vw);height:90px;background:var(--cta-grad);color:#fff;font-size:21.678px;font-weight:500;border-radius:2px;box-shadow:var(--cta-shadow);transition:opacity .2s}
.btn-cta:hover{opacity:.9}
.btn-cta-small{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:16px 52px;width:280px;background:var(--cta-grad);color:#fff;font-family:'Inter',var(--ja);font-size:15px;font-weight:700;line-height:20px;border-radius:100px;white-space:nowrap;transition:opacity .2s}
.btn-cta-small:hover{opacity:.9}

/* Dot list */
.dot-list{display:flex;flex-direction:column;gap:16px;margin-bottom:48px;position:relative;z-index:1}
.dot-list li{display:flex;align-items:flex-start;gap:14px;font-size:18px;font-weight:500;line-height:1.8}
.dot-list li::before{content:'';width:14px;height:14px;border-radius:50%;background:#d9d9d9;flex-shrink:0;margin-top:9px}
.dot-list--bold li{font-weight:700}

/* bordered-label */
.bordered-label{display:inline-block;font-size:24px;font-weight:500;line-height:1.8;padding:8px 16px;border:none;background:linear-gradient(var(--purple-hd),var(--purple-hd)) 5px 0/calc(100% - 10px) 1px no-repeat,linear-gradient(var(--purple-hd),var(--purple-hd)) 5px 100%/calc(100% - 10px) 1px no-repeat,linear-gradient(var(--purple-hd),var(--purple-hd)) 0 5px/1px calc(100% - 10px) no-repeat,linear-gradient(var(--purple-hd),var(--purple-hd)) 100% 5px/1px calc(100% - 10px) no-repeat;margin-bottom:24px;position:relative;z-index:1}
.desc-body{font-size:18px;font-weight:500;line-height:2;margin-bottom:32px;max-width:1116px;position:relative;z-index:1}

/* ============================
   HEADER  (Figma: h=64, logo x=210, nav gap=32, CTA pill right)
   ============================ */
#header{position:fixed;top:0;left:0;width:100%;height:var(--hdr);background:rgba(255,255,255,.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);z-index:1000}
.header-inner{width:100%;padding:0 clamp(24px, 11vw, 210px);height:100%;display:flex;align-items:center}
.header-logo{display:flex;align-items:center;gap:7px;flex-shrink:0}
.header-logo img{width:75px;height:62px;mix-blend-mode:multiply}
.logo-text{display:flex;flex-direction:column;gap:4px}
.logo-name-ja{font-size:18px;font-weight:700;line-height:20px;color:#000}
.logo-name-en{font-family:var(--en);font-size:10px;font-weight:700;line-height:15px;letter-spacing:1px;color:#000}
.header-nav{display:flex;gap:32px;margin-left:auto}
.header-nav a{font-size:16px;font-weight:700;line-height:20px;color:var(--text-sub);transition:color .2s}
.header-nav a:hover{color:var(--purple)}
.header-cta{margin-left:48px;flex-shrink:0}

.hamburger{display:none;flex-direction:column;justify-content:center;gap:6px;width:32px;height:32px;z-index:1001}
.hamburger span{display:block;width:100%;height:2px;background:var(--text);border-radius:2px;transition:transform .3s,opacity .3s}
.hamburger.is-active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.hamburger.is-active span:nth-child(2){opacity:0}
.hamburger.is-active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.mobile-menu{position:fixed;top:var(--hdr);left:0;width:100%;background:#fff;display:flex;flex-direction:column;padding:24px 32px;gap:20px;transform:translateY(-110%);transition:transform .3s;z-index:999;box-shadow:0 4px 16px rgba(0,0,0,.1)}
.mobile-menu.is-open{transform:translateY(0)}
.mobile-menu a{font-size:18px;font-weight:700;color:var(--text-sub);padding:8px 0}

/* ============================
   HERO  (Figma: h=744, bg image + purple multiply + screen overlay)
   hero-content左 + badge右のflex配置
   ============================ */
/* Figma layer stack:
   1) bg image (オフィス画像)
   2) screen blend: white gradient left 10.7% → transparent 51.5%
   3) multiply blend: purple gradient 93.37deg #856ea8 39.3% → #fff 98.2%
*/
#hero{position:relative;width:100%;min-height:744px;margin-top:var(--hdr);overflow:hidden;display:flex;align-items:center}
/* Layer 1: background image */
#hero::before{content:'';position:absolute;inset:0;background:url('images/オフィス画像.png') center/cover no-repeat;z-index:0}
/* Layer 2: screen white gradient (dims left side, keeps right clear) */
.hero-overlay{display:none}
/* Layer 3: multiply purple gradient (purple left → white right, fade faster to reveal bg image) */
#hero::after{content:'';position:absolute;inset:0;background:linear-gradient(93.37deg,rgb(133,110,168) 39.313%,rgb(255,255,255) 98.169%);mix-blend-mode:multiply;z-index:2}

.hero-inner{position:relative;z-index:3;width:100%;padding:143px clamp(24px, 11vw, 210px) 0;min-height:744px;display:flex;align-items:flex-start}
.hero-content{max-width:840px;flex-shrink:0}
.hero-subtitle{font-size:20px;font-weight:500;line-height:1.6;color:#fff;text-shadow:0 0 10px rgba(0,0,0,.15);margin-bottom:7px}
.hero-title{font-size:clamp(28px, 3.125vw, 60px);font-weight:900;line-height:1.6;color:#fff;text-shadow:0 0 10px rgba(0,0,0,.15);margin-bottom:23px;white-space:nowrap}
.hero-middle{display:flex;align-items:flex-start;gap:8px;margin-bottom:42px;position:relative}
.hero-body{font-size:20px;font-weight:500;line-height:1.6;color:#fff;text-shadow:0 0 10px rgba(0,0,0,.15);margin-bottom:0;max-width:443px}
.hero-cta{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.hero-cta-note{font-size:16px;font-weight:500;line-height:1.5;color:#fff;text-shadow:0 0 10px rgba(0,0,0,.15);text-align:center;align-self:stretch;max-width:440px}

.hero-badge{flex-shrink:0;margin-bottom:-193px}
.hero-badge-hex{
  position:relative;isolation:isolate;
  width:185px;height:193px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
}
.hero-badge-hex::before{
  content:'';position:absolute;inset:0;
  clip-path:polygon(25% 8.5%,75% 8.5%,100% 50%,75% 91.5%,25% 91.5%,0% 50%);
  background:#9FCCF8;
  z-index:-2;
}
.hero-badge-hex::after{
  content:'';position:absolute;inset:3px;
  clip-path:polygon(25% 8.5%,75% 8.5%,100% 50%,75% 91.5%,25% 91.5%,0% 50%);
  background:linear-gradient(325deg,rgba(155,135,206,0.92) 35.6%,rgba(255,214,194,0.92));
  z-index:-1;
}
.hero-badge-label{font-size:18px;font-weight:700;color:#fff;letter-spacing:1px;line-height:1.1}
.hero-badge-num{font-family:var(--en);font-size:44px;font-weight:700;color:#f4f70b;line-height:1}
.hero-badge-row{display:flex;align-items:center;gap:2px}
.hero-badge-unit{display:flex;flex-direction:column;gap:2px;font-size:14px;font-weight:700;color:#fff;line-height:1.2}

/* ============================
   SERVICES INTRO  (Figma: text left + photo right, full width container)
   ============================ */
#services{position:relative;padding:100px 0 60px;overflow:hidden}
#services .ghost-text{transform:none;top:27px}
#company .ghost-text{top:22px;left:48%}
.services-grid{display:flex;flex-direction:column;align-items:flex-start;gap:40px;position:relative;z-index:1}
.services-text{flex:1;min-width:0;max-width:832px}
.services-heading{font-size:clamp(28px, 2.6vw, 50px);font-weight:900;line-height:1.6;margin-bottom:28px}
.services-body{font-size:20px;font-weight:500;line-height:1.8}
.services-photo{flex-shrink:0;width:100%}
.services-photo img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}

/* ============================
   SERVICE CARDS  (Figma: 3 cards 346px, white bg + shadow)
   ============================ */
.service-cards-section{padding:0 0 80px;margin-top:-54px;position:relative;z-index:2}
.service-cards{display:flex;gap:40px;justify-content:center}
.service-card{background:#fff;box-shadow:var(--shadow);padding:60px 40px;min-height:425px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:48px;flex:1;max-width:346px;border-radius:4px}
.service-card-icon{width:252px;height:172px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.service-card-icon img{width:100%;height:100%;object-fit:contain}
.service-card-title{font-size:30px;font-weight:700;line-height:1.45;color:var(--blue-svc);text-align:center;white-space:nowrap}

/* ============================
   CTA BAND  (Figma: h=500, bg image 30% + purple multiply + gradient multiply)
   ============================ */
.cta-band{position:relative;width:100%;min-height:500px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cta-band-bg{position:absolute;inset:0;z-index:0}
.cta-band-bg::before{content:'';position:absolute;inset:0;background:url('images/383921_1.png') lightgray 50%/cover no-repeat}
.cta-band-overlay{position:absolute;inset:0;background:#cab4de;mix-blend-mode:multiply}
.cta-band-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(91deg,#7B5695 8.15%,#F1EFFF 98.17%);mix-blend-mode:multiply}
.cta-band-inner{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;padding:60px 24px}
.cta-band-text{font-size:clamp(22px, 1.6vw, 30px);font-weight:700;line-height:1.8;color:#fff}
.cta-band-note{font-size:16px;font-weight:500;color:#fff}

/* ============================
   STRENGTHS  (Figma: white bg, items overlap photo+card)
   01/03: photo left 62.7%, card right-bottom overlap
   02: photo right, card left-bottom overlap
   ============================ */
#strengths{position:relative;background:var(--bg-light);padding:100px 0 80px;overflow:hidden}
.strength-item{position:relative;margin:0 -24px 74px;min-height:454px}
.strength-photo{position:relative;z-index:1;width:62.7%;border-radius:4px;overflow:hidden}
.strength-photo img{width:100%;height:423px;object-fit:none;object-position:0 0}
.strength-item:nth-child(3) .strength-photo img{object-position:-74px -71px}
.strength-item:last-child .strength-photo img{object-position:-99px -817px}
.strength-card{background:#fff;padding:40px 40px 40px calc(31% + 24px);width:68.3%;position:absolute;right:0;bottom:0;box-shadow:0 2px 20px rgba(0,0,0,.06)}
.strength-item.is-reverse .strength-photo{margin-left:auto}
.strength-item.is-reverse .strength-card{right:auto;left:0;padding:40px calc(31% + 24px) 40px 40px}
.strength-num{font-family:var(--en);font-size:90px;font-weight:700;line-height:1.2;color:#ecdff4;position:absolute;z-index:2;top:-86px;left:50.4%}
.strength-item.is-reverse .strength-num{left:40px}
.strength-title{font-size:clamp(22px, 1.4vw, 27px);font-weight:700;line-height:1.8;margin-bottom:12px;white-space:nowrap}
.strength-body{font-size:18px;font-weight:500;line-height:2}

/* ============================
   中国茶 / 書道  (Figma: bg #f3eefd)
   ============================ */
.section-light{position:relative;background:var(--bg-light);padding:100px 0 80px;overflow:hidden}
#tea-culture{background:#fff}
#tea-culture::before{content:'';position:absolute;inset:0;background:url('images/7_131.png') center/cover no-repeat;opacity:0.4;z-index:0;pointer-events:none}

.instructor-row{display:flex;gap:60px;margin-bottom:48px;position:relative;z-index:1}
.instructor-photo-col{flex-shrink:0;width:546px}
.instructor-img{width:100%;height:437px;object-fit:none;object-position:center center;border-radius:4px;margin-bottom:12px}
#tea-culture .instructor-img-wrap{width:100%;height:437px;overflow:hidden;border-radius:4px;margin-bottom:12px}
#tea-culture .instructor-img{width:1629px;max-width:none;height:762px;object-fit:fill;object-position:initial;margin-left:-772px;margin-top:-296px;border-radius:0;margin-bottom:0}
.instructor-role{font-size:16px;font-weight:500;line-height:1.8}
.instructor-name{font-size:24px;font-weight:500;color:var(--text-sub);margin-bottom:8px}
.instructor-name-en{font-size:16px;font-weight:400;margin-left:12px}
.instructor-tags{display:flex;gap:16px;margin-top:8px;margin-bottom:8px}
#tea-culture .instructor-tags{margin-top:0;margin-bottom:24px}
#tea-culture .instructor-name-row .instructor-name-en{margin-left:0}
#tea-culture .instructor-name-row .instructor-role{margin-right:45px}
#tea-culture .instructor-name-row .instructor-name{margin-right:11px;line-height:32px}
#calligraphy .instructor-name-row .instructor-role{margin-right:63px}
#calligraphy .instructor-name-row .instructor-name{margin-right:14px;line-height:32px}
#calligraphy .tag{padding:2px 20px}
.tag{display:inline-block;font-size:16px;font-weight:500;background:#fcf7f5;border:1px solid #ebe0dc;border-radius:100px;padding:2px 8px}
.instructor-info-col{flex:1;min-width:0}
#tea-culture .instructor-info-col>.bordered-label{padding:7px 22px 8px 12px;margin-bottom:17px}
.instructor-info-col .dot-list{gap:28px}

/* Qualification pills */
.qualification-table{position:relative;z-index:1;margin-bottom:48px;display:flex;align-items:stretch}
.qual-pills-title{writing-mode:vertical-rl;font-size:15px;font-weight:500;color:#fff;background:#7e469b;padding:16px 10px;flex-shrink:0;text-align:center;letter-spacing:0.08em;margin-bottom:0}
.qual-pills-list{display:flex;flex-direction:column;gap:16px;align-items:flex-start;padding:20px 24px}
.qual-pill{background:#fcf7f5;border:none;box-shadow:inset 0 0 0 1.818px #ebe0dc;border-radius:181.818px;padding:14px 20px;font-size:19px;font-weight:500;line-height:14px;color:#0d0d0d;text-align:center}
.qual-row{display:flex;align-items:center;gap:16px}
.qual-levels{font-size:18px;font-weight:500;line-height:2;color:#0d0d0d;white-space:nowrap}
#tea-culture .inner-wide>.bordered-label{display:table;margin:0 auto 24px}
#calligraphy .inner-wide>.bordered-label{display:table;margin:0 auto 24px}
#tea-culture .inner-wide>.desc-body{margin-left:auto;margin-right:auto}
.course-section-bg{background:#f9f8ff;padding:40px;position:relative;z-index:1;margin-bottom:48px}
.course-section-bg>.bordered-label{display:table;margin:0 auto 24px}
.course-section-bg>.desc-body{margin-left:auto;margin-right:auto}
.course-layout{display:flex;gap:120px;align-items:flex-start;justify-content:center;position:relative;z-index:1;margin-bottom:48px}
.course-layout .dot-list{flex:0 0 298px;margin-bottom:0;gap:28px}
.course-layout .qualification-table{flex-shrink:0;margin-bottom:0}

/* Deco images */
.section-deco{position:absolute;pointer-events:none;z-index:0}

/* Gallery strip */
.gallery-wrap{position:relative;width:100vw;margin-left:calc(-50vw + 50%)}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:rgba(0,0,0,.4);color:#fff;border:none;width:48px;height:48px;font-size:24px;border-radius:50%;cursor:pointer;transition:background .2s}
.gallery-arrow:hover{background:rgba(0,0,0,.6)}
.gallery-prev{left:16px}
.gallery-next{right:16px}
.gallery-strip{display:flex;gap:4px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:relative;z-index:1;padding-bottom:8px}
.gallery-strip::-webkit-scrollbar{display:none}
.gallery-strip img{width:397px;height:318px;object-fit:cover;object-position:center center;border-radius:0;flex-shrink:0;-webkit-user-drag:none;user-select:none}

/* Works gallery grid */
.works-gallery{position:relative;z-index:1;aspect-ratio:1200/1111}
.works-gallery img{position:absolute;object-fit:cover;object-position:center center;border-radius:0;filter:drop-shadow(0 0 14px rgba(0,0,0,.15))}
.wg-1{left:7.25%;top:0;width:54.5%;height:29%;clip-path:inset(1.9% 2.1% 2.2% 2.1%)}
.wg-3{right:0;top:5.94%;width:31.17%;height:53.11%;clip-path:inset(2.9% 1.9% 2.3% 3.2%)}
.wg-5{left:0;top:34.02%;width:21.5%;height:35.01%}
.wg-2{left:28.67%;top:34.02%;width:33.08%;height:34.11%;clip-path:inset(2.8% 2.5% 2.3% 2.5%)}
.wg-4{left:0;top:73.18%;width:99.92%;height:26.82%}

/* ============================
   ACHIEVEMENTS  (Figma: white bg, purple band category titles, centered list)
   ============================ */
#achievements{position:relative;padding:100px 0 80px;background:#fff;overflow:hidden}
.ach-block{margin-bottom:60px}
.ach-cat{background:var(--purple-dk);color:#fff;font-size:clamp(22px, 1.6vw, 30px);font-weight:700;line-height:1.8;padding:20px 0;margin-bottom:40px;text-align:center}
.ach-list{display:flex;flex-direction:column;gap:28px;max-width:700px;margin:0 auto}
.ach-list li{display:flex;align-items:center;font-size:20px;font-weight:500;line-height:1.8}
.ach-list li::before{content:'';width:14px;height:14px;border-radius:50%;background:var(--purple-hd);flex-shrink:0;margin-top:0;margin-right:14px}
.ach-hl{color:var(--purple-hd);font-weight:700}

/* ============================
   COMPANY  (Figma: bg #f3eefd, table dt blue border dd gray border)
   ============================ */
.company-table{max-width:var(--mw);margin:0 auto}
.co-row{display:flex;min-height:112px;gap:32px}
.co-row dt{width:314.55px;flex-shrink:0;padding:46px 24px;font-size:18px;font-weight:500;color:#333;line-height:20px;border-top:1px solid #5d98d2;border-bottom:1px solid #5d98d2;display:flex;align-items:center;justify-content:center}
.co-row+.co-row dt{border-top:none}
.co-row dd{flex:1;padding:45px 24px;font-size:18px;font-weight:500;color:#333;line-height:21.6px;border-top:1px solid #bababa;border-bottom:1px solid #bababa;display:flex;align-items:center}
.co-row+.co-row dd{border-top:none}

/* ============================
   CONTACT  (Figma: bg #8073b0, white card, form padding ~150px sides)
   ============================ */
#contact{position:relative;background:var(--purple-dk);padding:100px 0 80px;overflow:hidden}
.contact-inner{position:relative;z-index:1;text-align:center}
.contact-label{color:var(--accent)}
.contact-heading{font-size:clamp(36px, 2.6vw, 50px);font-weight:900;line-height:1.6;color:#fff;margin-bottom:32px}
.contact-card{background:#fff;border-radius:4px;padding:60px 150px;text-align:left}
.contact-lead{font-size:18px;font-weight:500;line-height:2;margin-bottom:30px}
.contact-form{display:flex;flex-direction:column;gap:30px}
.fg{display:flex;flex-direction:column;gap:10px}
.fl{display:flex;align-items:center;gap:14px;font-size:20px;font-weight:500;line-height:28px;color:#1f2937}
.badge-req{display:inline-block;background:#f37a2c;color:#fff;font-size:15px;font-weight:500;padding:5px 8px;border-radius:2px}
.badge-opt{display:inline-block;background:#999;color:#fff;font-size:15px;font-weight:500;padding:5px 8px;border-radius:2px}
.fi{width:100%;height:80px;border:1px solid #ccc;border-radius:3px;padding:28px;font-size:20px;font-weight:500;color:var(--text);outline:none;transition:border-color .2s}
.fi::placeholder{color:#989898}
.fi:focus{border-color:var(--purple)}
.fi-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M9 12L0 0h18z' fill='%23333'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 28px center;background-size:18px 12px;padding-right:56px;line-height:1}
.fi-ta{min-height:274px;height:auto;resize:vertical;line-height:1.5}
.form-agree{margin-top:8px;margin-bottom:4px}
.agree-label{display:flex;align-items:flex-start;gap:8px;font-size:16px;font-weight:500;color:#336;cursor:pointer}
.agree-label input[type="checkbox"]{width:13px;height:13px;margin-top:3px;flex-shrink:0}
.agree-link{color:#1847a2;text-decoration:underline}
.form-submit{display:flex;justify-content:center;margin-top:8px}
.form-submit .btn-cta{border:none;cursor:pointer}

/* ============================
   FOOTER
   ============================ */
#footer{background:#f3f3f3;padding:40px 0 0}
.footer-top{display:flex;align-items:center;gap:48px;padding-bottom:20px}
.footer-logo{display:flex;align-items:center;gap:7px}
.footer-logo img{width:75px;height:62px}
.footer-nav{display:flex;gap:32px;margin-left:auto}
.footer-nav a{font-size:16px;font-weight:700;line-height:20px;color:var(--text-sub)}
.footer-copy{text-align:center;font-size:14px;font-weight:500;line-height:16px;color:#000;padding:32px 0 40px;border-top:1px solid rgba(255,255,255,.05)}
.footer-logo img{mix-blend-mode:multiply}

/* ============================
   RESPONSIVE
   ============================ */
@media(max-width:1024px){
  .header-nav,.header-cta{display:none}
  .hamburger{display:flex;margin-left:auto}
  .header-inner{padding:0 24px}
  .hero-inner{padding:60px 24px;flex-direction:column;min-height:auto;align-items:flex-start}
  .hero-title{line-height:1.5;white-space:normal}
  .hero-content{max-width:100%}
  .hero-middle{flex-direction:column;align-items:flex-start}
  .hero-badge{margin-bottom:16px}
  .service-cards{flex-direction:column;align-items:center}
  .service-card{max-width:100%}
  .strength-item{min-height:auto;margin-left:0;margin-right:0}
  .strength-photo{width:100%}
  .strength-photo img{height:auto;aspect-ratio:752/423;object-fit:cover;object-position:center center}
  .strength-item:nth-child(3) .strength-photo img{object-position:72.55% 48.63%}
  .strength-item:last-child .strength-photo img{object-position:32.46% 56.15%}
  .instructor-img{object-fit:cover;object-position:center center}
  #tea-culture .instructor-img-wrap{height:437px}
  #tea-culture .instructor-img{width:100%;max-width:100%;height:100%;object-fit:cover;object-position:71.28% 91.08%;margin:0}
  .strength-card{position:relative;right:auto;left:auto;bottom:auto;width:100%;margin-top:-40px;padding:40px;box-shadow:0 2px 20px rgba(0,0,0,.08)}
  .strength-item.is-reverse .strength-photo{margin-left:0}
  .strength-item.is-reverse .strength-card{left:auto;padding:40px}
  .strength-item.is-reverse .strength-num{left:auto}
  .strength-num{position:relative;top:auto;left:auto;margin-bottom:8px}
  .course-layout{flex-direction:column}
  .ghost-vertical{font-size:clamp(28px,8vw,48px)}
  .section-deco{display:none}
  #tea-culture::before{display:none}
  .instructor-row{flex-direction:column}
  .instructor-photo-col{width:100%;max-width:546px}
  .works-gallery{aspect-ratio:auto;display:flex;flex-direction:column;gap:16px}
  .works-gallery img{position:relative;left:auto;top:auto;right:auto;width:100%;height:auto}
  .co-row{flex-direction:column;min-height:auto}
  .co-row dt{width:100%;padding:16px 24px}
  .co-row dd{padding:16px 24px}
  .contact-card{padding:40px 24px}
  .fi{padding:20px 16px;font-size:16px;height:auto}
  .footer-top{flex-direction:column;align-items:flex-start;gap:24px}
  .footer-nav{margin-left:0;flex-wrap:wrap}
  .gallery-strip img{width:300px;height:240px}
}
@media(max-width:640px){
  /* === 全体共通: ゴーストテキスト非表示 === */
  .ghost-text{font-size: clamp(28px, 8vw, 48px)}
  .ghost-vertical{font-size: clamp(28px, 8vw, 48px); display: block}

  /* === Hero: 改行・文字バランス === */
  .hero-title{font-size:clamp(24px, 6.5vw, 32px);line-height:1.5}
  .hero-subtitle{font-size:15px}
  .hero-body{font-size:14px;line-height:1.8}

  /* === Services: カード・改行・ゴーストテキスト === */
  .service-cards-section{margin-top:-24px}
  .service-card{padding:32px 24px;min-height:auto}
  .service-card-icon{width:180px;height:120px}
  .service-card-icon img{width:100%;height:100%;object-fit:contain}
  .service-card-title{font-size:20px;white-space:nowrap}
  .services-heading{font-size:clamp(22px, 6vw, 28px)}

  /* === Strengths: カード内テキスト + 03写真 === */
  .strength-body{font-size:15px;line-height:1.8}
  .strength-title{font-size:20px}
  .strength-photo img{max-height:280px;object-fit:cover}

  /* === Tea Culture / Calligraphy: 先生・コース === */
  .instructor-img{object-position:89.06% 31.71%;height:320px}
  #tea-culture .instructor-img-wrap{height:320px}
  #tea-culture .instructor-img{object-position:71.28% 91.08%}
  .bordered-label{font-size:16px;padding:6px 12px;margin-bottom:16px}
  .instructor-info-col .dot-list{gap:12px;margin-bottom:24px}
  .instructor-tags{gap:8px;margin-top:4px;margin-bottom:12px}
  .desc-body{font-size:15px;line-height:1.8;margin-bottom:20px}
  .course-layout{gap:24px}
  .course-layout .dot-list{flex:auto;gap:12px}
  .dot-list{gap:16px;margin-bottom:24px}
  .dot-list li{font-size:15px}
  .qual-pill{padding:10px 16px;font-size:14px;line-height:1.6}
  .qual-pills-title{writing-mode:horizontal-tb;font-size:14px;padding:10px 16px;letter-spacing:normal}
  .qualification-table{flex-direction:column}
  .qual-row{flex-direction:column;align-items:flex-start;gap:4px}
  .qual-levels{font-size:14px;white-space:normal}
  .section-light{padding:60px 0 40px}

  /* === Achievements: テキストレイアウト === */
  .ach-list li{display:flex;flex-direction:column;gap:4px;align-items:flex-start;font-size:15px;line-height:1.7;padding-left:24px;position:relative}
  .ach-list li::before{position:absolute;left:0;top:6px;margin-top:0}
  .ach-list li strong{display:block}
  .ach-list{gap:20px}
  .ach-cat{font-size:20px;margin-bottom:24px}

  /* === Company: 改行・テキスト === */
  .co-row dt{font-size:14px;padding:12px 24px}
  .co-row dd{font-size:15px;padding:12px 24px}

  /* === Contact: フォーム幅 === */
  .contact-card{padding:32px 16px}
  .fi{padding:16px;font-size:16px}
  .fi-ta{min-height:180px}

  .section-sub-lead{font-size:16px;margin-bottom:24px}

  /* === その他（既存ルール維持） === */
  .btn-cta{min-width:100%;height:72px;font-size:18px}
  .gallery-strip img{width:260px;height:208px}
  .footer-nav{flex-direction:column;gap:16px}
}
