/* 株式会社しおみマリンテック（制作例）。demo_src/base.css と demo_src/themes/shiomi-marine.css から書き出し */
/* ===== 全デモ共通の部品（デモ9以降）。色や形は各デモの themes/○○.css の :root で決める ===== */
:root {
  --main: #333; --main-dark: #222; --on-main: #fff;
  --accent: #888; --accent-dark: #666; --on-accent: #fff;
  --pale: #f6f6f6; --pale2: #fbfbfb;
  --bg: #fff; --paper: #fff; --ink: #2a2a2a; --muted: #666; --line: #e3e3e3;
  --radius: 14px; --btn-radius: 999px;
  --head: "Noto Sans JP", sans-serif; --head-weight: 700;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.5; margin: 0; letter-spacing: .05em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.nw { white-space: nowrap; display: inline-block; }
@media (min-width: 820px) { .sp, .sp-only { display: none !important; } }
.kakuu { display: inline-block; font-size: 11px; color: var(--muted); border: 1px dashed currentColor; border-radius: 6px; padding: 0 6px; margin-left: 4px; vertical-align: 2px; font-weight: 400; letter-spacing: 0; }

/* 制作例の帯 */
.demo-band { background: #2a2a2a; color: #fff; font-size: 12px; line-height: 1.6; letter-spacing: .02em; text-align: center; padding: 8px 16px; }
.demo-band a { color: #F3DDA8; margin-left: .5em; white-space: nowrap; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 10px 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo__mark { flex: none; }
.logo__text { font-family: var(--head); font-weight: var(--head-weight); font-size: 18px; line-height: 1.25; white-space: nowrap; }
.logo__text small { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 420px) { .logo__text { font-size: 16px; letter-spacing: .02em; } }
.nav-toggle { border: 1px solid var(--main); background: #fff; color: var(--main); white-space: nowrap; flex: none; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: var(--btn-radius); cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100svh - 120px); overflow-y: auto; box-shadow: 0 14px 20px -16px rgba(0, 0, 0, .3); }
.site-nav ul { list-style: none; margin: 0; padding: 4px 16px 14px; }
.site-nav a { display: block; padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a.is-parent { color: var(--main); }
.nav-cta { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 22px; padding: 0; }
  .site-nav a { border: 0; padding: 4px 0; font-size: 14px; }
  .site-nav a[aria-current="page"], .site-nav a.is-parent, .site-nav a:hover { color: var(--main); box-shadow: 0 2px 0 var(--main); }
  .site-nav .nav-hide-pc { display: none; }
  .nav-cta { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: var(--btn-radius); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .nav-cta:hover { background: var(--accent-dark); }
}

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 28px; white-space: nowrap; border-radius: var(--btn-radius); border: 2px solid var(--main); background: var(--main); color: var(--on-main); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--main-dark); border-color: var(--main-dark); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line { background: #fff; color: var(--main); }
.btn--line:hover { background: var(--pale); color: var(--main-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 820px) { .btn-row .btn { flex: 0 0 auto; } }

/* 共通のかたまり */
.section { padding: 72px 16px; }
.section--pale { background: var(--pale); }
.section--main { background: var(--main); color: var(--on-main); }
@media (min-width: 820px) { .section { padding: 100px 24px; } }
.container { max-width: 1060px; margin: 0 auto; }
.container--narrow { max-width: 780px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--accent-dark); margin-bottom: 6px; }
.section-title h2 { font-size: 25px; }
@media (min-width: 820px) { .section-title h2 { font-size: 30px; } }
@media (max-width: 819px) { .section-title h2, .page-head h1 { letter-spacing: .02em; } }
.section-title p { color: var(--muted); margin: 12px auto 0; max-width: 600px; }
.section--main .section-title span { color: var(--on-main); opacity: .8; }
.section--main .section-title p { color: var(--on-main); opacity: .85; }
.note { font-size: 13px; color: var(--muted); }
.lead { max-width: 660px; margin: 0 auto; text-align: center; }
.lead p { line-height: 2.2; }
@media (max-width: 819px) { .lead { text-align: left; } .lead p br { display: none; } }

/* カードの並び */
.cards { display: grid; gap: 18px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card__num { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 999px; background: var(--main); color: var(--on-main); font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }
.card__label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.card__img { margin: -24px -22px 16px; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
a.card { display: block; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(0, 0, 0, .5); }
.card__more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--main); }
.card__more::after { content: " →"; }

/* 写真と文 */
.media { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .media { grid-template-columns: 1fr 1fr; gap: 54px; } .media--reverse .media__img { order: 2; } }
.media__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.media__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 4px; }
.media h2 { font-size: 23px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding: 10px 14px 10px 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--main); }
.checks li::after { content: ""; position: absolute; left: 19px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* 料金表 */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--main); color: var(--on-main); font-size: 14px; }
.price-table tbody th { white-space: nowrap; }
.price-table td.yen { font-family: var(--head); font-weight: 700; white-space: nowrap; text-align: right; }
.price-table small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
@media (max-width: 819px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 2px 0; border: 0; }
  .price-table td.yen { grid-row: 1; grid-column: 2; }
  .price-table td.sub { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
}

/* 数字で見る */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 18px; } .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px 16px; text-align: center; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: 38px; line-height: 1.2; color: var(--main); margin: 4px 0; }
.stat__num small { font-size: 15px; margin-left: 2px; }
.stat p { font-size: 12px; color: var(--muted); margin: 0; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(var(--flow-cols, 4), 1fr); gap: 16px; } }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.flow li::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 8px; }
.flow h3 { font-size: 17px; margin-bottom: 4px; }
.flow p { margin: 0; font-size: 14px; color: var(--muted); }

