@charset "UTF-8";
/* plan.md カラー方針（init.css のデフォルトを上書き） */
:root {
  --color-primary: #006FBC;
  /* 14%混色相当の明るさ + 彩度を上げた水色 */
  --color-primary-light: hsl(203, 58%, 96.5%);
  --color-secondary: #004880;
  --color-accent: #0EA5E9;
}

/* カスタムカーソル（JS追従・デスクトップのみ）
   ※ OS標準ポインタは残す（cursor: none にしない） */
.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform, opacity;
  transition: opacity 0.15s ease;
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor__float {
  display: block;
  margin: 8px 0 0 4px; /* ポインタ基準から右4px・下8px */
  animation: site-cursor-float 4s ease-in-out infinite;
}

.site-cursor img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

@keyframes site-cursor-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (hover: none), (pointer: coarse) {
  .site-cursor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cursor__float {
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
   ヘッダー（ナビ項目数が多い案件）
--------------------------------------------------------------------------- */
.header--aikawa > .container {
  height: 100%;
}

.header--aikawa .header__inner {
  align-items: center;
}

.header--aikawa .header__logo {
  align-self: center;
}

/* ロゴサイズ：SP指定（スペーシングスケール外） */
.header--aikawa .header__logo img {
  width: 280px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

@media screen and (min-width: 1080px) {
  .header--aikawa .header__logo img {
    width: auto;
    height: 2rem;
  }
}
.header--aikawa .header__nav {
  align-self: center;
  align-items: center;
}

.header--aikawa .header__nav-list {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.header--aikawa .header__nav-item {
  display: flex;
  align-items: center;
}

.header--aikawa .header__nav-item a {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.header--aikawa .header__nav-item--dropdown {
  position: relative;
}

.header--aikawa .header__nav-link {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.header--aikawa .header__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  z-index: calc(var(--z-header, 100) + 5);
  min-width: 12.5rem;
  padding: 0.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-black) 12%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.25rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.header--aikawa .header__nav-item--dropdown:hover .header__dropdown,
.header--aikawa .header__nav-item--dropdown:focus-within .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header--aikawa .header__dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header--aikawa .header__dropdown-list a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header--aikawa .header__dropdown-list a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  opacity: 1;
}

.header--aikawa .header__dropdown-list a[aria-current=page] {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.drawer__nav-item--dropdown .drawer__dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer__dropdown-list a {
  display: block;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.drawer__dropdown-list a[aria-current=page] {
  color: var(--color-primary);
}

@media screen and (min-width: 768px) {
  .header--aikawa .header__nav-list {
    gap: 1.25rem;
  }
  .header--aikawa .header__nav-item a {
    font-size: 0.8125rem;
  }
}
/* ---------------------------------------------------------------------------
   ヒーロー（オーバーレイ無し・中央の半透明プライマリーボックス）
--------------------------------------------------------------------------- */
.hero--aikawa .hero__content {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .hero--aikawa .hero__content {
    padding-top: 6rem;
  }
}
.hero--aikawa .hero__catch-box {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-primary) 65%, transparent);
}

@media screen and (min-width: 768px) {
  .hero--aikawa .hero__catch-box {
    padding: 2rem 3rem;
  }
}
.hero--aikawa .hero__catch {
  margin-bottom: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.36);
}

/* ---------------------------------------------------------------------------
   プロモカード（COMPANY / RECRUIT）
--------------------------------------------------------------------------- */
.top-promo__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  .top-promo__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }
  .top-promo__grid > .top-promo__card:nth-child(1) {
    border-radius: 8px 0 0 8px !important;
  }
  .top-promo__grid > .top-promo__card:nth-child(2) {
    border-radius: 0 8px 8px 0 !important;
  }
}
.top-promo__card {
  position: relative;
  display: flex;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--color-gray-dark);
}

.top-promo__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  will-change: transform;
}

