/* ==========================================================================
   株式会社FALCO コーポレートサイト 共通スタイル
   2026-07 デザイン刷新版
   - ドミナントカラー: ミントグリーン #14A085
   - 差し色(装飾のブロブ・ドットのみ): #FFD75E / #FF8A7A / #CFF0E5
   - 見出し・本文: Noto Sans JP(400/500/700/900)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. カスタムプロパティ
   -------------------------------------------------------------------------- */
:root {
  --c-mint: #14A085;
  --c-mint-deep: #0E7E68;
  --c-mint-tint: #E9F6F1;   /* ブランド淡色地(チップ・カード) */
  --c-mint-pale: #CFF0E5;   /* 装飾用・淡ミント */
  --c-yellow: #FFD75E;      /* 装飾用・黄 */
  --c-coral: #FF8A7A;       /* 装飾用・コーラル */
  --c-text: #333333;
  --c-text-sub: #6F7A77;
  --c-line: #E4EAE8;
  --c-bg-soft: #F5FBF8;
  --font-head: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --radius-card: 20px;
  --radius-img: 12px;
  --radius-chip: 8px;
  --header-h: 76px;
  --shadow-soft: 0 12px 34px rgba(23, 63, 54, 0.10);
}

/* --------------------------------------------------------------------------
   2. リセット・ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-mint);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--c-mint-deep);
}

main p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* 公開前プレースホルダ(可視のまま目立たせる) */
.placeholder {
  display: inline-block;
  background: rgba(255, 215, 94, 0.35);
  border-radius: 6px;
  padding: 0 0.5em;
  font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   3. ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.9em 2.1em;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-solid {
  background: var(--c-mint);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(20, 160, 133, 0.28);
}

.btn-solid:hover {
  background: var(--c-mint-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--c-mint);
  border-color: var(--c-mint);
}

.btn-outline:hover {
  background: var(--c-mint-tint);
  color: var(--c-mint-deep);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 2em;
}

/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(23, 63, 54, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
  height: var(--header-h);
}

/* 社名ロゴタイプ */
.brand {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--c-text);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
  white-space: nowrap;
}

.brand:hover {
  color: var(--c-text);
  opacity: 0.75;
}

.brand .brand-main {
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: var(--c-mint);
}

.brand--logo img {
  display: block;
  height: 24px;
  width: auto;
}

/* グローバルナビ(PC) */
.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.global-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-text);
  position: relative;
  padding: 6px 0;
}

.global-nav a:hover {
  color: var(--c-mint);
}

.global-nav a[aria-current="page"] {
  color: var(--c-mint);
}

.global-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: var(--c-mint);
}

/* ナビ内CTA(ピル型) */
.global-nav .nav-cta a {
  background: var(--c-mint);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.7em 1.5em;
  font-size: 0.88rem;
  box-shadow: 0 6px 16px rgba(20, 160, 133, 0.28);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.global-nav .nav-cta a:hover {
  background: var(--c-mint-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.global-nav .nav-cta a::after {
  content: none;
}

/* ハンバーガー(モバイルで表示) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px 11px;
  background: var(--c-mint-tint);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  z-index: 130;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--c-mint);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. 写真プレースホルダ
   -------------------------------------------------------------------------- */
.ph-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 215, 94, 0.28) 0, transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(255, 138, 122, 0.20) 0, transparent 38%),
    linear-gradient(135deg, #EDFAF4 0%, var(--c-mint-pale) 58%, #F2FBF7 100%);
}

.ph-photo .ph-note {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-mint-deep);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.4em 1.2em;
  white-space: nowrap;
}

/* 実写を差し込んだ状態(地模様を消して写真で満たす) */
.ph-photo.has-img {
  background: none;
}

.ph-photo.has-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 形状バリエーション */
.ph-photo--hero {
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-inline: auto;
}

/* ヒーロー写真のスライドショー(じんわりクロスフェード)
   新しい写真を前面(z-index:1)でフェードインさせ、直前の写真は
   .was-active で背面に残してから外すことで、背景の透け(明度の谷)を防ぐ */