/* 年表・1日の流れ */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 82px 1fr; gap: 0 20px; padding: 0 0 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 92px; top: 12px; bottom: -4px; border-left: 2px solid var(--line); }
.timeline li:last-child::before { display: none; }
.timeline time { font-family: var(--head); font-weight: 700; color: var(--main); text-align: right; }
.timeline div { position: relative; padding-left: 14px; }
.timeline div::before { content: ""; position: absolute; left: -15px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline h3 { font-size: 17px; margin-bottom: 2px; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }

/* 人の紹介・社員の声 */
.people { display: grid; gap: 18px; }
@media (min-width: 820px) { .people { grid-template-columns: repeat(var(--people-cols, 3), 1fr); gap: 22px; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; border-top: 4px solid var(--main); }
.person__role { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.person h3 { font-size: 18px; }
.person__meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.person p { margin: 0; font-size: 15px; }
.quote-mark { font-family: var(--head); font-size: 34px; line-height: 1; color: var(--accent); display: block; }

/* 表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.info-table th, .info-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 7.5em; font-weight: 700; white-space: nowrap; font-size: 14px; color: var(--main-dark); }
.info-table td .note { display: block; }
@media (max-width: 819px) { .info-table { font-size: 14px; } .info-table th { width: 5.6em; white-space: normal; } }
.two { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }
.map-box { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; border-radius: var(--radius); border: 1px dashed #b9b9b9; background: repeating-linear-gradient(45deg, #f6f6f3, #f6f6f3 12px, #eeeeea 12px, #eeeeea 24px); color: var(--muted); text-align: center; padding: 16px; }
.photo-under img { margin-top: 16px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.legal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px; font-size: 14px; }
.legal h3 { font-size: 16px; margin-bottom: 8px; }
.legal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.legal dt { font-weight: 700; color: var(--main-dark); }
.legal dd { margin: 0; }

/* よくある質問 */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 46px 16px 54px; position: relative; font-weight: 700; font-family: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: var(--on-main); display: grid; place-items: center; font-size: 13px; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 20px 18px 54px; }

/* フォーム（送信されない見本） */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; max-width: 780px; margin: 0 auto; }
@media (min-width: 820px) { .form { padding: 40px 44px; } }
.form h3 { font-size: 20px; margin-bottom: 14px; }
.form__row { margin-bottom: 18px; }
.form__row label, .form legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form__req { font-size: 11px; color: #fff; background: var(--accent-dark); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fcfcfc; }
.form textarea { min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--main); outline-offset: 1px; background: #fff; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form__check { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; }
.form__check input { width: 20px; height: 20px; accent-color: var(--main); }
.form__note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.forms { display: grid; gap: 24px; }
@media (min-width: 960px) { .forms { grid-template-columns: 1fr 1fr; } .forms .form { margin: 0; } }

/* 予約・問い合わせの帯 */
.cta { text-align: center; background: var(--main); color: var(--on-main); border-radius: calc(var(--radius) + 8px); padding: 40px 20px; }
.cta h2 { font-size: 24px; margin-bottom: 8px; }
@media (max-width: 819px) { .cta h2 { font-size: 21px; letter-spacing: .02em; } }
.cta p { opacity: .9; margin-bottom: 18px; }
.cta__tel { font-family: var(--head); font-weight: 700; font-size: 26px; opacity: 1 !important; margin-bottom: 4px !important; letter-spacing: .06em; }
.cta__btns { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .cta__btns { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.cta .btn--line { border-color: #fff; }
.cta .btn span { line-height: 1.35; }
.cta .btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }

/* 下層ページの見出し */
.page-head { background: var(--pale); padding: 18px 16px 46px; }
.page-head__inner { max-width: 1060px; margin: 0 auto; }
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a { color: var(--main); }
.page-head span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent-dark); }
.page-head h1 { font-size: 26px; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 36em; }
@media (min-width: 820px) { .page-head { padding: 22px 24px 66px; } .page-head h1 { font-size: 34px; } }

/* 口コミの入口（エンレビューの見本） */
.review__inner { display: grid; gap: 44px; max-width: 920px; margin: 0 auto; align-items: center; }
@media (min-width: 820px) { .review__inner { grid-template-columns: 290px 1fr; gap: 64px; } }
.pop-stand { margin: 0 auto; width: 100%; max-width: 250px; text-align: center; }
.pop { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: 0 20px 32px -22px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.pop__head { background: var(--main); color: var(--on-main); padding: 14px 14px 12px; font-family: var(--head); font-weight: 700; }
.pop__head small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; opacity: .9; }
.pop__head p { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
.pop__body { padding: 16px 14px; }
.pop__qr { display: block; width: 132px; height: 132px; margin: 0 auto 10px; }
.pop__small { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.pop-stand__base { height: 10px; width: 64%; margin: 0 auto; border-radius: 0 0 8px 8px; background: var(--line); }
.pop-stand figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.review__text > p { margin-bottom: 22px; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--main-dark); display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; font-family: var(--head); font-size: 16px; line-height: 1.5; }
.steps small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn--review { width: 100%; max-width: 360px; }
.demo-note { font-size: 12px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 10px; margin-top: 16px; }
.rv-dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100svh - 24px); border: 0; padding: 0; border-radius: var(--radius); background: #fff; color: var(--ink); }
.rv-dialog::backdrop { background: rgba(20, 20, 20, .55); }
.rv-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--main); color: var(--on-main); position: sticky; top: 0; }
.rv-head strong { font-family: var(--head); }
.rv-close { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }
.rv-body { padding: 20px 18px 24px; }
.rv-progress { font-size: 12px; font-weight: 700; color: var(--main); margin-bottom: 6px; }
.rv-bar { height: 6px; background: var(--pale); border-radius: 6px; margin-bottom: 18px; overflow: hidden; }
.rv-bar span { display: block; height: 100%; background: var(--main); transition: width .2s; }
.rv-q { font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.rv-choices { display: grid; gap: 10px; }
.rv-choice { min-height: 52px; padding: 10px 16px; text-align: left; border: 1px solid #cfcfcf; background: #fff; border-radius: 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
.rv-choice:hover, .rv-choice:focus-visible { border-color: var(--main); background: var(--pale); }
.rv-text { width: 100%; min-height: 110px; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid #cfcfcf; border-radius: 12px; }
.rv-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.rv-back { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.rv-draft-label { display: inline-block; background: var(--accent-dark); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.rv-draft { width: 100%; min-height: 170px; padding: 12px; font: inherit; font-size: 15px; line-height: 1.8; border: 2px solid var(--main); border-radius: 12px; }

/* フッター */
.site-footer { background: var(--main-dark); color: rgba(255, 255, 255, .88); padding: 56px 16px 28px; font-size: 14px; }
.site-footer__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 30px; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1.2fr 1fr; } }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__text small { color: rgba(255, 255, 255, .7); }
.site-footer__info { margin-top: 16px; line-height: 2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.footer-tel { display: inline-block; margin-top: 6px; color: #fff !important; font-family: var(--head); font-weight: 700; font-size: 21px; text-decoration: none; }
.copyright { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); margin: 40px 0 0; }

/* スマホの下に固定するボタン */
.bottom-bar { display: none; }
@media (max-width: 819px) {
  body { padding-bottom: 64px; }
  .bottom-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px -12px rgba(0, 0, 0, .3); }
  .bottom-bar--3 { grid-template-columns: repeat(3, 1fr); }
  .bottom-bar a { display: grid; place-items: center; height: 60px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--main-dark); line-height: 1.3; text-align: center; }
  .bottom-bar a + a { border-left: 1px solid var(--line); }
  .bottom-bar a:last-child { background: var(--accent); color: var(--on-accent); border-left: 0; }
  .bottom-bar small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
}

/* 上に戻るボタン */
.to-top { position: fixed; right: 16px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--main); color: var(--on-main); border: 0; cursor: pointer; line-height: 1; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top span { font-size: 18px; font-weight: 700; }
.to-top small { font-size: 9px; font-weight: 700; margin-top: 2px; }
.to-top:hover { background: var(--main-dark); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 819px) { .to-top { bottom: 76px; right: 12px; width: 46px; height: 46px; } }

/* お知らせ（制作例のため〜） */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #2a2a2a; color: #fff; font-size: 14px; padding: 12px 18px; border-radius: 12px; width: max-content; max-width: calc(100% - 32px); text-align: center; transition: opacity .2s, transform .2s; }
@media (max-width: 819px) { .toast { bottom: 80px; } }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* スクロールでふわっと出す */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== ここから下は、各デモらしさ（themes/○○.css） ===== */

/* 株式会社しおみマリンテック：濃い紺と白、安全色のオレンジ。写真を全面、左に大きな文字 */
:root {
  --main: #1F3A5F; --main-dark: #142843; --on-main: #FFFFFF;
  --accent: #F28C28; --accent-dark: #C8681A; --on-accent: #1A1A1A;
  --pale: #EEF2F7; --pale2: #F6F8FB;
  --bg: #FFFFFF; --paper: #FFFFFF; --ink: #1D2633; --muted: #5A6472; --line: #DCE2EA;
  --radius: 4px; --btn-radius: 4px;
  --head: "Noto Sans JP", "Yu Gothic", sans-serif; --head-weight: 900;
}
.logo__mark { width: 36px; height: 36px; background: var(--main); position: relative; }
.logo__mark::before { content: ""; position: absolute; left: 7px; right: 7px; top: 16px; height: 5px; background: var(--accent); }
.logo__mark::after { content: ""; position: absolute; left: 16px; top: 7px; bottom: 7px; width: 5px; background: #fff; }
.logo__text { letter-spacing: .02em; }
.section-title { text-align: left; }
.section-title span { color: var(--accent-dark); letter-spacing: .2em; }
.section-title h2 { font-size: 28px; padding-left: 16px; border-left: 6px solid var(--accent); }
@media (min-width: 820px) { .section-title h2 { font-size: 34px; } }
.section-title p { margin-left: 0; }
.card { border-top: 4px solid var(--main); }
.card__num { border-radius: 4px; background: var(--accent); color: var(--on-accent); }

/* ファーストビュー：写真を全面、左に大きな文字 */
.fv { position: relative; height: calc(100svh - 110px); min-height: 560px; max-height: 900px; overflow: hidden; background: var(--main-dark); color: #fff; }
.fv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 40, 67, .88) 0%, rgba(20, 40, 67, .55) 50%, rgba(20, 40, 67, .1) 100%); }
.fv__text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 36px; }
.fv__small { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--accent); margin-bottom: 8px; }
.fv h1 { font-size: clamp(38px, 11vw, 80px); line-height: 1.2; letter-spacing: .02em; margin-bottom: 18px; }
.fv__three { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; }
.fv__three li { font-weight: 700; font-size: 14px; padding-left: 14px; border-left: 4px solid var(--accent); }
.fv__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fv__btns .btn { flex: 1 1 160px; }
.fv .btn--line { background: transparent; color: #fff; border-color: #fff; }
@media (min-width: 820px) { .fv__text { left: 6%; right: auto; bottom: 64px; max-width: 640px; } }
@media (max-width: 819px) { .fv { height: calc(100svh - 172px); } }

/* 下層ページの見出し */
.page-head { background: var(--main); color: #fff; }
.page-head span { color: var(--accent); }
.page-head p { color: #C9D3E1; }
.crumb { color: #9FB0C6; }
.crumb a { color: #fff; }

/* Googleマップの会社情報の見本 */
.gmb { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px; font-size: 14px; box-shadow: 0 10px 22px -18px rgba(0, 0, 0, .5); }
.gmb__title { font-size: 18px; font-weight: 700; margin: 0 0 2px; }
.gmb__kind { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.gmb dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.gmb dt { color: var(--muted); }
.gmb dd { margin: 0; }
.gmb__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; border-top: 1px dashed var(--line); padding-top: 10px; }

.cta { background: var(--main); }
.cta .btn--line { background: transparent; color: #fff; }
.site-footer { background: var(--main-dark); }
.to-top { background: var(--accent); color: var(--on-accent); }
.bottom-bar a:last-child { background: var(--accent); color: var(--on-accent); }

/* ===== 2026-10-19 作り直しで足した区切り ===== */
/* しおみらしさ：角は四角、紺の太い線、安全色のオレンジ。工場の掲示物のような、かための見た目 */
@media (max-width: 819px) { .pc { display: none; } }
.anchor { scroll-margin-top: 80px; }
.section--tight { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 820px) { .section--tight { padding-top: 56px; padding-bottom: 56px; } }
.text-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--main); text-underline-offset: 4px; }
.text-link::after { content: " →"; color: var(--accent-dark); }

/* 2つの入口（頼みたい方・働きたい方） */
.two-doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .two-doors { grid-template-columns: 1fr 1fr; gap: 22px; } }
.two-doors a { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; border-radius: var(--radius); }
.two-doors img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.two-doors a:hover img { transform: scale(1.04); }
.two-doors__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 18px 16px; background: linear-gradient(180deg, rgba(20, 40, 67, .05) 20%, rgba(20, 40, 67, .9) 100%); border-bottom: 6px solid var(--accent); }
.two-doors li + li .two-doors__text { border-bottom-color: #fff; }
.two-doors small { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.two-doors b { font-size: 22px; font-weight: 900; line-height: 1.4; }
.two-doors em { font-style: normal; font-size: 13px; font-weight: 700; margin-top: 4px; }
.two-doors em::after { content: " ↓"; color: var(--accent); }
@media (min-width: 820px) { .two-doors b { font-size: 26px; } .two-doors__text { padding: 24px 26px 22px; } }

/* 配管ができるまで（6つの工程）：スマホは写真と文を左右に、PCは3列×2段 */
.pipe-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pipe-steps li { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; background: var(--paper); border-left: 6px solid var(--main); }
.pipe-steps figure img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pipe-steps div { padding: 10px 12px 10px 0; }
.pipe-steps__num { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .08em; color: var(--on-accent); background: var(--accent); padding: 0 8px; margin-bottom: 4px; }
.pipe-steps h3 { font-size: 17px; line-height: 1.45; color: var(--main); margin-bottom: 2px; }
.pipe-steps p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (min-width: 820px) {
  .pipe-steps { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
  .pipe-steps li { display: block; border-left: 0; border-top: 6px solid var(--main); }
  .pipe-steps div { padding: 16px 18px 20px; position: relative; }
  .pipe-steps__num { position: absolute; top: -34px; left: 0; font-size: 22px; padding: 2px 12px; }
  .pipe-steps h3 { font-size: 19px; }
  .pipe-steps p { font-size: 14px; }
  .pipe-steps li:nth-child(n+4) { border-top-color: var(--accent); }
}

/* 写真を背景にした帯（急ぎの修繕船にも） */
.bgband { position: relative; overflow: hidden; color: #fff; padding: 72px 16px; }
.bgband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 40, 67, .93) 0%, rgba(20, 40, 67, .82) 60%, rgba(20, 40, 67, .7) 100%); }
.bgband__inner { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; }
.bgband__label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; background: var(--accent); color: var(--on-accent); padding: 2px 12px; margin-bottom: 12px; }
.bgband h2 { font-size: 30px; margin-bottom: 8px; }
.bgband p { color: #DCE4EE; }
@media (min-width: 820px) { .bgband { padding: 100px 24px; } .bgband h2 { font-size: 40px; } }
.rush { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.rush li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; line-height: 1.5; border: 1px solid rgba(255, 255, 255, .35); padding: 10px 12px; background: rgba(20, 40, 67, .45); }
.rush span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; background: #fff; color: var(--main); font-weight: 900; font-size: 17px; }
@media (min-width: 820px) {
  .rush { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .rush li { flex-direction: column; align-items: flex-start; padding: 18px 16px; position: relative; }
  .rush li + li { border-left: 0; }
  .rush li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 1; }
}

/* 途中の「お取引のご相談」の帯：安全色のしま模様 */
.trade-band { position: relative; background: var(--pale); padding: 34px 16px 30px; }
.trade-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--accent) 0 12px, var(--main) 12px 24px); }
.trade-band__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 16px; justify-items: start; }
.trade-band p { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.6; color: var(--main); }
.trade-band b { font-weight: 900; border-bottom: 4px solid var(--accent); }
@media (min-width: 820px) { .trade-band__inner { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } .trade-band p { font-size: 23px; } }

