@charset "UTF-8";
/* =========================================================
   株式会社ICT戦略研究所 コーポレートサイト 共通スタイル
   Corporate Color: 水色をやや濃くしたブルー系
   ========================================================= */

:root {
  --color-main: #2EA7D4;       /* メインカラー */
  --color-accent: #117EA8;     /* 濃いアクセント */
  --color-navy: #0B2A3D;       /* ダークネイビー */
  --color-light-blue: #EAF7FC; /* ライトブルー背景 */
  --color-white: #FFFFFF;
  --color-gray: #F5F7FA;
  --color-text: #1F2933;
  --color-text-sub: #52616B;
  --color-border: #DCE4EA;

  --font-jp: "Meiryo UI", "Noto Sans JP", sans-serif;
  --font-en: "Inter", "Arial", sans-serif;

  --max-width: 1280px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(11, 42, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 42, 61, 0.10);
  --shadow-lg: 0 22px 56px rgba(11, 42, 61, 0.16);
  --transition: 0.28s cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-main); }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 700; }

::selection { background: rgba(46,167,212,0.22); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: 88px 0; }
.section--gray { background: var(--color-gray); }
.section--light { background: var(--color-light-blue); }
.section--navy { background: var(--color-navy); color: var(--color-white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-main);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--color-navy);
  letter-spacing: 0.01em;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: balance;
}
.section--navy .section-head h2 { color: var(--color-white); }
.section-head p { margin-top: 18px; color: var(--color-text-sub); }
.section--navy .section-head p { color: rgba(255,255,255,0.82); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  height: 38px; width: auto;
  display: block;
  flex-shrink: 0;
}
.brand__name { font-size: 1.02rem; font-weight: 700; color: var(--color-navy); letter-spacing: 0.02em; }
.brand__sub { display: block; font-family: var(--font-en); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--color-main); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--color-text); font-size: 0.92rem; font-weight: 500; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--color-main); transition: width var(--transition);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--color-accent); }

.nav__cta {
  background: var(--color-main);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--color-accent); color: #fff !important; }