.hero-slideshow > img {
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.hero-slideshow > img.was-active {
  opacity: 1;
}

.hero-slideshow > img.is-active {
  opacity: 1;
  z-index: 1;
}

.ph-photo--card {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-img);
}

.ph-photo--rect {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
}

.ph-photo--wide {
  aspect-ratio: 16 / 9;
  max-width: 720px;
  border-radius: var(--radius-card);
  margin-top: 28px;
}

.ph-photo--portrait {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.ph-photo--small {
  width: min(240px, 60%);
  margin-top: 28px;
}

/* お知らせ記事の写真(トリミングせず全体表示。書籍カバー等アスペクト比が揃わないため) */
.article-photo {
  max-width: 360px;
  margin: 24px 0 32px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 30, 26, 0.12);
}

.article-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   6. 装飾(ブロブ・水玉ドット) ※差し色はここでのみ使用
   -------------------------------------------------------------------------- */
.blob,
.dots {
  position: absolute;
  pointer-events: none;
}

.blob {
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
}

.dots {
  background-image: radial-gradient(var(--c-mint-pale) 3px, transparent 3.5px);
  background-size: 22px 22px;
}

.dots--yellow {
  background-image: radial-gradient(var(--c-yellow) 3px, transparent 3.5px);
}

/* --------------------------------------------------------------------------
   7. トップ: メインビジュアル
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 64px) 0 clamp(48px, 6vw, 80px);
}

/* 背景の大きな英字ウォーターマーク(CSS背景で描画) */
.hero-watermark {
  position: absolute;
  top: clamp(8px, 2vw, 32px);
  left: -1.5vw;
  width: min(60vw, 780px);
  height: clamp(120px, 16vw, 210px);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200'%3E%3Ctext x='0' y='166' font-family='Verdana, Arial, sans-serif' font-weight='bold' font-size='168' letter-spacing='14' fill='%23CFF0E5' opacity='0.5'%3EFALCO%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(16px, 3vw, 48px);
  /* 下端に重なるお知らせボックス(margin-top: -5vw)より常に大きい余白を確保する */
  padding-bottom: clamp(40px, 5.5vw, 88px);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1rem, 5.2vw, 3rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* 指定の位置以外では改行させない(幅がどれだけ狭くても2行を維持) */
.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  margin-top: 1.5em;
  font-weight: 500;
  line-height: 2.1;
  max-width: 34em;
}

/* 見出しまわりの水玉 */
.hero-copy .dots-a {
  top: -18px;
  right: 6%;
  width: 96px;
  height: 52px;
}

/* 右カラム: 円形写真+装飾 */
.hero-visual {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 40px);
}

.hero-visual .blob-back {
  inset: 4% -4% auto auto;
  width: 62%;
  height: 62%;
  background: var(--c-mint-pale);
  opacity: 0.7;
}

.hero-visual .blob-yellow {
  top: -2%;
  left: 2%;
  width: 120px;
  height: 108px;
  background: var(--c-yellow);
}

/* 写真の左下に重ねる大きな雫(写真+しっぽの一体シルエットを作る) */
.hero-visual .blob-coral {
  bottom: -3%;
  left: 7%;
  width: clamp(120px, 13vw, 180px);
  height: clamp(120px, 13vw, 180px);
  background: var(--c-coral);
  border-radius: 0 50% 50% 50%;
  transform: rotate(225deg);
}

.hero-visual .dots-b {
  bottom: 0;
  left: -10%;
  width: 190px;
  height: 140px;
}

/* 写真上部の黄ドットクラスタ */
.hero-visual .dots-e {
  top: 0;
  right: -4%;
  width: 120px;
  height: 74px;
  background-size: 18px 18px;
}

/* 写真の外周から画面右端まで回り込む大面積の水玉(サイズ違い2枚) */
.hero-dots-right {
  top: 16%;
  right: 0;
  width: clamp(150px, 17vw, 300px);
  height: clamp(220px, 30vw, 420px);
  background-size: 26px 26px;
}