/* 設備と資格：大きな数字 */
.spec-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 4px solid var(--main); border-left: 1px solid var(--line); }
@media (min-width: 820px) { .spec-nums { grid-template-columns: repeat(4, 1fr); } }
.spec-nums li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 14px 14px; }
.spec-nums small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.spec-nums b { font-size: 46px; font-weight: 900; line-height: 1.1; color: var(--main); letter-spacing: 0; }
.spec-nums b i { font-style: normal; font-size: 16px; margin-right: 2px; }
.spec-nums span { font-size: 16px; font-weight: 700; color: var(--accent-dark); margin-left: 4px; }
@media (min-width: 820px) { .spec-nums b { font-size: 58px; } .spec-nums li { padding: 22px 22px 18px; } }
.spec-note { font-size: 11px; color: var(--muted); text-align: right; margin: 8px 0 34px; }
.media--spec .info-table th { width: 7em; }

/* 写真だけの帯 */
.photo-band { margin: 0; border-top: 6px solid var(--main); border-bottom: 6px solid var(--accent); }
.photo-band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 820px) { .photo-band img { aspect-ratio: 21 / 7; } }

/* 安全のお約束（しないこと）：禁止の標識のような印 */
.nevers { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.nevers li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 2px solid var(--main); padding: 12px 14px; }
.nevers__mark { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 4px solid #D23B2A; }
.nevers__mark::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: #D23B2A; transform: rotate(45deg); }
.nevers small { display: block; font-size: 12px; font-weight: 700; color: var(--accent-dark); line-height: 1.4; }
.nevers b { display: block; font-size: 15px; line-height: 1.55; color: var(--ink); }

/* 未経験から溶接の資格まで：左下から右上への階段 */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stairs li { background: var(--paper); border-left: 6px solid var(--main); padding: 14px 16px; }
.stairs li:nth-child(2) { margin-left: 14px; }
.stairs li:nth-child(3) { margin-left: 28px; }
.stairs li:nth-child(4) { margin-left: 42px; }
.stairs__num { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .1em; color: #fff; background: var(--main); padding: 0 8px; margin-bottom: 4px; }
.stairs h3 { font-size: 17px; color: var(--main); }
.stairs p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.stairs .stairs__goal { background: var(--main); border-left-color: var(--accent); }
.stairs .stairs__goal .stairs__num { background: var(--accent); color: var(--on-accent); }
.stairs .stairs__goal h3 { color: #fff; }
.stairs .stairs__goal p { color: #DCE4EE; }
@media (min-width: 820px) {
  .stairs { grid-template-columns: repeat(4, 1fr); gap: 0; align-items: end; }
  .stairs li { margin: 0 !important; border-left: 0; border-top: 6px solid var(--main); padding: 18px 18px 22px; }
  .stairs li:nth-child(1) { min-height: 150px; }
  .stairs li:nth-child(2) { min-height: 190px; background: var(--pale2); }
  .stairs li:nth-child(3) { min-height: 230px; }
  .stairs li:nth-child(4) { min-height: 270px; border-top-color: var(--accent); }
  .stairs h3 { font-size: 18px; }
}
.section--pale .stairs li:nth-child(2) { background: var(--paper); }
.media--path { margin-top: 36px; }
.pay-box { margin: 0; background: var(--paper); border: 2px solid var(--accent); padding: 18px 18px; font-size: 15px; }
.pay-box b { display: block; font-size: 21px; font-weight: 900; color: var(--main); line-height: 1.45; margin-bottom: 6px; }

/* 2代目のあいさつ */
.greet-meta { display: inline-block; font-size: 13px; font-weight: 700; color: var(--muted); border-top: 2px solid var(--accent); padding-top: 4px; margin: 4px 0 0; }

/* ご相談・見学・応募の窓口 */
.windows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .windows { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.windows li { display: flex; flex-direction: column; background: var(--paper); border-top: 6px solid var(--main); padding: 20px 18px; }
.windows li:last-child { border-top-color: var(--accent); }
.windows small { font-size: 12px; font-weight: 700; color: var(--accent-dark); }
.windows b { font-size: 21px; font-weight: 900; color: var(--main); margin-bottom: 6px; }
.windows p { font-size: 14px; color: var(--muted); flex: 1; }
.windows-foot { display: grid; gap: 18px; align-items: center; margin-top: 28px; }
@media (min-width: 820px) { .windows-foot { grid-template-columns: 1fr 1fr; gap: 40px; } }
.windows-foot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.windows-foot__tel { font-size: 30px; font-weight: 900; color: var(--main); letter-spacing: .04em; margin: 0 0 10px; line-height: 1.3; }
.windows-foot__tel small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.calm-note { font-size: 14px; font-weight: 700; color: var(--main); border-left: 4px solid var(--accent); padding: 2px 0 2px 10px; margin: 16px 0 0; }

/* 社員の声（短く）・工場見学・社名の由来 */
.short-voices { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 10px; }
.short-voices li { background: var(--paper); border-left: 4px solid var(--accent); padding: 10px 14px; font-weight: 700; }
.short-voices small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.visit-box { border: 2px solid var(--main); padding: 26px 20px; position: relative; }
.visit-box::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 8px; background: repeating-linear-gradient(-45deg, var(--accent) 0 12px, var(--main) 12px 24px); }
.visit-box > span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--accent-dark); margin-top: 4px; }
.visit-box h2 { font-size: 24px; margin-bottom: 10px; }
.visit-box .btn { margin-top: 18px; }
.name-origin { border-left: 6px solid var(--accent); background: var(--pale); padding: 18px 20px; }
.name-origin span { display: block; font-size: 13px; font-weight: 700; color: var(--accent-dark); letter-spacing: .12em; }
.name-origin p { margin: 0; font-weight: 700; color: var(--main); }
.form .note { margin-top: -6px; }

/* ===== 2026-10-20 そらいろの雰囲気で見直し（箱を減らす・余白を広く・見出しを細く・写真を大きく・区切りにリズム） ===== */
/* 共通の部品は base.css を変えずに、ここで足す（--hl＝小さな言葉の色、--hl-pale＝小さな札の地の色） */
@media (min-width: 820px) { body { line-height: 2.1; } }
.pc-only { display: none; }
@media (min-width: 820px) { .pc-only { display: inline; } }
.fv-line { display: block; white-space: nowrap; }

/* 最初の画面の下：お知らせ1行 */
.news-line { display: flex; gap: 14px; align-items: baseline; max-width: 1060px; margin: 0 auto; padding: 16px 20px; text-decoration: none; font-size: 13px; border-bottom: 1px solid var(--line); }
.news-line__label { color: var(--hl); letter-spacing: .2em; white-space: nowrap; font-weight: 500; }
.news-line time { color: var(--muted); letter-spacing: .05em; white-space: nowrap; }
.news-line span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-line::after { content: "→"; margin-left: auto; color: var(--hl); }

/* 区切り（余白を広く） */
.section2 { padding: 96px 20px; }
.section2--white { background: #fff; }
.section2--pale { background: var(--pale); }
.section2--tight { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 820px) { .section2 { padding: 144px 28px; } .section2--tight { padding-top: 80px; padding-bottom: 80px; } }

/* 見出し（細く、小さな日本語のひとこと＋短い線を上に） */
.title2 { margin-bottom: 48px; }
.title2 > span { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--hl); margin-bottom: 10px; }
.title2 > span::before { content: ""; width: 24px; border-top: 1px solid currentColor; }
.title2 h2 { font-weight: 500; font-size: 25px; line-height: 1.7; letter-spacing: .12em; color: var(--ink); }
.title2 p { color: var(--muted); margin: 18px 0 0; max-width: 640px; }
.title2--center { text-align: center; }
.title2--center p { margin-left: auto; margin-right: auto; }
@media (min-width: 820px) { .title2 { margin-bottom: 64px; } .title2 h2 { font-size: 33px; } }
@media (max-width: 819px) { .title2 h2 { letter-spacing: .06em; } }

/* ごあいさつ（最初の画面の下） */
.lead2 { max-width: 760px; margin: 0 auto; text-align: center; }
.lead2__big { font-family: var(--head); font-weight: 500; font-size: 20px; line-height: 2; letter-spacing: .12em; margin-bottom: 22px; }
.lead2 p:not(.lead2__big) { color: var(--muted); }
@media (min-width: 820px) { .lead2__big { font-size: 26px; } }
@media (max-width: 819px) { .lead2 { text-align: left; } .lead2 p br:not(.sp) { display: none; } }
.tags2 { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags2 li { font-size: 12px; letter-spacing: .08em; color: var(--hl); background: var(--hl-pale); border-radius: 999px; padding: 3px 14px; }
@media (max-width: 819px) { .tags2 { justify-content: flex-start; } }

/* 写真を左に止めて、右に言葉を並べる（箱を使わない） */
.split { display: grid; gap: 40px; }
.split__photo { margin: 0; }
.split__photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
  .split--rev > :first-child { order: 2; }
  .split__photo { position: sticky; top: 120px; }
  .split__photo img { aspect-ratio: 4 / 5; }
}
.qa2 { list-style: none; margin: 0; padding: 0; }
.qa2 li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.qa2 li:first-child { border-top: 1px solid var(--line); }
.qa2__num { grid-row: 1 / span 2; font-size: 13px; letter-spacing: .1em; color: var(--hl); padding-top: 6px; }
.qa2__q { font-family: var(--head); font-weight: 500; font-size: 19px; letter-spacing: .08em; line-height: 1.7; margin: 0 0 6px; }
.qa2__a { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 820px) { .qa2__q { font-size: 21px; } }

/* 写真を暗く敷いた帯 */
.dark-band { position: relative; display: grid; place-items: center; min-height: 440px; padding: 90px 22px; color: #fff; overflow: hidden; }
.dark-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: var(--dark-veil, rgba(20, 24, 30, .6)); z-index: 1; }
.dark-band__inner { position: relative; z-index: 2; width: 100%; max-width: 1060px; text-align: center; }
.dark-band__small { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; opacity: .85; margin-bottom: 14px; }
.dark-band__small::before, .dark-band__small::after { content: ""; width: 24px; border-top: 1px solid currentColor; }
.dark-band__big { font-family: var(--head); font-weight: 500; font-size: 24px; line-height: 1.9; letter-spacing: .14em; margin-bottom: 16px; }
.dark-band__inner > p:not(.dark-band__big):not(.dark-band__small) { opacity: .9; margin-bottom: 28px; }
@media (min-width: 820px) { .dark-band { min-height: 580px; padding: 120px 28px; } .dark-band__big { font-size: 34px; } }
/* 帯の中の短い流れ（箱にせず、細い線で区切る） */
.line-steps { list-style: none; margin: 34px auto 0; padding: 0; display: grid; gap: 0; max-width: 980px; text-align: left; }
.line-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: baseline; padding: 16px 4px; border-top: 1px solid rgba(255, 255, 255, .35); font-family: var(--head); font-weight: 500; letter-spacing: .06em; line-height: 1.6; }
.line-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.line-steps span { font-size: 26px; font-weight: 300; line-height: 1; opacity: .9; }
@media (min-width: 820px) {
  .line-steps { grid-template-columns: repeat(var(--steps, 4), 1fr); }
  .line-steps li { grid-template-columns: 1fr; gap: 10px; padding: 22px 22px 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
  .line-steps li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .35); }
  .line-steps span { font-size: 40px; }
}