.nav-toggle {
  display: none;
  border: none; background: transparent; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; display: block; position: relative;
  width: 24px; height: 2px; background: var(--color-navy); transition: var(--transition);
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
  max-width: 100%;                 /* どの幅でも親（=画面）を超えない */
  white-space: normal;             /* 収まらなければ折り返す */
  word-break: keep-all;            /* 英単語・文節を途中で割らない（DDS等の分断防止） */
  overflow-wrap: normal;
  text-align: center;
}
.btn--primary { background: var(--color-main); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn--outline { background: transparent; color: var(--color-accent); border-color: var(--color-main); }
.btn--outline:hover { background: var(--color-main); color: #fff; }
.btn .arrow { transition: transform var(--transition); flex: 0 0 auto; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, #ffffff 55%, var(--color-light-blue) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(46,167,212,0.16), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(17,126,168,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 48px;
  row-gap: 30px;
  align-items: center;
  padding: 92px 0;
}
/* PC：左列にテキスト(行1)・注力事業(行2)・ボタン(行3)、右列に画像(縦3行ぶち抜き・中央) */
.hero-copy    { grid-column: 1; grid-row: 1; }
.hero-focus   { grid-column: 1; grid-row: 2; }
.hero-actions { grid-column: 1; grid-row: 3; align-self: start; }
.hero-visual  { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.hero-copy .eyebrow {
  font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-accent); font-weight: 600;
}
.hero-copy h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  color: var(--color-navy);
  margin: 18px 0 24px;
  letter-spacing: 0.01em;
  /* 日本語見出し：文節の途中では折り返さないが、画面幅は決して超えない */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: balance;
  max-width: 100%;
}
.hero-copy h1 .accent { color: var(--color-main); }

.hero-copy p { color: var(--color-text-sub); margin: 0 0 16px; max-width: 100%; }

/* ===== ヒーローのボタン（単一ルールに統合・幅に依存せず絶対にはみ出さない） ===== */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 0; width: 100%; }
.hero-actions .btn {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 100%;
  white-space: normal;            /* テキストを折り返せる */
  word-break: keep-all;           /* 英単語・文節を途中で割らない */
  overflow-wrap: normal;
  text-align: center;
}
/* 矢印は擬似要素：テキストの最小幅に影響を与えず、折り返しの妨げにならない */
.hero-actions .btn--arrow::after {
  content: "→";
  margin-left: 8px;
  transition: transform var(--transition);
  flex: 0 0 auto;
}
.hero-actions .btn--arrow:hover::after { transform: translateX(4px); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

/* ---------- Placeholder ---------- */
.img-placeholder {
  width: 100%; height: 100%;
  min-height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(45deg, rgba(46,167,212,0.05) 0 14px, rgba(46,167,212,0.10) 14px 28px),
    linear-gradient(135deg, var(--color-light-blue), #ffffff);
  border: 1.5px dashed var(--color-main);
  border-radius: inherit;
  color: var(--color-accent);
}
.img-placeholder .ph-icon { font-size: 1.8rem; opacity: 0.7; }
.img-placeholder .ph-label { font-weight: 700; font-size: 0.9rem; }
.img-placeholder .ph-file {
  font-family: var(--font-en); font-size: 0.72rem;
  color: var(--color-text-sub); word-break: break-all;
}
.img-placeholder .ph-note { font-size: 0.72rem; color: var(--color-text-sub); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--color-light-blue);
  display: grid; place-items: center; margin-bottom: 20px;
  color: var(--color-accent);
}
.card__icon .img-placeholder {
  min-height: 0; padding: 6px; border-radius: 12px; border-width: 1px;
}
.card__icon .img-placeholder .ph-icon { font-size: 1.1rem; }
.card h3 { font-size: 1.18rem; color: var(--color-navy); margin-bottom: 12px; }
.card p { color: var(--color-text-sub); font-size: 0.95rem; margin: 0; }
.card__num {
  font-family: var(--font-en); font-size: 0.8rem; font-weight: 700;
  color: var(--color-main); letter-spacing: 0.1em; margin-bottom: 10px;
}

/* ---------- Feature row (text + image) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature--reverse .feature__media { order: -1; }
.feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.feature__body .eyebrow {
  font-family: var(--font-en); font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-main); font-weight: 600;
}
.feature__body h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--color-navy); margin: 14px 0 20px; word-break: keep-all; overflow-wrap: normal; line-break: strict; text-wrap: balance; }
.feature__body p { color: var(--color-text-sub); margin: 0 0 16px; }
.feature__body .btn { margin-top: 14px; }

/* ---------- Product cards ---------- */
.product {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product__media { aspect-ratio: 4 / 3; background: var(--color-gray); }
.product__body { padding: 28px 26px 32px; }
.product__role {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--color-accent); background: var(--color-light-blue);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.product__body h3 { font-size: 1.3rem; color: var(--color-navy); margin-bottom: 12px; font-family: var(--font-en); }
.product__body p { color: var(--color-text-sub); font-size: 0.92rem; margin: 0; }

/* ---------- Role list ---------- */
.role-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.role-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px 22px;
  font-weight: 500; color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.role-list li:hover { border-color: var(--color-main); box-shadow: var(--shadow-sm); }
.role-list .role-num {
  flex-shrink: 0;
  font-family: var(--font-en); font-weight: 700; font-size: 0.85rem;
  color: #fff; background: var(--color-main);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy), var(--color-accent));
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 85% 30%, rgba(46,167,212,0.35), transparent 60%);
}
.page-hero__inner { position: relative; padding: 76px 0; max-width: 820px; }
.page-hero .eyebrow {
  font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #bfe6f5; font-weight: 600;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 16px 0 18px; word-break: keep-all; overflow-wrap: normal; line-break: strict; text-wrap: balance; }
.page-hero .subtitle { font-size: 1.12rem; color: #d6ecf5; margin: 0; font-weight: 500; line-height: 1.7; }
.page-hero p { color: rgba(255,255,255,0.85); margin: 0; }

/* リード文セクション（白背景・ゆとりある読みやすさ） */
.section--lead { padding-top: 64px; padding-bottom: 24px; }
.section--top0 { padding-top: 24px; }
.lead { max-width: 960px; }
.lead p { margin: 0 0 18px; color: var(--color-text-sub); font-size: 1.02rem; line-height: 2; }
.lead p:last-child { margin-bottom: 0; }
.lead__intro { font-size: 1.18rem !important; color: var(--color-text) !important; font-weight: 500; line-height: 1.9 !important; }
.lead__intro strong { color: var(--color-accent); font-weight: 700; }
.br-sp { display: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--color-gray); border-bottom: 1px solid var(--color-border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; font-size: 0.82rem; color: var(--color-text-sub); }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--color-border); }
.breadcrumb li:last-child::after { display: none; }

/* ---------- Business model diagram fallback ---------- */
.model-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px;
}
.model-flow .node {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.model-flow .node--center { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.model-flow .node h4 { font-size: 1rem; margin-bottom: 6px; color: var(--color-accent); }
.model-flow .node--center h4 { color: #fff; }
.model-flow .node p { font-size: 0.8rem; color: var(--color-text-sub); margin: 0; }
.model-flow .node--center p { color: rgba(255,255,255,0.8); }
.model-flow .conn { color: var(--color-main); font-size: 1.6rem; font-weight: 700; text-align: center; }

/* ---------- Definition table (company profile) ---------- */
.profile-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.profile-table th, .profile-table td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: none; }
.profile-table th {
  width: 180px; background: var(--color-light-blue); color: var(--color-navy); font-weight: 700; white-space: nowrap;
}
.profile-table ul li { padding-left: 18px; position: relative; }
.profile-table ul li::before { content: "—"; position: absolute; left: 0; color: var(--color-main); }

/* ---------- Form ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; gap: 22px; }
/* スパム対策ハニーポット（画面・支援技術から隠す） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-weight: 600; font-size: 0.92rem; color: var(--color-navy); }
.form-row .req { color: #d64550; font-size: 0.78rem; margin-left: 6px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; max-width: 100%;
  font-family: inherit; font-size: 0.95rem; color: var(--color-text);
  padding: 13px 16px; border: 1px solid var(--color-border); border-radius: var(--radius);
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--color-main); box-shadow: 0 0 0 3px rgba(46,167,212,0.18);
}
.form-row textarea { resize: vertical; min-height: 150px; }
.form-note { font-size: 0.82rem; color: var(--color-text-sub); background: var(--color-light-blue); padding: 14px 18px; border-radius: var(--radius); }
.form-actions { text-align: center; margin-top: 8px; }
.form-success {
  display: none; margin-top: 20px; padding: 18px 22px;
  background: #e6f7ed; border: 1px solid #9fd9b8; border-radius: var(--radius);
  color: #1d7a45; font-weight: 600;
}
.form-success.show { display: block; }
/* 送信エラー時は赤系で表示 */
.form-success.is-error {
  background: #fdecee; border-color: #f3b7c0; color: #b00020;
}

/* ---------- Contact info cards ---------- */
.contact-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 8px; }
.contact-info .ci { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.contact-info .ci h4 { color: var(--color-main); font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 10px; }
.contact-info .ci p { margin: 0; font-weight: 600; color: var(--color-navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 56px 32px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 80% at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto 28px; }

/* ---------- Disclaimer note ---------- */
.disclaimer {
  font-size: 0.8rem; color: var(--color-text-sub);
  background: var(--color-gray); border-left: 3px solid var(--color-main);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 28px;
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--color-navy); color: rgba(255,255,255,0.72); padding: 72px 0 30px; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent), var(--color-main));
  background-size: 200% 100%; animation: footerLine 8s linear infinite;
}
@keyframes footerLine { to { background-position: 200% 0; } }