.hero-dots-corner {
  right: 3%;
  bottom: 5%;
  width: 130px;
  height: 90px;
  background-size: 18px 18px;
}

.ph-photo--hero {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
  animation: hero-float 5s ease-in-out infinite;
}

/* ヒーローの動き: 見出し・本文・ボタンは順にフェードイン、右の写真・装飾は大きめに浮遊 */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.015); }
}

@keyframes hero-float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.07); }
}

@keyframes hero-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -26px); }
}

@keyframes hero-photo-zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}

.hero-copy .dots-a,
.hero-title,
.hero-lead,
.hero-copy .btn-row {
  opacity: 0;
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy .dots-a { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.12s; }
.hero-lead { animation-delay: 0.3s; }
.hero-copy .btn-row { animation-delay: 0.44s; }

.hero-visual .blob-back { animation: hero-float-slow 7s ease-in-out infinite; }
.hero-visual .blob-yellow { animation: hero-drift 4.5s ease-in-out infinite; }
.hero-visual .blob-coral { animation: hero-drift 6s ease-in-out infinite reverse; }
.hero-visual .dots-b { animation: hero-drift 5.5s ease-in-out infinite reverse; }
.hero-visual .dots-e { animation: hero-drift 6.5s ease-in-out infinite; }
.hero-slideshow > img { animation: hero-photo-zoom 9s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy .dots-a,
  .hero-title,
  .hero-lead,
  .hero-copy .btn-row,
  .ph-photo--hero,
  .hero-visual .blob-back,
  .hero-visual .blob-yellow,
  .hero-visual .blob-coral,
  .hero-visual .dots-b,
  .hero-visual .dots-e,
  .hero-slideshow > img {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   8. トップ: お知らせボックス(ヒーロー下部)
   画面左端からブリードし、右側の角だけ丸い白ボックス。
   負マージンでファーストビューの円形写真の下端に重ねる。
   ※ 50vw - 50% = コンテナ内コンテンツ左端からビューポート左端までの距離
   -------------------------------------------------------------------------- */
.hero-news {
  position: relative;
  z-index: 2;
  margin-top: clamp(-76px, -5vw, -32px);
  margin-left: calc(50% - 50vw);
  width: calc(50vw - 50% + min(100%, 720px));
  background: #FFFFFF;
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow-soft);
  padding: 18px 28px 14px calc(50vw - 50% + clamp(20px, 4vw, 48px));
}

.hero-news .news-more {
  margin-top: 0.4em;
  text-align: right;
}

/* --------------------------------------------------------------------------
   9. お知らせリスト(共通)
   -------------------------------------------------------------------------- */
.news-list li + li {
  border-top: 1px solid var(--c-line);
}

.news-list a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "cat date title";
  align-items: center;
  gap: 6px 16px;
  padding: 14px 4px;
  color: var(--c-text);
}

.news-list a:hover .news-title {
  color: var(--c-mint);
}

.news-cat {
  grid-area: cat;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--c-mint);
  background: var(--c-mint-tint);
  border-radius: var(--radius-chip);
  padding: 2px 14px;
  min-width: 6.5em;
  text-align: center;
  white-space: nowrap;
}

.news-date {
  grid-area: date;
  font-size: 0.8rem;
  color: var(--c-text-sub);
  white-space: nowrap;
}

.news-title {
  grid-area: title;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.7;
  transition: color 0.25s ease;
}

/* ヒーロー内: PC幅は[チップ][日付][タイトル]の1行組・タイトルは1行省略 */
@media (min-width: 721px) {
  .hero-news .news-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }
}

/* --------------------------------------------------------------------------
   10. セクション共通
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1.1em;
}

/* 見出し先頭のしずく型アイコン(CSSのみで描画) */
.section-title::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  background: var(--c-mint);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  flex: none;
}

.section > .container > p,
.section .article-container > p {
  max-width: 46em;
}

