/*
Theme Name: Hugmeal
Theme URI: https://hugmeal-kumamoto.fumiematsuno.chatgpt.site/
Author: Hugmeal
Description: Hugmeal公式サイト専用テーマ。レシピとコラムを管理画面から更新できます。
Version: 1.26.0
Text Domain: hugmeal
*/
:root{--ink:#46392f;--cream:#fbf8f1;--paper:#fffefa;--blue:#dfeef2;--blue-deep:#7899a4;--coral:#d98f78;--olive:#7e8b68;--line:#ddd4c7;--shadow:0 18px 60px rgba(70,57,47,.11)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--paper);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:17px;line-height:1.9;letter-spacing:.04em}
a{color:inherit}.skip-link{position:fixed;top:-100px;left:1rem;z-index:99;background:#fff;padding:.6rem 1rem}.skip-link:focus{top:1rem}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,254,250,.91);border-bottom:1px solid rgba(221,212,199,.75);backdrop-filter:blur(14px)}
.header-inner{height:82px;max-width:1180px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}
.brand{text-decoration:none;line-height:1;display:flex;flex-direction:column}.brand-main{font-family:Georgia,serif;font-size:27px;letter-spacing:.08em}.brand-main::after{content:"♡";margin-left:.2em;color:var(--coral);font-size:.75em}.brand-sub{margin-top:6px;font-size:10px;letter-spacing:.35em;color:#88786a}
.site-nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:700}.site-nav a{text-decoration:none}.nav-contact{border:1px solid var(--ink);border-radius:999px;padding:9px 17px}.menu-button{display:none;border:0;background:transparent;font:inherit;color:inherit}
.hero{min-height:590px;display:grid;grid-template-columns:1.1fr .9fr;background:linear-gradient(135deg,#f8f3e9 0%,#fffdfa 68%)}
.hero-photo{min-height:590px;background:#e8e0d4 url("assets/images/child-hand-sweets.jpeg") 34% center/cover no-repeat}
.hero-copy{align-self:center;width:100%;max-width:1180px;margin:auto;padding:80px 32px 90px}.eyebrow{margin:0 0 20px;color:var(--blue-deep);font-size:12px;font-weight:800;letter-spacing:.22em}.hero h1,.section h2,.values h2,.profile-section h2,.contact-section h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;letter-spacing:.04em;line-height:1.45}
.hero h1{margin:0;font-size:clamp(30px,3.25vw,50px)}.hero-title-line{white-space:nowrap}.small-break{display:none}.hero-lead{max-width:600px;margin:30px 0 36px;line-height:2}.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 25px;border-radius:999px;text-decoration:none;font-size:14px;font-weight:700}.primary{background:var(--ink);color:#fff}.secondary{border:1px solid var(--ink);background:transparent}.text-link{text-underline-offset:6px;font-size:14px;font-weight:700}
.section{max-width:1180px;margin:auto;padding:120px 32px}.about{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px}.section-heading h2{font-size:clamp(32px,3.6vw,50px);margin:0}.heading-line{white-space:nowrap}.about-copy{padding-top:42px}.about-copy p{margin:0 0 25px}
.values{background:var(--ink);color:#f8f4ec;padding:105px max(32px,calc((100vw - 1180px)/2));display:grid;grid-template-columns:.75fr 1.25fr;gap:80px}.eyebrow.light{color:#b8d1d4}.values h2{font-size:40px;margin:0}.value-list article{position:relative;padding:30px 0 34px 82px;border-top:1px solid rgba(255,255,255,.2)}.value-list article:last-child{border-bottom:1px solid rgba(255,255,255,.2)}.value-list span{position:absolute;left:0;top:35px;color:#b8d1d4;font-family:Georgia,serif}.value-list h3{margin:0 0 8px;font-size:22px}.value-list p{margin:0;color:#e7dfd4}
.values-child{display:block;width:min(100%,300px);height:auto;margin:28px auto 0}
.section-heading.compact{max-width:700px;margin-bottom:55px}.section-heading.compact h2{margin-bottom:20px}.activity-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.activity-card{position:relative;min-height:300px;padding:42px;background:#f5eadf;border-radius:4px;border-top:4px solid #caa37d}.activity-card.accent-blue{background:#ebf3f4;border-color:#8babb2}.activity-card.accent-coral{background:#f8e9e5;border-color:var(--coral)}.activity-card.accent-olive{background:#eef0e9;border-color:var(--olive)}.activity-photo{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center;margin:26px 0 0}.card-no{font-family:Georgia,serif;color:#8d7b6c;font-size:14px}.activity-card h3{font-family:"Yu Mincho",serif;font-size:26px;line-height:1.5;margin:16px 0}.activity-card p{margin:0;font-size:15px;line-height:1.9}
.activity-link{display:inline-block;margin-top:26px;font-size:15px;font-weight:700;text-underline-offset:5px}.site-nav [aria-current="page"]{text-decoration:underline;text-underline-offset:7px}
.activity-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:26px}.activity-links .activity-link{margin-top:0}
.activity-image-link{display:block;text-decoration:none}.activity-image-link .activity-photo{margin-top:18px}.activity-image-link:focus-visible{outline:3px solid var(--blue-deep);outline-offset:4px}
.school-hero{background:linear-gradient(125deg,#e8f3f5,#f8f9f4);padding:100px 32px 110px}.school-hero-inner{max-width:1116px;margin:auto}.school-hero h1,.school-page h2,.school-page h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500}.school-hero h1{font-size:clamp(38px,4.5vw,60px);line-height:1.45;margin:0 0 20px}.school-hero p:not(.eyebrow){max-width:650px;margin:0 0 30px}.school-page h2{font-size:clamp(32px,3.5vw,46px);line-height:1.5;margin:0 0 22px}.school-section-lead{margin:0 0 42px}.school-class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.school-class-grid article{background:#f4f8f8;border-top:3px solid #89abb3;padding:34px 30px 40px}.school-class-grid span{font-size:14px;color:#607c83;font-weight:700}.school-class-grid h3{font-size:29px;margin:12px 0 16px}.school-class-grid p{font-size:16px;margin:0}.school-learning{background:#f7f4ed;padding:92px 32px}.school-learning-inner{max-width:1116px;margin:auto;display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.school-learning p:not(.eyebrow){margin:0 0 20px}.school-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:38px}.school-location-grid article{border-top:1px solid var(--line);padding:28px 0 20px}.school-location-grid span{font-family:Georgia,serif;color:var(--blue-deep)}.school-location-grid h3{font-size:30px;margin:12px 0}.school-location-grid p{margin:0}.school-contact{text-align:center;background:#eaf3f5;padding:90px 32px 105px}.school-contact p:not(.eyebrow){max-width:700px;margin:0 auto 30px}
.school-gallery{padding:46px 32px 0;background:var(--paper)}.school-gallery-inner{max-width:1116px;margin:auto;display:grid;grid-template-columns:.82fr 1.18fr;grid-template-rows:repeat(2,210px);gap:12px}.school-gallery img{display:block;width:100%;height:100%;object-fit:cover}.school-gallery img:first-child{grid-row:1/3;object-position:center 62%}.school-gallery img:nth-child(2){object-position:center 58%}.school-gallery img:nth-child(3){object-position:center 58%}
.school-team{padding:85px 32px 55px;background:var(--paper)}.school-team-inner{max-width:820px;margin:auto;text-align:center}.school-team h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;font-size:clamp(30px,3.5vw,44px);margin:0 0 32px}.school-team-figure{max-width:680px;margin:0 auto}.school-team-figure img{display:block;width:100%;height:auto}.school-team-names{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.school-teacher-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}.school-teacher-name{width:100%;margin:0!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(17px,2vw,22px);line-height:1.5}.school-teacher-nickname{width:100%;margin:3px 0 0!important;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:13px;line-height:1.5;color:#74685e}
.school-schedule{padding:90px 32px;background:#f7f4ed}.school-schedule-inner{max-width:1116px;margin:auto}.school-schedule h3{font-size:29px;margin:38px 0 18px}.schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.schedule-grid article{background:var(--paper);padding:28px 24px}.schedule-grid h4{margin:0 0 16px;font-size:20px}.schedule-grid ul,.honjo-schedule ul{list-style:none;margin:0;padding:0}.schedule-grid li,.honjo-schedule li{margin:0 0 7px;line-height:1.7}.honjo-schedule{background:var(--paper);padding:24px 28px;display:flex;gap:45px;align-items:flex-start}.honjo-schedule p{font-weight:700;margin:0;min-width:160px}.schedule-note{font-size:14px;margin:25px 0 0;color:#6a5d53}
.recipe-page{background:var(--paper)}.recipe-intro{background:linear-gradient(135deg,#f4eee3,#f4f8f7);padding:104px 32px 112px}.recipe-intro-inner{max-width:1116px;margin:auto}.recipe-intro h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(36px,4.2vw,58px);font-weight:500;line-height:1.45;margin:0 0 26px}.recipe-intro p:last-child{max-width:680px;margin:0}.recipe-list{min-height:420px}.recipe-list h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(30px,3vw,42px);font-weight:500;margin:0 0 30px}.recipe-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:48px 0 54px;margin-bottom:28px}.recipe-empty p{max-width:700px;margin:0;line-height:2}
.recipe-intro-with-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:center;gap:54px}.recipe-intro-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.related-page{margin-top:20px}.column-link{margin-top:28px}
.lecture-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:26px}.lecture-photos img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}.lecture-photos img:first-child{object-position:center 40%}.lecture-photos img:last-child{object-position:center 45%}
.events-page{background:var(--paper)}.events-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:640px;background:linear-gradient(135deg,#f7f0e5,#f5f8f4)}.events-hero-copy{padding:90px 70px 90px max(32px,calc((100vw - 1180px)/2))}.events-hero h1,.events-page h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;text-wrap:balance}.events-hero h1{max-width:600px;font-size:clamp(38px,4.2vw,58px);line-height:1.42;margin:0 0 24px}.events-hero-copy>p:last-child{max-width:590px}.events-hero>img{width:100%;height:100%;min-height:640px;object-fit:cover}.events-detail{display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:center}.events-detail h2,.events-culture h2,.events-contact h2{font-size:clamp(30px,3.2vw,44px);line-height:1.5;margin:0 0 24px}.events-detail img{width:100%;aspect-ratio:4/3;object-fit:cover}.events-culture{background:#f7f4ed;padding:82px 32px 88px}.events-culture-inner{max-width:1116px;margin:auto;display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:center}.events-culture h2{max-width:720px}.events-culture-copy>p:last-child{max-width:700px}.events-culture img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.events-contact{text-align:center;background:#eaf3f5;padding:90px 32px 105px}.events-contact>p:not(.eyebrow){max-width:720px;margin:0 auto 30px}
.culture-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:26px}.culture-photos img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.culture-photos img:first-child{object-position:center 75%}.culture-photos img:last-child{object-position:center 45%}
.events-culture-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,190px);gap:10px}.events-culture .events-culture-gallery img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}.events-culture-gallery img:first-child{grid-row:1/3}
.activity-card{display:flex;flex-direction:column}.activity-card:nth-child(1) .activity-image-link,.activity-card:nth-child(2) .activity-image-link{margin-top:auto;padding-top:26px}.activity-card:nth-child(1) .activity-photo{margin-top:0}.activity-card:nth-child(2) .culture-photos{margin-top:0}.culture-photos{aspect-ratio:3/2}.culture-photos img{height:100%;min-height:0;aspect-ratio:auto}
.activity-card:nth-child(3) .lecture-photos,.activity-card:nth-child(4) .culture-photos{margin-top:auto;padding-top:26px;aspect-ratio:8/5}.activity-card:nth-child(3) .lecture-photos img,.activity-card:nth-child(4) .culture-photos img{height:100%;min-height:0;aspect-ratio:auto}
.profile-section{display:grid;grid-template-columns:1fr 1fr;min-height:680px;background:var(--cream)}.profile-photo{background-color:#eef4f5;background-image:url("assets/images/fumie-profile.jpeg");background-position:center 55%;background-size:141% auto;background-repeat:no-repeat;height:680px;align-self:center}.profile-copy{align-self:center;max-width:610px;padding:80px 80px}.profile-copy h2{font-size:46px;margin:0 0 6px}.profile-tagline{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:22px;margin:0 0 22px}.profile-role{padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid var(--line);font-size:15px;font-weight:700}.profile-copy>p:not(.eyebrow):not(.profile-role):not(.profile-tagline){font-size:15px}
.profile-more,.profile-back{display:inline-block;margin-top:18px;font-size:15px;font-weight:700;text-underline-offset:6px}
.profile-page{background:var(--cream);display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);min-height:750px}.profile-page-photo{aspect-ratio:796/938;align-self:start;position:sticky;top:82px;background:#eef4f5 url("assets/images/fumie-profile.jpeg") center 55%/141% auto no-repeat}.profile-page-body{max-width:800px;padding:110px clamp(32px,7vw,110px) 120px}.profile-page h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(32px,3.2vw,48px);font-weight:500;line-height:1.5;margin:0 0 55px}.profile-story p{margin:0 0 2em;line-height:2.1}

.hugmeal-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.hugmeal-post-card{border-top:3px solid var(--blue-deep);background:var(--cream);padding:0 24px 28px}.hugmeal-post-card img{display:block;width:calc(100% + 48px);max-width:none;height:220px;object-fit:cover;margin:0 -24px 24px}.hugmeal-post-card a{text-decoration:none}.hugmeal-post-card h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:24px;line-height:1.55;margin:0 0 12px}.hugmeal-post-card p{font-size:15px;margin:0}.hugmeal-single{max-width:850px;min-height:60vh}.hugmeal-single h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(34px,4vw,52px);font-weight:500;line-height:1.5}.single-featured img{width:100%;height:auto}.entry-content{margin:42px 0;font-size:17px}.entry-content img{max-width:100%;height:auto}.nav-links{display:flex;gap:12px;margin-top:35px}.page-numbers{padding:8px 13px;border:1px solid var(--line);text-decoration:none}
.contact-section{padding:120px 32px;text-align:center;background:linear-gradient(180deg,#fffefa,#edf5f5)}.contact-section h2{font-size:clamp(34px,4vw,54px);margin:0 0 25px}.contact-section>p:not(.eyebrow){max-width:700px;margin:0 auto 36px}.contact-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
footer{padding:45px 32px;text-align:center;background:#fffefa}.footer-brand{display:flex;flex-direction:column;line-height:1}.footer-brand span{font-family:Georgia,serif;font-size:25px}.footer-brand small{margin-top:7px;font-size:9px;letter-spacing:.25em}.footer-brand span::after{content:"♡";color:var(--coral);margin-left:.2em}footer>p{font-size:12px;color:#83756a}.copyright{margin-top:25px}
@media(max-width:900px){.site-nav{display:none;position:absolute;top:82px;left:0;right:0;padding:25px 28px;background:var(--paper);box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.site-nav.open{display:flex}.menu-button{display:block}.hero{min-height:auto;grid-template-columns:1fr}.hero-copy{padding:80px 28px 70px}.hero-photo{min-height:340px}.about,.values,.profile-section{grid-template-columns:1fr}.about{gap:24px}.about-copy{padding-top:0}.values{gap:40px}.profile-photo{height:560px;background-position:center 35%}.profile-copy{padding:70px 32px;max-width:none}}
@media(max-width:900px){.profile-page{grid-template-columns:1fr}.profile-page-photo{width:100%;max-width:620px;position:static;margin:auto}.profile-page-body{max-width:760px;padding:72px 32px 90px}}
@media(max-width:900px){.school-class-grid,.schedule-grid{grid-template-columns:1fr}.school-learning-inner{grid-template-columns:1fr;gap:16px}}
@media(max-width:900px){.recipe-intro-with-photo{grid-template-columns:1fr;gap:35px}.recipe-intro-photo{max-width:620px}}
@media(max-width:900px){.hugmeal-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body{font-size:16px}.header-inner{height:70px;padding:0 20px}.site-nav{top:70px}.hero-copy{padding-top:62px}.hero h1{font-size:clamp(34px,6vw,38px)}.hero-title-line{white-space:normal}.small-break{display:inline}.hero-photo{min-height:270px}.section{padding:85px 22px}.values{padding:85px 22px}.values h2{font-size:34px}.value-list article{padding-left:52px}.activity-grid{grid-template-columns:1fr}.activity-card{min-height:0;padding:32px 26px}.profile-photo{height:420px;background-position:center 55%}.profile-copy{padding:65px 24px}.contact-section{padding:90px 22px}.button{width:100%}.hero-actions{align-items:stretch;flex-direction:column}.text-link{text-align:center}.contact-links{flex-direction:column}}
@media(max-width:620px){.profile-page-body{padding:64px 24px 85px}.profile-page h1{margin-bottom:34px}}
@media(max-width:620px){.recipe-intro{padding:75px 22px 82px}.recipe-empty{padding:36px 0 42px}}
@media(max-width:620px){.hugmeal-post-grid{grid-template-columns:1fr}}
@media(max-width:620px){.school-hero{padding:72px 22px 82px}.school-gallery{padding:24px 22px 0}.school-gallery-inner{grid-template-columns:1fr;grid-template-rows:none}.school-gallery img{height:auto;aspect-ratio:3/2}.school-gallery img:first-child{grid-row:auto;aspect-ratio:4/3}.school-class-grid article{padding:28px 25px 32px}.school-schedule{padding:75px 22px}.honjo-schedule{display:block}.honjo-schedule p{margin-bottom:12px}.school-learning{padding:75px 22px}.school-location-grid{grid-template-columns:1fr;gap:0}.school-contact{padding:75px 22px 85px}}
@media(max-width:620px){.school-team{padding:70px 22px 30px}.school-team-names{gap:2px}.school-teacher-name{font-size:15px;letter-spacing:0}.school-teacher-nickname{font-size:12px}}
@media(max-width:760px){.events-hero,.events-detail,.events-culture-inner{grid-template-columns:1fr}.events-hero{min-height:0}.events-hero-copy{padding:72px 24px}.events-hero>img{min-height:0;aspect-ratio:4/3}.events-detail,.events-culture-inner{gap:38px}.events-culture,.events-contact{padding:72px 24px 82px}}
@media(max-width:760px){.events-culture-gallery{grid-template-rows:repeat(2,150px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Three teacher profile page */
.team-profile-page{background:var(--cream);padding:105px 32px 120px}.team-profile-header{max-width:1116px;margin:0 auto 76px}.team-profile-header h1{max-width:820px;margin:0 0 22px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(34px,4vw,52px);font-weight:500;line-height:1.5}.team-profile-header>p:last-child{max-width:720px;margin:0}.team-profile-list{max-width:1116px;margin:auto}.team-profile-card{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:clamp(44px,7vw,92px);align-items:center;padding:70px 0;border-top:1px solid var(--line)}.team-profile-card:last-child{border-bottom:1px solid var(--line)}.team-profile-card:nth-child(even) .team-profile-photo-wrap{order:2}.team-profile-card:nth-child(even) .team-profile-copy{order:1}.team-profile-photo-wrap{overflow:hidden;background:#e8efef;aspect-ratio:4/5}.team-profile-photo{display:block;width:100%;height:100%;object-fit:cover}.team-profile-nickname{margin:0 0 8px;color:var(--blue-deep);font-size:12px;font-weight:800;letter-spacing:.18em}.team-profile-copy h2{margin:0 0 18px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(30px,3vw,42px);font-weight:500;line-height:1.45}.team-profile-role{margin:0 0 28px;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:14px;font-weight:700;line-height:1.9}.team-profile-bio p{margin:0 0 1.6em;line-height:2.05}.team-profile-bio p:last-child{margin-bottom:0}.team-profile-card-featured{align-items:start}.team-profile-card-featured .team-profile-photo-wrap{margin-top:0}.team-profile-bio-wide{grid-column:1/-1;max-width:920px;margin:4px auto 0;width:100%;column-count:1}.team-profile-bio-wide p{break-inside:avoid}.team-profile-footer{max-width:1116px;margin:42px auto 0}
@media(max-width:760px){.team-profile-page{padding:72px 22px 90px}.team-profile-header{margin-bottom:42px}.team-profile-card{grid-template-columns:1fr;gap:30px;padding:48px 0}.team-profile-card:nth-child(even) .team-profile-photo-wrap,.team-profile-card:nth-child(even) .team-profile-copy{order:initial}.team-profile-photo-wrap{width:100%;max-width:520px}.team-profile-role{margin-bottom:22px;padding-bottom:20px}.team-profile-bio-wide{grid-column:auto;margin-top:0;column-count:1}}

/* v1.14: keep all teacher portraits visually identical regardless of source image dimensions */
@media(min-width:761px){
  .team-profile-card{grid-template-columns:clamp(300px,34vw,390px) minmax(0,1fr)}
  .team-profile-card:nth-child(even){grid-template-columns:minmax(0,1fr) clamp(300px,34vw,390px)}
  .team-profile-card:nth-child(even) .team-profile-photo-wrap{grid-column:2}
  .team-profile-card:nth-child(even) .team-profile-copy{grid-column:1;grid-row:1}
}
.team-profile-photo-wrap{
  width:100%;
  min-width:0;
  aspect-ratio:4/5;
  overflow:hidden;
}
.team-profile-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
@media(max-width:760px){
  .team-profile-photo-wrap{width:min(100%,420px);margin-inline:auto}
}

/* v1.18: featured teacher uses a true single-column biography below the photo/name row */
.team-profile-card-featured{display:block}
.team-profile-featured-top{display:grid;grid-template-columns:clamp(300px,34vw,390px) minmax(0,1fr);gap:clamp(44px,7vw,92px);align-items:start}
.team-profile-card-featured .team-profile-bio-wide{display:block;max-width:820px;width:100%;margin:52px auto 0;column-count:auto;columns:auto}
.team-profile-card-featured .team-profile-bio-wide p{display:block;width:100%;max-width:none;margin:0 0 1.6em;break-inside:auto}
@media(max-width:760px){.team-profile-featured-top{grid-template-columns:1fr;gap:30px}.team-profile-card-featured .team-profile-bio-wide{max-width:none;margin-top:34px}}


/* v1.19: featured profile biography is always one readable text column. */
.team-profile-card-featured .team-profile-bio-wide{
  display:block !important;
  width:100% !important;
  max-width:760px !important;
  margin:52px auto 0 !important;
  column-count:1 !important;
  column-width:auto !important;
  columns:auto !important;
  column-gap:0 !important;
}
.team-profile-card-featured .team-profile-bio-wide p{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 0 1.75em !important;
  break-inside:auto !important;
}
@media(max-width:760px){
  .team-profile-card-featured .team-profile-bio-wide{
    max-width:none !important;
    margin-top:34px !important;
  }
}

/* v1.22 REQUEST gallery: six compact thumbnails */
.events-contact .events-request-gallery{
  width:min(100%,900px);
  margin:46px auto 0;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
.events-contact .events-request-gallery img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:6px;
}
@media(max-width:900px){
  .events-contact .events-request-gallery{width:min(100%,620px);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}
@media(max-width:520px){
  .events-contact .events-request-gallery{width:100%;margin-top:36px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}

/* v1.24: featured teacher biography sits directly below role in the right column */
.team-profile-card-featured .team-profile-copy .team-profile-bio{
  max-width:680px;
}
.team-profile-card-featured .team-profile-copy .team-profile-bio p{
  margin:0 0 1.6em;
  line-height:2.05;
}
@media(max-width:760px){
  .team-profile-card-featured .team-profile-copy .team-profile-bio{max-width:none;}
}

.profile-section-label{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.08em;color:#786b60}


/* v1.26 seasonal food columns */
.column-intro{background:linear-gradient(135deg,#f8efe7,#eef5f3);padding:104px 32px 112px}
.column-intro-inner{max-width:1116px;margin:auto}
.column-intro h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(36px,4.2vw,58px);font-weight:500;line-height:1.45;margin:0 0 26px}
.column-intro p:last-child{max-width:720px;margin:0;line-height:2}
.column-list{min-height:420px}.column-list h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(30px,3vw,42px);font-weight:500;margin:0 0 30px}
.column-card{border-top-color:var(--olive)}
.column-card .column-meta{margin:0 0 10px;color:var(--blue-deep);font-size:12px;font-weight:700;letter-spacing:.08em}
.column-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:48px 0 54px}
.column-empty p{max-width:700px;margin:0;line-height:2}
@media(max-width:620px){.column-intro{padding:75px 22px 82px}}
