/* 株式会社Matto 共通スタイル
 * 全ページ共通。セクション見出し単位で整理されています。
 * 更新後は maintenance/audit-static.mjs で確認してください。
 */
@import 'tailwindcss';

:root {
  --ink: #13221f;
  --paper: #fbfcf9;
  --mint: #78d9c0;
  --mint-soft: #dff5ed;
  --line: #d9e4df;
  --deep: #173d35;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(19, 34, 31, .12);
}
.site-header:not(.site-header-solid) { color: white; border-color: rgba(255,255,255,.28); }
.site-header-solid { position: relative; background: rgba(251,252,249,.96); }
.wordmark { display: block; width: 120px; }
.wordmark img { display: block; width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font-size: 13px; font-weight: 600; }
.desktop-nav > a { transition: opacity .2s ease; }
.desktop-nav > a:hover { opacity: .55; }
.nav-contact { padding: 12px 20px; border: 1px solid currentColor; border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 11px 6px; }
.menu-button span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .2s ease; }
.menu-button.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-group { position: relative; padding: 30px 0; }
.nav-group > a::after { content: "⌄"; margin-left: 7px; font-size: 10px; }
.nav-dropdown { position: absolute; top: 72px; left: 50%; width: 150px; padding: 12px; display: grid; gap: 4px; background: white; color: var(--ink); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translate(-50%, -7px); transition: .2s ease; box-shadow: 0 16px 45px rgba(15,42,35,.08); }
.nav-dropdown a { padding: 10px 12px; font-size: 12px; }
.nav-dropdown a:hover { background: var(--mint-soft); }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mobile-menu { display: none; }

.hero {
  min-height: min(860px, 100vh);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 128px clamp(24px, 10vw, 156px) 72px;
  color: white;
  background:
    linear-gradient(90deg, rgba(8,36,38,.78), rgba(8,38,40,.36) 55%, rgba(5,32,35,.48)),
    url('/assets/images/matto-hero.webp') center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  width: 38vw;
  height: 38vw;
  min-width: 440px;
  min-height: 440px;
  right: 7vw;
  top: 17%;
  border-radius: 50%;
  background: rgba(120,217,192,.10);
}
/* Mattoブランドモチーフ：円＝きっかけの軌道、点＝動き出す人。点は必ず円周上に置く。 */
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.hero-orbit-one { width: 31vw; height: 31vw; min-width: 360px; min-height: 360px; right: 10.5vw; top: 20.5%; }
.hero-orbit-two { width: 10px; height: 10px; background: var(--mint); border: 0; right: 22vw; top: 34%; box-shadow: 0 0 0 8px rgba(255,255,255,.14); }
.hero-content { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 32px; color: var(--mint); font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .22em; }
.hero h1 { margin: 0; max-width: 900px; font-size: clamp(48px, 6.8vw, 96px); font-weight: 650; line-height: 1.25; letter-spacing: -.055em; }
.hero-copy { margin-top: 42px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.95; letter-spacing: .03em; }
.hero-copy p { margin: 0; }
.hero-side { position: absolute; right: 35px; top: 50%; margin: 0; writing-mode: vertical-rl; color: rgba(255,255,255,.62); font: 700 9px/1 Arial, sans-serif; letter-spacing: .24em; }
.scroll-hint { position: absolute; left: clamp(24px, 5vw, 76px); bottom: 34px; display: flex; align-items: center; gap: 13px; font: 700 9px/1 Arial, sans-serif; letter-spacing: .2em; }
.scroll-hint i { display: block; width: 62px; height: 1px; background: currentColor; }

