/* Layout rules shared by every viewport. Keep the image caption in normal flow. */
:root { --page-gutter: clamp(20px, 4vw, 48px); }
.container, .container-narrow,
.home-page #company .container-narrow {
  width: min(1280px, calc(100% - var(--page-gutter) * 2));
}
.container-narrow { max-width: 960px; }
.home-page #company .container-narrow { max-width: 1280px; }
main, section, article, nav { min-width: 0; }
.hero__layout > *, .biz-card > *, .access-grid > *, .footer-grid > *,
.service-hero__inner > *, .home-page #company .container-narrow > *,
.cta-band .container > *, .field > *, .confirm-list > div > *,
.supernatant > *, .stemcell > *, .two-cards > *, .hydro-intro > * { min-width: 0; }
p, h1, h2, h3, td, dd, .footer-col a, .field__hint { overflow-wrap: anywhere; }
img { max-width: 100%; }
.site-logo { flex-shrink: 0; }
.site-logo img { display: block; width: min(240px, 62vw); height: auto; }
@media (max-width: 560px) {
  .site-logo img { width: min(190px, 62vw); }
}
.nav-toggle { flex-shrink: 0; }

.hero { padding-top: clamp(36px, 5vw, 72px); overflow: visible; }
.hero__layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.hero h1 { font-size: clamp(32px, 4.15vw, 62px); white-space: normal; line-height: 1.5; letter-spacing: -.035em; }
.hero__visual { aspect-ratio: auto; margin: 0; width: 100%; background: transparent; }
.hero__image { position: relative; aspect-ratio: 5 / 4; width: 100%; overflow: hidden; }
.hero__image .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.hero__nature { position: static; inset: auto; min-height: 0; margin: 0; padding: 18px 0; width: 100%; gap: 14px; }
.hero__nature img { flex: 0 0 52px; width: 52px; height: 52px; }
.hero__nature > span { min-width: 0; overflow-wrap: anywhere; }
.hero__nature b { flex-shrink: 0; }
.hero__footnote { flex-wrap: wrap; }
.hero__actions { flex-wrap: wrap; }
.hero__baseline { margin-top: clamp(28px, 4vw, 56px); gap: 20px; }
.hero__baseline > span { max-width: none; }
.hero__baseline a { flex-shrink: 0; }