.top-promo__card:hover::after {
  transform: scale(1.06);
}

.top-promo__card--company::after {
  background-image: url("../images/card-company.jpg");
}

.top-promo__card--recruit::after {
  background-image: url("../images/card-recruit.jpg");
}

.top-promo__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-dark) 37%, transparent) 0%, color-mix(in srgb, var(--color-primary) 85%, transparent) 100%);
}

.top-promo__card--recruit::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 30%, transparent) 0%, var(--color-primary) 100%);
}

.top-promo__card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 2rem 1rem 4rem;
  text-align: center;
}

.top-promo__rule {
  width: 4rem;
  height: 4px;
  background-color: var(--color-white);
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   事業セクション（プライマリー背景）
--------------------------------------------------------------------------- */
#service.section--primary {
  position: relative;
  isolation: isolate;
  background-color: var(--color-primary);
  background-image: url("../images/company-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#service.section--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
  z-index: var(--z-base);
  pointer-events: none;
}

#service.section--primary > .container {
  position: relative;
  z-index: var(--z-base);
}

/* ---------------------------------------------------------------------------
   事業セクション内タブ（プライマリー上のボタン風）
--------------------------------------------------------------------------- */
.tab--service {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.tab--service .tab__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: none;
}

.tab--service .tab__btn {
  margin-bottom: 0;
  min-height: 2.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--color-white) 95%, transparent);
  background-color: color-mix(in srgb, var(--color-white) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-white) 30%, transparent);
  border-radius: 4px;
  border-bottom: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab--service .tab__btn:not(.is-active) {
  border-width: 1px;
  border-color: #fff;
  border-bottom: 1px solid #fff;
}

.tab--service .tab__btn:hover {
  color: var(--color-white);
  background-color: color-mix(in srgb, var(--color-white) 28%, transparent);
  opacity: 1;
}

.tab--service .tab__btn.is-active {
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-white);
  border-color: var(--color-white);
}

.tab--service .tab__content {
  padding-top: 0;
}

.service-panel__card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-black) 8%, transparent);
}

@media screen and (min-width: 768px) {
  .service-panel__card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
/* 画像高さ：Figma指定（スペーシングスケール外） */
.service-panel__visual img {
  width: 100%;
  height: 320px;
  min-height: 320px;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .service-panel__visual img {
    height: 400px;
    min-height: 400px;
  }
}
.service-panel__body {
  padding: 1.5rem 2rem 2rem;
  color: var(--color-text);
}

@media screen and (min-width: 768px) {
  #service .service-panel__body {
    padding: calc(1.5rem + 40px) calc(2rem + 24px) calc(2rem + 40px);
  }
}
.service-panel__link {
  transition: opacity 0.2s ease;
}

.service-panel__link:hover {
  opacity: 0.75;
}

.section--primary .service-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.section--primary .btn--outline-on-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  background-color: var(--color-white);
  border-radius: 4px;
  border: 1px solid var(--color-white);
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.section--primary .btn--outline-on-primary:hover {
  opacity: 0.9;
}

/* ---------------------------------------------------------------------------
   防災機器・メンテナンス（グリッド）
--------------------------------------------------------------------------- */
.sales-lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.sales-lead--serif {
  font-family: "Noto Serif JP", serif;
  font-size: 1.125rem;
  font-weight: 500;
}

.sales-lead--shadow {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.36);
}

.sales-lead--hero-bold {
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .sales-lead--serif {
    font-size: 1.25rem;
    max-width: 45rem;
  }
}
.sales-grid-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.sales-grid-top__cell {
  flex: 0 0 auto;
  width: 15rem;
  max-width: 100%;
  height: 15rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-primary);
}

.sales-grid-top__cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sales-grid-bottom {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  .sales-grid-bottom {
    grid-template-columns: 1fr 1fr;
  }
}
.sales-grid-bottom__cell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: 1fr/1fr;
  align-items: center;
  justify-items: center;
  height: 16rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-primary);
  text-decoration: none;
  color: var(--color-white);
}

