@charset "utf-8";
/* =========================================================
   株式会社ライン沖縄 サイト
   ブレークポイント：SP 〜767px ／ TB 768〜1023px ／ PC 1024px〜
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  /* 色 */
  --color-brand: #0050ff;        /* ロゴの青 */
  --color-brand-dark: #003fd1;   /* ホバー */
  --color-sky: #1fb0f0;          /* さわやかな水色（アクセント） */
  --color-navy: #0b2257;         /* 見出し・フッター（信頼感） */
  --color-ink: #1d2b4f;          /* 本文 */
  --color-muted: #5d6a86;        /* 補足 */
  --color-line: #dce5f2;         /* 区切り線 */
  --color-bg: #ffffff;           /* ページ背景 */
  --color-tint: #f0f6ff;         /* 淡い青の面 */
  --gradient-brand: linear-gradient(110deg, #0050ff 0%, #0a74ff 45%, #1fb0f0 100%);

  /* 文字 */
  --font-base: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* 形 */
  --radius: 14px;
  --radius-pill: 9999px;
  --shadow-card: 0 12px 32px rgba(11, 34, 87, 0.08);
  --shadow-soft: 0 4px 14px rgba(11, 34, 87, 0.06);

  /* レイアウト */
  --container: 1160px;
  --gutter: 20px;
  --header-h: 80px;
  --section-space: clamp(72px, 9vw, 120px);

  --transition: 0.25s ease;
}

/* ---------- ベース ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--color-sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 見出し（英字＋日本語） ---------- */
.heading {
  margin: 0 0 40px;
  line-height: 1.25;
}
.heading__en {
  display: block;
  color: var(--color-brand);
  font-family: var(--font-en);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.heading__ja {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.heading__ja::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-sky);
}
.heading--center { text-align: center; }
.heading--center .heading__ja { justify-content: center; }
.heading--light .heading__en,
.heading--light .heading__ja { color: #ffffff; }
.heading--light .heading__ja::before { background: #ffffff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn svg { transition: transform var(--transition); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--color-brand); color: #ffffff; }
.btn--primary:hover { background: var(--color-brand-dark); box-shadow: 0 8px 20px rgba(0, 80, 255, 0.28); }
.btn--outline { border: 1px solid var(--color-brand); color: var(--color-brand); background: #ffffff; }
.btn--outline:hover { background: var(--color-brand); color: #ffffff; }
.btn--white { background: #ffffff; color: var(--color-brand); }
.btn--white:hover { background: var(--color-tint); }

/* ---------- ヘッダー（白・上部固定） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(11, 34, 87, 0.08); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 10px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-navy);
  text-decoration: none;
}
.brand svg { width: 52px; height: auto; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
.brand__name strong { font-size: 20px; letter-spacing: 0.08em; }

.gnav__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition);
}
.gnav__link small {
  color: var(--color-sky);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.gnav__link:hover,
.gnav__link[aria-current="page"] { color: var(--color-brand); }
/* 最後の「お問い合わせ」はボタン風に */
.gnav__item--cta { margin-left: 12px; }
.gnav__item--cta .gnav__link {
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: #ffffff;
}
.gnav__item--cta .gnav__link small { color: rgba(255, 255, 255, 0.8); }
.gnav__item--cta .gnav__link:hover { background: var(--color-brand-dark); color: #ffffff; }

/* ハンバーガー（SPのみ） */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--color-navy);
  cursor: pointer;
}
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--transition), background-color var(--transition);
}
.menu-toggle__bar { position: relative; }
.menu-toggle__bar::before,
.menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 写真＋青のグラデーション ---------- */
.photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-blue {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 80, 255, 0.92) 0%, rgba(10, 116, 255, 0.72) 45%, rgba(31, 176, 240, 0.35) 100%);
}
/* 下端のゆるい波（次のセクションの色で塗る） */
.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  color: var(--color-bg);
}
.wave--tint { color: var(--color-tint); }

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 72vh, 720px);
  padding: 72px 0 140px;
  overflow: hidden;
  background: var(--color-brand);
  color: #ffffff;
}
.hero__inner { position: relative; width: 100%; }
.hero__en {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.24em;
  opacity: 0.9;
}
.hero__title {
  margin: 16px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.hero__lead {
  max-width: 32em;
  margin: 24px 0 0;
  font-size: clamp(15px, 1.3vw, 17px);
  opacity: 0.95;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- セクション共通 ---------- */
.section {
  position: relative;
  padding: var(--section-space) 0;
  overflow: hidden;
}
.section--tint { background: var(--color-tint); }

/* ---------- 新着情報 ---------- */
.topics {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 64px;
}
.topics .heading { flex: 0 0 auto; margin: 0; }
.topics__list {
  flex: 1 1 520px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topics__list li + li { margin-top: 12px; }
.topics__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  padding: 16px 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.topics__link:hover { border-color: var(--color-sky); box-shadow: var(--shadow-soft); }
.topics__date {
  min-width: 7em;
  color: var(--color-brand);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- ライン沖縄とは ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
  gap: 48px 72px;
}
.about__photos { position: relative; padding: 0 0 56px 0; }
.about__photo-main {
  width: 88%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.about__photo-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.about__catch {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.7;
}
.about__text { margin: 20px 0 0; color: var(--color-muted); }

/* 3つのつながり */
.lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 12px;
  margin: 0px 0 0;
  padding: 0;
  list-style: none;
}
.lines__item {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.lines__no {
  display: block;
  color: var(--color-sky);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.lines__title { display: block; color: var(--color-navy); font-weight: 700; }

/* ---------- 事業内容（光の線の写真＋青） ---------- */
.business {
  position: relative;
  padding: var(--section-space) 0 calc(var(--section-space) + 40px);
  overflow: hidden;
  background: var(--color-brand);
  color: #ffffff;
}
.business__inner { position: relative; }
.business .heading { margin-bottom: 64px; }
.business__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 56px 32px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.business__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 52px 28px 32px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--color-navy);
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 30, 120, 0.25);
}
.business__icon {
  position: absolute;
  top: -32px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 80, 255, 0.3);
}
.business__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.6; }
.business__text { margin: 0; color: var(--color-muted); font-size: 14px; line-height: 1.8; }