/* ブランド列を広めに、リンク2列は右側にまとめて配置 */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(160px, 1fr) minmax(180px, 1fr);
  gap: 48px;
  margin-bottom: 44px;
}
.footer-grid--simple { grid-template-columns: minmax(0, 1.8fr) minmax(180px, 1fr); }

.footer-brand .brand__mark { height: 40px; width: auto; }
.footer-brand .brand__name { color: #fff; font-size: 1.05rem; }
.footer-brand p { font-size: 0.86rem; line-height: 1.85; margin: 18px 0 0; color: rgba(255,255,255,0.62); max-width: 420px; }

.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-main); font-family: var(--font-en); font-weight: 700; margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 2px; }
.footer-col li { margin: 0; }
.footer-col a {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,0.74); font-size: 0.9rem; line-height: 1.6;
  padding: 5px 0; transition: color var(--transition), transform var(--transition), padding var(--transition);
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col .ext-link::after { opacity: 0.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.76rem; color: rgba(255,255,255,0.5);
}
.footer-bottom .en { font-family: var(--font-en); letter-spacing: 0.08em; }

/* ニュース一覧 */
.news-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--color-border); }
.news-item {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 4px; border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.news-item:hover { background: var(--color-light-blue); }
.news-date { font-family: var(--font-en); font-weight: 600; color: var(--color-accent); font-size: 0.9rem; flex-shrink: 0; }
.news-cat {
  font-size: 0.72rem; font-weight: 700; color: var(--color-accent);
  background: var(--color-light-blue); padding: 4px 12px; border-radius: 999px; flex-shrink: 0;
}
.news-text { margin: 0; color: var(--color-text); font-weight: 500; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0;
  }
  /* 1カラムでは HTML 順（テキスト→画像→注力事業→ボタン）に自然に積む */
  .hero-copy, .hero-visual, .hero-focus, .hero-actions {
    grid-column: 1;
    grid-row: auto;
  }
  .hero-visual { aspect-ratio: 16/10; max-width: 520px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse .feature__media { order: 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .role-list { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .model-flow { grid-template-columns: 1fr; }
  .model-flow .conn { transform: rotate(90deg); }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 12px 24px 24px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform 0.3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .nav a::after { display: none; }
  .nav__cta { text-align: center; margin-top: 14px; border-bottom: none; }
}

@media (max-width: 768px) {
  /* スマホはヒーロー画像を縦長で表示し、中央〜右（タブレット・資料・港湾）を優先 */
  .hero-visual { aspect-ratio: 4 / 5; max-width: 100%; }
  .hero-visual img { object-position: center right; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .profile-table th { width: 110px; padding: 14px; }
  .profile-table td { padding: 14px; }
  .cta-band { padding: 40px 22px; }

  /* 再生美容ページ：ヘッダーの圧迫感を軽減し、リード文を読みやすく */
  .page-hero__inner { padding: 52px 0; }
  .page-hero .subtitle { font-size: 1rem; }
  .br-sp { display: inline; }
  .section--lead { padding-top: 44px; padding-bottom: 16px; }
  .lead p { font-size: 0.98rem; line-height: 1.95; margin-bottom: 16px; }
  .lead__intro { font-size: 1.08rem !important; line-height: 1.85 !important; }
}

/* =========================================================
   追加: 外部リンク / DDS iPS-Xブランドバナー / アニメーション
   ========================================================= */

/* ---------- DDS iPS-X ブランドバナー（目立たせる） ---------- */
.brand-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-accent) 55%, var(--color-main) 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.brand-banner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 70% at 80% 20%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(40% 60% at 15% 90%, rgba(46,167,212,0.45), transparent 60%);
  /* ゆっくり動く光のグラデーション */
  background-size: 180% 180%;
  animation: bannerGlow 14s ease-in-out infinite alternate;
}
@keyframes bannerGlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.brand-banner__body { padding: 44px 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.brand-banner__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--color-navy); background: #fff;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.brand-banner__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-main); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.5; } }
.brand-banner__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 12px; color: #fff; letter-spacing: 0.02em; }
.brand-banner__body h2 .en { font-family: var(--font-en); }
.brand-banner__body p { color: rgba(255,255,255,0.9); margin: 0 0 26px; font-size: 0.96rem; }
.brand-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn--banner {
  background: #fff; color: var(--color-accent); font-weight: 700; font-size: 1rem;
  padding: 16px 34px; box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.btn--banner:hover { transform: translateY(-3px) scale(1.02); background: #fff; color: var(--color-navy); }
.btn--banner-ghost { color: #fff; border-color: rgba(255,255,255,0.7); background: transparent; }
.btn--banner-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; }
.brand-banner__visual { position: relative; min-height: 260px; }
.brand-banner__visual .img-placeholder {
  border: none; border-radius: 0; background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 16px, rgba(255,255,255,0.12) 16px 32px),
    linear-gradient(135deg, rgba(11,42,61,0.2), rgba(46,167,212,0.25));
  color: rgba(255,255,255,0.9);
}
.brand-banner__visual .img-placeholder .ph-file,
.brand-banner__visual .img-placeholder .ph-note { color: rgba(255,255,255,0.75); }

@media (max-width: 760px) {
  .brand-banner { grid-template-columns: 1fr; }
  .brand-banner__visual { min-height: 180px; order: -1; }
  .brand-banner__body { padding: 32px 26px; }

  /* スマホ：事業内容カードはアイコンを左、タイトルを右横に配置（2行折り返し回避） */
  .card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "icon title"
      "desc desc"
      "tags tags";
    column-gap: 14px;
    row-gap: 8px;
    align-items: center;
    padding: 24px 22px;
  }
  .card .card__icon { grid-area: icon; width: 48px; height: 48px; margin-bottom: 0; }
  .card h3 { grid-area: title; margin-bottom: 0; font-size: 1.05rem; line-height: 1.35; }
  .card p  { grid-area: desc; }
  .card .card__num { grid-area: title; }
  .card .card-tags { grid-area: tags; }

  /* スマホではヒーローの「お問い合わせ」を非表示（導線はヘッダー/フッターに有り） */
  .hide-mobile { display: none !important; }
  /* 残る「再生美容・先端美容事業を見る」をセンター揃え＆全幅で見やすく */
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; max-width: 100%; justify-content: center; }
}

/* 外部リンクの小さな目印 */
.ext-link::after { content: "↗"; font-size: 0.8em; margin-left: 4px; opacity: 0.7; }

/* SNS / 関連リンクのリンク群 */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.link-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-main); }
.link-card .lc-label { font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-main); font-weight: 700; }
.link-card h4 { color: var(--color-navy); font-size: 1.05rem; }
.link-card p { margin: 0; font-size: 0.88rem; color: var(--color-text-sub); }
.link-card .lc-go { margin-top: auto; font-weight: 600; color: var(--color-accent); font-size: 0.9rem; }
@media (max-width: 760px) { .link-cards { grid-template-columns: 1fr; } }