.sales-grid-bottom__cell:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.sales-grid-bottom__visual {
  grid-area: 1/1;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.sales-grid-bottom__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  will-change: transform;
}

.sales-grid-bottom__cell:hover .sales-grid-bottom__visual img {
  transform: scale(1.06);
}

.sales-grid-bottom__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-black) 60%, transparent);
  z-index: var(--z-base);
  pointer-events: none;
}

.sales-grid-bottom__content {
  grid-area: 1/1;
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  padding: 1rem;
}

.sales-grid-bottom__rule {
  display: block;
  width: 4rem;
  height: 4px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-white);
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   保有船舶一覧
--------------------------------------------------------------------------- */
.ships-hero {
  /* 上下各 +40px（合計 +80px）— スペーシングスケール外 */
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  text-align: left;
  color: var(--color-white);
  background-color: var(--color-black);
  background-image: url("../images/ships-bg.jpg");
  background-size: cover;
  background-position: center;
}

.ships-hero__rule {
  width: 4rem;
  height: 4px;
  background-color: var(--color-white);
  border-radius: 4px;
}

.ships-hero__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---------------------------------------------------------------------------
   ロゴ帯
--------------------------------------------------------------------------- */
.brand-strip {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 0;
}

.brand-strip a {
  display: inline-flex;
  max-width: 80%;
}

.brand-strip img {
  width: auto;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .brand-strip img {
    height: 3rem;
  }
}
/* ---------------------------------------------------------------------------
   フッター（プライマリー地）
--------------------------------------------------------------------------- */
.footer--brand {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.footer--brand .footer__nav-heading {
  color: var(--color-white);
}

.footer--brand .footer__nav-item a {
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
}

.footer--brand .footer__nav-item a:hover {
  color: var(--color-white);
}

.footer--brand .footer__bottom {
  border-top-color: color-mix(in srgb, var(--color-white) 20%, transparent);
}

.footer--brand .footer__copyright {
  color: color-mix(in srgb, var(--color-white) 70%, transparent);
}

.footer--brand .footer__inner {
  display: block;
}

.footer--brand .footer__nav {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  .footer--brand .footer__nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
/* =============================================================================
   下層ページ（§10-3 design-regulation-v1.0）
   ============================================================================= */
.header--aikawa .header__nav-item a[aria-current=page] {
  color: var(--color-primary);
  font-weight: 500;
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   ページヒーロー
--------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  height: 15rem;
  max-height: 15rem;
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .page-hero {
    height: 22.5rem;
    max-height: 22.5rem;
  }
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .page-hero__bg img {
    height: 100%;
  }
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  background-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 15rem;
  padding: 2rem 1rem;
  text-align: center;
  gap: 0.75rem;
}

@media screen and (min-width: 768px) {
  .page-hero__content {
    height: 22.5rem;
  }
}
/* 下層ページの hero 高さを統一（!important なし） */
.page-main > .page-hero,
.page-main > .page-hero .page-hero__bg img,
.page-main > .page-hero .page-hero__content {
  height: 15rem;
}

@media screen and (min-width: 768px) {
  .page-main > .page-hero,
  .page-main > .page-hero .page-hero__bg img,
  .page-main > .page-hero .page-hero__content {
    height: 22.5rem;
  }
}
.page-hero__label {
  color: color-mix(in srgb, var(--color-white) 90%, transparent);
}

.page-hero__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}

@media screen and (min-width: 768px) {
  .page-hero__title {
    font-size: 2rem;
  }
}
.page-hero__rule {
  width: 4rem;
  height: 4px;
  border-radius: 4px;
  background-color: var(--color-white);
}

/* ---------------------------------------------------------------------------
   タブ + お問い合わせブロック
--------------------------------------------------------------------------- */
.tab-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .tab-content-block {
    gap: 5rem;
  }
}
.tab-content-block > .tab {
  width: 100%;
  max-width: 72rem;
}