.introduction {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 2fr;
  gap: 60px;
  padding: clamp(84px, 11vw, 154px) clamp(24px, 8vw, 124px);
  border-top: 1px solid var(--line);
}
.section-label { margin: 0; display: flex; gap: 18px; align-items: center; color: #49665f; font-size: 12px; }
.section-label span { color: #148b70; font: 700 10px/1 Arial, sans-serif; letter-spacing: .18em; }
.intro-copy h2, .section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); font-weight: 580; line-height: 1.42; letter-spacing: -.045em; }
.intro-copy p { margin: 42px 0 0; color: #4f605b; font-size: clamp(14px, 1.2vw, 17px); line-height: 2.15; }

.business-section { display: grid; grid-template-columns: .72fr 1.65fr; gap: clamp(48px, 8vw, 120px); padding: clamp(90px, 10vw, 150px) clamp(24px, 8vw, 124px); background: #eef7f2; }
.section-heading h2 { margin-top: 34px; }
.text-link { display: inline-flex; gap: 22px; align-items: center; margin-top: 54px; padding-bottom: 9px; border-bottom: 1px solid #79958e; font-size: 13px; }
.business-list { border-top: 1px solid #a9c3bb; }
.business-card { position: relative; display: grid; grid-template-columns: 104px 1fr; padding: 38px 54px 38px 0; border-bottom: 1px solid #a9c3bb; }
.business-meta { display: flex; flex-direction: column; gap: 8px; }
.business-meta > span { color: #159276; font: 500 28px/1 Arial, sans-serif; }
.business-meta small { color: #6b827c; font: 700 8px/1.3 Arial, sans-serif; letter-spacing: .13em; }
.business-card h3 { margin: 0; font-size: clamp(21px, 2vw, 28px); font-weight: 650; }
.business-card > p { grid-column: 2; margin: 16px 0 0; max-width: 520px; color: #53655f; font-size: 14px; line-height: 1.85; }
.business-card > a { position: absolute; right: 4px; bottom: 38px; display: flex; gap: 16px; align-items: center; font-size: 12px; font-weight: 600; }
.business-card > a span { color: #188c72; font-size: 17px; }

.mission-teaser { min-height: 650px; padding: clamp(86px, 11vw, 150px) clamp(24px, 12vw, 184px); color: white; background: var(--deep); }
.section-label-light { color: rgba(255,255,255,.6); }
.section-label-light span { color: var(--mint); }
.mission-statement { margin: 78px 0 0; font-size: clamp(42px, 6vw, 80px); font-weight: 580; line-height: 1.34; letter-spacing: -.05em; }
.mission-copy { margin: 42px 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 2; }
.mission-teaser > a { display: inline-flex; gap: 22px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.45); font-size: 13px; }

.numbers-section {
  display: grid;
  grid-template-columns: .72fr 1.65fr;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(90px, 11vw, 155px) clamp(24px, 8vw, 124px);
}
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.numbers-grid > div { min-height: 220px; padding: 32px 22px; border-right: 1px solid var(--line); }
.numbers-grid > div:last-child { border-right: 0; }
.numbers-grid strong { display: block; color: #168c71; font: 500 clamp(44px, 5vw, 72px)/1 Arial, sans-serif; letter-spacing: -.06em; }
.numbers-grid strong small { font-size: .32em; letter-spacing: 0; margin-left: 6px; }
.numbers-grid p { margin: 26px 0 0; font-size: 13px; line-height: 1.7; }
.numbers-grid p small { color: #72827d; }
.home-news { display: grid; grid-template-columns: .72fr 1.65fr; gap: clamp(48px, 8vw, 120px); padding: clamp(80px, 9vw, 130px) clamp(24px, 8vw, 124px); background: #f3f7f4; }
.home-news h2 { margin: 36px 0 0; font-size: clamp(34px, 4vw, 58px); font-weight: 580; }
.news-list { border-top: 1px solid #aebdb8; }
.news-list a { display: grid; grid-template-columns: 110px 90px 1fr auto; gap: 18px; align-items: center; min-height: 86px; border-bottom: 1px solid #aebdb8; font-size: 12px; }
.news-list a > span { color: #397769; }
.news-list a strong { font-size: 14px; font-weight: 550; }
.news-list a i { font-size: 18px; color: #168c71; font-style: normal; }
.contact-banner { min-height: 510px; padding: clamp(80px, 10vw, 140px) clamp(24px, 12vw, 184px); background: var(--mint); color: #112e28; }
.contact-banner h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); font-weight: 580; line-height: 1.35; letter-spacing: -.055em; }
.contact-banner > p:not(.eyebrow) { margin: 32px 0; font-size: 14px; }
.contact-banner > a { display: inline-flex; gap: 20px; padding: 14px 0 10px; border-bottom: 1px solid currentColor; font-size: 13px; }

.site-footer { padding: 80px clamp(24px, 7vw, 106px) 28px; background: #11231f; color: white; }
.footer-main { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; }
.footer-wordmark { display: block; width: 145px; margin-bottom: 38px; }
.footer-wordmark img { display: block; width: 100%; height: auto; }
.footer-main > div > p { color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 50px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links h2 { margin: 0 0 12px; color: var(--mint); font-size: 10px; font-family: Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 12px; }
.footer-links a span { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.45); font-size: 10px; }

.page-hero { position: relative; min-height: 430px; padding: 120px clamp(24px, 10vw, 156px) 80px; overflow: hidden; background: #f2f8f4; }
.page-hero .eyebrow { color: #168c71; margin-bottom: 32px; }
.page-hero h1 { position: relative; margin: 0; max-width: 950px; font-size: clamp(50px, 7vw, 92px); font-weight: 600; line-height: 1.2; letter-spacing: -.06em; }
.page-hero-lead { position: relative; margin: 34px 0 0; color: #52635e; font-size: clamp(14px, 1.25vw, 18px); }
.page-hero-orbit { position: absolute; width: 380px; height: 380px; right: 10vw; top: 30px; border: 1px solid rgba(24,140,113,.2); border-radius: 50%; }
.page-hero-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; left: 15%; top: 18%; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 7px rgba(120,217,192,.18); }

.story-section { display: grid; grid-template-columns: .8fr 1.4fr; gap: 90px; padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); }
.story-heading h2 { margin: 35px 0 0; font-size: clamp(42px, 5vw, 70px); font-weight: 580; }
.story-copy { max-width: 680px; }
.story-copy p { margin: 0 0 26px; color: #445650; font-size: 15px; line-height: 2.1; }
.business-map { width: min(1000px, calc(100% - 48px)); margin: 0 auto clamp(90px, 11vw, 160px); padding: 54px; background: #edf7f2; border: 1px solid #c6ded6; }
.map-brand { text-align: center; font: 700 34px/1 Arial, sans-serif; }
.map-brand span { display: block; margin-top: 12px; color: #56706a; font: 500 12px/1.5 sans-serif; }
.map-line { width: 1px; height: 48px; margin: 20px auto 0; background: #6c9f91; }
.map-services { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #84b1a5; }
.map-services > div { position: relative; min-height: 190px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #84b1a5; }
.map-services > div:last-child { border-right: 0; }
.map-services small { color: #168c71; font: 700 10px/1 Arial, sans-serif; }
.map-services strong { font-size: 20px; line-height: 1.45; }
.map-services span { color: #58706a; font-size: 11px; }
.map-foundation { padding: 18px; text-align: center; color: white; background: var(--deep); font-size: 13px; letter-spacing: .08em; }
.service-detail { display: grid; grid-template-columns: .4fr 1.6fr; gap: 60px; padding: clamp(84px, 10vw, 145px) clamp(24px, 10vw, 156px); border-top: 1px solid var(--line); }
.service-mint { background: #edf7f2; }
.service-dark { color: white; background: var(--deep); }
.service-index { display: flex; flex-direction: column; gap: 14px; }
.service-index span { color: #168c71; font: 400 52px/1 Arial, sans-serif; }
.service-dark .service-index span { color: var(--mint); }
.service-index small { color: #6b827c; font: 700 9px/1.4 Arial, sans-serif; letter-spacing: .15em; }
.service-content { max-width: 840px; }
.service-visual { width: 100%; height: auto; margin: 0 0 42px; border: 1px solid rgba(18,38,33,.1); }
.service-content h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); font-weight: 600; letter-spacing: -.05em; }
.service-catch { margin: 22px 0 52px; color: #168c71; font-size: clamp(18px, 2vw, 26px); font-weight: 600; }
.service-dark .service-catch { color: var(--mint); }
.service-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 45px; }
.service-columns p { margin: 0; color: #52635e; font-size: 14px; line-height: 2; }
.service-dark .service-columns p { color: rgba(255,255,255,.68); }
.service-target { margin: 38px 0 0; padding: 15px 18px; background: rgba(120,217,192,.18); font-size: 12px; }
.service-list { margin: 36px 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); list-style: none; }
.service-list li { padding: 8px 0; color: rgba(255,255,255,.76); font-size: 13px; }
.service-list li::before { content: "—"; color: var(--mint); margin-right: 13px; }
.button-arrow { display: inline-flex; justify-content: space-between; gap: 50px; min-width: 240px; margin-top: 34px; padding: 15px 0 11px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; }
.button-light { color: white; }

.vmv-block { padding: clamp(100px, 14vw, 190px) clamp(24px, 10vw, 156px); text-align: center; }
.vmv-mint { background: #eff8f4; }
.vmv-label { margin: 0; color: #168c71; font: 500 16px/1 Arial, sans-serif; letter-spacing: .25em; }
.vmv-label span { display: block; margin-top: 12px; color: #586e68; font: 500 11px/1 sans-serif; letter-spacing: .08em; }
.vmv-block h2 { margin: 58px auto; font-size: clamp(38px, 5.8vw, 78px); font-weight: 570; line-height: 1.4; letter-spacing: -.05em; }
.vmv-copy { max-width: 780px; margin: auto; }
.vmv-copy p, .value-lead { color: #4e605b; font-size: 15px; line-height: 2.2; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); max-width: 1100px; margin: 70px auto 0; text-align: left; border-top: 1px solid #afc5be; border-bottom: 1px solid #afc5be; }
.values-grid article { min-height: 240px; padding: 34px; border-right: 1px solid #afc5be; }
.values-grid article:last-child { border: 0; }
.values-grid small { color: #168c71; font-size: 10px; }
.values-grid h3 { margin: 44px 0 15px; font-size: 21px; }
.values-grid p { color: #5b6d67; font-size: 13px; line-height: 1.9; }
.media-belief { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: clamp(90px, 12vw, 170px) clamp(24px, 10vw, 156px); color: white; background: var(--deep); }
.media-belief h2 { margin: 40px 0 0; font-size: clamp(40px, 5vw, 70px); font-weight: 560; line-height: 1.4; }
.media-belief > div:last-child p { margin: 0 0 25px; color: rgba(255,255,255,.7); font-size: 15px; line-height: 2.1; }
.president-message, .profile-section { display: grid; grid-template-columns: minmax(300px,.78fr) 1.2fr; gap: clamp(48px, 9vw, 130px); padding: clamp(90px, 12vw, 170px) clamp(24px, 10vw, 156px); }
.president-image-wrap img, .profile-section > img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center top; }
.president-copy h2, .profile-section h2 { margin: 38px 0 45px; font-size: clamp(38px, 5vw, 66px); font-weight: 580; line-height: 1.4; letter-spacing: -.05em; }
.president-copy > p:not(.section-label), .profile-section > div > p { color: #4f605b; font-size: 14px; line-height: 2; }
.president-sign { margin-top: 38px !important; color: var(--ink) !important; }
.president-sign strong { font-size: 22px; }

.company-table-section { display: grid; grid-template-columns: .5fr 1.5fr; gap: 80px; padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); }
.company-table { margin: 0; border-top: 1px solid #9eb2ac; }
.company-table > div { display: grid; grid-template-columns: 180px 1fr; padding: 25px 0; border-bottom: 1px solid #c1cfca; }
.company-table dt { color: #6d7d78; font-size: 12px; }
.company-table dd { margin: 0; font-size: 14px; line-height: 1.9; }
.history-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); background: #eff7f3; }
.history-title { position: sticky; top: 50px; align-self: start; }
.history-title h2 { margin: 38px 0 0; font-size: clamp(34px, 4vw, 56px); font-weight: 580; line-height: 1.45; }
.history-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #a3bcb4; }
.history-list li { display: grid; grid-template-columns: 120px 1fr; padding: 24px 0; border-bottom: 1px solid #a3bcb4; }
.history-list time { color: #168c71; font: 500 12px/1.8 Arial, sans-serif; }
.history-list p { margin: 0; font-size: 13px; line-height: 1.8; }
.access-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); color: white; background: var(--deep); }
.access-section h2 { margin: 38px 0; font-size: clamp(42px, 5vw, 68px); font-weight: 580; }
.access-section p { color: rgba(255,255,255,.68); font-size: 14px; line-height: 2; }
.access-map { position: relative; min-height: 340px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); overflow: hidden; }
.access-map::before, .access-map::after { content: ""; position: absolute; background: rgba(255,255,255,.16); transform: rotate(-25deg); }
.access-map::before { width: 140%; height: 1px; left: -20%; top: 50%; }
.access-map::after { width: 1px; height: 140%; left: 55%; top: -20%; }
.access-map span { position: absolute; top: 28px; left: 30px; color: rgba(255,255,255,.45); font: 700 10px/1 Arial, sans-serif; letter-spacing: .2em; }
.access-map i { position: absolute; left: 53%; top: 48%; width: 13px; height: 13px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 10px rgba(120,217,192,.15); }
.access-map b { position: absolute; left: calc(53% + 22px); top: calc(48% - 3px); font-size: 13px; }

.works-numbers { padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); }
.works-numbers > .section-label { margin-bottom: 45px; }
.works-section { display: grid; grid-template-columns: .72fr 1.65fr; gap: 90px; padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); background: #eff7f3; }
.works-heading h2 { margin: 38px 0 0; font-size: clamp(34px, 4vw, 58px); font-weight: 580; line-height: 1.4; }
.work-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.work-cards article { min-height: 480px; padding: 36px; display: flex; flex-direction: column; background: white; border: 1px solid #d7e3df; }
.work-cards small { color: #168c71; font: 700 9px/1 Arial, sans-serif; letter-spacing: .13em; }
.work-cards h3 { margin: 80px 0 26px; font-size: 27px; }
.work-cards p { color: #53635e; font-size: 13px; line-height: 2; }
.work-cards > article > span { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: #778681; font-size: 11px; }
.magazine-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); color: white; background: var(--deep); }
.magazine-art { aspect-ratio: 4/5; padding: 45px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(145deg,#79d7be,#278d78); border: 1px solid rgba(255,255,255,.3); }
.magazine-art span { font: 700 14px/1 Arial,sans-serif; letter-spacing: .22em; }
.magazine-art strong { font: 700 clamp(42px,5vw,72px)/1 Arial,sans-serif; letter-spacing: -.06em; }
.magazine-art i { margin-top: 25px; font-size: 13px; font-style: normal; }
.magazine-section h2 { margin: 38px 0; font-size: clamp(38px,5vw,66px); font-weight: 580; line-height: 1.4; }
.magazine-section > div:last-child > p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 2; }
.magazine-section dl { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.2); }
.magazine-section dl div { display: grid; grid-template-columns: 100px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 12px; }
.magazine-section dd { margin: 0; }
.partners-section { padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); }
.partner-list { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 48px; border-top: 1px solid #b8c8c3; border-left: 1px solid #b8c8c3; }
.partner-list span { min-height: 120px; padding: 24px; display: grid; place-items: center; text-align: center; border-right: 1px solid #b8c8c3; border-bottom: 1px solid #b8c8c3; font-size: 13px; }
.permission-note { margin-top: 18px; color: #7b8884; font-size: 10px; }

.news-page-list { padding: clamp(80px, 10vw, 140px) clamp(24px, 10vw, 156px); }
.news-page-list > a { display: grid; grid-template-columns: 130px 100px 1fr auto; gap: 25px; align-items: center; min-height: 112px; border-bottom: 1px solid #adbfba; }
.news-page-list > a:first-child { border-top: 1px solid #adbfba; }
.news-page-list time { color: #64746f; font: 500 12px/1 Arial,sans-serif; }
.news-page-list span { color: #168c71; font-size: 11px; }
.news-page-list h2 { margin: 0; font-size: 16px; font-weight: 580; }
.news-page-list i { color: #168c71; font-size: 20px; font-style: normal; }
.news-article { max-width: 900px; margin: auto; padding: 110px 24px 150px; }
.back-link { display: inline-block; color: #55706a; font-size: 12px; }
.article-category { margin: 80px 0 20px; color: #168c71; font-size: 11px; }
.news-article h1 { margin: 0; font-size: clamp(38px, 5.5vw, 72px); line-height: 1.35; letter-spacing: -.04em; }
.news-article > time { display: block; margin-top: 28px; color: #687a74; font: 500 12px/1 Arial,sans-serif; }
.article-body { margin: 80px 0; padding-top: 55px; border-top: 1px solid var(--line); }
.article-body p { margin: 0 0 26px; color: #485954; font-size: 15px; line-height: 2.15; }
.back-bottom { padding-top: 24px; border-top: 1px solid var(--line); display: block; }

.contact-routes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding: clamp(80px, 10vw, 140px) clamp(24px, 8vw, 124px); }
.contact-routes a { min-height: 300px; padding: 32px; display: flex; flex-direction: column; border: 1px solid #b8c8c3; transition: background .2s ease; }
.contact-routes a:hover { background: #edf7f2; }
.contact-routes small { color: #168c71; font: 500 20px/1 Arial,sans-serif; }
.contact-routes h2 { margin: 70px 0 18px; font-size: 20px; line-height: 1.5; }
.contact-routes p { margin: 0; color: #697873; font-size: 12px; }
.contact-routes span { margin-top: auto; padding-top: 25px; border-top: 1px solid var(--line); font-size: 11px; }
.contact-form-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 9vw, 130px); padding: clamp(90px, 11vw, 150px) clamp(24px, 10vw, 156px); background: #eff7f3; }
.form-intro h2 { margin: 38px 0; font-size: clamp(36px,4.5vw,60px); font-weight: 580; line-height: 1.4; }
.form-intro > p:not(.section-label) { color: #5c6c67; font-size: 13px; line-height: 1.8; }
.sales-notice { margin-top: 46px; padding: 22px; background: white; border-left: 3px solid #d3a04d; }
.sales-notice strong { font-size: 12px; }
.sales-notice p { margin: 9px 0 0; color: #6d6558; font-size: 11px; line-height: 1.8; }
.contact-form { padding: 45px; background: white; }
.form-status { margin: 0 0 34px; padding: 13px 16px; background: #fff5d9; color: #725d2f; font-size: 11px; line-height: 1.6; }
.contact-form > label:not(.check-label) { display: block; margin-bottom: 25px; font-size: 12px; font-weight: 600; }
.contact-form label em, .contact-form label > span { margin-left: 8px; font-size: 9px; font-style: normal; font-weight: 500; }
.contact-form label em { color: #b15f4f; }
.contact-form label > span { color: #7d8b87; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 10px; padding: 13px 12px; border: 1px solid #b9c9c4; border-radius: 0; background: #fbfdfc; font: inherit; }
.contact-form textarea { resize: vertical; }
.check-label { display: flex; gap: 10px; margin: 14px 0; align-items: flex-start; font-size: 11px; line-height: 1.6; }
.check-label input { margin-top: 2px; }
.check-label a { text-decoration: underline; }
.contact-form button { width: 100%; margin-top: 30px; padding: 20px; display: flex; justify-content: space-between; border: 0; background: var(--deep); color: white; font: 600 13px/1 inherit; cursor: pointer; }
.thanks-section { min-height: 700px; padding: 140px clamp(24px,12vw,184px); }
.thanks-section h1 { margin: 0; font-size: clamp(44px,6vw,78px); font-weight: 580; line-height: 1.35; }
.thanks-section > p:not(.eyebrow) { max-width: 620px; margin: 42px 0 0; color: #566761; font-size: 14px; line-height: 2; }
.legal-article { max-width: 900px; margin: auto; padding: 100px 24px 150px; }
.legal-article > p:first-child { margin-bottom: 70px; font-size: 15px; line-height: 2.1; }
.legal-article section { padding: 38px 0; border-top: 1px solid var(--line); }
.legal-article h2 { margin: 0 0 18px; font-size: 18px; }
.legal-article section p { margin: 0; color: #50615b; font-size: 13px; line-height: 2; }
.legal-date { margin-top: 45px; text-align: right; color: #778681; font-size: 11px; }

@media (max-width: 860px) {
  .site-header { height: 72px; }
  .desktop-nav { display: none; }
  .menu-button { position: relative; z-index: 22; display: block; color: inherit; }
  .mobile-menu { position: fixed; inset: 0; z-index: 20; padding: 110px 24px 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--deep); color: white; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu nav { display: grid; }
  .mobile-menu nav > a { display: flex; gap: 24px; align-items: center; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 20px; }
  .mobile-menu nav > a > span { color: var(--mint); font: 500 10px/1 Arial,sans-serif; }
  .mobile-menu .mobile-contact { margin-top: 18px; padding: 17px 18px; justify-content: center; background: var(--mint); color: var(--deep); border: 0; font-size: 14px; }
  .mobile-menu > p { color: rgba(255,255,255,.45); font-size: 11px; line-height: 1.7; }
  .menu-button.is-open { color: white; }
  .hero { min-height: 760px; padding-top: 116px; align-items: center; }
  .hero::before { right: -190px; top: 22%; opacity: .8; }
  .hero-orbit-one { right: -150px; top: 25%; }
  .hero-orbit-two { right: 18%; top: 31%; }
  .hero-side { display: none; }
  .hero h1 { font-size: clamp(44px, 12.3vw, 70px); line-height: 1.32; }
  .hero-copy { margin-top: 34px; font-size: 13px; }
  .introduction, .business-section, .numbers-section, .home-news, .footer-main,
  .story-section, .service-detail, .media-belief, .president-message,
  .company-table-section, .history-section, .profile-section, .access-section,
  .works-section, .magazine-section, .contact-form-section { grid-template-columns: 1fr; }
  .introduction { gap: 46px; }
  .intro-copy p br { display: none; }
  .business-card { grid-template-columns: 76px 1fr; padding: 32px 0; }
  .business-card > p { padding-right: 4px; }
  .business-card > a { position: static; grid-column: 2; margin-top: 22px; justify-self: start; }
  .mission-teaser { min-height: 580px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .numbers-grid > div { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .numbers-grid > div:last-child { border-bottom: 0; }
  .home-news { gap: 50px; }
  .news-list a { grid-template-columns: 90px 1fr auto; padding: 18px 0; }
  .news-list a > span { display: none; }
  .news-list a strong { font-size: 13px; }
  .footer-main { gap: 60px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 360px; padding-top: 90px; }
  .page-hero-orbit { width: 260px; height: 260px; right: -80px; top: 55px; }
  .business-map { padding: 28px 18px 18px; }
  .map-services { grid-template-columns: 1fr; }
  .map-services > div { min-height: 135px; border-right: 0; border-bottom: 1px solid #84b1a5; }
  .map-services > div:last-child { border-bottom: 0; }
  .service-detail { gap: 36px; }
  .service-columns { grid-template-columns: 1fr; gap: 22px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article { min-height: 200px; border-right: 0; border-bottom: 1px solid #afc5be; }
  .values-grid article:last-child { border-bottom: 0; }
  .media-belief, .president-message, .profile-section { gap: 58px; }
  .president-image-wrap, .profile-section > img { max-width: 520px; }
  .company-table-section, .history-section { gap: 55px; }
  .company-table > div { grid-template-columns: 120px 1fr; }
  .history-title { position: static; }
  .history-list li { grid-template-columns: 95px 1fr; }
  .access-section { gap: 50px; }
  .work-cards { grid-template-columns: 1fr; }
  .work-cards article { min-height: 390px; }
  .magazine-art { max-width: 520px; }
  .partner-list { grid-template-columns: 1fr 1fr; }
  .news-page-list > a { grid-template-columns: 90px 1fr auto; gap: 14px; padding: 22px 0; }
  .news-page-list span { display: none; }
  .news-page-list h2 { font-size: 14px; }
  .contact-routes { grid-template-columns: 1fr; }
  .contact-routes a { min-height: 235px; }
  .contact-form-section { gap: 55px; }
}

@media (max-width: 520px) {
  .hero { padding-left: 24px; padding-right: 24px; }
  .hero h1 { letter-spacing: -.065em; }
  .hero-copy p:first-child { max-width: 20em; }
  .business-card { display: block; }
  .business-meta { flex-direction: row; align-items: center; margin-bottom: 20px; }
  .business-card > p { margin-top: 14px; }
  .business-card > a { margin-top: 22px; }
  .mission-statement { margin-top: 60px; }
  .section-heading h2, .intro-copy h2 { font-size: 36px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-end; }
  .page-hero h1 { font-size: 48px; }
  .story-copy p { font-size: 14px; }
  .business-map { width: calc(100% - 32px); }
  .service-content h2 { font-size: 39px; }
  .vmv-block { text-align: left; }
  .vmv-block h2 { font-size: 38px; }
  .values-grid { margin-top: 48px; }
  .company-table > div { grid-template-columns: 1fr; gap: 9px; }
  .history-list li { grid-template-columns: 1fr; gap: 8px; }
  .partner-list { grid-template-columns: 1fr; }
  .news-page-list > a { grid-template-columns: 1fr auto; }
  .news-page-list time { grid-column: 1; }
  .news-page-list h2 { grid-column: 1; }
  .news-page-list i { grid-row: 1 / 3; grid-column: 2; }
  .contact-form { padding: 28px 20px; }
}

/* 第1回修正：文字サイズと余白 */
.desktop-nav { font-size: 14px; line-height: 1; letter-spacing: .02em; }
.eyebrow, .section-label span, .business-meta small, .service-index small,
.work-cards small, .map-services small { font-size: 12px; line-height: 1; letter-spacing: .08em; }
.hero {
  min-height: 70vh;
  padding: 112px max(24px, calc((100vw - 1040px) / 2)) 56px;
}
.hero h1 { max-width: 760px; font-size: 48px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.hero-copy { margin-top: 24px; font-size: 16px; line-height: 1.8; letter-spacing: 0; }
.hero-side { font-size: 11px; }
.scroll-hint { bottom: 22px; }

.introduction, .business-section, .numbers-section, .home-news,
.story-section, .service-detail, .media-belief, .president-message,
.company-table-section, .history-section, .profile-section, .access-section,
.works-section, .magazine-section, .contact-form-section {
  padding: 80px max(24px, calc((100vw - 1040px) / 2));
}
.introduction, .business-section, .numbers-section, .home-news { gap: 56px; }
.story-section, .service-detail, .media-belief, .president-message,
.company-table-section, .history-section, .profile-section, .access-section,
.works-section, .magazine-section, .contact-form-section { gap: 64px; }
.partners-section, .works-numbers, .news-page-list, .contact-routes {
  padding: 80px max(24px, calc((100vw - 1040px) / 2));
}
.mission-teaser, .vmv-block, .contact-banner {
  min-height: 0;
  padding: 80px max(24px, calc((100vw - 1040px) / 2));
}
.site-footer { padding: 56px max(24px, calc((100vw - 1040px) / 2)) 28px; }
.footer-bottom { margin-top: 48px; }

.intro-copy h2, .section-heading h2, .home-news h2,
.mission-statement, .vmv-block h2, .media-belief h2,
.story-heading h2, .history-title h2, .works-heading h2,
.form-intro h2, .access-section h2, .magazine-section h2,
.president-copy h2, .profile-section h2, .contact-banner h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.business-card h3, .service-content h2, .values-grid h3,
.work-cards h3, .map-services strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.service-catch { margin: 18px 0 24px; font-size: 20px; line-height: 1.5; letter-spacing: 0; }
.page-hero { min-height: 300px; padding: 80px max(24px, calc((100vw - 1040px) / 2)) 64px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 820px; font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.page-hero-lead { margin-top: 24px; font-size: 18px; line-height: 1.7; }

.intro-copy p, .business-card > p, .mission-copy, .story-copy p, .service-columns p,
.vmv-copy p, .value-lead, .media-belief > div:last-child p,
.president-copy > p:not(.section-label), .profile-section > div > p,
.access-section p, .magazine-section > div:last-child > p,
.article-body p, .legal-article section p, .form-intro > p:not(.section-label) {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}
.intro-copy p, .section-heading h2, .story-heading h2 { margin-top: 24px; }
.story-copy, .vmv-copy, .article-body, .legal-article { max-width: 720px; }
.story-copy p, .vmv-copy p, .article-body p { margin-bottom: 16px; }
.mission-statement { margin-top: 32px; }
.mission-copy { margin: 24px 0; }
.vmv-block h2 { margin: 32px auto 24px; }
.values-grid { margin-top: 40px; }
.values-grid article { min-height: 0; padding: 28px; }
.values-grid h3 { margin: 24px 0 12px; }
.values-grid p { font-size: 16px; line-height: 1.8; }
.media-belief h2, .president-copy h2, .profile-section h2,
.history-title h2, .works-heading h2, .form-intro h2,
.access-section h2, .magazine-section h2 { margin: 24px 0; }

.business-map { width: min(1040px, calc(100% - 48px)); margin-bottom: 80px; padding: 28px; }
.map-services > div { min-height: 150px; padding: 28px; }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-index span { font-size: 44px; }
.service-columns { gap: 24px; }
.service-visual { margin-bottom: 24px; }
.service-list { margin: 24px 0; padding: 16px 0; }
.service-list li { font-size: 15px; line-height: 1.7; }
.service-target { font-size: 13px; line-height: 1.6; }

.numbers-grid > div { min-height: 200px; padding: 28px; }
.numbers-grid strong { font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.numbers-grid p { margin-top: 20px; font-size: 14px; line-height: 1.5; }
.home-news h2 { margin-top: 24px; }
.news-list a { min-height: 72px; }
.news-list a strong { font-size: 15px; line-height: 1.7; }
.contact-banner > p:not(.eyebrow) { margin: 24px 0; font-size: 16px; line-height: 1.8; }

.company-table > div { padding: 14px 0; }
.company-table dt, .company-table dd { font-size: 15px; line-height: 1.7; }
.history-list li { padding: 12px 0; }
.history-list time { font-size: 15px; font-weight: 700; line-height: 1.7; }
.history-list p { font-size: 15px; line-height: 1.7; }
.works-numbers > .section-label { margin-bottom: 24px; }
.work-cards article { min-height: 360px; padding: 28px; }
.work-cards h3 { margin: 48px 0 20px; }
.work-cards p { font-size: 16px; line-height: 1.8; }
.partners-section .partner-list { margin-top: 24px; }
.partner-list span { min-height: 88px; padding: 20px; font-size: 15px; }
.footer-main > div > p { font-size: 13px; line-height: 1.6; }

.contact-routes { gap: 16px; }
.contact-routes a { min-height: 240px; padding: 24px; }
.contact-routes h2 { margin: 40px 0 14px; font-size: 20px; line-height: 1.5; }
.contact-routes p { font-size: 15px; line-height: 1.7; }
.contact-form { padding: 28px; }
.contact-form > label:not(.check-label) { margin-bottom: 20px; font-size: 15px; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { font-size: 15px; line-height: 1.7; }
.thanks-section { min-height: 0; padding: 80px max(24px, calc((100vw - 720px) / 2)); }
.thanks-section h1, .news-article h1 { font-size: 36px; line-height: 1.3; letter-spacing: -.02em; }
.thanks-section > p:not(.eyebrow) { margin-top: 24px; font-size: 16px; line-height: 1.8; }
.news-article { max-width: 720px; padding: 80px 24px; }
.article-category { margin-top: 56px; }
.article-body { margin: 56px 0; padding-top: 40px; }
.legal-article { padding: 80px 24px; }

@media (min-width: 768px) and (max-width: 1279px) {
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 30px; }
  .intro-copy h2, .section-heading h2, .home-news h2,
  .mission-statement, .vmv-block h2, .media-belief h2,
  .story-heading h2, .history-title h2, .works-heading h2,
  .form-intro h2, .access-section h2, .magazine-section h2,
  .president-copy h2, .profile-section h2, .contact-banner h2 { font-size: 26px; }
  .business-card h3, .service-content h2, .values-grid h3,
  .work-cards h3, .map-services strong { font-size: 22px; }
  .hero-copy, .intro-copy p, .mission-copy, .story-copy p,
  .service-columns p, .vmv-copy p, .value-lead,
  .media-belief > div:last-child p, .president-copy > p:not(.section-label),
  .profile-section > div > p, .access-section p,
  .magazine-section > div:last-child > p { font-size: 16px; line-height: 1.8; }
}

@media (max-width: 767px) {
  .site-header { height: 64px; padding-inline: 20px; }
  .wordmark { width: 104px; }
  .eyebrow, .section-label span, .business-meta small, .service-index small,
  .work-cards small, .map-services small { font-size: 11px; }
  .hero { min-height: 60vh; padding: 92px 24px 40px; }
  .hero h1 { max-width: 330px; font-size: 30px; line-height: 1.3; letter-spacing: -.02em; }
  .hero-copy { margin-top: 20px; font-size: 15px; line-height: 1.8; }
  .scroll-hint { display: none; }
  .page-hero { min-height: 240px; padding: 56px 24px 48px; }
  .page-hero h1 { font-size: 26px; line-height: 1.3; }
  .page-hero-lead { margin-top: 20px; font-size: 15px; line-height: 1.8; }
  .intro-copy h2, .section-heading h2, .home-news h2,
  .mission-statement, .vmv-block h2, .media-belief h2,
  .story-heading h2, .history-title h2, .works-heading h2,
  .form-intro h2, .access-section h2, .magazine-section h2,
  .president-copy h2, .profile-section h2, .contact-banner h2 { font-size: 22px; line-height: 1.35; }
  .business-card h3, .service-content h2, .values-grid h3,
  .work-cards h3, .map-services strong { font-size: 19px; line-height: 1.4; }
  .service-catch { font-size: 18px; }
  .intro-copy p, .business-card > p, .mission-copy, .story-copy p, .service-columns p,
  .vmv-copy p, .value-lead, .values-grid p,
  .media-belief > div:last-child p, .president-copy > p:not(.section-label),
  .profile-section > div > p, .access-section p,
  .magazine-section > div:last-child > p, .article-body p,
  .legal-article section p, .form-intro > p:not(.section-label) { font-size: 15px; line-height: 1.8; }
  .introduction, .business-section, .numbers-section, .home-news,
  .story-section, .service-detail, .media-belief, .president-message,
  .company-table-section, .history-section, .profile-section, .access-section,
  .works-section, .magazine-section, .contact-form-section,
  .partners-section, .works-numbers, .news-page-list, .contact-routes,
  .mission-teaser, .vmv-block, .contact-banner { padding: 56px 24px; }
  .introduction, .business-section, .numbers-section, .home-news,
  .story-section, .service-detail, .media-belief, .president-message,
  .company-table-section, .history-section, .profile-section, .access-section,
  .works-section, .magazine-section, .contact-form-section { gap: 40px; }
  .site-footer { padding: 40px 24px 24px; }
  .numbers-grid > div { min-height: 0; padding: 24px 0; }
  .numbers-grid strong { font-size: 32px; }
  .numbers-grid p { font-size: 14px; }
  .business-card { padding: 24px 0; }
  .business-map { margin-bottom: 56px; }
  .map-services > div { min-height: 120px; padding: 20px; }
  .values-grid article { padding: 20px; }
  .company-table > div { padding: 12px 0; }
  .company-table dt, .company-table dd, .history-list time, .history-list p { font-size: 15px; }
  .history-list li { padding: 10px 0; }
  .work-cards article { min-height: 0; padding: 20px; }
  .work-cards h3 { margin: 32px 0 16px; }
  .contact-routes a { min-height: 0; padding: 20px; }
  .contact-routes h2 { margin: 28px 0 12px; }
  .contact-form { padding: 24px 20px; }
  .thanks-section { padding: 72px 24px; }
  .thanks-section h1, .news-article h1 { font-size: 26px; }
}

/* 第2回修正：信頼設計とPC・スマートフォン微調整 */
.sp-only { display: none; }

.operator-strip {
  min-height: 80px;
  padding: 14px max(24px, calc((100vw - 1040px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #e8f7f1;
  border-bottom: 1px solid #cee5dd;
}
.operator-strip > p { margin: 0; color: #36554d; font-size: 13px; line-height: 1.7; }
.operator-strip > div { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.operator-strip a { display: flex; align-items: center; }
.operator-strip img { display: block; width: auto; object-fit: contain; }
.operator-strip a:first-child img { height: 25px; }
.operator-strip a:last-child img { height: 38px; }

.why-matto {
  padding: 80px max(24px, calc((100vw - 1040px) / 2));
  background: #f8fbf9;
}
.why-matto-heading { display: grid; grid-template-columns: .72fr 1.65fr; gap: 56px; }
.why-matto-heading h2 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.why-matto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.why-matto-grid article { padding: 28px 0 0; border-top: 2px solid #168c71; }
.why-matto-grid small { color: #168c71; font: 700 12px/1 Arial, sans-serif; letter-spacing: .08em; }
.why-matto-grid h3 { margin: 22px 0 14px; font-size: 20px; line-height: 1.5; }
.why-matto-grid p { margin: 0; color: #4f605b; font-size: 15px; line-height: 1.8; }

.page-hero { min-height: 240px; padding-top: 48px; padding-bottom: 48px; }
.introduction { padding-top: 64px; padding-bottom: 64px; }
.numbers-grid { grid-template-columns: repeat(4, 1fr); }
.numbers-section .numbers-grid { grid-template-columns: repeat(2, 1fr); }
.numbers-grid > div { min-height: 0; padding: 28px; }
.numbers-section .numbers-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.numbers-section .numbers-grid > div:nth-child(2) { border-right: 0; }
.numbers-section .numbers-grid > div:nth-child(3) { border-left: 1px solid var(--line); }

.home-partners {
  padding: 32px max(24px, calc((100vw - 1040px) / 2));
  display: grid;
  grid-template-columns: .72fr 1.65fr;
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-partners > p:last-child { margin: 0; color: #53655f; font-size: 13px; line-height: 1.9; }
.contact-owner { color: #168c71; font-weight: 700; }

@media (min-width: 768px) and (max-width: 1279px) {
  .why-matto-heading h2 { font-size: 26px; }
  .why-matto-grid { gap: 24px; }
  .why-matto-grid h3 { font-size: 19px; }
  .why-matto-grid p { font-size: 14px; }
  .works-numbers .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .works-numbers .numbers-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .works-numbers .numbers-grid > div:nth-child(2) { border-right: 0; }
}

@media (max-width: 767px) {
  .sp-only { display: block; }
  .operator-strip {
    min-height: 0;
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .operator-strip > div { width: 100%; justify-content: flex-start; gap: 22px; }
  .operator-strip a:first-child img { height: 21px; max-width: 160px; }
  .operator-strip a:last-child img { height: 32px; max-width: 92px; }
  .why-matto { padding: 56px 24px; }
  .why-matto-heading { grid-template-columns: 1fr; gap: 24px; }
  .why-matto-heading h2 { font-size: 22px; }
  .why-matto-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .why-matto-grid article { padding-top: 22px; }
  .why-matto-grid h3 { margin-top: 18px; font-size: 19px; }
  .why-matto-grid p { font-size: 15px; }
  .introduction { padding-top: 56px; padding-bottom: 56px; }
  .numbers-grid, .numbers-section .numbers-grid, .works-numbers .numbers-grid { grid-template-columns: 1fr; }
  .numbers-grid > div { padding: 24px 0; border-right: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .numbers-grid > div:last-child { border-bottom: 0; }
  .home-partners { padding: 28px 24px; grid-template-columns: 1fr; gap: 18px; }
  .home-partners > p:last-child { font-size: 12px; }
  .contact-routes a > span { font-size: 14px; }
}

/* 第3回修正：追従ヘッダーとスマートフォンメニュー */
[id] { scroll-margin-top: 80px; }
.site-header {
  position: fixed;
  z-index: 100;
  height: 64px;
  border-bottom-color: transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.site-header.site-header-solid,
.site-header.is-scrolled {
  position: fixed;
  color: var(--ink);
  background: rgba(251, 252, 249, .95);
  border-bottom-color: rgba(19, 34, 31, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header:not(.site-header-solid):not(.is-scrolled),
.site-header.is-menu-open {
  color: white;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header-spacer { height: 64px; }
.wordmark { position: relative; z-index: 101; }
.nav-group { padding: 22px 0; }
.nav-dropdown { top: 55px; }
.mobile-header-contact { display: none; }
.menu-button span { transition: transform .18s ease; }
.history-section { grid-template-columns: minmax(370px, .9fr) 1.2fr; gap: 64px; }
.history-title h2 { font-size: 26px; }
.history-heading-line { white-space: nowrap; }

@media (max-width: 860px) {
  [id] { scroll-margin-top: 72px; }
  .site-header { height: 56px; padding-inline: 20px; }
  .site-header-spacer { height: 56px; }
  .wordmark { width: 104px; }
  .mobile-header-contact {
    position: relative;
    z-index: 101;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    margin-left: auto;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--deep);
    font-size: 13px;
    font-weight: 700;
  }
  .menu-button { width: 38px; height: 38px; margin-left: 8px; transition: color .18s ease; }
  .site-header.is-menu-open .mobile-header-contact { opacity: 0; pointer-events: none; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    height: 100dvh;
    padding: 88px 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .mobile-menu nav > a { padding: 15px 0; }
  .mobile-menu .mobile-contact { padding: 16px 18px; }
  .history-section { grid-template-columns: 1fr; gap: 40px; }
  .history-title h2 { font-size: clamp(19px, 5.4vw, 22px); }
}

/* 第4回修正：お問い合わせ完了ページ */
.thanks-section {
  position: relative;
  min-height: 760px;
  padding: 104px max(24px, calc((100vw - 1040px) / 2));
  overflow: hidden;
  color: white;
  background: var(--deep);
}
.thanks-content { position: relative; z-index: 1; max-width: 760px; }
.thanks-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
}
.thanks-status span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--mint);
  border-radius: 50%;
}
.thanks-section h1 { max-width: 700px; font-size: 52px; line-height: 1.3; letter-spacing: -.02em; }
.thanks-section .thanks-lead { margin-top: 30px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.9; }
.thanks-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 50px 0 0; padding: 0; list-style: none; }
.thanks-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.thanks-steps li > span { color: var(--mint); font: 700 12px/1 Arial, sans-serif; letter-spacing: .08em; }
.thanks-steps strong { display: block; font-size: 15px; line-height: 1.6; }
.thanks-steps p { margin: 8px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; }
.thanks-actions { display: flex; align-items: center; gap: 32px; margin-top: 40px; }
.thanks-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 190px; padding: 15px 0 11px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 13px; }
.thanks-actions .thanks-primary { padding: 16px 20px; border: 1px solid var(--mint); background: var(--mint); color: var(--deep); font-weight: 700; }
.thanks-orbit { position: absolute; width: 520px; height: 520px; right: -80px; top: 80px; border: 1px solid rgba(120,217,192,.22); border-radius: 50%; }
.thanks-orbit::before, .thanks-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.thanks-orbit::before { inset: 90px; border: 1px solid rgba(120,217,192,.14); }
.thanks-orbit::after { width: 10px; height: 10px; left: 68px; top: 104px; background: var(--mint); box-shadow: 0 0 0 9px rgba(120,217,192,.12); }

@media (max-width: 767px) {
  .thanks-section { min-height: 0; padding: 72px 24px; }
  .thanks-section h1 { font-size: 32px; }
  .thanks-section .thanks-lead { font-size: 15px; }
  .thanks-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .thanks-steps li { padding: 20px; }
  .thanks-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .thanks-actions a { width: 100%; }
  .thanks-orbit { width: 300px; height: 300px; right: -160px; top: 70px; }
}

/* 第4回改訂：理念ページのオリジナルイラスト */
.philosophy-visual { margin: 0; overflow: hidden; }
.philosophy-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.philosophy-visual-mission {
  height: 320px;
  padding: 26px max(24px, calc((100vw - 1320px) / 2));
  background: #fdfdfe;
}
.philosophy-visual-mission img { mix-blend-mode: multiply; }
.values-grid article > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px auto 20px;
  mix-blend-mode: multiply;
}
.media-belief { background: #143936; }
.media-belief .philosophy-visual-media {
  grid-column: 1 / -1;
  height: 280px;
  margin-top: 4px;
}

.site-footer { padding: 64px max(24px, calc((100vw - 1040px) / 2)) 28px; }
.footer-main { grid-template-columns: 1fr 2fr; gap: 80px; }
.footer-wordmark { width: 145px; margin-bottom: 28px; }
.footer-brand .footer-company { margin: 0 0 10px; color: white; font-size: 15px; line-height: 1.6; }
.footer-brand address { color: rgba(255,255,255,.58); font-size: 13px; font-style: normal; line-height: 1.7; }
.footer-brand .footer-founded { margin: 20px 0 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.7; }
.footer-founded a { color: white; }
.footer-founded b { margin-left: 5px; color: var(--mint); font-weight: 500; }
.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.footer-links > div { gap: 12px; }
.footer-links h2 { margin-bottom: 14px; font-size: 12px; text-transform: none; }
.footer-links a { font-size: 14px; line-height: 1.55; }
.footer-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  font-size: 12px;
}
.footer-utility nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-utility p { margin: 0; }
.footer-utility a { color: rgba(255,255,255,.78); }
.footer-utility span { color: var(--mint); }
.footer-bottom { justify-content: flex-start; margin-top: 24px; padding-top: 0; border-top: 0; font-size: 11px; }
.site-header.is-menu-open .menu-button { position: relative; z-index: 102; color: white; }
.site-header.is-menu-open .menu-button span { background: white; }

@media (max-width: 767px) {
  .philosophy-visual-mission { height: 200px; padding: 18px 12px; }
  .values-grid article > img { max-width: 300px; margin: 22px auto 18px; }
  .media-belief .philosophy-visual-media { height: 200px; margin-top: 0; }
  .site-footer { padding: 44px 24px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-links h2 { font-size: 13px; }
  .footer-links a { font-size: 14px; }
  .footer-utility { align-items: flex-start; flex-direction: column; margin-top: 38px; font-size: 12px; }
  .footer-utility nav { gap: 10px 18px; }
  .footer-bottom { margin-top: 22px; }
}

/* 第6回修正：トップと事業紹介の最終調整 */
.operator-strip {
  min-height: 96px;
  justify-content: flex-start;
  gap: 48px;
}
.operator-strip > div { gap: 40px; }
.operator-strip a:first-child img,
.operator-strip a:last-child img {
  height: 44px;
  max-width: none;
}

.contact-banner {
  color: white;
  background: var(--deep);
}
.contact-banner .eyebrow { color: var(--mint); }
.contact-banner > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.contact-banner > a {
  align-items: center;
  justify-content: space-between;
  min-width: 260px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.72);
}

.business-map .map-services strong {
  font-size: 18px;
  line-height: 1.4;
  white-space: nowrap;
}
.service-dark .service-visual { border-color: rgba(255,255,255,.18); }

@media (max-width: 767px) {
  .operator-strip {
    min-height: 0;
    padding: 20px 24px;
    gap: 18px;
  }
  .operator-strip > div {
    width: 100%;
    gap: 40px;
  }
  .operator-strip a:first-child img,
  .operator-strip a:last-child img {
    height: 36px;
    max-width: none;
  }
  .business-map .map-services strong {
    font-size: 18px;
    white-space: normal;
  }
}

/* 第7回修正：トップページの余白圧縮とフッターのコンパクト化 */
.numbers-section .numbers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.numbers-section .numbers-grid > div {
  min-height: 0;
  padding: 24px 20px;
  border-bottom: 0;
  border-left: 0;
}
.numbers-section .numbers-grid > div:nth-child(-n+2) { border-bottom: 0; }
.numbers-section .numbers-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
.numbers-section .numbers-grid > div:nth-child(3) { border-left: 0; }
.numbers-section .numbers-grid > div:last-child { border-right: 0; }
.why-matto-grid article {
  height: auto;
  min-height: 0;
  padding-bottom: 0;
}

.site-footer {
  padding: 40px max(24px, calc((100vw - 1040px) / 2)) 24px;
}
.footer-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.footer-topline .footer-wordmark {
  flex: 0 0 auto;
  width: auto;
  height: 22px;
  margin: 0;
}
.footer-topline .footer-wordmark img {
  width: auto;
  height: 100%;
}
.footer-topline .footer-company {
  flex: 0 0 auto;
  margin: 0;
  color: white;
  font-size: 13px;
  line-height: 1.5;
}
.footer-topline address {
  min-width: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  white-space: nowrap;
}
.footer-nav-rows {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.footer-nav-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.footer-nav-row h2 {
  flex: 0 0 112px;
  margin: 0;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.footer-nav-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-nav-row a {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.5;
}
.footer-nav-row a span,
.footer-meta a span { color: var(--mint); }
.footer-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  font-size: 12px;
}
.footer-utility nav,
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-utility p,
.footer-meta small { margin: 0; }
.footer-utility a { color: rgba(255,255,255,.8); }
.footer-meta small { color: rgba(255,255,255,.45); font-size: 10px; }

@media (max-width: 767px) {
  .introduction {
    gap: 32px;
    padding-bottom: 40px;
  }
  .intro-copy p { margin-top: 16px; }
  .business-card { padding: 16px 0; }
  .business-card > a { margin-top: 12px; }
  .mission-teaser { padding-bottom: 40px; }
  .mission-copy { margin: 20px 0; }
  .why-matto-grid { gap: 24px; margin-top: 32px; }
  .why-matto-grid article { padding-top: 20px; }
  .numbers-section { gap: 32px; }
  .numbers-section .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-top: 0;
  }
  .numbers-section .numbers-grid > div {
    min-height: 0;
    padding: 20px;
    border: 1px solid var(--line) !important;
  }
  .numbers-section .numbers-grid strong {
    font-size: 28px;
    line-height: 1;
  }
  .numbers-section .numbers-grid p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
  }
  .numbers-section .numbers-grid p small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.5;
  }
  .home-news { gap: 32px; }
  .news-list a {
    min-height: 0;
    padding: 14px 0;
  }

  .site-footer { padding: 32px 24px 20px; }
  .footer-topline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
  }
  .footer-topline .footer-wordmark { height: 20px; }
  .footer-topline .footer-company { font-size: 13px; }
  .footer-topline address {
    grid-column: 1 / -1;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }
  .footer-nav-rows { gap: 16px; margin-top: 16px; }
  .footer-nav-row { display: block; }
  .footer-nav-row h2 {
    margin-bottom: 2px;
    font-size: 11px;
  }
  .footer-nav-row h2 span { display: none; }
  .footer-nav-row > div { gap: 0 16px; }
  .footer-nav-row a {
    padding: 8px 0;
    font-size: 13px;
  }
  .footer-utility {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    font-size: 12px;
  }
  .footer-utility nav { gap: 0 16px; }
  .footer-utility nav a { padding: 8px 0; }
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

/* スマートフォンTOP：余白と事業一覧の視覚的なリズムを改善 */
@media (max-width: 767px) {
  .introduction {
    gap: 22px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .intro-copy {
    padding-left: 18px;
    border-left: 2px solid var(--mint);
  }
  .intro-copy p { margin-top: 14px; }

  .business-section {
    gap: 28px;
    padding: 40px 20px 48px;
  }
  .business-section .section-heading h2 { margin-top: 18px; }
  .business-section .text-link {
    margin-top: 22px;
    padding-bottom: 7px;
  }
  .business-list {
    display: grid;
    gap: 12px;
    border-top: 0;
  }
  .business-card {
    position: relative;
    display: block;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(22,140,113,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 28px rgba(17,47,39,.05);
  }
  .business-card::after {
    content: "";
    position: absolute;
    width: 54px;
    height: 54px;
    right: -30px;
    top: -30px;
    border: 1px solid rgba(22,140,113,.22);
    border-radius: 50%;
  }
  .business-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
  }
  .business-meta > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dff3eb;
    font-size: 20px;
    letter-spacing: -.02em;
  }
  .business-meta small { font-size: 10px; }
  .business-card h3 { font-size: 19px; }
  .business-card > p {
    margin-top: 10px;
    color: #455a54;
  }
  .business-card > a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--deep);
    color: white;
    font-size: 12px;
  }
  .business-card > a span { color: var(--mint); }
}

/* HP修正依頼：MISSIONの視覚化、代表写真、お問い合わせ導線の最終調整 */
.mission-teaser {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  overflow: hidden;
  background: #143936;
}
.mission-teaser-copy { min-width: 0; }
.mission-teaser-copy > a {
  display: inline-flex;
  gap: 22px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-size: 13px;
}
.mission-visual { min-width: 0; margin: 0; }
.mission-visual img { display: block; width: 100%; height: auto; }

.president-image-wrap {
  width: 100%;
  max-width: 300px;
  justify-self: center;
}

.contact-page .page-hero {
  min-height: 180px;
  padding-top: 40px;
  padding-bottom: 32px;
}
.contact-page .page-hero .eyebrow { margin-bottom: 14px; }
.contact-page .page-hero-lead { margin-top: 12px; }
.contact-page .contact-form-section {
  align-items: start;
  padding-top: 32px;
  padding-bottom: 64px;
}
.contact-page .contact-routes {
  padding-top: 56px;
  padding-bottom: 56px;
}
.contact-page .sales-notice { margin-top: 24px; }

@media (max-width: 767px) {
  .mission-teaser {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mission-visual { margin-top: 4px; }
  .president-image-wrap { max-width: 220px; }

  .contact-page .page-hero {
    min-height: 150px;
    padding: 32px 24px 24px;
  }
  .contact-page .contact-form-section {
    gap: 28px;
    padding: 24px 24px 48px;
  }
  .contact-page .form-intro h2 { margin: 18px 0 14px; }
  .contact-page .sales-notice { margin-top: 20px; }
  .contact-page .contact-routes { padding: 40px 24px; }
}

/* 数字で見るMatto：3,000本以上を一行で表示するための枠幅調整 */
.numbers-section .numbers-grid {
  grid-template-columns: 1fr .95fr 1.15fr .95fr;
}
.numbers-section .numbers-grid strong { white-space: nowrap; }

@media (max-width: 767px) {
  .numbers-section .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマートフォンTOP：事業・実績セクションの縦余白を最適化 */
@media (max-width: 767px) {
  .business-section {
    gap: 20px;
    padding: 32px 20px 40px;
  }

  .numbers-section {
    gap: 24px;
    padding: 32px 24px 40px;
  }
  .numbers-section .section-heading h2 { margin-top: 18px; }
  .numbers-section .text-link { margin-top: 24px; }
}

/* 会社概要：代表写真を約半分の大きさに調整 */
.profile-section {
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  align-items: start;
  gap: clamp(40px, 6vw, 72px);
}
.profile-section > img {
  width: 100%;
  max-width: 200px;
  justify-self: center;
}

@media (max-width: 767px) {
  .profile-section { grid-template-columns: 1fr; }
  .profile-section > img {
    max-width: 180px;
    justify-self: start;
  }
}