/* ---------- FAQ（AEO対応） ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; color: var(--color-navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-main); transition: transform var(--transition); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--color-text-sub); font-size: 0.95rem; }

/* ---------- アニメーション: スクロール表示の方向バリエーション ---------- */
.js .reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity .7s ease, transform .7s ease; }
.js .reveal-zoom  { opacity: 0; transform: scale(.94);        transition: opacity .7s ease, transform .7s ease; }
.reveal-left.is-visible, .reveal-right.is-visible, .reveal-zoom.is-visible { opacity: 1; transform: none; }

/* スタッガー（子要素を順番に出す） */
.js .stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: .65s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: .75s; }

/* ヒーローのロード時アニメーション */
.js .hero-copy > * { opacity: 0; transform: translateY(22px); animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero-copy > *:nth-child(3) { animation-delay: .30s; }
.hero-copy > *:nth-child(4) { animation-delay: .42s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ヒーロービジュアルの浮遊 */
.hero-visual { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ボタンの光沢スイープ */
.btn--primary, .btn--banner { position: relative; overflow: hidden; }
.btn--primary::after, .btn--banner::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn--primary:hover::after, .btn--banner:hover::after { left: 130%; }

/* カードのアイコン微動 */
.card:hover .card__icon { animation: iconPop .5s ease; }
@keyframes iconPop { 0%{transform:scale(1)} 40%{transform:scale(1.12)} 100%{transform:scale(1)} }

/* スクロール進捗バー */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--color-main), var(--color-accent)); transition: width .1s linear; }