.home-page #business .sec-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.home-page #business .section-display { font-size: clamp(44px, 6vw, 84px); }
.biz-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); }
.biz-card__img { width: 100%; min-width: 0; }
.biz-card__more { min-width: 0; flex-wrap: wrap; }
.biz-card__more::after { flex-shrink: 0; }
.home-page #company .container-narrow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); }
.home-page #company .section-display { font-size: clamp(42px, 5vw, 68px); }
.company-table { width: 100%; table-layout: fixed; }
.company-table th { width: 145px; }
.company-table td { padding-left: 16px; }
.company-table ul, .officers { min-width: 0; }
.officers { grid-template-columns: minmax(0, auto) minmax(0, 1fr); margin: 0; }
.access-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); }
.access-map { min-width: 0; width: 100%; }
.access-map iframe { max-width: 100%; }
.cta-band .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 clamp(28px, 4vw, 56px); }
.contact-display { font-size: clamp(54px, 7vw, 98px); gap: clamp(16px, 2vw, 32px); }
.cta-band .btn { max-width: 100%; text-align: center; }
.cta-band .tel a { display: block; margin: 4px 0 0; }
.footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.service-hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
.service-hero h1 { font-size: clamp(30px, 3.7vw, 52px); }
.service-hero__art { height: auto; aspect-ratio: 5 / 4; min-width: 0; }
.service-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.field { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); }
.confirm-list div { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); }
.input, .textarea, .select { min-width: 0; }
.form-steps { flex-wrap: wrap; row-gap: 12px; }
.supernatant { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.stemcell, .two-cards, .feature-grid, .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hydro-intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.action-grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
.nutrition { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Tablet: switch while the text still has enough room, not after it overflows. */
@media (max-width: 960px) {
  .hero__layout, .service-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding: 0; }
  .hero h1 { font-size: clamp(32px, 5.8vw, 54px); }
  .hero__footnote { display: none; }
  .hero__image { aspect-ratio: 16 / 9; }
  .hero__image .hero__photo { object-position: center 42%; }
  .home-page #business .sec-head { display: block; }
  .home-page #business .section-display { font-size: clamp(44px, 7vw, 66px); margin-bottom: 28px !important; }
  .home-page #business .sec-head h2,
  .home-page #business .sec-head > p:not(.section-display) { grid-column: auto; grid-row: auto; }
  .home-page #company .container-narrow, .access-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-page #company .section-display { font-size: clamp(42px, 7vw, 64px); }
  .company-table th { width: 160px; }
  .cta-band .container { display: block; }
  .contact-display { font-size: clamp(58px, 9vw, 86px); justify-content: space-between; max-width: 620px; margin-bottom: 28px !important; }
  .cta-band .en { display: block; margin-bottom: 24px; }
  .cta-band h2 { margin-bottom: 16px; }
  .service-hero__art { aspect-ratio: 16 / 9; }
  .supernatant, .stemcell, .hydro-intro, .steps, .action-grid { grid-template-columns: minmax(0, 1fr); }
  .steps li:not(:last-child)::after { right: 50%; top: auto; bottom: -18px; transform: translateX(50%) rotate(135deg); }
  .field, .confirm-list div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .field__label { padding-top: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .biz-card, .two-cards, .feature-grid, .offer-list { grid-template-columns: minmax(0, 1fr); }
  .biz-card { gap: 24px; }
  .biz-card__body { padding: 0; }
  .company-table, .company-table tbody, .company-table tr,
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding: 18px 0 6px; border-bottom: 0; border-top: 0; font-size: 15px; }
  .company-table td { padding: 0 0 18px; border-top: 0; }
  .company-table tr:first-child th { border-top: 1px solid var(--line); }
  .company-table tr:first-child td { border-top: 0; }
  .company-table tr:last-child td { border-bottom: 0; }
  .about-exo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(28px, 7.2vw, 40px); }
  .hero__image, .service-hero__art { aspect-ratio: 5 / 4; }
  .hero__nature { gap: 12px; padding: 14px 0; }
  .hero__nature img { flex-basis: 42px; width: 42px; height: 42px; }
  .hero__nature > span { font-size: 10px; letter-spacing: .08em; }
  .hero__nature small { font-size: 13px; }
  .hero__baseline { align-items: flex-start; }
  .hero__baseline > span { max-width: none; }
  .intro-strip .container { display: block; }
  .intro-strip span { display: block; margin-bottom: 14px; }
  .intro-strip a { display: inline-block; margin-top: 20px; }
  .hero__actions .btn { max-width: 100%; }
  .biz-card h3 { font-size: 22px; }
  .biz-card__links { flex-direction: column; align-items: flex-start; }
  .section-display, .home-page #company .section-display { font-size: clamp(38px, 10vw, 48px); }
  .home-page #business .section-display { font-size: clamp(38px, 10vw, 48px); }
  .contact-display { font-size: clamp(46px, 13vw, 64px); }
  .footer-grid, .contact-alt { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: auto; }
  .nutrition, .effects-top, .worry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worry-list { grid-template-columns: minmax(0, 1fr); }
  .form-actions { gap: 12px; }
  .form-actions .btn { min-width: 0; width: 100%; }
  .agree label { align-items: flex-start; text-align: left; }
  .agree input { flex-shrink: 0; margin-top: 5px; }
  .photo-label { max-width: calc(100% - 24px); }
}
@media (max-width: 1100px) {
  body:not(.is-nav-open) .gnav .sub { visibility: hidden; }
  .gnav a, .gnav .sub a { white-space: normal; overflow-wrap: anywhere; }
}

/* Keep the official brand name centered when the original wide image is cropped. */
.hero__image .hero__photo--brand { object-position: center center; }

