/* ===== ここから下が今回の作業場所。自由に書き換えてよい ===== */
/*
  名城ターグボート株式会社　見た目の決まりごと一式（たたき台）
  色・書体・余白・字間はすべて :root にまとめてある。ここを変えると全ページに効く。
  基調色は現行サイトの青をもとに、深い紺へ寄せたたたき台。自由に変えてよい。
*/
:root {
  --c-main: #0f3557;        /* 基調色：深い海の紺（たたき台） */
  --c-main-deep: #0a2540;   /* 基調色の濃いほう（フッターなど） */
  --c-accent: #0166c7;      /* 差し色：現行サイトの青 */
  --c-sea-pale: #eef3f7;    /* うすい海の色（帯の背景） */
  --c-text: #23272b;
  --c-text-sub: #5c646b;
  --c-line: #c9d3dc;
  --c-white: #ffffff;
  --c-dummy: #9aa3ab;       /* 本番の文章がまだのところ */

  --ff-base: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-en: "Cormorant Garamond", "Noto Serif JP", serif;

  --fs-xs: 12px;
  --fs-s: 14px;
  --fs-m: 16px;
  --fs-l: 20px;
  --fs-xl: 28px;
  --fs-2xl: 36px;
  --fs-3xl: 48px;

  --ls-base: 0.06em;
  --ls-wide: 0.16em;        /* ワイヤーの注記＝文字間隔は広めでよい */
  --lh-base: 2;

  --w-content: 1200px;
  --w-narrow: 960px;
  --gap-s: 16px;
  --gap-m: 32px;
  --gap-l: 64px;
  --gap-xl: 120px;
  --header-h: 88px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-m);
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(var(--w-content), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(var(--w-narrow), 100% - 48px); margin-inline: auto; }
.is-dummy { color: var(--c-dummy); }
.u-sp { display: none; }

/* ---------- いちばん上の帯 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--c-line);
}
.site-header__logo img { width: 300px; }
.site-header__right { display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; gap: 24px; font-size: var(--fs-s); letter-spacing: var(--ls-wide); }
.site-nav a { position: relative; padding: 4px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--c-main); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-header__btns { display: flex; gap: 10px; }
.btn-contact {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px;
  border: 1px solid var(--c-main); border-radius: var(--radius);
  font-size: var(--fs-s);
  background: var(--c-main); color: var(--c-white);
}
.btn-tel {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px;
  border: 1px solid var(--c-main); border-radius: var(--radius);
  font-size: var(--fs-s);
}
.btn-contact img { width: 22px; filter: invert(1); }
.btn-tel img { width: 20px; }
.btn-tel__num { display: block; font-size: var(--fs-m); line-height: 1.2; letter-spacing: .08em; }
.btn-tel__time { display: block; font-size: 10px; line-height: 1.2; color: var(--c-text-sub); }

/* ---------- 表紙の大きいところ ---------- */
.fv { position: relative; height: calc(100vh - var(--header-h)); min-height: 560px; overflow: hidden; background: var(--c-main-deep); }
.fv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv__img--left { clip-path: polygon(0 0, 26% 0, 44% 100%, 0 100%); }
.fv__img--right { clip-path: polygon(26.4% 0, 100% 0, 100% 100%, 44.4% 100%); }
.fv__copy {
  position: absolute; z-index: 2;
  background: var(--c-white); color: var(--c-main);
  font-weight: 600; letter-spacing: var(--ls-wide); line-height: 1.5;
}
.fv__copy--main { top: 0; right: 0; padding: 18px 40px 18px 56px; font-size: var(--fs-2xl); display: flex; gap: 1.2em; }
.fv__copy--main span + span { font-size: .9em; }
.fv__copy--sub { bottom: 0; right: 0; padding: 24px 40px 24px 64px; font-size: var(--fs-xl); }
.fv__note { margin-top: 12px; }