/* 動きを抑える設定のユーザーには配慮（a11y） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom, .stagger > *, .hero-copy > * { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   実画像の流し込み（プレースホルダー差し替え）
   ========================================================= */
.hero-visual img,
.feature__media img,
.brand-banner__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-visual picture,
.feature__media picture,
.brand-banner__visual picture { display: block; width: 100%; height: 100%; }

.product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__media picture { display: block; width: 100%; height: 100%; }

/* カードのアイコン画像（SVG：背景込みのタイル型） */
.card__icon { background: transparent; }
.card__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }

/* ニュースのサムネイル（任意・将来用） */
.news-thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

/* business.html：事業セクションのアイコン表示用メディア */
.feature__media.media-icon {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--color-light-blue), #ffffff);
  border: 1px solid var(--color-border);
}
.feature__media.media-icon img { width: 132px; height: 132px; object-fit: contain; box-shadow: var(--shadow-sm); border-radius: 24px; }

/* 事業連携図の画像は枠付きで見やすく */
.diagram-img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background:#fff; }

/* 商品画像：正方形PNGを見切れさせず中央表示 */
.product__media { background: linear-gradient(160deg, var(--color-light-blue), #ffffff); }
.product__media img { object-fit: contain; padding: 10px; }

/* =========================================================
   商品 実寸比率 比較・横並び表示（90:166:200 / 下端揃え）
   ========================================================= */
.product-scale-row {
  display: flex;
  align-items: flex-end;            /* 下端を揃える */
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  padding: 8px 0 4px;
}
.product-scale-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.product-scale-row img {
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(11,42,61,0.12);
}
.product-scale-row .product-ipsx        { height: 158px; }
.product-scale-row .product-exosome-gel { height: 332px; }
.product-scale-row .product-mask        { height: 400px; }
.product-scale-row figcaption {
  margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--color-navy);
  text-align: center; line-height: 1.4;
}
.product-scale-row figcaption .ps-h { display: block; font-family: var(--font-en); font-size: 0.72rem; font-weight: 600; color: var(--color-text-sub); margin-top: 2px; }

/* 比較表示の土台（清潔感のある床面） */
.scale-stage {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-light-blue) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px clamp(16px, 4vw, 48px) 26px;
  box-shadow: var(--shadow-sm);
}
.scale-note { text-align: center; font-size: 0.8rem; color: var(--color-text-sub); margin: 14px 0 0; }