.tab-content-block > .contact-banner {
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  .tab-content-block > .contact-banner {
    margin-top: 3rem;
  }
}
.tab--box .tab__nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: none;
}

.tab--box .tab__btn {
  min-height: 2.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .tab--service .tab__btn,
  .tab--box .tab__btn {
    min-height: 3rem;
    padding: 0.95rem 1.75rem;
    font-size: 1.0625rem;
  }
}
/* ---------------------------------------------------------------------------
   下層詳細（アートボード3.svg 基準・カードなし）
--------------------------------------------------------------------------- */
.subpage-detail {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.subpage-breadcrumb-bar {
  width: 100%;
  padding-top: 1rem;
  background-color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .subpage-breadcrumb-bar {
    padding-top: 1.25rem;
  }
}
.subpage-breadcrumb {
  margin: 0;
}

.subpage-breadcrumb a:hover {
  opacity: 0.75;
}

.subpage-title-bar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(to right, #006fbc, #0092e0);
}

.subpage-title-bar__text {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .subpage-title-bar__text {
    font-size: 1.5rem;
  }
}
.subpage-figure {
  margin: 0;
  width: 100%;
}

.subpage-figure img {
  width: 100%;
  height: 22.5rem;
  min-height: 22.5rem;
  object-fit: contain;
  object-position: center;
  background-color: var(--color-gray-light);
}

.subpage-figure--organization img {
  width: 100%;
  height: auto;
  min-height: 0;
  margin-inline: auto;
  display: block;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .subpage-figure img {
    height: 30rem;
    min-height: 30rem;
  }
  .subpage-figure--organization img {
    width: 90%;
    height: auto;
    min-height: 0;
  }
}
.subpage-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.subpage-section__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.subpage-section__marker {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.subpage-section__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

.subpage-section__body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.subpage-section__body:last-child {
  margin-bottom: 0;
}

.subpage-section__body.subpage-section__body--tab-footer:last-child {
  margin-bottom: 2.5rem;
}

.subpage-section__body p {
  margin: 0;
}

/* 本文内の強調（h2 見出しより一段小さい黒太字） */
.subpage-emphasis {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
}

.subpage-emphasis--name {
  font-size: 1.0625rem;
}

.equipment-photo-credit {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.equipment-photo-credit p {
  margin: 0;
}

.equipment-photo-credit p + p {
  margin-top: 0.25rem;
}

.tab-content-block > .subpage-detail {
  width: 100%;
  max-width: 72rem;
}

/* 会社情報 — 枠名・内容の2列表 */
.company-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.company-spec-table th,
.company-spec-table td {
  padding: 0.875rem 1rem;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  text-align: left;
}

.company-spec-table th {
  border-left: 1px solid var(--color-primary);
}

.company-spec-table tbody tr:first-child th,
.company-spec-table tbody tr:first-child td {
  border-top: 1px solid var(--color-primary);
}

/* 四隅のセルだけ丸く（overflow: hidden 不要） */
.company-spec-table tbody tr:first-child > th:first-child {
  border-top-left-radius: 4px;
}

.company-spec-table tbody tr:first-child > td:last-child {
  border-top-right-radius: 4px;
}

.company-spec-table tbody tr:last-child > th:first-child {
  border-bottom-left-radius: 4px;
}

.company-spec-table tbody tr:last-child > td:last-child {
  border-bottom-right-radius: 4px;
}

.company-spec-table th {
  width: 28%;
  min-width: 7.5rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  text-align: center;
  vertical-align: middle;
}

.company-spec-table td {
  color: var(--color-text);
  background-color: var(--color-white);
}

.company-spec-table__lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-spec-table--ships td {
  padding: 0;
}

.company-spec-table__lines li {
  padding: 0.75rem 1rem;
  border-bottom: 1px dashed var(--color-primary);
}

.company-spec-table__lines li:last-child {
  border-bottom: none;
}

.company-spec-table__lines--plain li {
  padding: 0;
  border-bottom: none;
}

.company-spec-table__lines--plain li + li {
  margin-top: 0.5rem;
}

.company-spec-table__intro {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed var(--color-primary);
}

@media screen and (min-width: 768px) {
  .company-spec-table th {
    width: 22%;
    padding: 1rem 1.25rem;
  }
  .company-spec-table td {
    padding: 1rem 1.25rem;
  }
  .company-spec-table--ships td {
    padding: 0;
  }
  .company-spec-table__lines li {
    padding: 1rem 1.25rem;
  }
}
.company-page .subpage-detail + .subpage-detail {
  margin-top: 0;
}

.company-page .subpage-sections {
  gap: 1.5rem;
}

.company-greeting__signature {
  margin: 0;
  text-align: right;
}

.company-greeting__slogan {
  margin: 0;
  text-align: center;
}

.company-greeting__history-title {
  margin: 2.5rem 0 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .company-greeting {
    max-width: 72%;
    width: 100%;
    margin-inline: auto;
  }
}
.company-page .company-subhead {
  margin: 0.75rem 0 0.375rem;
}

.company-page .company-spec-table + .company-subhead {
  margin-top: 2.5rem;
}

.company-page .company-subhead + .company-spec-table {
  margin-top: 0;
}

.company-page .company-spec-table a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* 沿革ページ — Figma「年表」タイムライン */
.company-history-page .tab-content-block {
  max-width: 54rem;
}

.company-history-timeline {
  position: relative;
  padding: 48px 0 48px 2rem;
}

.company-history-timeline__line {
  position: absolute;
  left: 0.4375rem;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background-color: var(--color-primary);
}
.company-history-timeline__line::before, .company-history-timeline__line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 48px;
  background-color: transparent;
  background-image: repeating-linear-gradient(to bottom, var(--color-primary) 0, var(--color-primary) 4px, transparent 4px, transparent 7px);
}
.company-history-timeline__line::before {
  bottom: 100%;
}
.company-history-timeline__line::after {
  top: 100%;
}

.company-history-timeline--showa {
  padding-top: 0;
}

.company-history-timeline--showa .company-history-timeline__line {
  top: 48px;
}
@media screen and (min-width: 768px) {
  .company-history-timeline--showa .company-history-timeline__line {
    top: 88px;
  }
}
.company-history-timeline--showa .company-history-timeline__line::before {
  display: none;
}

.company-history-year + .company-history-year {
  padding-top: calc(3rem + 16px);
}

.company-history-year__head {
  position: relative;
  margin-left: -2rem;
  padding: 0 0 8px 2rem;
  border-bottom: none;
}
.company-history-year__head::before {
  content: "";
  position: absolute;
  left: calc(0.4375rem + 1px - 8px);
  bottom: -7px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  background-color: var(--color-white);
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 1;
}
.company-history-year__head::after {
  content: "";
  position: absolute;
  left: calc(0.4375rem + 2px);
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--color-primary);
}

.company-history-year__title {
  display: flex;
  align-items: flex-end;
  gap: 0.5em;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
}

.company-history-year__year {
  position: relative;
  top: 4px;
  font-size: 1.5rem;
  font-weight: 400;
}

.company-history-year__era {
  font-size: 1.0625rem;
  font-weight: 700;
}

.company-history-year__entries {
  padding-top: 1.5rem;
}

.company-history-entry {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.company-history-entry + .company-history-entry {
  margin-top: 1.5rem;
}

.company-history-entry__month {
  flex-shrink: 0;
  min-width: 2.875rem;
  padding: 0.1875rem 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  border-radius: 2px;
}

.company-history-entry__text {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.company-history-entry--no-month .company-history-entry__text {
  padding-top: 0.125rem;
}

@media screen and (min-width: 768px) {
  .company-history-timeline {
    padding: 48px 0 48px 2rem;
  }
  .company-history-year__head {
    margin-left: -2rem;
    padding-left: 2rem;
  }
}
.company-guidelines {
  gap: 0;
}

.company-guideline-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.company-guideline-item + .company-guideline-item {
  margin-top: 1.25rem;
}

.company-guideline-item p {
  margin: 0;
}

.education-page .subpage-sections {
  gap: 1.5rem;
}

.education-block {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.education-block + .education-block {
  margin-top: 1.25rem;
}

.education-block p {
  margin: 0;
}

/* ---------------------------------------------------------------------------
   採用情報ページ
--------------------------------------------------------------------------- */
.recruit-page .subpage-sections {
  gap: 2rem;
}

.recruit-requirements-page .subpage-sections {
  gap: 1.5rem;
}

.recruit-requirements-page .company-spec-table + .company-subhead {
  margin-top: 2.5rem;
}

.recruit-requirements-page .company-subhead {
  margin: 0.75rem 0 0.375rem;
}

.recruit-requirements-page .company-subhead + .company-spec-table {
  margin-top: 0;
}

.subpage-map {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.subpage-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.subpage-section--dashed {
  padding: 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
}

.subpage-section--border-primary {
  padding: 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
}

.recruit-page__intro {
  gap: 1.25rem;
}

.recruit-circle-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-circle-list li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.recruit-circle-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.55em + 4px);
  width: 0.625rem;
  height: 0.625rem;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background-color: var(--color-white);
  transform: translateY(-50%);
}

/* 採用ページ — 画像タブ + 外枠カード（下層 tab-content-block 準拠） */
.tab--recruit {
  --color-recruit-land: #b52d26;
}

.recruit-tabs-card {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-white);
  overflow: hidden;
}

.tab--recruit .recruit-tabs-card__nav {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: none;
}

.tab--recruit .tab__btn.recruit-tab-card {
  margin-bottom: 0;
  font-weight: 500;
}

.tab--recruit .tab__btn.recruit-tab-card {
  color: var(--color-text-muted);
}

.tab--recruit .tab__btn.recruit-tab-card.is-active {
  color: var(--color-white);
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .tab--recruit .recruit-tabs-card__nav {
    gap: 1rem;
  }
}
.recruit-tab-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 0;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-white);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

@media screen and (min-width: 768px) {
  .recruit-tab-card {
    gap: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}
.recruit-tab-card:hover:not(.is-active) {
  background-color: var(--color-gray-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.recruit-tab-card.is-active,
.recruit-tab-card.is-active:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.tab--recruit #tab-recruit-1.recruit-tab-card:hover:not(.is-active) {
  border-color: var(--color-recruit-land);
  color: var(--color-recruit-land);
}

.tab--recruit #tab-recruit-1.recruit-tab-card.is-active,
.tab--recruit #tab-recruit-1.recruit-tab-card.is-active:hover {
  background-color: var(--color-recruit-land);
  border-color: var(--color-recruit-land);
  color: var(--color-white);
}

.tab--recruit #tab-recruit-1.recruit-tab-card:focus-visible {
  outline-color: var(--color-recruit-land);
}

.tab--recruit #panel-recruit-1 .subpage-title-bar {
  background: linear-gradient(to right, #BB2D26, #ee5236);
}

.tab--recruit #panel-recruit-1 .subpage-title-bar__text {
  color: var(--color-white);
}