/* ---------- 下のページの見出しの帯 ---------- */
.page-hero { position: relative; height: 240px; display: grid; place-items: center; overflow: hidden; }
.page-hero__img { position: absolute; top: 0; height: 100%; width: 37%; object-fit: cover; }
.page-hero__img--left { left: 0; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.page-hero__img--right { right: 0; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.page-hero__title { position: relative; font-size: var(--fs-2xl); letter-spacing: var(--ls-wide); color: var(--c-main); font-weight: 600; }
.breadcrumb { width: min(var(--w-content), 100% - 48px); margin: 12px auto 0; font-size: var(--fs-s); color: var(--c-text-sub); }
.breadcrumb a:hover { color: var(--c-main); }

/* ---------- ひとつの塊と見出し ---------- */
.sec { padding: var(--gap-xl) 0; }
.sec--pale { background: var(--c-sea-pale); }
.sec__head { text-align: center; margin-bottom: var(--gap-l); }
.sec__head--left { text-align: left; }
.sec__ja { font-size: var(--fs-xl); letter-spacing: var(--ls-wide); color: var(--c-main); font-weight: 600; line-height: 1.5; }
.sec__en { font-family: var(--ff-en); font-size: var(--fs-m); letter-spacing: .2em; color: var(--c-accent); margin-top: 4px; }
.sec__lead { text-align: center; color: var(--c-text-sub); line-height: 2.2; }
.lead-title { text-align: center; font-size: var(--fs-xl); letter-spacing: var(--ls-wide); color: var(--c-main); margin-bottom: var(--gap-m); }
.more { text-align: center; margin-top: var(--gap-l); }
.btn-more {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 40px; border: 1px solid var(--c-main);
  color: var(--c-main); letter-spacing: var(--ls-wide); font-size: var(--fs-s);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn-more::after { content: "▶"; font-size: 10px; }
.btn-more:hover { background: var(--c-main); color: var(--c-white); }
.link-arrow { display: inline-flex; gap: 10px; border-bottom: 1px solid var(--c-main); padding-bottom: 4px; color: var(--c-main); }
.link-arrow::after { content: "▶"; font-size: 10px; }

/* ---------- 表紙：海の上の総合力 ---------- */
.message__body { text-align: center; line-height: 2.4; color: var(--c-text-sub); font-size: var(--fs-s); }

/* ---------- 表紙：事業内容（スクロールで切り替わる・舵が回る） ---------- */
.biz-switch { position: relative; height: 300vh; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.biz-switch__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.biz-switch__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-l); align-items: center; }
.biz-switch__wheel-area { position: relative; height: 420px; }
.biz-switch__wheel-area .sec__head { position: absolute; left: 0; top: 0; margin: 0; }
.wheel { position: absolute; left: 50%; top: 52%; width: 300px; height: 300px; transform: translate(-50%, -50%); }
.wheel__icon { position: absolute; left: 50%; top: 50%; width: 96px; transform: translate(-50%, -50%) rotate(var(--wheel-rot, 0deg)); transition: transform .8s var(--ease); }
.wheel__ring { position: absolute; inset: 0; transform: rotate(var(--wheel-rot, 0deg)); transition: transform .8s var(--ease); }
.wheel__label {
  position: absolute; left: 50%; top: 50%;
  font-size: var(--fs-l); letter-spacing: var(--ls-wide); color: var(--c-text-sub); white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-150px) rotate(calc(-1 * var(--a))) rotate(calc(-1 * var(--wheel-rot, 0deg)));
  transition: transform .8s var(--ease), color .4s;
}
.wheel__label.is-active { color: var(--c-main); font-weight: 600; font-size: var(--fs-xl); }
.biz-switch__wheel-area .more { position: absolute; left: 0; bottom: 0; margin: 0; }
.biz-switch__panel { position: relative; min-height: 460px; }
.biz-switch__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease); }
.biz-switch__item.is-active { opacity: 1; visibility: visible; }
.biz-switch__item img { width: 100%; aspect-ratio: 13 / 6; object-fit: cover; }
.biz-switch__item p { margin-top: 20px; font-size: var(--fs-s); color: var(--c-text-sub); }
.biz-switch__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.dots { display: flex; gap: 10px; justify-content: center; }
.dots span, .dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line); border: 0; padding: 0; }
.dots .is-active { background: var(--c-main); }