@media (max-width: 768px) {
  .product-scale-row { gap: 16px; }
  .product-scale-row .product-ipsx        { height: 110px; }
  .product-scale-row .product-exosome-gel { height: 232px; }
  .product-scale-row .product-mask        { height: 280px; }
  .product-scale-row figcaption { font-size: 0.74rem; }
}

/* トップのシリーズ比較は feature__media の枠制約を解除 */
.feature__media.scale-media {
  aspect-ratio: auto; background: transparent; box-shadow: none;
  border-radius: 0; overflow: visible;
}
.feature__media.scale-media .scale-stage { width: 100%; }

/* ヒーローの「注力事業」明示ライン */
.hero-focus {
  display: block;
  margin-top: 18px !important; padding: 14px 18px;
  background: rgba(46,167,212,0.08);
  border-left: 3px solid var(--color-main);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem; color: var(--color-text) !important; line-height: 1.9;
}
.hero-focus .focus-badge { margin-right: 10px; vertical-align: middle; }
.hero-focus strong { color: var(--color-accent); font-weight: 700; }
.focus-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--color-main);
  padding: 4px 10px; border-radius: 999px;
}

/* 注力事業カードの強調 */
.card--focus {
  position: relative;
  border-color: var(--color-main);
  box-shadow: 0 10px 30px rgba(46,167,212,0.18);
  background: linear-gradient(180deg, #ffffff, var(--color-light-blue));
}
.card--focus::before { transform: scaleX(1); }   /* 上部ラインを常時表示 */

/* お問い合わせボタンのモバイル非表示を768px境界でも確実に適用 */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  /* 760-768pxの隙間でもヒーローボタンを全幅化（ブレークポイント不一致の解消） */
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; max-width: 100%; justify-content: center; }
}

/* 横方向のはみ出し防止（保険） */
html, body { overflow-x: hidden; max-width: 100%; }
img, picture, svg, video { max-width: 100%; }

/* 取扱領域リスト */
.field-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.field-list li {
  position: relative; padding-left: 28px; color: var(--color-text); font-weight: 500;
}
.field-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
}

/* 英数字トークン（iPS-X等）がハイフンで改行分断されないように */
.nb { white-space: nowrap; }
/* 極端に狭い画面でははみ出すより折り返しを優先（iPS-X等も画面内に収める） */
@media (max-width: 360px) { .nb { white-space: normal; } }

/* =========================================================
   ブランド誘導バナー：黒×ゴールドの特別仕様（意図的にトーン切替）
   ========================================================= */