.section > .container > p + p {
  margin-top: 1em;
}

.section-lead {
  font-weight: 500;
  margin-bottom: 2.2em;
}

/* もっと見るリンク */
.more-link {
  margin-top: 2em;
}

.more-link a,
.article-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-mint);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.more-link a::after {
  content: "\2192";
  font-weight: 700;
  transition: transform 0.25s ease;
}

.more-link a:hover::after {
  transform: translateX(4px);
}

.article-back a::before {
  content: "\2190";
  font-weight: 700;
}

.more-link--spaced {
  margin-top: 2.4em;
}

/* --------------------------------------------------------------------------
   11. トップ: FALCOについて
   画面左端からブリードする淡色帯。右端だけ超大径の角丸で閉じる巨大ピル形状。
   左=読ませる本文 / 右=会社の基本情報タイル(設立・拠点・事業)の2カラム。
   -------------------------------------------------------------------------- */
.about-band {
  position: relative;
  background: var(--c-mint-tint);
  border-radius: 0 500px 500px 0;
  margin-right: clamp(28px, 8vw, 120px);
  padding: clamp(48px, 6vw, 88px) 0;
}

/* 帯の右下に水玉(タイル背面の装飾) */
.about-band > .dots-c {
  right: clamp(12px, 3vw, 48px);
  bottom: 22px;
  width: 130px;
  height: 96px;
  z-index: 0;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text {
  max-width: 38em;
}

.about-text p {
  font-weight: 500;
  line-height: 2.15;
}

.about-text p + p {
  margin-top: 1.1em;
}

/* 導入文: 太字・一回り大きく */
.about-intro {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 2;
}

.about-btn {
  margin-top: 2.2em;
}

/* 会社の基本情報タイル */
.about-facts {
  display: grid;
  gap: 16px;
}

.fact-tile {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 24px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--c-mint-deep);
}

.fact-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--c-text);
}

/* --------------------------------------------------------------------------
   11b. 中盤の英字ウォーターマーク帯(CSS背景で描画)
   -------------------------------------------------------------------------- */
.mid-watermark {
  width: 100%;
  height: clamp(80px, 11vw, 150px);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 940 200'%3E%3Ctext x='0' y='166' font-family='Verdana, Arial, sans-serif' font-weight='bold' font-size='168' letter-spacing='14' fill='%23CFF0E5' opacity='0.5'%3EFALCO%3C/text%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   12. 事業内容カード
   -------------------------------------------------------------------------- */
.business-section .container {
  position: relative;
}

.business-section .dots-d {
  top: 8px;
  right: clamp(20px, 4vw, 48px);
  width: 150px;
  height: 64px;
}

/* 事業カード: 2×2で組む(4事業を均等に見せる) */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-mint-tint);
  border-radius: var(--radius-card);
  padding: 20px 20px 26px;
}

.card .ph-photo {
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: var(--c-mint);
}

.card-text {
  font-size: 0.95rem;
  line-height: 2;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
}

.card-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.card-link a::after {
  content: "\2192";
  transition: transform 0.25s ease;
}

.card-link a:hover::after {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   13. 会社概要テーブル
   -------------------------------------------------------------------------- */
.spec-table {
  width: 100%;
  max-width: 780px;
}

.spec-table tr {
  border-bottom: 1px solid var(--c-line);
}

.spec-table th {
  width: 9.5em;
  text-align: left;
  vertical-align: top;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-mint);
  padding: 18px 12px 18px 4px;
  line-height: 1.7;
}

.spec-table td {
  padding: 18px 4px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   14. お問い合わせ帯
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--c-mint-tint);
  padding: clamp(56px, 8vw, 88px) 0;
  text-align: center;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cta-band::before {
  top: -46px;
  left: -36px;
  width: 150px;
  height: 136px;
  background: var(--c-yellow);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  opacity: 0.85;
}

