/* 株式会社FINLAND — site styles */
:root {
  --navy: #001b40;
  --navy-2: #0b2c5a;
  --ink: #1f2430;
  --sub: #5a6475;
  --paper: #ffffff;
  --mist: #f1f3f6;
  --line: #d9dee6;
  --sun: #ffa95f;
  --serif: "Lora", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Lato", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1120px;
  --text: 720px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 700; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--sun); }
.nav a:hover { color: var(--navy); border-bottom-color: var(--line); }
.nav .nav-cta a { background: var(--navy); color: #fff; padding: 9px 18px; border: 0; }
.nav .nav-cta a:hover { background: var(--navy-2); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; font: 700 13px var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--mist); }
  .nav .nav-cta a { text-align: center; margin-top: 12px; }
}

/* Hero (top page) */
.hero { display: grid; grid-template-columns: minmax(280px, 38%) 1fr; min-height: min(720px, calc(100svh - 68px)); background: var(--navy); color: #fff; }
.hero-copy { display: flex; align-items: center; justify-content: center; padding: 56px var(--gutter); gap: 40px; }
.hero-catch { writing-mode: vertical-rl; font-family: "Shippori Mincho", var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.6; letter-spacing: 0.18em; margin: 0; }
.hero-logo { width: clamp(120px, 12vw, 170px); }
.hero-photo { position: relative; background: #0d1b2e center / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,27,64,.55), rgba(0,27,64,0) 55%); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 240px; order: -1; }
  .hero-copy { flex-direction: column; align-items: flex-start; padding: 40px var(--gutter) 48px; gap: 24px; }
  .hero-catch { writing-mode: horizontal-tb; font-size: 26px; letter-spacing: 0.08em; }
  .hero-logo { width: 110px; }
}

/* Page header (sub pages) */
.page-head { background: var(--navy); color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 6vw, 64px); position: relative; overflow: hidden; }
.page-head .en { font-family: "Lora", serif; font-style: italic; font-size: 15px; color: var(--sun); margin: 0 0 6px; letter-spacing: .06em; }
.page-head h1 { font-family: "Shippori Mincho", var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.4; margin: 0; letter-spacing: .1em; }
.page-head .mark { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .07; filter: invert(1); pointer-events: none; }

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section.alt { background: var(--mist); }
.section-title { font-family: "Shippori Mincho", var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; letter-spacing: .08em; margin: 0 0 8px; }
.section-title + .lead { margin-top: 0; }
.en-sub { font-family: "Lora", serif; font-style: italic; color: var(--sub); font-size: 14px; margin: 0 0 28px; }
.lead { color: var(--sub); max-width: var(--text); }
.prose { max-width: var(--text); }
.prose p { margin: 0 0 1.2em; }

/* Top: three entries */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.entry { display: block; padding: 36px 28px 40px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.entry + .entry { padding-left: 28px; border-left: 1px solid var(--line); }
.entry h3 { font-family: "Shippori Mincho", var(--serif); font-size: 22px; margin: 0 0 4px; letter-spacing: .08em; }
.entry .en-sub { margin-bottom: 14px; }
.entry p { margin: 0 0 18px; font-size: 15px; color: var(--sub); }
.entry .more { font-weight: 700; font-size: 14px; color: var(--navy); border-bottom: 2px solid var(--sun); }
.entry:hover h3 { color: var(--navy); }
@media (max-width: 760px) {
  .entries { grid-template-columns: 1fr; }
  .entry, .entry + .entry { padding: 28px 0; border-left: 0; }
}

/* Business list */
.biz { display: grid; grid-template-columns: 280px 1fr; gap: 12px 48px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.biz:last-child { border-bottom: 1px solid var(--line); }
.biz h2, .biz h3 { font-family: "Shippori Mincho", var(--serif); font-weight: 600; font-size: 21px; letter-spacing: .06em; margin: 0; line-height: 1.5; }
.biz .en-sub { margin: 4px 0 0; }
.biz p { margin: 0; max-width: var(--text); }
.biz h3 a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sun); }
.biz h3 a:hover { color: var(--navy); }
.biz .links { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .biz { grid-template-columns: 1fr; } }

/* Definition tables */
.dl { margin: 0; border-top: 1px solid var(--line); max-width: 860px; }
.dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; color: var(--navy); }
.dl dd { margin: 0; white-space: pre-line; }
@media (max-width: 640px) { .dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Philosophy / greeting */
.statement { font-family: "Shippori Mincho", var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 32px); line-height: 1.7; letter-spacing: .08em; margin: 0 0 18px; color: var(--navy); max-width: 22em; }
.signature { margin-top: 28px; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split .photo { aspect-ratio: 4 / 3; background: var(--mist) center / cover no-repeat; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Jobs */
.job { border: 1px solid var(--line); background: var(--paper); padding: 28px clamp(20px, 4vw, 36px); margin-bottom: 24px; }
.job-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; margin-bottom: 14px; }
.job-no { font-family: "Lora", serif; font-weight: 700; color: var(--navy); background: var(--mist); padding: 2px 10px; font-size: 14px; }
.job h2 { font-size: 20px; margin: 0; }
.job .dl { border-top: 0; }
.job .dl > div { grid-template-columns: 120px 1fr; padding: 10px 0; }
.note { color: var(--sub); font-size: 14px; }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 28px; border: 2px solid var(--navy); }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* Contact band */
.contact-band { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.contact-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact-band h2 { font-family: "Shippori Mincho", var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 6px; letter-spacing: .08em; }
.contact-band p { margin: 0; color: #c9d3e3; }
.contact-band .tel { font-family: "Lora", serif; font-size: clamp(26px, 3.4vw, 36px); color: #fff; text-decoration: none; display: block; letter-spacing: .04em; }
.contact-band .btn { background: var(--sun); border-color: var(--sun); color: var(--navy); }
.contact-band .btn:hover { background: #ffbc82; border-color: #ffbc82; color: var(--navy); }

/* Footer */
.site-footer { background: #0a1424; color: #c9d3e3; padding: 48px 0 28px; font-size: 14px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { margin-top: 36px; color: #7f8ca3; font-size: 12px; }