.brand-banner--luxe {
  background: #0a0a0c;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  border: 1px solid rgba(201,162,77,0.28);
  display: block;                    /* グリッドを解除し、重ね合わせに */
  min-height: 360px;
}
/* スローガン画像をバナー全面の背景として配置（見切れさせない） */
.brand-banner--luxe .brand-banner__visual {
  position: absolute; inset: 0; z-index: 0; background: #0a0a0c; min-height: 0;
}
.brand-banner--luxe .brand-banner__visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
}
/* 左側を黒へグラデし、テキストの可読性と画像の世界観を両立 */
.brand-banner--luxe .brand-banner__visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #0a0a0c 0%, rgba(10,10,12,0.92) 30%, rgba(10,10,12,0.55) 52%, rgba(10,10,12,0.15) 72%, transparent 100%);
}
/* テキストは画像の上に重ねる */
.brand-banner--luxe .brand-banner__body {
  position: relative; z-index: 2; max-width: 60%; padding: 48px 48px;
}
.brand-banner--luxe::before {
  z-index: 1;
  background:
    radial-gradient(45% 70% at 18% 50%, rgba(212,175,90,0.14), transparent 70%);
  background-size: 180% 180%;
}
/* 上端のゴールドのヘアライン */
.brand-banner--luxe::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, #d8b056 30%, #f0d693 50%, #d8b056 70%, transparent);
  opacity: 0.9;
}
.brand-banner--luxe .brand-banner__tag {
  background: linear-gradient(120deg, #e7c878, #c9a24d);
  color: #1a1206; box-shadow: 0 4px 16px rgba(201,162,77,0.35);
}
.brand-banner--luxe .brand-banner__tag::before { background: #5a430f; }
.brand-banner--luxe .brand-banner__body h2 {
  color: #f4ecd8;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
/* 見出しの英字（DDS iPS-X）をゴールドに */
.brand-banner--luxe .brand-banner__body h2 .en {
  background: linear-gradient(120deg, #f3e2ad, #d4af5a 60%, #b9913f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-banner--luxe .brand-banner__body p { color: rgba(245,238,222,0.9); text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
/* メインボタン：ゴールド */
.brand-banner--luxe .btn--banner {
  background: linear-gradient(120deg, #e7c878, #c9a24d);
  color: #1a1206; box-shadow: 0 12px 30px rgba(201,162,77,0.4);
}
.brand-banner--luxe .btn--banner:hover {
  background: linear-gradient(120deg, #f0d693, #d4af5a); color: #1a1206;
}
/* ゴーストボタン：ゴールドの細枠 */
.brand-banner--luxe .btn--banner-ghost {
  color: #ecd9a6; border-color: rgba(212,175,90,0.6); background: transparent;
}
.brand-banner--luxe .btn--banner-ghost:hover {
  background: rgba(212,175,90,0.12); border-color: #d4af5a; color: #f4ecd8;
}
@media (max-width: 760px) {
  /* モバイル：画像を上帯、テキストを下に積む */
  .brand-banner--luxe { min-height: 0; }
  .brand-banner--luxe .brand-banner__visual { position: relative; height: 200px; }
  .brand-banner--luxe .brand-banner__visual img { object-position: center; }
  .brand-banner--luxe .brand-banner__visual::after {
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,12,0.6) 82%, #0a0a0c 100%);
  }
  .brand-banner--luxe .brand-banner__body { max-width: 100%; padding: 28px 24px 32px; }
}

/* 実績タグ（チップ） */
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card-tags li {
  font-size: 0.78rem; font-weight: 600; color: var(--color-accent);
  background: var(--color-light-blue); border: 1px solid rgba(46,167,212,0.22);
  padding: 5px 12px; border-radius: 999px; line-height: 1.4;
}

/* =========================================================
   横はみ出し・横スクロール防止の安全装置（保険）
   ========================================================= */
html, body { max-width: 100%; overflow-x: hidden; }
/* 長文の段落・見出しが万一あふれても画面内に収める（英数字トークンは .nb で保護済み） */
h1, h2, h3 { overflow-wrap: break-word; }
p, li { overflow-wrap: anywhere; }

/* 文字のかたまりを内部で改行させないユニット（句読点の孤立防止）。
   ただし画面幅は決して超えない（はみ出すくらいなら折り返す）。 */
.nobr { white-space: nowrap; }
@media (max-width: 480px) {
  /* 狭い画面では .nobr も折り返し可にして、横はみ出しより折り返しを優先 */
  .nobr { white-space: normal; }
  .hero-copy h1 { font-size: clamp(1.6rem, 7.2vw, 2rem); }
}

/* グリッド子要素が min-content で膨張するのを防ぐ（横はみ出し対策の要） */
.feature__body, .feature__media { min-width: 0; }
.brand-banner__actions { flex-wrap: wrap; }
.brand-banner__actions .btn { max-width: 100%; }

/* モバイル：feature見出しが長い場合に折り返せるようにする（はみ出し防止） */
@media (max-width: 760px) {
  .feature__body h2 {
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: auto;
    font-size: clamp(1.3rem, 5.6vw, 1.7rem);
  }
}