.cta-band::after {
  right: 3%;
  bottom: -18px;
  width: 130px;
  height: 90px;
  background-image: radial-gradient(#FFFFFF 3px, transparent 3.5px);
  background-size: 22px 22px;
}

.cta-band .section-title {
  justify-content: center;
}

.cta-band .container > p {
  max-width: 40em;
  margin-inline: auto;
  font-weight: 500;
}

.cta-band .btn-row {
  justify-content: center;
}

.cta-band .btn-outline {
  background: #FFFFFF;
}

/* --------------------------------------------------------------------------
   15. 下層ページ共通ヒーロー
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-bg-soft) 0%, #FFFFFF 100%);
  padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -44px;
  width: 190px;
  height: 170px;
  background: var(--c-mint-pale);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  opacity: 0.8;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 10px;
  width: 130px;
  height: 60px;
  background-image: radial-gradient(var(--c-yellow) 3px, transparent 3.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.45em;
}

.page-title::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  background: var(--c-mint);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  flex: none;
}

.page-lead {
  margin-top: 1.2em;
  font-weight: 500;
  line-height: 2.1;
  max-width: 46em;
}

.page-hero .container > p + p {
  margin-top: 0.8em;
  max-width: 46em;
}

/* --------------------------------------------------------------------------
   16. 会社概要ページ
   -------------------------------------------------------------------------- */
.mission-label {
  display: table;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-mint);
  background: var(--c-mint-tint);
  border-radius: 999px;
  padding: 0.3em 1.4em;
  margin-bottom: 1.2em;
}

.mission-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.mission-text .hero-title-line {
  background: linear-gradient(transparent 64%, var(--c-mint-pale) 64%);
}

.message-body {
  max-width: 800px;
}

.message-body .ph-photo--portrait {
  float: right;
  width: min(260px, 38%);
  margin: 0 0 20px 28px;
  shape-outside: circle(50% at 50% 50%);
}

.message-body p {
  line-height: 2.15;
}

.message-body p + p {
  margin-top: 1.3em;
}

.message-sign {
  clear: both;
  margin-top: 2em;
  font-family: var(--font-head);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   17. お問い合わせフォーム
   -------------------------------------------------------------------------- */
.contact-form {
  max-width: 680px;
  margin-top: 28px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.tag-req,
.tag-opt {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 999px;
  padding: 1px 12px;
}

.tag-req {
  background: var(--c-mint);
  color: #FFFFFF;
}

.tag-opt {
  background: var(--c-mint-tint);
  color: var(--c-mint-deep);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--c-text);
  background: var(--c-bg-soft);
  border: 2px solid var(--c-line);
  border-radius: 14px;
  padding: 12px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-mint) 50%),
    linear-gradient(135deg, var(--c-mint) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%;
  background-size: 7px 7px;
  background-repeat: no-repeat;
  padding-right: 48px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(20, 160, 133, 0.14);
}

.form-consent > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--c-mint);
  flex: none;
}

.form-submit {
  margin-top: 32px;
}

.form-submit .btn {
  min-width: 240px;
  font-size: 1rem;
}

.form-notes {
  margin-top: 32px;
  color: var(--c-text-sub);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   18. お知らせ記事
   -------------------------------------------------------------------------- */
.article-container {
  max-width: 780px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.85rem;
  color: var(--c-text-sub);
}

.article-meta .news-cat {
  order: -1;
}

.article-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 18px 0 26px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--c-mint-tint);
}

.article-body p {
  line-height: 2.15;
}

.article-body p + p {
  margin-top: 1.3em;
}

.article-back {
  margin-top: 48px;
}

/* プライバシーポリシーなど記事型ページの箇条書き */
.article-container ul {
  margin-top: 1em;
  display: grid;
  gap: 0.5em;
}

.article-container ul li {
  position: relative;
  padding-left: 1.4em;
  line-height: 1.9;
}

.article-container ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  background: var(--c-mint);
}

/* 記事型ページは見出しを一回り小さく、セクションの余白を詰める */
.section .article-container .section-title {
  font-size: 1.3rem;
  margin-bottom: 0.9em;
}