.recruit-tab-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.recruit-tab-card__media {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

@media screen and (min-width: 768px) {
  .recruit-tab-card__media {
    border-radius: 8px;
  }
}
.recruit-tab-card__media img {
  display: block;
  width: 100%;
  height: 4.5rem;
  object-fit: cover;
  object-position: center;
}

@media screen and (min-width: 768px) {
  .recruit-tab-card__media img {
    height: auto;
    aspect-ratio: 397/223;
  }
}
.recruit-tab-card__label {
  display: block;
  font-size: inherit;
  line-height: inherit;
}

.tab--recruit .recruit-tabs-card__content {
  margin-top: 0;
  padding: calc(1.5rem + 24px) calc(0.5rem + 24px);
  border: none;
  border-radius: 0;
  background-color: var(--color-white);
}

.tab--recruit .recruit-tabs-card__content .subpage-detail {
  gap: 2.5rem;
}

.tab--recruit .recruit-tabs-card__content .subpage-sections {
  gap: 3rem;
}

.recruit-page__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.recruit-page__cta {
  margin: 0;
  text-align: center;
}

.recruit-page__forms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
}

.btn--recruit-form {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  min-height: 3rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn--recruit-form:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn--recruit-form:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--recruit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  min-height: 3rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF2E93 0%, #FF4DA6 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn--recruit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* 画像横2枚 */
.subpage-media-row-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .subpage-media-row-2 {
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 画像横3枚（グリッド） */
.subpage-media-grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .subpage-media-grid-3 {
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.subpage-media__cell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.subpage-media__img {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--color-border);
  background-color: var(--color-gray-light);
}

.subpage-media-row-2 .subpage-media__img {
  aspect-ratio: 4/3;
}

.subpage-media-grid-3 .subpage-media__img {
  aspect-ratio: 1/1;
}

.subpage-media__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.subpage-media__caption {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------------
   お問い合わせページ
--------------------------------------------------------------------------- */
.contact-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media screen and (min-width: 768px) {
  .contact-page {
    gap: 4rem;
  }
  #contact-mail .subpage-sections {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }
}
.contact-page .subpage-detail + .subpage-detail {
  margin-top: 0;
}

.contact-page .subpage-sections {
  gap: 1.5rem;
}

.contact-phone__number {
  margin: 0;
  text-align: center;
}

.contact-phone__link {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.contact-phone__label {
  font-weight: 400;
}

.contact-phone__link:hover {
  opacity: 0.75;
}

@media screen and (min-width: 768px) {
  .contact-phone__link {
    font-size: 2.25rem;
  }
}
.contact-page .form__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.contact-form__divider {
  margin: 1.25rem 0 1.75rem;
  border: none;
  border-top: 1px dashed var(--color-border);
}

.contact-form .form__field--center .form__label {
  text-align: center;
}

.contact-form .form__field--center .wpcf7-form-control-wrap {
  display: flex;
  justify-content: center;
}

.contact-form .form__field--center .form__checkbox-group--inline {
  justify-content: center;
}

.contact-form .form__field--center .form__error {
  justify-content: center;
  text-align: center;
}

.contact-form .form__checkbox-label .form__required {
  margin-left: 0.375rem;
}

.contact-form .form__checkbox-label a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form .form__checkbox-group--inline {
  gap: 1rem 1.5rem;
}

.contact-form .form__checkbox-group.is-error .form__checkbox input[type=checkbox] {
  border-color: var(--color-error, #dc2626);
}

.contact-form .form__checkbox input[type=checkbox] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-white);
  flex-shrink: 0;
  cursor: pointer;
}

.contact-form .form__checkbox input[type=checkbox]:checked {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5 5 9 9.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.75rem 0.75rem;
}

.contact-form .form__checkbox input[type=checkbox]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* CF7 連携 */
.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form .wpcf7-not-valid-tip.form__error {
  display: none;
  margin-top: 0.375rem;
}

.contact-form .wpcf7-not-valid-tip.form__error[aria-hidden=false],
.contact-form .form__input.is-error ~ .wpcf7-not-valid-tip,
.contact-form .form__select.is-error ~ .wpcf7-not-valid-tip,
.contact-form .form__textarea.is-error ~ .wpcf7-not-valid-tip,
.contact-form .form__field:has(.is-error) .wpcf7-not-valid-tip {
  display: flex;
}

.contact-form__response.wpcf7-response-output {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  border-radius: 4px;
}

.contact-form__response.wpcf7-mail-sent-ok {
  display: block;
  color: var(--color-text);
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.contact-form__response.wpcf7-validation-errors,
.contact-form__response.wpcf7-mail-sent-ng {
  display: block;
  color: var(--color-text);
  background-color: #fef2f2;
  border: 1px solid #fecaca;
}

.contact-form input.wpcf7-submit {
  width: auto;
  cursor: pointer;
}

/* ---------------------------------------------------------------------------
   個人情報保護方針モーダル
--------------------------------------------------------------------------- */
body.privacy-modal-open {
  overflow: hidden;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.privacy-modal.is-open {
  display: flex;
}

.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-black) 55%, transparent);
  cursor: pointer;
}

.privacy-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: calc(40rem + 80px);
  max-height: calc(100vh - 3rem);
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--color-black) 20%, transparent);
  overflow: hidden;
  gap: 8px;
}

