/* ==================================================
   デザイン拡張（アイコン・写真・動画）  style.css の後に読み込む
   ================================================== */
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.btn .icon { margin: 0 .15em; }
.card-icon .icon { width: 28px; height: 28px; }

/* ---- hero: 背景動画 ---- */
.hero-video { background: var(--navy); min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-video::before { display: none; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,20,38,.92) 0%, rgba(8,20,38,.78) 34%, rgba(8,20,38,.28) 62%, rgba(8,20,38,.05) 100%),
    linear-gradient(0deg, rgba(8,20,38,.55) 0%, transparent 30%);
}
.hero-video .container { padding: 120px 0 130px; }
.hero-eyebrow { display: flex; align-items: center; gap: .9em; font-size: .82rem; letter-spacing: .28em; color: #cfe2f8; }
.hero-eyebrow i { font-style: normal; color: #ffd84a; font-size: 1.1rem; letter-spacing: 0; }
.hero-eyebrow span { border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; }
.hero-video h2 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero-lead { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; }
.hero-tags li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: #e9f1fb; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); border-radius: 999px; padding: 7px 16px; }
.hero-tags .icon { color: #ffd84a; }
.hero-toggle { position: absolute; right: 18px; bottom: 16px; z-index: 4; font: inherit; font-size: .72rem; color: #dbe8f6; background: rgba(8,20,38,.55); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.hero-toggle:hover { background: rgba(8,20,38,.85); }

/* ---- sections ---- */
.section-tight { padding: 0 0 72px; }
.feature-cards { margin-top: -56px !important; position: relative; z-index: 3; }
.feature-cards .card { box-shadow: 0 14px 34px rgba(15,37,64,.12); border-color: transparent; }
.feature-cards .card-icon { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.section-head h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 3px; margin-left: -24px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 0 66%, var(--red) 66% 100%); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-img { order: 2; }
.split-img { margin: 0; position: relative; z-index: 0; }
.split-img img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 24px 48px rgba(15,37,64,.22); }
.split-img::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 2px solid var(--blue); border-radius: 16px; opacity: .35; z-index: -1; }
.split-rev .split-img::before { inset: 22px 22px -18px -18px; }
.split-body .en { display: block; color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .2em; margin-bottom: 8px; }
.split-body h2 { margin: 0 0 22px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.5; }
.split-body blockquote { margin: 0 0 20px; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.9; }
.split-body p { margin: 0 0 1.2em; }
.split-body .sign { color: var(--muted); }
.concept { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding-top: 24px; }

.worries li { display: flex; gap: 12px; align-items: flex-start; box-shadow: 0 4px 14px rgba(15,37,64,.05); }
.worries .icon { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }

.photo-cards .card { padding: 0 0 24px; overflow: hidden; }
.photo-cards .card > :not(.card-photo) { padding-inline: 22px; }
.card-photo { position: relative; margin-bottom: 20px; overflow: hidden; }
.card-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-badge { position: absolute; left: 18px; bottom: 14px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--blue); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.card-badge .icon { width: 24px; height: 24px; }

.section-dark { position: relative; color: #fff; background: var(--navy); isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,44,.84), rgba(10,24,44,.92)), var(--sec-img) center / cover no-repeat; }
.section-dark .section-head .en { color: #8fc0f5; }
.section-dark .section-head p { color: #cbd9e8; }
.glass-cards .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.glass-cards .card:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.glass-cards .card h3 a { color: #fff; }
.glass-cards .card p { color: #cbd9e8; }
.glass-cards .card .more { color: #ffd84a; }
.glass-cards .card-icon { background: rgba(255,255,255,.14); color: #ffd84a; }

/* ---- page head with photo ---- */
.page-head { position: relative; isolation: isolate; padding: 64px 0 58px; background: var(--navy); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,24,44,.94) 0%, rgba(18,52,96,.80) 45%, rgba(31,95,168,.40) 100%), var(--head-img) center / cover no-repeat; }
.page-head h1 { text-shadow: 0 2px 18px rgba(0,0,0,.4); }

/* ---- lower page parts ---- */
.lead-photo { margin: 0 0 2em; }
.lead-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 14px; border: 0 !important; box-shadow: 0 16px 36px rgba(15,37,64,.18); }
.link-list .card { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: start; }
.link-list .card > .card-icon { grid-row: 1 / span 4; margin: 0; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.link-list .card > .card-icon .icon { width: 32px; height: 32px; }
.link-list .card > :not(.card-icon) { grid-column: 2; }
.link-list .card.has-thumb { grid-template-columns: 220px 1fr; padding: 0; overflow: hidden; }
.link-list .card.has-thumb > .thumb { grid-column: 1; grid-row: 1 / span 4; height: 100%; min-height: 180px; position: relative; overflow: hidden; }
.link-list .card.has-thumb > .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.link-list .card.has-thumb:hover > .thumb img { transform: scale(1.05); }
.link-list .card.has-thumb > :not(.thumb) { grid-column: 2; padding-right: 24px; }
.link-list .card.has-thumb > .card-num { padding-top: 22px; display: flex; align-items: center; gap: 8px; }
.link-list .card.has-thumb > .more { padding-bottom: 22px; }
.cards.cols-2 .card-icon { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.content h3 .icon { color: var(--blue); margin-right: .3em; }
.steps li { position: relative; }
.steps .icon { position: absolute; right: 18px; top: 20px; width: 30px; height: 30px; color: #c3d6ee; }
.philosophy section { position: relative; padding-left: 100px; }
.philosophy .ph-icon { position: absolute; left: 26px; top: 28px; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; }
.philosophy .ph-icon .icon { width: 28px; height: 28px; }
.info-list { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.info-list .icon { color: var(--blue); width: 22px; height: 22px; margin-top: .25em; }
.cta-tel span { display: flex; align-items: center; gap: 10px; }
.cta-tel .icon { width: 26px; height: 26px; }
.cta { position: relative; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .split-img { order: 0; }
  .split-img::before { display: none; }
  .hero-video { min-height: 0; }
  .hero-video .container { padding: 88px 0 110px; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,20,38,.80), rgba(8,20,38,.62) 55%, rgba(8,20,38,.80)); }
}
@media (max-width: 640px) {
  .feature-cards { margin-top: -40px !important; }
  .link-list .card { grid-template-columns: 48px 1fr; column-gap: 14px; }
  .link-list .card > .card-icon { width: 48px; height: 48px; border-radius: 12px; }
  .link-list .card.has-thumb { grid-template-columns: 1fr; }
  .link-list .card.has-thumb > .thumb { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .link-list .card.has-thumb > :not(.thumb) { grid-column: 1; padding-inline: 22px; }
  .philosophy section { padding-left: 28px; padding-top: 96px; }
  .lead-photo img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card-photo img, .thumb img { transition: none !important; }
}

/* ---- トップ動画のローテーション ---- */
.hero-media { position: absolute; inset: 0; }
.hero-media .hero-bg { opacity: 0; transition: opacity 1.4s ease; }
.hero-media .hero-bg.is-active { opacity: 1; }
.hero-dots { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; position: relative; }
.hero-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.hero-dots button[aria-pressed="true"] { background: #ffd84a; }
.feature-cards { margin-top: -44px !important; }

/* ---- 下層ページ ---- */
.content .card h3 { border: 0; padding: 0; margin: 0 0 10px; }
.content .card p { margin: 0; }
.link-list .card { grid-template-rows: auto auto 1fr auto; align-content: start; }
.link-list .card.has-thumb > .card-num { margin: 0 0 6px; }
.link-list .card > .card-num { margin: 0 0 4px; }
.cards.cols-2 { margin-top: 2.4em; }
.cards.cols-2 .card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; }
.cards.cols-2 .card .card-icon { margin: 0; }
.cards.cols-2 .card h3 { margin: 0; flex: 1; }
.cards.cols-2 .card p { flex-basis: 100%; margin-top: 12px; }
.cards.cols-2 .card .more { flex-basis: 100%; }
.side-cta { margin-top: 28px; padding: 22px 20px; border-radius: var(--radius); color: #fff; background: linear-gradient(140deg, var(--navy), var(--blue)); }
.side-cta-title { margin: 0 0 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.side-cta p { margin: 0 0 14px; font-size: .85rem; line-height: 1.7; color: #dbe8f6; }
.side-cta .side-cta-title { color: #fff; font-size: 1rem; }
.side-cta .btn { display: block; text-align: center; background: #fff; color: var(--blue-dark); padding: .6em 1em; font-size: .92rem; }
.side-cta .btn:hover { background: #e8f0fa; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; color: var(--ink); }
.pager small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .1em; margin-bottom: 2px; }
.pager-prev span, .pager-next span { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pager-next { text-align: right; }
.pager a:hover span, .pager-up:hover { color: var(--blue); }
.pager-up { font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1.3em; white-space: nowrap; }
.icon.flip { transform: scaleX(-1); }
.content h2 { display: flex; align-items: center; gap: .5em; }
.content h2::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--red); transform: rotate(45deg); border-radius: 2px; }
.content ul.check li::before { border-color: var(--blue); }
.content .check { background: var(--bg); border-radius: var(--radius); padding: 20px 24px !important; }
.diagram { border: 1px solid var(--line); }
table.def { border-top: 2px solid var(--blue); }
.partners > li { position: relative; padding-left: 20px; }
.partners > li::before { content: ""; position: absolute; left: 2px; top: 1.25em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .55; }
.news-list li { transition: background .2s; }
.news-list li:hover { background: rgba(31,95,168,.04); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 10px 30px rgba(15,37,64,.06); }
@media (max-width: 640px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-up { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .form { padding: 22px 18px; }
  .hero-dots { bottom: 64px; }
}