/* Corporate homepage: company introduction, panoramic identity, business index. */
.corporate-hero { padding-top: clamp(38px, 5vw, 70px); background: #fff; }
.corporate-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-bottom: clamp(38px, 4vw, 60px); }
.corporate-intro > * { min-width: 0; }
.corporate-intro__label { margin: 0 0 22px; font-size: 14px; font-weight: 500; color: #5f6672; letter-spacing: .08em; }
.corporate-intro h1 { font-size: clamp(34px, 3.95vw, 58px); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; color: #151a23; }
.corporate-intro h1 span { color: #2155e8; }
.corporate-intro__about { padding-bottom: 6px; }
.corporate-intro__about p { font-size: 16px; line-height: 2; color: #454d5b; margin: 0 0 22px; }
.corporate-intro__about a { display: inline-flex; gap: 50px; align-items: center; padding: 10px 0; border-bottom: 1px solid #c8ced8; font-size: 15px; font-weight: 500; color: #151a23; text-decoration: none; }
.corporate-intro__about a span { color: #2155e8; font-size: 22px; }
.corporate-panorama { position: relative; aspect-ratio: 3.4 / 1; overflow: hidden; background: #061929; }
.corporate-panorama img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.corporate-business-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.corporate-business-nav a { display: flex; gap: 24px; align-items: center; min-width: 0; padding: 26px 30px 26px 0; color: #151a23; text-decoration: none; font-size: 17px; font-weight: 500; }
.corporate-business-nav a + a { border-left: 1px solid var(--line); padding-left: 30px; }
.corporate-business-nav a > span { min-width: 0; }
.corporate-business-nav__number { font-family: var(--font-en); font-size: 13px; color: #2155e8; flex-shrink: 0; }
.corporate-business-nav small { display: block; margin-top: 3px; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; color: #68717f; }
.corporate-business-nav__arrow { margin-left: auto; color: #2155e8; font-size: 25px; flex-shrink: 0; }
.corporate-business-nav a:hover { color: #2155e8; }
.home-page #business .section-display { font-size: clamp(44px, 5vw, 64px); }
.home-page #business .sec-head { margin-bottom: 40px; }
@media (max-width: 1100px) { .corporate-desktop-break { display: none; } .corporate-intro { gap: 36px; } .corporate-intro__about p { font-size: 16px; } }
@media (max-width: 960px) {
  .corporate-intro { grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
  .corporate-intro h1 { font-size: clamp(34px, 5vw, 48px); }
  .corporate-intro__about { max-width: 620px; padding: 0; }
  .corporate-intro__about p { margin-bottom: 12px; }
  .corporate-panorama { aspect-ratio: 2.5 / 1; }
  .corporate-business-nav a { font-size: 16px; gap: 16px; padding-right: 20px; }
  .corporate-business-nav a + a { padding-left: 20px; }
}
@media (max-width: 560px) {
  .corporate-intro__label { font-size: 13px; margin-bottom: 18px; letter-spacing: .025em; }
  .corporate-intro h1 { font-size: clamp(28px, 7.25vw, 40px); }
  .corporate-intro__about p { font-size: 16px; line-height: 1.95; }
  .corporate-panorama { aspect-ratio: 1.6 / 1; }
  .corporate-business-nav { grid-template-columns: minmax(0, 1fr); }
  .corporate-business-nav a { padding: 20px 0; gap: 18px; font-size: 16px; }
  .corporate-business-nav a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .corporate-business-nav small { font-size: 10px; }
  .home-page #business .section-display { font-size: 44px; }
}

/* Use the supplied unlettered source; keep the brand readable independently of image cropping. */
.corporate-panorama picture { position: absolute; inset: 0; display: block; }
.corporate-panorama img { object-position: center 56%; }
.corporate-panorama__brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; text-shadow: 0 2px 18px rgba(0,10,26,.5); }
.corporate-panorama__brand > span { font-family: var(--font-en); font-weight: 500; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.2; letter-spacing: .025em; }
.corporate-panorama__brand small { font-size: 15px; line-height: 1.5; letter-spacing: .18em; }
@media (max-width: 560px) {
  .corporate-panorama img { object-position: 63% center; }
  .corporate-panorama__brand { gap: 12px; padding: 20px; }
  .corporate-panorama__brand > span { font-size: clamp(27px, 7.3vw, 36px); }
  .corporate-panorama__brand small { font-size: 12px; letter-spacing: .1em; }
}

/* User-provided Tensei Garlic photos: show the actual crop and growing facilities. */
.biz-card__img picture { display: block; width: 100%; height: 100%; }
.biz-card:nth-child(2) .biz-card__img .tensei-business-photo { object-position: center 45%; }
.tensei-hero-photo { position: relative; }
.tensei-hero-photo picture { position: absolute; inset: 0; display: block; }
.service-hero--hydro .tensei-hero-photo img { object-position: center 60%; }
.hydro-intro__img.tensei-product-photo { width: min(380px, 100%); max-width: 380px; border-radius: 0; box-shadow: none; overflow: visible; }
.tensei-product-photo picture { display: block; width: 100%; }
.tensei-product-photo img { width: 100%; height: auto; }
.tensei-product-photo figcaption { padding-top: 14px; color: #586171; font-size: 14px; line-height: 1.7; text-align: left; }
.tensei-gallery-section { border-top: 1px solid var(--line); }
.tensei-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tensei-gallery figure { min-width: 0; margin: 0; }
.tensei-gallery picture { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #f7f8fa; }
.tensei-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tensei-gallery figure:first-child img { object-position: center 42%; }
.tensei-gallery figcaption { padding-top: 16px; font-size: 16px; line-height: 1.7; color: #454d5b; }
@media (max-width: 960px) {
  .hydro-intro__img.tensei-product-photo { width: min(480px, 100%); max-width: 480px; margin: 10px auto 0; }
  .tensei-gallery { gap: 20px; }
  .tensei-gallery figcaption { font-size: 15px; }
}
@media (max-width: 760px) {
  .tensei-gallery { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tensei-gallery picture { aspect-ratio: 4 / 3; }
  .tensei-gallery figure:first-child img { object-position: center 38%; }
  .tensei-gallery figure:nth-child(2) img { object-position: center 55%; }
  .tensei-gallery figure:last-child img { object-position: center; }
  .tensei-product-photo figcaption { font-size: 14px; }
}

/* Modest display correction for the actual cultivation photographs; originals stay intact. */
.tensei-hero-photo img { filter: none; }
.tensei-gallery figure:nth-child(2) img { filter: none; }
.tensei-gallery figure:first-child img { filter: brightness(1.03); }
.tensei-gallery figure:last-child img,
.biz-card:nth-child(2) .biz-card__img .tensei-business-photo { filter: none; }
/* The product close-up is already bright: retain the natural white detail. */
.tensei-product-photo img { filter: none; }

/* Exosome conceptual artwork provided by the user. */
.exo-concept-art { position: relative; }
.exo-concept-art picture { position: absolute; inset: 0; display: block; }
.service-hero--exo .exo-concept-art img { object-position: 72% center; }
.home-page .biz-card:first-child .biz-card__img img { object-position: 70% center; }
.exo-page .cta-band { background-image: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 55%,rgba(255,255,255,.78) 100%),url('../img/exo-soft.jpg'); background-size: cover; background-position: center; }
@media (max-width: 760px) {
  .exo-page .cta-band { background-image: linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.94)),url('../img/exo-soft.jpg'); }
}

/* Closer framing inside the existing cultivation hero; keep the frame dimensions. */
.service-hero--hydro .tensei-hero-photo img {
  transform: scale(1.18);
  transform-origin: 58% 56%;
}
@media (max-width: 560px) {
  .service-hero--hydro .tensei-hero-photo img { transform: scale(1.12); }
}

/* A full-width conceptual visual below the exosome introduction. Keep both profiles uncropped. */
.exo-profile-visual { width: min(960px, 100%); margin: 0 auto 48px; }
.exo-profile-visual picture { display: block; width: 100%; }
.exo-profile-visual img { display: block; width: 100%; height: auto; border-radius: 0; }
.exo-profile-visual figcaption { margin-top: 12px; color: #586171; font-size: 13px; line-height: 1.7; text-align: right; }
@media (max-width: 560px) {
  .exo-profile-visual { margin-bottom: 32px; }
  .exo-profile-visual figcaption { font-size: 12px; text-align: left; }
}

/* Full-body illustration beside the symptom lists; retain the complete silhouette. */
.exo-symptom-layout { display: grid; grid-template-columns: minmax(180px, 270px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px); margin: 40px auto; max-width: 1120px; }
.exo-body-visual { margin: 0; min-width: 0; text-align: center; }
.exo-body-visual picture { display: block; }
.exo-body-visual img { display: block; width: auto; height: auto; max-width: 100%; max-height: 540px; margin: 0 auto; object-fit: contain; }
.exo-body-visual figcaption { margin-top: 12px; color: #586171; font-size: 12px; line-height: 1.7; }
.exo-symptom-content { min-width: 0; }
.exo-symptom-content .effects-top { max-width: none; margin: 0 0 28px; }
.exo-symptom-content .symptom-cloud { max-width: none; margin: 0; }
@media (max-width: 900px) {
  .exo-symptom-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 32px auto; }
  .exo-body-visual img { max-height: 320px; }
}
@media (max-width: 560px) {
  .exo-symptom-content .effects-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exo-body-visual img { max-height: 280px; }
}

/* Clear calls to action in the homepage business section. */
.home-page .biz-card__links { justify-content: flex-start; gap: 12px 20px; }
.home-page .biz-card__more {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 52px; max-width: 100%; padding: 12px 20px;
  border: 1px solid #2155e8; border-radius: 4px; color: #2155e8;
  background: #fff; font-size: 16px; line-height: 1.6; font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.home-page .biz-card__more::after { font-size: 22px; line-height: 1; }
.home-page .biz-card__more--primary { min-width: min(220px, 100%); color: #fff; background: #2155e8; font-weight: 700; }
.home-page .biz-card__more:hover { color: #1742b8; background: #eef3ff; border-color: #1742b8; }
.home-page .biz-card__more--primary:hover { color: #fff; background: #1742b8; }
.home-page .biz-card__more:focus-visible { outline: 3px solid #2155e8; outline-offset: 4px; }
@media (max-width: 560px) {
  .home-page .biz-card__links { align-items: stretch; }
  .home-page .biz-card__more { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .biz-card__more, .home-page .biz-card__more::after { transition: none; }
}

/* The dedicated reservation form remains the single supplementary contact option. */
.contact-alt.contact-alt--single { grid-template-columns: minmax(0, 1fr); }

/* Keep both profiles visible in the alternative homepage concept image. */
.home-page .biz-card:first-child .biz-card__img.exo-business-concept { aspect-ratio: 16 / 9; }
.home-page .biz-card:first-child .exo-business-concept img { object-position: center; }