/* ---------- 写真＋白パネル（採用・個人情報保護方針への導線） ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 34, 87, 0.14); }
.feature__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature:hover .feature__photo { transform: scale(1.04); }
.feature__body { padding: 28px 32px 32px; }
.feature__body .heading { margin-bottom: 14px; }
.feature__body .heading__en { font-size: clamp(24px, 2.4vw, 30px); }
.feature__text { margin: 0; color: var(--color-muted); }
.feature__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--color-brand);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.feature__more svg { transition: transform var(--transition); }
.feature:hover .feature__more svg { transform: translateX(4px); }

/* ---------- 会社概要 ---------- */
.data-list {
  margin: 0;
  border-top: 1px solid var(--color-line);
}
.data-list__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--color-line);
}
.data-list dt {
  flex: 0 0 8em;
  color: var(--color-brand);
  font-weight: 700;
}
.data-list dd { flex: 1 1 320px; min-width: 0; margin: 0; }
.data-list ol { margin: 0; padding-left: 1.4em; }

.clients {
  margin-top: 48px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--color-tint);
}
.section--tint .clients { background: #ffffff; } /* 淡い青の面の上では白に */
.clients__title { margin: 0; color: var(--color-navy); font-size: 16px; }
.clients__note { color: var(--color-muted); font-size: 13px; font-weight: 400; }
.clients__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0 32px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.clients__list li { padding: 10px 0; border-bottom: 1px solid var(--color-line); }

/* ---------- アクセス ---------- */
.access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px 56px;
  align-items: stretch;
}
.access .data-list { background: #ffffff; border-radius: var(--radius); padding: 8px 24px; border-top: 0; box-shadow: var(--shadow-soft); }
.access .data-list__row:last-child { border-bottom: 0; }
.access a:hover { color: var(--color-brand); }
.map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e3ebf7;
  box-shadow: var(--shadow-soft);
}
.map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- お問い合わせ（青のグラデーション） ---------- */
.contact { padding: 0 0 var(--section-space); } /* 直前のアクセス欄の下余白とつなげる */
.contact__box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--gradient-brand);
  color: #ffffff;
}
.contact__box::after {
  /* 右側にうっすら光の輪 */
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.contact__head { position: relative; }
.contact .heading { margin: 0; }
.contact__lead { margin: 16px 0 0; opacity: 0.95; }
.contact__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-brand);
  font-family: var(--font-en);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact__tel:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 30, 120, 0.25); }
.contact__sub { margin: 0; font-size: 13px; text-align: center; opacity: 0.95; }

/* ---------- フッター ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 64px;
}
.site-footer .brand { margin-bottom: 16px; color: #ffffff; }
.site-footer .brand svg { padding: 6px; border-radius: 6px; background: #ffffff; width: 60px; }
.site-footer__address { margin: 0; font-size: 13px; line-height: 1.9; }
.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, auto));
  gap: 4px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.footer-nav__list a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.footer-nav__list a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.copyright {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ページトップへ（PCのみ） */
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 80, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background-color var(--transition);
}
.pagetop.is-visible { opacity: 1; visibility: visible; }
.pagetop:hover { background: var(--color-brand-dark); }