/* 写真と文を左右交互に */
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.steps2 figure { margin: 0; }
.steps2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps2__body { padding-top: 18px; }
.steps2__num { display: block; font-size: 44px; font-weight: 300; line-height: 1; color: var(--hl); letter-spacing: .04em; margin-bottom: 14px; }
.steps2 h3 { font-weight: 500; font-size: 21px; letter-spacing: .12em; margin-bottom: 10px; }
.steps2 p { color: var(--muted); margin: 0; }
.steps2__tag { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--hl); background: var(--hl-pale); border-radius: 999px; padding: 2px 12px; }
@media (min-width: 820px) {
  .steps2 { gap: 88px; }
  .steps2 li { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
  .steps2 li:nth-child(even) figure { order: 2; }
  .steps2__num { font-size: 62px; }
}

/* お約束（しないこと）：箱ではなく、上下の線で */
.promise2 { max-width: 760px; margin: 0 auto; padding: 40px 4px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.promise2__title { font-family: var(--head); font-weight: 500; font-size: 18px; letter-spacing: .2em; text-align: center; margin: 0 0 18px; }
.promise2 ul { list-style: none; margin: 0; padding: 0; }
.promise2 li { position: relative; padding: 8px 0 8px 26px; }
.promise2 li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--hl); }
.promise2 small { display: block; font-size: 13px; color: var(--muted); }