/* ---------- 表紙：船舶紹介 ---------- */
.boat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-l); align-items: center; max-width: 1000px; margin-inline: auto; }
.boat-card { display: block; border: 1px solid var(--c-line); padding: 28px 28px 24px; text-align: center; background: var(--c-white); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.boat-card:nth-child(2) { transform: translateY(-40px); }
.boat-card:hover { box-shadow: 0 12px 32px rgba(15, 53, 87, .14); }
.boat-card img { width: 100%; aspect-ratio: 250 / 363; object-fit: cover; }
.boat-card__name { margin-top: 16px; letter-spacing: var(--ls-wide); color: var(--c-main); }
.boat-intro { margin-top: var(--gap-l); text-align: center; font-size: var(--fs-s); color: var(--c-text-sub); }

/* ---------- 表紙：会社案内 ---------- */
.top-company { background: var(--c-sea-pale); padding: 48px 56px; display: grid; grid-template-columns: 200px 1fr 300px; gap: 40px; align-items: center; }
.top-company__body { font-size: var(--fs-s); color: var(--c-text-sub); line-height: 2.4; }
.top-company__body .more { text-align: right; margin-top: 16px; }
.top-company img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }

/* ---------- 表紙：採用情報（写真が縦に流れる） ---------- */
.top-recruit { position: relative; background: var(--c-sea-pale); border-radius: 40px; padding: 56px 72px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; overflow: hidden; height: 600px; }
.top-recruit__body { align-self: center; font-size: var(--fs-s); color: var(--c-text-sub); line-height: 2.4; }
.film { position: relative; height: 100%; overflow: hidden; margin: -56px 0; }
.film__track { display: flex; flex-direction: column; gap: 24px; animation: film-up 36s linear infinite; }
.film__track img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
@keyframes film-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.film:hover .film__track { animation-play-state: paused; }

