:root {
  --navy: #102a43;
  --navy-dark: #0b2239;
  --navy-soft: #163a59;
  --slate: #52677a;
  --text: #152536;
  --muted: #66798a;
  --line: #dce2e7;
  --line-soft: #e9edf0;
  --paper: #ffffff;
  --paper-soft: #f7f8fa;
  --ivory: #f5f3ee;
  --green: #2f6b5b;
  --green-soft: #e5eeea;
  --content: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5c9bd1; outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--navy); font-weight: 600; line-height: 1.45; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }

.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.content-narrow { max-width: 900px; }
.section { padding: 64px 0; }
.section-soft { background: var(--paper-soft); }
.section-ivory { background: var(--ivory); }
.eyebrow { display: block; margin-bottom: 8px; color: var(--green); font-size: .78rem; letter-spacing: .14em; font-weight: 700; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(1.6rem, 2.4vw, 2.15rem); }
.section-heading p { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.lead { max-width: 850px; color: #334b61; font-size: 1.08rem; }
.small-note { color: var(--muted); font-size: .84rem; }

.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(100%, 1440px);
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(285px, 1.2fr) minmax(690px, 3.6fr) 120px;
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 12px 24px; color: var(--navy); }
.brand img { width: 62px; flex: 0 0 62px; }
.brand-copy { display: grid; min-width: 0; line-height: 1.25; }
.brand-copy small { font-size: .76rem; }
.brand-copy strong { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.brand-copy small:last-child { margin-top: 4px; color: var(--slate); font-size: .66rem; letter-spacing: .08em; }
.site-nav { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.site-nav a {
  min-width: 0;
  padding: 14px 5px;
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  transition: background .18s ease, color .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); background: #f1f4f6; }
.site-nav .nav-ja { font-size: 14px; line-height: 1.35; white-space: nowrap; word-break: keep-all; letter-spacing: 0; }
.site-nav .nav-en { color: #718292; font-size: .66rem; letter-spacing: .1em; }
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--navy-dark);
  color: #fff;
  text-align: center;
}
.header-contact:hover { background: var(--navy-soft); }
.header-contact small { font-size: .68rem; letter-spacing: .08em; }
.menu-toggle { display: none; border: 0; background: var(--navy-dark); color: #fff; cursor: pointer; }
.nav-contact-mobile { display: none !important; }

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-dark);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,24,42,.94), rgba(5,24,42,.67) 43%, rgba(5,24,42,.05) 75%); }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 80px), var(--content)); margin: 0 auto; padding: 70px 0; }
.hero-copy { max-width: 780px; }
.hero .eyebrow { color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: .06em; }
.hero p { max-width: 590px; font-size: 1.05rem; }
.hero-note { display: block; margin-top: 22px; color: #d9e3eb; font-size: .8rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--navy);
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { background: var(--navy); color: #fff; }
.button-inverse { border-color: rgba(255,255,255,.82); background: rgba(11,34,57,.25); color: #fff; }
.button-inverse:hover { border-color: var(--green); background: var(--green); }
.button-primary { border-color: var(--green); background: var(--green); color: #fff; }
.button-primary:hover { border-color: var(--navy); background: var(--navy); }
.text-link { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.pillars { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; }
.pillar { min-width: 0; padding: 28px 16px 26px; border-right: 1px solid var(--line); text-align: center; }
.pillar:last-child { border-right: 0; }
.pillar-icon { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid var(--navy); border-radius: 50%; color: var(--navy); font-weight: 700; }
.pillar h3 { font-size: 1rem; }
.pillar p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }

.home-news-grid { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); }
.news-panel, .principles-panel { min-width: 0; padding: 32px; }
.principles-panel { border-left: 1px solid var(--line); background: var(--paper-soft); }
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 105px 92px minmax(0,1fr); align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.news-row time { color: var(--muted); font-size: .84rem; }
.label { display: inline-block; padding: 4px 8px; background: var(--green); color: #fff; font-size: .76rem; text-align: center; white-space: nowrap; }
.label-soft { background: var(--green-soft); color: #214f43; }
.principles-list { display: grid; gap: 14px; }
.principle { padding: 16px 18px; border-left: 4px solid var(--green); background: #fff; }
.principle strong { display: block; color: var(--navy); }

.platform-section { border-top: 1px solid var(--line); }
.instagram-showcase { max-width: 1220px; margin-inline: auto; display: grid; grid-template-columns: minmax(320px,1fr) minmax(500px,680px); gap: 24px; align-items: stretch; }
.instagram-intro { position: relative; min-width: 0; padding: clamp(38px,4vw,56px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; overflow: hidden; background: linear-gradient(145deg, var(--navy-dark), var(--navy-soft)); color: #fff; box-shadow: 0 12px 32px rgba(16,42,67,.08); }
.instagram-intro::after { content: ""; position: absolute; right: -112px; bottom: -112px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018); pointer-events: none; }
.instagram-intro > * { position: relative; z-index: 1; }
.platform-identity { display: flex; align-items: center; gap: 14px; }
.platform-mark { width: 46px; height: 46px; padding: 11px; display: grid; place-items: center; flex: 0 0 46px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.platform-mark img { width: 100%; height: 100%; object-fit: contain; }
.instagram-intro .eyebrow { margin-bottom: 3px; color: #b9d8cd; }
.platform-identity p { margin: 0; color: #e2ebf1; font-size: .9rem; letter-spacing: .04em; }
.instagram-intro-copy { margin-top: clamp(54px,8vw,96px); }
.instagram-intro-copy h2 { margin-bottom: 22px; color: #fff; font-size: clamp(1.9rem,2.2vw,2.15rem); line-height: 1.55; letter-spacing: .01em; }
.instagram-intro-copy p { max-width: 430px; margin-bottom: 0; color: #d8e4ec; }
.instagram-intro-footer { display: grid; justify-items: start; gap: 28px; }
.instagram-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.instagram-topics span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.26); color: #edf4f7; font-size: .76rem; letter-spacing: .03em; }
.instagram-feed-panel { min-width: 0; padding: 24px 20px 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px rgba(16,42,67,.08); }
.instagram-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 6px 18px; }
.instagram-feed-heading .eyebrow { margin-bottom: 0; }
.instagram-feed-heading h3 { margin-bottom: 0; font-size: 1.2rem; }
.instagram-profile-wrap { display: flex; justify-content: center; }
.social-embed-card { position: relative; min-width: 0; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.instagram-profile-card { width: 100%; max-width: 640px; min-height: 340px; border: 0; }
.instagram-profile-card.embed-loaded { min-height: 0; }
.social-embed-card blockquote.instagram-media { position: absolute !important; inset: 0; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; opacity: 0; pointer-events: none; }
.social-embed-card iframe { position: relative !important; inset: auto !important; display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.social-embed-card > .instagram-media-registered { display: none !important; }
.instagram-empty-state { min-height: 340px; padding: 48px 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(145deg, #fff 0%, var(--paper-soft) 100%); }
.instagram-empty-state h3 { margin: 18px 0 8px; }
.instagram-empty-state p { max-width: 440px; margin: 0 0 22px; color: var(--muted); }
.social-embed-card.embed-loaded > .embed-fallback { display: none; }

.promo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.feedback-banner, .garage-banner { position: relative; min-height: 285px; overflow: hidden; }
.feedback-banner { background: var(--navy-dark); color: #fff; }
.feedback-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feedback-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,24,42,.95), rgba(5,24,42,.72), rgba(5,24,42,.22)); }
.banner-content { position: relative; z-index: 1; max-width: 680px; padding: 32px; }
.feedback-banner h2 { color: #fff; }
.garage-banner { border: 1px solid #e2ddd2; background: var(--ivory); }
.garage-banner .banner-content { width: 62%; }
.garage-banner > img { position: absolute; right: -9%; bottom: -6%; width: 70%; }

.page-hero { position: relative; min-height: 300px; display: flex; align-items: end; overflow: hidden; color: #fff; background: var(--navy-dark); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .46; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,24,42,.94), rgba(5,24,42,.42)); }
.page-hero-inner { position: relative; z-index: 1; padding: 64px 0 42px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.page-hero .eyebrow { color: #d6e5df; }
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.content-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.info-card { min-width: 0; padding: 26px; border: 1px solid var(--line); background: #fff; }
.info-card h3 { font-size: 1.12rem; }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.icon-number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 15px; background: var(--navy); color: #fff; font-weight: 700; }
.activity-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.activity-card-heading .icon-number { flex: 0 0 38px; margin: 0; font-size: .78rem; }
.activity-card-heading h3 { margin: 0; }
.statement-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); }
.statement { padding: 28px; border-right: 1px solid var(--line); }
.statement:last-child { border-right: 0; }
.statement small { display: block; margin-bottom: 7px; color: var(--green); font-weight: 700; letter-spacing: .1em; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); }
.process-step { position: relative; padding: 26px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step strong { display: block; margin-bottom: 7px; color: var(--navy); }
.status-box { padding: 28px; border-left: 5px solid var(--green); background: var(--green-soft); }
.status-box h3 { margin-bottom: 10px; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.8fr); gap: 32px; align-items: start; }
.split-media { overflow: hidden; min-height: 320px; background: var(--paper-soft); }
.split-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.definition-list { border-top: 1px solid var(--line); }
.definition-row { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.definition-row dt { color: var(--muted); }
.definition-row dd { margin: 0; color: var(--navy); font-weight: 600; }
.page-cta { padding: 36px; background: var(--navy-dark); color: #fff; }
.page-cta h2 { color: #fff; }
.page-cta p { max-width: 780px; color: #d7e1e9; }

.event-empty { padding: 34px; border: 1px solid var(--line); background: var(--paper-soft); text-align: center; }
.news-archive { border-top: 1px solid var(--line); }
.archive-row { display: grid; grid-template-columns: 120px 110px minmax(0,1fr); gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.archive-row time { color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 32px; align-items: start; }
.contact-form { padding: 30px; border: 1px solid var(--line); background: #fff; }
.contact-preparing { margin: 22px 0; }
.form-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-fieldset:disabled { opacity: .58; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-weight: 600; }
.required { margin-left: 6px; color: #a62b2b; font-size: .76rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #b9c5ce; border-radius: 0; background: #fff; color: var(--text); }
.field textarea { min-height: 180px; resize: vertical; }
.check-row { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--green); }
.check-row > span { line-height: 1.5; }
.form-status { margin-top: 15px; padding: 12px; background: var(--green-soft); color: #214f43; }
.form-privacy-note { margin: 0; color: var(--muted); font-size: .9rem; }
.contact-aside { padding: 26px; background: var(--paper-soft); border: 1px solid var(--line); }
.contact-aside h3 { font-size: 1.08rem; }

.site-footer { background: var(--navy-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .9fr .8fr 1.05fr; gap: 28px; padding: 46px 0 36px; }
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.footer-logo img { width: 62px; }
.footer-logo strong { display: block; }
.footer-brand p { color: #d1dce5; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #dce5ec; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact { padding: 20px; border: 1px solid #536b80; background: #102f4b; }
.footer-contact p { color: #dce5ec; }
.footer-bottom { display: flex; justify-content: center; gap: 22px; padding: 17px 0; border-top: 1px solid #314b64; color: #c7d4de; font-size: .78rem; text-align: center; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: minmax(0,1fr) 128px; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line-soft); }
  .site-nav a { padding: 11px 4px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contact { grid-column: span 2; }
}

@media (max-width: 900px) {
  .home-news-grid, .promo-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .instagram-showcase { max-width: 680px; grid-template-columns: 1fr; }
  .instagram-intro { min-height: 500px; }
  .principles-panel { border-left: 0; border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(3n) { border-right: 0; }
  .content-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .statement-grid { grid-template-columns: 1fr; }
  .statement { border-right: 0; border-bottom: 1px solid var(--line); }
  .statement:last-child { border-bottom: 0; }
  .process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 36px), var(--content)); }
  .pillars { width: min(calc(100% - 36px), var(--content)); }
  .section { padding: 52px 0; }
  .header-inner { grid-template-columns: minmax(0,1fr) 78px; min-height: 74px; }
  .brand { padding: 10px 16px; }
  .brand img { width: 52px; flex-basis: 52px; }
  .header-contact { display: none; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .site-nav { display: none; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-nav.is-open { display: grid; }
  .site-nav a { align-items: flex-start; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
  .site-nav .nav-en { display: none; }
  .nav-contact-mobile { display: flex !important; background: var(--navy-dark) !important; color: #fff !important; }
  .hero { min-height: 480px; align-items: end; }
  .hero-media { object-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, rgba(5,24,42,.96), rgba(5,24,42,.74) 60%, rgba(5,24,42,.16)); }
  .hero-inner { width: min(calc(100% - 44px), var(--content)); padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .pillars { width: min(calc(100% - 28px), var(--content)); }
  .instagram-empty-state { min-height: 300px; padding: 36px 22px; }
  .brand { gap: 8px; padding: 8px 10px; }
  .brand img { width: 44px; flex-basis: 44px; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small:last-child { display: none; }
  .header-inner { grid-template-columns: minmax(0,1fr) 68px; }
  .site-nav { grid-template-columns: 1fr; }
  .hero-inner { width: min(calc(100% - 32px), var(--content)); }
  .hero h1 { font-size: 2.05rem; }
  .action-row .button { width: 100%; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3n) { border-right: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
  .pillar { padding: 24px 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .news-panel, .principles-panel { padding: 24px 18px; }
  .news-row { grid-template-columns: 92px 1fr; gap: 8px; }
  .news-row a { grid-column: 1 / -1; }
  .platform-mark { width: 40px; height: 40px; padding: 9px; flex-basis: 40px; }
  .instagram-showcase { gap: 16px; }
  .instagram-intro { min-height: 0; padding: 32px 24px; gap: 38px; }
  .instagram-intro-copy { margin-top: 50px; }
  .instagram-intro-copy h2 { font-size: 1.9rem; }
  .instagram-feed-panel { padding: 20px 12px 12px; }
  .instagram-feed-heading { padding: 0 4px 15px; }
  .feedback-banner .banner-content, .garage-banner .banner-content { width: auto; padding: 26px 20px; }
  .garage-banner { min-height: 380px; }
  .garage-banner > img { width: 92%; right: -18%; opacity: .72; }
  .page-hero { min-height: 250px; }
  .page-hero-inner { padding: 48px 0 30px; }
  .content-grid, .content-grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .definition-row { grid-template-columns: 1fr; gap: 4px; }
  .archive-row { grid-template-columns: 95px 1fr; gap: 8px; }
  .archive-row a { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 36px 0 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .brand-copy small:first-child { display: none; }
  .brand-copy strong { font-size: .84rem; }
  .pillar h3 { font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}