/* あいさつ：写真を大小ずらして重ねる */
.owner2 { display: grid; gap: 64px; align-items: center; }
.owner2__photos { position: relative; padding-bottom: 50px; }
.owner2__big { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; }
.owner2__small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--owner-frame, #fff); }
.owner2__meta { font-size: 13px; color: var(--muted); letter-spacing: .08em; margin: 18px 0 0; }
.owner2__name { border-left: 2px solid var(--hl); padding-left: 14px; font-size: 14px; margin-top: 24px; }
.owner2__name small { display: block; font-size: 11px; letter-spacing: .25em; color: var(--hl); }
@media (min-width: 820px) { .owner2 { grid-template-columns: 1.05fr 1fr; gap: 90px; } .owner2__photos { padding-bottom: 70px; } }

/* 大きな数字：細い縦線で区切る */
.numbers2 { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, 1fr); text-align: center; }
.numbers2 li { padding: 18px 6px; }
.numbers2 li:nth-child(even) { border-left: 1px solid var(--line); }
.numbers2 li:nth-child(n+3) { border-top: 1px solid var(--line); }
.numbers2--3 { grid-template-columns: repeat(3, 1fr); }
.numbers2--3 li:nth-child(n) { border-top: 0; border-left: 0; }
.numbers2--3 li + li { border-left: 1px solid var(--line); }
.numbers2 small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; line-height: 1.6; }
.numbers2 b { display: block; font-weight: 300; font-size: 40px; line-height: 1.25; color: var(--num, var(--main)); letter-spacing: .02em; }
.numbers2 b i { font-style: normal; font-size: 15px; margin-right: 2px; }
.numbers2 b em { font-style: normal; font-size: 15px; font-weight: 400; margin-left: 3px; }
.numbers2__note { text-align: center; font-size: 11px; color: var(--muted); margin: 16px 0 0; }
@media (min-width: 820px) {
  .numbers2 { grid-template-columns: repeat(4, 1fr); }
  .numbers2--3 { grid-template-columns: repeat(3, 1fr); }
  .numbers2 li:nth-child(n) { border-top: 0; border-left: 0; }
  .numbers2 li + li { border-left: 1px solid var(--line); }
  .numbers2 b { font-size: 60px; }
  .numbers2 small { font-size: 13px; }
}