.privacy-modal__header {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 0.75rem 0;
}

.privacy-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.privacy-modal__close:hover {
  color: var(--color-text);
  background-color: var(--color-bg-subtle, #f3f4f6);
  opacity: 1;
}

.privacy-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.privacy-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1.5rem 1.5rem;
  scrollbar-gutter: stable;
}

@media screen and (min-width: 768px) {
  .privacy-modal__body {
    padding: 0 2rem 2rem;
  }
}
.privacy-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.privacy-modal__company {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
}

.privacy-modal__section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.privacy-modal__section-title:first-of-type {
  margin-top: 0;
}

.privacy-modal__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.8;
}

.privacy-modal__list {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.privacy-modal__list li {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.8;
}

.privacy-modal__enacted {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  text-align: right;
}

/* ---------------------------------------------------------------------------
   お問い合わせバナー
--------------------------------------------------------------------------- */
.contact-banner {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  width: 100%;
  max-width: 72rem;
  min-height: 7.5rem;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.contact-banner:hover {
  opacity: 0.92;
}

.contact-banner:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

@media screen and (min-width: 768px) {
  .contact-banner {
    min-height: 10rem;
  }
}
.contact-banner__visual {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
}

.contact-banner__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 90%, transparent), color-mix(in srgb, var(--color-secondary) 90%, transparent));
  pointer-events: none;
}