main .section:has(.article-container) {
  padding: 28px 0;
}

main .section:has(.article-container):first-of-type {
  padding-top: clamp(40px, 6vw, 64px);
}

main .section:has(.article-container):last-of-type {
  padding-bottom: clamp(56px, 8vw, 96px);
}

/* --------------------------------------------------------------------------
   19. フッター(中央寄せ)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line);
  padding: clamp(48px, 6vw, 64px) 0 32px;
  text-align: center;
}

.footer-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-address {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--c-text-sub);
  line-height: 1.9;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 28px auto 32px;
  max-width: 720px;
}

.footer-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-text);
}

.footer-nav a:hover {
  color: var(--c-mint);
}

.copyright {
  font-size: 0.78rem;
  color: var(--c-text-sub);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   20. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(78vw, 340px);
    background: #FFFFFF;
    border-radius: 28px 0 0 28px;
    box-shadow: -12px 0 40px rgba(23, 63, 54, 0.16);
    padding: 110px 36px 40px;
    transform: translateX(105%);
    transition: transform 0.32s ease;
    z-index: 120;
    overflow-y: auto;
  }

  body.nav-open .global-nav {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 46, 39, 0.4);
    z-index: 110;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .global-nav a {
    font-size: 1.05rem;
  }

  .global-nav .nav-cta {
    margin-top: 10px;
  }

  /* 幅を狭めても縦積みにしない: 常にコピー(左)・写真(右)の2カラムを維持し、比率だけ詰める */
  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 4vw;
  }

  .hero-visual {
    max-width: none;
    width: 100%;
    padding: 4vw;
  }

  /* 写真カラムが狭くなる分、装飾も比率を保ったまま縮小 */
  .hero-visual .blob-yellow {
    width: clamp(46px, 20%, 120px);
    height: clamp(40px, 18%, 108px);
  }

  .hero-visual .blob-coral {
    width: clamp(46px, 22%, 180px);
    height: clamp(46px, 22%, 180px);
  }

  .hero-visual .dots-b {
    width: clamp(60px, 30%, 190px);
    height: clamp(50px, 22%, 140px);
  }

  .hero-visual .dots-e {
    width: clamp(40px, 18%, 120px);
    height: clamp(26px, 12%, 74px);
  }

  .hero-watermark {
    width: min(60vw, 420px);
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-news {
    margin-top: 32px;
  }

  .hero-dots-right {
    top: 4%;
    height: 140px;
    width: clamp(80px, 12vw, 150px);
  }

  .hero-dots-corner {
    display: none;
  }

  /* 狭い写真カラムでもラベルが枠内に収まるよう折り返し可に */
  .hero-visual .ph-note {
    white-space: normal;
    text-align: center;
    font-size: 0.62rem;
    padding: 0.5em 0.9em;
    max-width: 82%;
  }

  .about-band {
    margin-right: clamp(20px, 6vw, 64px);
    border-radius: 0 140px 140px 0;
    padding: 48px 0 44px;
  }

  /* 狭い幅では本文の下に情報タイルを縦積み */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-band > .dots-c {
    display: none;
  }

  .message-body .ph-photo--portrait {
    float: none;
    width: min(240px, 70%);
    margin: 0 auto 28px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .brand .brand-main {
    font-size: 1.5rem;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-news {
    padding: 16px 18px 12px calc(50vw - 50% + 20px);
  }

  .news-list a {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "cat date"
      "title title";
    gap: 4px 14px;
  }

  .spec-table th {
    width: 7.5em;
    padding-right: 8px;
  }

  .card {
    padding: 16px 16px 22px;
  }

  .btn {
    width: 100%;
    max-width: 360px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn-row {
    align-items: center;
  }

  .form-submit .btn {
    width: 100%;
    max-width: 360px;
  }
}

/* ==========================================================================
   2026-07 リッチ化アップデート(コーポレート)
   スクロール出現 / 英字ラベル / マーカー / カードホバー / ボタン矢印
   (既存ルールの上書きはこのブロックが後勝ちであることを利用)
   ========================================================================== */

/* ---------- スクロール出現(JSが .rv を付与。JS無効時は常時表示) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(26px);
  }

  .rv.is-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- セクション英字ラベル ---------- */

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--c-mint);
  margin: 0 0 4px;
}

/* (黄色マーカーは本人指示で全廃: ヒーローH1・ミッションとも下線なし) */

/* ---------- ボタン強化(矢印+ホバーで前進。ヘッダー内CTAは除外) ---------- */

.btn-solid::after,
.btn-outline::after {
  content: "\2192";
  margin-left: 9px;
  transition: transform 0.2s ease;
}

.btn-solid:hover::after,
.btn-outline:hover::after {
  transform: translateX(4px);
}

.global-nav .btn::after {
  content: none;
  margin: 0;
}

/* 狭幅で矢印ぶんの折り返しが起きないよう余白を詰め、ラベルは1行を維持する */
@media (max-width: 480px) {
  .btn-row .btn,
  .about-btn .btn {
    padding-inline: 1.5em;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

/* ---------- 事業カード: ホバーで浮き上がる ---------- */

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(23, 63, 54, 0.16);
}

/* ---------- お知らせ: 行ホバー ---------- */

.news-list a {
  border-radius: 10px;
  padding-inline: 12px;
  transition: background-color 0.2s ease;
}

.news-list a:hover {
  background: var(--c-mint-tint);
}

/* ---------- 情報タイル: ホバーでわずかに浮く ---------- */

.fact-tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fact-tile:hover {
  transform: translateY(-4px);
}

/* ---------- セクション地色のリズム用 ---------- */

.section--soft {
  background: var(--c-bg-soft);
}

/* ---------- 検証済みパターン: .rvのtransitionは最後に .rv.rv で宣言 ----------
   (ホバー用transition(.card等)より確実に勝たせるため。box-shadowも含める) */

@media (prefers-reduced-motion: no-preference) {
  .rv.rv {
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  }
}

/* 印刷時は未出現要素も必ず表示 */
@media print {
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   2026-07 モバイルヒーロー改修(本人フィードバック対応)
   720px以下: 「見出し全幅 → 本文+写真 → ボタン全幅」の3段構成に組み替え。
   これによりボタンが左カラム(約192px)に閉じ込められて文字がはみ出す問題を解消し、
   見出しを約1.3倍・本文を約0.7倍・写真を約1.4倍にできる。
   ========================================================================== */

@media (max-width: 720px) {
  /* hero-copyの箱を外し、子要素(見出し/本文/ボタン)をグリッドに直接配置する */
  .hero-copy {
    display: contents;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "title title"
      "lead  photo"
      "btns  btns";
    gap: 18px 4vw;
    align-items: center;
  }

  /* 2. 見出しは全幅で約1.3倍(375pxで約25px。2行固定のまま収まる) */
  .hero-title {
    grid-area: title;
    margin-top: 10px;
    font-size: clamp(1.5rem, 6.8vw, 2rem);
  }

  /* 3. 会社紹介の一文は約0.7倍 */
  .hero-lead {
    grid-area: lead;
    margin-top: 0;
    font-size: 0.72rem;
    line-height: 1.9;
  }

  /* 5. 写真は右カラムいっぱいに(装飾の内側余白も詰める) */
  .hero-visual {
    grid-area: photo;
    padding: 8px;
  }

  /* 4. ボタンは全幅の段に出し、ラベルがはみ出さないようにする */
  .hero .btn-row {
    grid-area: btns;
    margin-top: 12px;
  }

  .hero .btn-row .btn {
    max-width: none;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  /* display:contents化でhero-copy基準の絶対配置が崩れるため、コピー横の水玉は非表示 */
  .hero-copy .dots-a {
    display: none;
  }
}

/* ---------- アクセス: 地図埋め込み ---------- */

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-embed iframe {
  display: block;
  width: 100%;
}