/* ---------- 表紙：お知らせ ---------- */
.top-news { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.top-news > *, .news-row > * { min-width: 0; }
.news-row { display: grid; grid-template-columns: 1fr 200px; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.news-row:first-child { border-top: 1px solid var(--c-line); }
.news-row__date { font-size: var(--fs-s); color: var(--c-text-sub); font-family: var(--ff-en); }
.news-row__title { font-weight: 600; }
.news-row__text { font-size: var(--fs-s); color: var(--c-text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-row .more { text-align: right; margin-top: 8px; }
.news-row img { width: 200px; aspect-ratio: 1; object-fit: cover; }

/* ---------- いちばん下の帯 ---------- */
.site-footer { margin-top: var(--gap-xl); background: var(--c-main-deep); color: rgba(255, 255, 255, .86); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; padding: 56px 0; }
.site-footer__logo img { width: 280px; filter: invert(1); }
.site-footer__addr { margin-top: 20px; font-size: var(--fs-s); line-height: 1.9; }
.site-footer__nav { font-size: var(--fs-s); line-height: 2.1; }
.site-footer__nav .sub { padding-left: 1em; opacity: .8; }
.site-footer__nav a:hover { color: var(--c-white); text-decoration: underline; }
.site-footer__btns { display: flex; flex-direction: column; gap: 12px; }
.site-footer .btn-contact { background: var(--c-white); color: var(--c-main); border-color: var(--c-white); }
.site-footer .btn-contact img { filter: none; }
.site-footer .btn-tel { border-color: rgba(255, 255, 255, .6); }
.site-footer .btn-tel img { filter: invert(1); }
.site-footer .btn-tel__time { color: rgba(255, 255, 255, .7); }
.site-footer__copy { text-align: center; padding: 16px 0; font-size: var(--fs-xs); border-top: 1px solid rgba(255, 255, 255, .15); }

/* ---------- 会社案内 ---------- */
.greeting { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.greeting__photo { grid-column: 2; grid-row: 1; }
.greeting__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.greeting__text { grid-column: 1 / 2; grid-row: 1; margin-top: 40px; position: relative; z-index: 1; }
.greeting__catch { font-size: var(--fs-xl); letter-spacing: .08em; color: var(--c-main); white-space: nowrap; margin-bottom: 24px; }
.greeting__box { background: var(--c-white); border: 1px solid var(--c-line); padding: 28px 32px; font-size: 13px; line-height: 2; width: 110%; }
.greeting__name { text-align: right; margin-top: 8px; font-weight: 600; }
.initiative { border: 1px solid var(--c-line); padding: 32px 48px; }
.initiative__list { font-size: var(--fs-l); line-height: 1.9; color: var(--c-main); }
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.overview dl { display: grid; grid-template-columns: 80px 1fr; font-size: var(--fs-s); }
.overview dt { padding: 10px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text-sub); }
.overview dd { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.overview__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; margin-top: 16px; }
.overview__photos img { width: 100%; height: 100%; object-fit: cover; }
.overview__photos img:first-child { grid-row: 1 / 3; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.table th { border: 1px solid var(--c-line); padding: 10px 16px; vertical-align: middle; width: 120px; font-weight: 400; text-align: center; color: var(--c-text-sub); line-height: 1.5; }
.table td { border: 1px solid var(--c-line); padding: 10px 16px; vertical-align: middle; }
.table td.month { width: 60px; text-align: center; }
.map { height: 360px; background: var(--c-sea-pale); display: grid; place-items: center; color: var(--c-text-sub); border: 1px solid var(--c-line); }
.photo-row { display: flex; justify-content: center; gap: 24px; margin-top: var(--gap-m); }
.photo-row img { width: 250px; aspect-ratio: 1; object-fit: cover; }

/* ---------- 文章だけのページ（個人情報保護方針・サイトマップ） ---------- */
.doc h3 { font-size: var(--fs-l); color: var(--c-main); margin: 40px 0 12px; letter-spacing: .08em; }
.doc p { font-size: var(--fs-s); line-height: 2.1; }
.sitemap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sitemap a { display: block; color: var(--c-main); letter-spacing: var(--ls-wide); padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.sitemap .sub a { border: 0; padding: 4px 0 4px 1em; font-size: var(--fs-s); color: var(--c-text); }

/* ---------- お知らせ・船舶の一覧 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 50px; max-width: 1150px; margin-inline: auto; }
.card { display: block; text-align: center; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .3s; }
.card:hover img { opacity: .8; }
.card__title { margin-top: 12px; letter-spacing: var(--ls-wide); }
.card__date { font-family: var(--ff-en); color: var(--c-text-sub); font-size: var(--fs-s); }
.card__btn { display: inline-block; margin-top: 8px; padding: 4px 28px; border: 1px solid var(--c-line); border-radius: 999px; font-size: var(--fs-s); }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: var(--gap-l); font-family: var(--ff-en); font-size: var(--fs-l); }
.pager .is-current { color: var(--c-main); border-bottom: 1px solid var(--c-main); }
.tabs { display: flex; justify-content: center; max-width: 900px; margin: 0 auto var(--gap-l); border: 1px solid var(--c-line); }
.tabs button { flex: 1; padding: 14px 0; background: var(--c-white); border: 0; border-right: 1px solid var(--c-line); letter-spacing: var(--ls-wide); color: var(--c-text-sub); font-size: var(--fs-l); transition: background .3s, color .3s; }
.tabs button:last-child { border-right: 0; }
.tabs button[aria-selected="true"] { background: var(--c-main); color: var(--c-white); }

/* ---------- 記事・船舶の詳細 ---------- */
.detail-head { font-size: var(--fs-xl); color: var(--c-main); border-bottom: 1px solid var(--c-text-sub); padding-bottom: 8px; margin: var(--gap-l) 0 var(--gap-m); letter-spacing: .08em; }
.post__eyecatch img { width: 100%; aspect-ratio: 24 / 7; object-fit: cover; }
.post__body { margin-top: var(--gap-m); line-height: 2.2; }
.gallery-main { max-width: 800px; margin-inline: auto; }
.gallery-main img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 800px; margin: 20px auto 0; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; background: none; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--c-main); }
.gallery-thumbs img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.spec { width: min(560px, 100%); margin-inline: auto; }
.spec th { width: 200px; }
.spec td { text-align: center; }
.downloads { display: flex; justify-content: center; gap: 80px; }
.btn-pill { display: inline-block; padding: 14px 32px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-sea-pale); letter-spacing: .08em; }
.back { text-align: center; margin-top: var(--gap-l); }

/* ---------- フォーム ---------- */
.form-box { border: 1px solid var(--c-line); padding: 48px 100px; max-width: 1000px; margin-inline: auto; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: var(--fs-s); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"] {
  width: 100%; padding: 14px; border: 1px solid var(--c-line); font: inherit; background: var(--c-white);
}
.form-row textarea { width: 100%; height: 240px; padding: 14px; border: 1px solid var(--c-line); font: inherit; background: var(--c-white); }
.form-file { display: flex; align-items: center; gap: 24px; font-size: var(--fs-s); color: var(--c-text-sub); }
.policy-box { height: 160px; overflow-y: auto; border: 1px solid var(--c-line); padding: 20px 28px; margin: 32px auto 16px; max-width: 620px; font-size: 13px; }
.policy-box__title { text-align: center; font-size: var(--fs-l); margin-bottom: 12px; color: var(--c-main); }
.agree { text-align: center; }
.submit { text-align: center; margin-top: 20px; }
.submit button { padding: 12px 72px; border: 1px solid var(--c-main); background: var(--c-main); color: var(--c-white); font-size: var(--fs-l); letter-spacing: var(--ls-wide); }
.thanks { text-align: center; }
.thanks__title { font-size: var(--fs-2xl); color: var(--c-main); letter-spacing: var(--ls-wide); line-height: 1.6; margin-bottom: var(--gap-m); }
.thanks__text { line-height: 2.2; }

/* ---------- 事業内容 ---------- */
.features { display: flex; flex-direction: column; gap: 100px; }
.feature { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.feature__img { grid-column: 7 / 12; grid-row: 1; }
.feature__img img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.feature__body { grid-column: 2 / 8; grid-row: 1; margin-top: 60px; position: relative; z-index: 1; }
.feature__title { font-size: var(--fs-xl); color: var(--c-main); letter-spacing: .08em; margin-bottom: 16px; }
.feature__box { background: var(--c-white); border: 1px solid var(--c-line); padding: 32px; font-size: var(--fs-s); line-height: 2.4; }
.feature--rev .feature__img { grid-column: 2 / 7; }
.feature--rev .feature__body { grid-column: 6 / 12; }
.three-biz { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-l); align-items: center; }
.three-biz__photos { position: relative; height: 640px; }
.three-biz__photos img { position: absolute; object-fit: cover; }
.three-biz__photos img:nth-child(1) { left: 0; top: 0; width: 60%; height: 85%; }
.three-biz__photos img:nth-child(2) { left: 65%; top: 7%; width: 35%; height: 46%; }
.three-biz__photos img:nth-child(3) { left: 34%; top: 70%; width: 45%; height: 30%; }
.three-biz__text { font-size: var(--fs-s); line-height: 2.4; color: var(--c-text-sub); }
.three-biz__links { margin-top: 24px; }
.three-biz__links a { display: flex; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-xl); color: var(--c-main); letter-spacing: var(--ls-wide); max-width: 320px; }
.three-biz__links a:first-child { border-top: 1px solid var(--c-line); }
.three-biz__links a:hover { background: var(--c-sea-pale); }
.work { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.work__img { grid-column: 2 / 6; grid-row: 1; }
.work__img img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.work__body { grid-column: 5 / 12; grid-row: 1; padding-left: 40px; position: relative; z-index: 1; }
.work__title { font-size: var(--fs-xl); color: var(--c-main); letter-spacing: .06em; margin-bottom: 20px; }
.work__text { font-size: var(--fs-s); line-height: 2.6; padding-left: 60px; }
.work--rev .work__img { grid-column: 7 / 11; }
.work--rev .work__body { grid-column: 2 / 8; padding: 0; }
.work--rev .work__text { padding: 0; }
.works { display: flex; flex-direction: column; gap: 80px; }
.gallery { background: var(--c-sea-pale); }
.gallery__video { position: relative; max-width: 680px; margin: 0 auto var(--gap-m); }
.gallery__video img { width: 100%; aspect-ratio: 34 / 18; object-fit: cover; }
.gallery__video .gallery__play { position: absolute; left: 50%; top: 50%; width: 100px; transform: translate(-50%, -50%); filter: invert(1); }
.slider { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider__track { display: flex; gap: 40px; padding: 0 150px; width: max-content; }
.slider__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.slider__track img { width: 400px; aspect-ratio: 8 / 5; object-fit: cover; }
.slider + .dots { margin-top: 24px; }
.achievements th { width: 140px; }

/* ---------- 採用情報 ---------- */
.recruit-fv { position: relative; height: 420px; }
.recruit-fv img { width: 100%; height: 100%; object-fit: cover; }
.recruit-fv__copy { position: absolute; left: 48px; top: 40%; color: var(--c-white); font-size: var(--fs-3xl); letter-spacing: var(--ls-wide); text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.q-badge { display: inline-block; border: 1px solid var(--c-text-sub); border-radius: 10px; padding: 8px 24px; font-size: var(--fs-l); letter-spacing: .08em; margin-bottom: 40px; }
.r-about { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-l); align-items: start; }
.r-box { border: 1px solid var(--c-line); border-radius: 10px; padding: 32px; text-align: center; font-size: var(--fs-s); line-height: 2.6; }
.r-about img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.r-links a { display: flex; justify-content: space-between; padding: 12px 24px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-xl); color: var(--c-main); letter-spacing: .08em; }
.r-links a:first-child { border-top: 1px solid var(--c-line); margin-top: 16px; }
.r-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-l); }
.r-features__left { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.r-features__title { text-align: center; font-size: var(--fs-l); line-height: 1.6; color: var(--c-main); letter-spacing: var(--ls-wide); }
.r-features__right { display: flex; flex-direction: column; gap: 56px; }
.r-feature { text-align: center; }
.r-feature img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; }
.r-feature h3 { font-size: var(--fs-l); margin: 16px 0 8px; color: var(--c-main); }
.r-feature p { font-size: var(--fs-s); line-height: 2.4; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-l); align-items: center; }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--c-line); }
.numbers__cell { border: 1px solid var(--c-line); padding: 16px; }
.numbers__label { font-weight: 600; }
.numbers__val { text-align: right; font-size: 52px; line-height: 1.4; color: var(--c-main); font-family: var(--ff-en); }
.numbers__val small { font-size: var(--fs-l); font-family: var(--ff-base); }
.numbers__note { text-align: right; font-size: var(--fs-xs); color: var(--c-text-sub); margin-top: 6px; }
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-l); }
.schedule__tabs { display: flex; margin-top: 24px; border: 1px solid var(--c-line); width: max-content; }
.schedule__tabs button { padding: 8px 12px; background: var(--c-white); border: 0; border-right: 1px solid var(--c-line); line-height: 1.4; font-weight: 600; }
.schedule__tabs button:last-child { border-right: 0; }
.schedule__tabs button[aria-selected="true"] { background: var(--c-main); color: var(--c-white); }
.schedule__tabs small { display: block; font-weight: 400; font-size: 10px; }
.schedule__label { font-size: var(--fs-xs); color: var(--c-text-sub); margin-bottom: 12px; }
.timeline { position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding-bottom: 50px; }
.timeline li::before { content: ""; position: absolute; left: 99px; top: 100px; bottom: 0; width: 1px; background: var(--c-text-sub); }
.timeline li:last-child::before { display: none; }
.timeline img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.timeline__time { font-family: var(--ff-en); font-size: var(--fs-l); }
.interview { border: 1px solid var(--c-line); border-radius: 10px; padding: 16px 48px 40px; text-align: center; }
.interview__lead { font-size: var(--fs-xl); color: var(--c-main); letter-spacing: .06em; }
.interview__body { display: grid; grid-template-columns: 60px 1fr 60px; gap: 24px; margin-top: 16px; }
.vertical { writing-mode: vertical-rl; border: 1px solid var(--c-line); border-radius: 10px; padding: 16px 10px; font-size: var(--fs-l); letter-spacing: .2em; height: max-content; margin-inline: auto; }
.interview__scroll { height: 560px; overflow-y: auto; background: var(--c-sea-pale); padding: 24px; }
.interview__item + .interview__item { margin-top: 40px; }
.interview__item img { width: 100%; aspect-ratio: 23 / 10; object-fit: cover; border-radius: 10px; }
.interview__meta { font-size: var(--fs-s); color: var(--c-text-sub); margin: 8px 0; }
.interview__item p { font-size: var(--fs-s); line-height: 2.2; }
.interview__en { writing-mode: vertical-rl; font-family: var(--ff-en); font-size: var(--fs-s); color: var(--c-accent); }
.welfare .slider__track { padding: 0 210px; gap: 75px; }
.welfare-card { width: 450px; height: 300px; background: var(--c-white); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.welfare-card img { width: 100px; opacity: .5; margin-bottom: 20px; }
.welfare-card h3 { font-size: var(--fs-l); color: var(--c-main); }
.welfare-card p { font-size: var(--fs-xs); color: var(--c-text-sub); margin-top: 6px; }
.job { border: 1px solid var(--c-line); padding: 32px 56px; max-width: 900px; margin-inline: auto; }
.job__name { text-align: center; color: var(--c-text-sub); }
.job h3 { font-size: var(--fs-m); font-weight: 400; border-bottom: 1px solid var(--c-text-sub); margin: 24px 0 8px; }
.job p { font-size: var(--fs-s); line-height: 1.9; white-space: pre-line; }
.entry-cloud { position: relative; max-width: 700px; height: 280px; margin: 0 auto var(--gap-l); font-size: var(--fs-l); color: var(--c-text-sub); }
.entry-cloud span { position: absolute; transform: translate(-50%, -50%); text-align: center; line-height: 1.5; white-space: nowrap; }
.entry-cloud__center { font-weight: 600; color: var(--c-main); }

/* ---------- 出てくるときの動き ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 携帯の見え方 ---------- */
@media (max-width: 767px) {
  :root { --header-h: 64px; --gap-xl: 72px; --gap-l: 40px; --fs-2xl: 26px; --fs-xl: 22px; --fs-3xl: 32px; }
  .u-sp { display: inline; }
  .site-header__logo img { width: 200px; }
  .site-nav, .site-header__btns .btn-tel { display: none; }
  .btn-contact { height: 40px; padding: 0 10px; font-size: 0; }
  .fv__copy--main { flex-direction: column; gap: 0; font-size: 22px; padding: 12px 20px; }
  .fv__copy--sub { font-size: 15px; padding: 14px 20px; }
  .page-hero { height: 160px; }
  .page-hero__img { width: 30%; }
  .biz-switch__inner, .top-company, .top-news, .news-row, .greeting, .overview, .r-about, .r-features, .numbers, .schedule, .three-biz { grid-template-columns: 1fr; }
  .biz-switch__wheel-area { height: 300px; }
  .wheel { width: 220px; height: 220px; transform: translate(-50%, -50%) scale(.75); }
  .biz-switch__panel { min-height: 300px; }
  .boat-cards, .card-grid, .sitemap { grid-template-columns: 1fr 1fr; gap: 20px; }
  .boat-card:nth-child(2) { transform: none; }
  .top-recruit { grid-template-columns: 1fr; height: auto; padding: 32px 24px; border-radius: 20px; }
  .film { height: 320px; margin: 0; }
  .news-row img { width: 100%; }
  .greeting__box { width: 100%; }
  .photo-row { flex-wrap: wrap; }
  .photo-row img { width: calc(50% - 12px); }
  .table th { width: 90px; }
  .greeting__catch { white-space: normal; }
  .feature, .work { display: block; }
  .feature__body, .work__body { margin-top: 16px; padding: 0; }
  .work__text { padding: 0; }
  .form-box { padding: 24px; }
  .r-features__left { position: static; }
  .timeline li { grid-template-columns: 100px 1fr; }
  .timeline img { width: 100px; height: 100px; }
  .timeline li::before { left: 49px; top: 50px; }
  .slider__track { padding: 0 24px; }
  .slider__track img { width: 280px; }
  .welfare .slider__track { padding: 0 24px; gap: 20px; }
  .welfare-card { width: 280px; height: 220px; }
  .interview { padding: 16px; }
  .interview__body { grid-template-columns: 1fr; }
  .vertical { writing-mode: horizontal-tb; }
  .interview__en { writing-mode: horizontal-tb; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .downloads { flex-direction: column; gap: 16px; align-items: center; }
  .entry-cloud { height: 340px; font-size: var(--fs-s); }
}