/* ---------- 下層ページ ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 120px;
  overflow: hidden;
  background: var(--color-brand);
  color: #ffffff;
}
.page-hero__inner { position: relative; }
.page-hero .heading { margin: 0; }
.page-hero .heading__en { font-size: clamp(36px, 4.6vw, 56px); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  opacity: 0.95;
}
.breadcrumb a { color: #ffffff; }

.page-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.page-card + .page-card { margin-top: 32px; }
.page-card__title {
  margin: 0 0 20px;
  color: var(--color-navy);
  font-size: clamp(20px, 2vw, 24px);
}
.page-card__lead { margin: 0; font-size: clamp(15px, 1.4vw, 17px); line-height: 2; }
.page-card__note { margin: 24px 0 0; color: var(--color-muted); font-size: 14px; }
.page-card__note a { color: var(--color-brand); }

.policy-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}
.policy-list__item {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(22px, 3vw, 28px) 0;
  border-bottom: 1px solid var(--color-line);
}
.policy-list__no {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-brand);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
}
.policy-list__title { margin: 0; color: var(--color-navy); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; }
.policy-list__text { margin: 8px 0 0; color: var(--color-muted); }
.policy-sign { margin-top: 32px; font-size: 14px; text-align: right; }
.policy-sign p { margin: 0; }

/* 窓口（電話・メール） */
.desk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  background: var(--color-tint);
  border-color: transparent;
}
.desk__head { flex: 1 1 280px; }
.desk__label { margin: 0; color: var(--color-sky); font-family: var(--font-en); font-weight: 600; letter-spacing: 0.14em; }
.desk__title { margin: 4px 0 0; color: var(--color-navy); font-size: 20px; }
.desk__text { margin: 6px 0 0; color: var(--color-muted); font-size: 14px; }
.desk__actions { display: flex; flex: 1 1 320px; flex-wrap: wrap; gap: 12px; }
.desk__tel,
.desk__mail {
  display: flex;
  flex: 1 1 150px;
  min-height: 68px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.desk__tel {
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  color: var(--color-navy);
}
.desk__tel:hover { box-shadow: var(--shadow-soft); }
.desk__tel small { color: var(--color-muted); font-size: 12px; }
.desk__tel strong { font-family: var(--font-en); font-size: 21px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.3; }
.desk__mail {
  align-items: center;
  justify-content: center;
  background: var(--color-brand);
  color: #ffffff;
  font-weight: 700;
}
.desk__mail:hover { background: var(--color-brand-dark); }

/* ---------- スクロールで表示（JSが動くときだけ） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-shown { opacity: 1; transform: none; }

/* =========================================================
   TB（768〜1023px）
   ========================================================= */
@media (max-width: 1023px) {
  .gnav__link { padding: 8px 9px; font-size: 13px; }
  .gnav__item--cta { margin-left: 4px; }
  .gnav__item--cta .gnav__link { padding: 8px 14px; }
  .brand svg { width: 44px; }
  .brand__name strong { font-size: 17px; }
}

/* =========================================================
   SP（〜767px）
   ========================================================= */
@media (max-width: 767px) {
  :root { --header-h: 68px; }

  .site-header__inner { padding: 8px 16px; }
  .brand svg { width: 42px; }
  .brand__name { font-size: 11px; }
  .brand__name strong { font-size: 16px; }

  /* JSが動くときだけハンバーガーで開閉 */
  .js .menu-toggle { display: inline-flex; }
  .js .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(11, 34, 87, 0.12);
  }
  .js .gnav.is-open { display: block; }
  .gnav__list { flex-wrap: wrap; justify-content: center; }
  .js .gnav__list { flex-direction: column; align-items: stretch; padding: 4px 16px 20px; }
  .js .gnav__link {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 4px;
    border-bottom: 1px solid var(--color-line);
  }
  .js .gnav__item--cta { margin: 16px 0 0; }
  .js .gnav__item--cta .gnav__link { justify-content: center; gap: 12px; border-bottom: 0; padding: 14px; }

  .hero { min-height: 560px; padding: 56px 0 110px; }

  .about__photos { padding-bottom: 40px; }
  .lines { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lines__item { padding: 12px 6px; }
  .lines__title { font-size: 12px; letter-spacing: 0; }

  .footer-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }

  .pagetop { display: none; }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