/* お知らせと、受付・営業日の表 */
.info2 { display: grid; gap: 80px; }
@media (min-width: 820px) { .info2 { grid-template-columns: 1.2fr 1fr; gap: 90px; } }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 16px; align-items: baseline; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.news li:first-child { border-top: 1px solid var(--line); }
.news time { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.news__cat { font-size: 11px; letter-spacing: .1em; color: var(--hl); background: var(--hl-pale); padding: 1px 10px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.news p { margin: 0; font-family: var(--head); font-weight: 500; letter-spacing: .06em; }
@media (max-width: 819px) { .news li { grid-template-columns: auto 1fr; } .news p { grid-column: 1 / -1; } }
.news__note { font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.hours { width: 100%; border-collapse: collapse; text-align: center; font-size: 14px; }
.hours th, .hours td { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.hours thead th { font-weight: 500; color: var(--muted); border-top: 1px solid var(--ink); font-size: 13px; }
.hours tbody th { font-weight: 400; font-size: 13px; text-align: left; padding-right: 8px; line-height: 1.6; }
.hours tbody th small { display: block; font-size: 11px; color: var(--muted); }
.hours td { color: var(--hl); }
.hours td.off { color: var(--muted); }
.hours__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* 窓口と地図 */
.reserve2 { display: grid; gap: 56px; }
@media (min-width: 820px) { .reserve2 { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.reserve2 .info-table { background: transparent; }
.reserve2__tel { font-family: var(--head); font-weight: 500; font-size: 28px; letter-spacing: .08em; margin: 30px 0 4px; }
.reserve2__tel small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.reserve2__btns { display: grid; gap: 10px; }
.reserve2__btns .btn span { line-height: 1.4; }
.reserve2__btns .btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }
.btn-hint { display: inline-block; position: relative; margin: 6px 0 14px; padding: 3px 14px; border-radius: 999px; background: var(--hl-pale); color: var(--hl); font-size: 12px; letter-spacing: .06em; line-height: 1.7; }
.btn-hint::after { content: ""; position: absolute; left: 22px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--hl-pale); }
.map-embed { aspect-ratio: 4 / 3; width: 100%; background: #EEE; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }
.map-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* ページの最後の大きな写真 */
.last-photo { margin: 0; }
.last-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 820px) { .last-photo img { aspect-ratio: 16 / 6; } }

/* --- しおみらしさ（紺と安全色のオレンジ・角は四角・図面の方眼）を残すための上書き --- */
:root { --hl: var(--accent-dark); --hl-pale: #FCEBDB; --dark-veil: rgba(20, 40, 67, .7); --num: var(--main); }
.title2 h2 { color: var(--main-dark); }
.title2 > span::before { border-top: 2px solid var(--accent); }

/* 最初の画面：見出しは1行ずつ折り返さない。社名を見出しの下に */
.fv h1 { font-weight: 700; letter-spacing: .06em; }
@media (max-width: 819px) { .fv h1 { font-size: clamp(30px, calc((100vw - 48px) / 6.6), 46px); margin-bottom: 10px; } .fv__three { margin-bottom: 16px; gap: 2px; } .fv__three li { font-size: 13px; } }
.fv__name { font-size: 14px; font-weight: 500; letter-spacing: .12em; margin: 0 0 16px; }
.fv__name span { display: block; font-size: 12px; font-weight: 400; color: #C9D3E1; letter-spacing: .08em; }

/* 2つの入口：写真を大きく */
@media (min-width: 820px) { .two-doors img { aspect-ratio: 3 / 2; } }

/* 配管ができるまで：図面の方眼の地 */
.section2--grid { background-color: var(--pale2); background-image:
  linear-gradient(rgba(31, 58, 95, .07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(31, 58, 95, .07) 1px, transparent 1px);
  background-size: 24px 24px; }
.steps2__num { color: var(--accent); }
.steps2 h3 { color: var(--main-dark); }

/* 急ぎの修繕船（写真を暗く敷いた帯）の中の流れ */
.dark-band .line-steps span { color: var(--accent); opacity: 1; }

/* 途中のお取引の帯：文字を少し細く */
.trade-band p { font-weight: 500; }
.trade-band b { font-weight: 700; }

/* 設備と資格 */
.numbers2 { margin-bottom: 0; }
.spec2 { max-width: 760px; margin: 56px auto 0; }
.section2 .info-table { background: transparent; }
.section2 .info-table th { font-weight: 500; }
.section2 .info-table tr:first-child th, .section2 .info-table tr:first-child td { border-top: 1px solid var(--line); }

/* 安全のお約束：箱をやめて、細い線で区切る（禁止の印は残す） */
.section2 .nevers { gap: 0; margin: 0 0 8px; }
.section2 .nevers li { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 18px 2px; }
.section2 .nevers li:first-child { border-top: 1px solid var(--line); }
.section2 .nevers b { font-weight: 500; font-size: 16px; }
@media (min-width: 820px) { .section2--pale .split__photo img { aspect-ratio: 4 / 5; } }

/* 未経験から溶接の資格まで：階段の形は残し、色の箱をやめる */
.section2 .stairs li { background: transparent; }
.section2 .stairs h3 { font-weight: 500; }
.section2 .stairs .stairs__goal { background: transparent; border-left-color: var(--accent); }
.section2 .stairs .stairs__goal h3 { color: var(--main-dark); }
.section2 .stairs .stairs__goal p { color: var(--muted); }
@media (min-width: 820px) { .section2 .stairs li:nth-child(2) { background: transparent; } .section2 .stairs li { border-top-width: 2px; } .section2 .stairs .stairs__goal { border-top: 4px solid var(--accent); } }
.split--work { margin-top: 90px; }
@media (min-width: 820px) { .split--work .split__photo { position: static; } .split--work .split__photo img { aspect-ratio: 3 / 2; } .split--work { align-items: center; } }
.work2__big { font-weight: 500; font-size: 24px; line-height: 1.7; letter-spacing: .1em; color: var(--main-dark); margin-bottom: 16px; }
@media (min-width: 820px) { .work2__big { font-size: 30px; } }
.section2 .calm-note { font-weight: 500; }

/* 窓口：3つの箱をやめて、線で区切った一覧に */
.windows2 { list-style: none; margin: 0; padding: 0; }
.windows2 li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.windows2 li:first-child { border-top: 2px solid var(--main); }
.windows2 small { grid-column: 1; font-size: 12px; color: var(--hl); letter-spacing: .08em; }
.windows2 b { grid-column: 1; font-weight: 500; font-size: 19px; color: var(--main-dark); letter-spacing: .08em; }
.windows2 p { grid-column: 1; margin: 0; font-size: 14px; color: var(--muted); }
.windows2 a { grid-column: 2; grid-row: 1 / span 3; font-size: 14px; font-weight: 500; color: var(--main); text-underline-offset: 4px; white-space: nowrap; }
.windows2 a::after { content: " →"; color: var(--accent-dark); }
.reserve2__tel { color: var(--main-dark); }
.map-table { margin-top: 24px; }
@media (max-width: 819px) { .spec2 .info-table th, .map-table th { width: 6.5em; white-space: nowrap; } }