.contact-banner__inner {
  position: relative;
  z-index: var(--z-base);
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .contact-banner__inner {
    padding: 0 3rem;
  }
}
.contact-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-banner__label {
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
}

.contact-banner__title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}

@media screen and (min-width: 768px) {
  .contact-banner__title {
    font-size: 1.75rem;
  }
}
.contact-banner__arrow {
  flex-shrink: 0;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .contact-banner__arrow {
    font-size: 2.25rem;
  }
}
/* 船舶紹介：船ごとのテキスト4・画像6 */
.ship-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  min-width: 0;
}

.ship-entry {
  width: 100%;
  min-width: 0;
}

.ship-entry__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  min-width: 0;
  margin-top: 1.5rem;
}

@media screen and (min-width: 768px) {
  .ship-entry__split {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}
.ship-entry__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.ship-specs {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
}

.ship-specs p {
  margin: 0;
}

.ship-entry__video {
  margin: 0;
}
.ship-entry__video .btn--pending {
  background-color: var(--color-gray);
  border: 2px solid var(--color-gray);
  color: var(--color-white);
  cursor: not-allowed;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ship-entry__video .btn--pending:hover {
  background-color: var(--color-gray);
  border-color: var(--color-gray);
  transform: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ship-entry__figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.ship-entry__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  background-color: var(--color-gray-light);
  aspect-ratio: 3/2;
}

@media screen and (min-width: 768px) {
  .ship-entry__figure img {
    min-height: 16rem;
  }
}
