/* =========================
   基本設定
   全要素の box-sizing や、全体の基本文字設定
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #222;
    font-family: "IBM Plex Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: #ffffff;
}

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

iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

button {
    font: inherit;
}

/* =========================
   共通レイアウト
   ラフ案に寄せて本文幅と余白感を調整
========================= */
.site-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header__container {
    width: min(1600px, calc(100% - 40px));
    margin: 0 auto;
}

.section-block {
    padding: 72px 0;
}

.section-block--gray {
    background: #e3e3e3;
}

.section-block--light {
    background: #e9edf8;
}

/* =========================
   補助クラス
   視覚的には隠すが読み上げには残す要素
========================= */
.u-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================
   セクション見出し
   背面の英字装飾は Heebo を使用
   大見出し・小見出しは一回り大きく調整
========================= */
.section-heading {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-heading--left {
    text-align: left;
    margin-bottom: 28px;
}

.section-heading__ornament-text {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Heebo", "IBM Plex Sans JP", sans-serif;
    font-size: clamp(48px, 8vw, 108px);
    font-weight: 300;
    letter-spacing: 0.06em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.section-heading__ornament-text--light {
    color: rgba(255, 255, 255, 0.55);
}

.section-heading__ornament-text--green {
    color: rgba(171, 214, 194, 0.58);
}

.section-heading__ornament-text--pickup {
    left: 44%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.38);
}

.section-heading__kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #666;
}

.section-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.section-title--left {
    text-align: left;
}

.section-title--small {
    font-size: 26px;
    text-align: left;
}

/* =========================
   ボタン共通
========================= */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.button--primary {
    background: #014CB1;
    color: #fff;
}

.button--primary:hover {
    background: #1048a6;
}

.button--outline {
    background: #fff;
    color: #333;
    border-color: #b9b9b9;
    font-size: 16px;
    min-height: 36px;
    padding: 6px 16px;
}

.button--outline:hover {
    background: #f4f4f4;
}

.button--large {
    min-height: 52px;
    padding: 14px 28px;
    font-size: 16px;
}

/* =========================
   ヘッダー
   ラフ案寄りにややコンパクト化
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e2e2e2;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 330px 1fr 160px;
    align-items: center;
    min-height: 92px;
    gap: 24px;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
}

.site-header__brand-logos {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.site-header__brand-logo,
.site-header__anniversary-logo img {
    display: block;
    width: auto;
    height: 46px;
    max-width: none;
}

.site-header__anniversary-logo {
    display: block;
}

.site-header__cta {
    display: flex;
    justify-content: flex-end;
}

.site-header__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 52px;
    background: #014CB1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.site-header__cta-button:hover {
    background: #0a46ad;
}

.site-header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-header__menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: #222;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header__menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   グローバルナビ
========================= */
.global-nav {
    display: flex;
    justify-content: center;
}

.global-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex-wrap: nowrap;
}

.global-nav__link {
    display: inline-block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.global-nav__link:hover {
    color: #1558c8;
}

/* =========================
   メインビジュアル
   元画像サイズ以上には拡大しない
========================= */
/* .hero-visual {
    position: relative;
    overflow: hidden;
    background: #ebeff6;
} */

.hero-visual__image {
    width: min(100%, 1600px);
    margin: 0 auto;
}

.hero-visual__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.skitter {
    width: 100%;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1440 / 601;
}

.skitter .box_clone img {
    max-width: none;
    height: auto;
}
.skitter .box_clone a {
    cursor: default;
}

/* =========================
   Intro Message 「導入メッセージ」のコラム
   メインビジュアル下の強み訴求と対応内容
========================= */
.intro-message {
    padding: 44px 0 28px;
    background: #e3e3e3;
}

.intro-message__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 26px;
}

.intro-message__line {
    flex: 1 1 auto;
    max-width: 340px;
    height: 2px;
    background: #57b7df;
}

.intro-message__title {
    margin: 0;
    color: #22a8df;
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.intro-message__body {
    text-align: center;
}

.intro-message__lead {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.5;
}

.intro-message__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 34px;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-message__list li {
    position: relative;
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 700;
    line-height: 1.7;
}

.intro-message__list li::before {
    content: "●";
    margin-right: 0.25em;
}

/* =========================
   News 「インフォメーション」のコラム
   ラフ案寄りに左見出し＋右一覧で再配置
========================= */
.news-section {
    padding: 24px 0 56px;
    background: #e3e3e3;
}

.news-section__rule {
    width: 100%;
    height: 2px;
    margin-bottom: 36px;
    background: #bfbfbf;
}

.news-section__inner {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: center;
}

.news-section__heading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-section__title {
    color: #22a8df;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    text-align: center;
}

.news-list {
    border-top: 0;
}

.news-list__item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 26px;
    padding: 12px 0;
    border-bottom: 0;
    align-items: center;
}

.news-list__date,
.news-list__link {
    font-size: clamp(14px, 1.55vw, 16px);
    font-weight: 300;
    line-height: 1.6;
}

.news-list__date {
    color: #222;
}

.news-list__link {
    color: #222;
}

.news-list__link:hover {
    color: #1558c8;
}

/* =========================
   Products 「製品紹介」のコラム
   ラフ案寄りにカードサイズと余白を調整
========================= */
.product-card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
}

.product-card {
    width: calc((100% - 36px) / 3);
    max-width: 390px;
    min-width: 300px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.product-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card__body {
    padding: 14px 14px 16px;
    text-align: center;
}

.product-card__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.55;
}

/* =========================
   Pickup 「ピックアップ製品」のコラム
   元原稿のレイアウトを活かした精密フレーム紹介
========================= */
.pickup-section {
    position: relative;
    overflow: hidden;
    background: #eeeeee;
}

.pickup-heading {
    position: relative;
    z-index: 1;
}

/* 上部の大きな PICK UP 文字は元原稿の雰囲気を残す */
.pickup-heading .section-heading__ornament-text--pickup {
    color: rgba(255, 255, 255, 0.9);
}

.pickup-showcase {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.55fr);
    max-width: 1180px;
    margin: 0 auto;
    background: #d8d8d8;
}

/* ---------------------------------
   左側：青パネル
--------------------------------- */
.pickup-showcase__left {
    display: grid;
    grid-template-rows: minmax(430px, 1fr) auto;
    min-width: 0;
}

.pickup-blue-panel {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 48px 40px 28px;
    background: #5181d7;
    color: #ffffff;
}

.pickup-blue-panel__text {
    position: relative;
    z-index: 2;
}

.pickup-blue-panel__title {
    margin: 0 0 16px;
    font-size: clamp(31px, 3vw, 43px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.pickup-blue-panel__lead {
    margin: 0 0 22px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
}

.pickup-blue-panel__tolerance {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

/* 元原稿の図面画像をそのまま見せる */
.pickup-blue-panel__drawing {
    position: absolute;
    z-index: 1;
    left: 34px;
    right: 34px;
    bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.pickup-blue-panel__drawing img {
    display: block;
    width: min(100%, 610px);
    height: auto;
    opacity: 0.88;
}

/* ---------------------------------
   左下：寸法一覧・お問い合わせ
--------------------------------- */
.pickup-spec-panel {
    padding: 30px 38px 32px;
    background: #e7e7e7;
}

.pickup-spec-panel__list {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: #222222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.pickup-spec-panel__list li {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.pickup-spec-panel__list li span {
    flex: 0 0 auto;
    font-weight: 700;
}

.pickup-contact-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(310px, 100%);
    min-height: 48px;
    padding: 10px 24px;
    overflow: hidden;
    background: #014CB1;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

/* 元原稿の右端が斜めに伸びるボタン形状 */
.pickup-contact-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: -34px;
    width: 68px;
    height: 100%;
    background: #014CB1;
    transform: skewX(32deg);
    transform-origin: top;
}

.pickup-contact-button span {
    position: relative;
    z-index: 1;
}

.pickup-contact-button:hover {
    opacity: 0.86;
}

/* ---------------------------------
   右側：写真モザイク
--------------------------------- */
.pickup-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-width: 0;
    min-height: 720px;
    background: #d8d8d8;
}

.pickup-mosaic__item {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #cccccc;
}

.pickup-mosaic__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pickup-mosaic__item figcaption {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 2;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #222222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.pickup-mosaic__item figcaption span {
    font-weight: 700;
}

/* 元原稿の上下位置を少しずらして、単純な4分割に見せない */
.pickup-mosaic__item--01 {
    grid-column: 1;
    grid-row: 1;
}

.pickup-mosaic__item--02 {
    grid-column: 2;
    grid-row: 1;
}

.pickup-mosaic__item--03 {
    grid-column: 1;
    grid-row: 2;
}

.pickup-mosaic__item--04 {
    grid-column: 2;
    grid-row: 2;
}

@media (hover: hover) and (pointer: fine) {
    .pickup-mosaic__item:hover img {
        transform: scale(1.025);
    }
}

/* タブレット */
@media (max-width: 1100px) {
    .pickup-showcase {
        grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.3fr);
    }

    .pickup-blue-panel {
        padding: 38px 30px 26px;
    }

    .pickup-blue-panel__drawing {
        left: 24px;
        right: 24px;
    }

    .pickup-spec-panel {
        padding: 26px 28px 28px;
    }

    .pickup-spec-panel__list {
        font-size: 14px;
    }

    .pickup-mosaic {
        min-height: 650px;
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    .pickup-showcase {
        grid-template-columns: 1fr;
    }

    .pickup-showcase__left {
        grid-template-rows: auto auto;
    }

    .pickup-blue-panel {
        min-height: 410px;
        padding: 30px 20px 24px;
    }

    .pickup-blue-panel__title {
        font-size: 28px;
    }

    .pickup-blue-panel__lead {
        font-size: 14px;
    }

    .pickup-blue-panel__tolerance {
        font-size: 13px;
    }

    .pickup-blue-panel__drawing {
        left: 16px;
        right: 16px;
        bottom: 12px;
    }

    .pickup-spec-panel {
        padding: 24px 20px 26px;
    }

    .pickup-spec-panel__list {
        gap: 7px;
        font-size: 13px;
    }

    .pickup-contact-button {
        width: calc(100% - 28px);
    }

    .pickup-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(180px, 1fr));
        min-height: 420px;
    }

    .pickup-mosaic__item figcaption {
        left: 8px;
        bottom: 8px;
        padding: 3px 6px;
        font-size: 11px;
    }

    /*改行調整*/
    br.pconly {
        display: none;
    }
}

/* =========================
   Company 「会社情報」のコラム
========================= */
.company-section__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.company-section__logo img {
    width: 180px;
}

.company-section__message {
    margin: 0;
    font-family: "Jost", "IBM Plex Sans JP", sans-serif;
    font-size: clamp(26px, 3vw, 44px);
    font-style: italic;
    font-weight: 700;
    color: #f03131;
    line-height: 1.1;
}

.company-intro {
    margin: 0 0 28px;
}

.company-intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
}

.company-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.company-block-title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    font-size: 28px;
    line-height: 1.3;
    border-bottom: 1px solid #b9c7dc;
}

.company-history {
    width: 100%;
    margin-top: 48px;
}

/* 原稿どおり、左列→右列の時系列で固定配置 */
.history-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px;
    align-items: start;
}

.history-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
}

.company-overview__table th,
.company-overview__table td {
    padding: 10px 10px;
    border-bottom: 1px solid #d6deeb;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.7;
}

.company-overview__table th {
    width: 140px;
    text-align: left;
    font-weight: 700;
}

.company-overview__table a,
.access-card__text a,
.site-footer__company a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}


.history-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: start;
}

.history-entry__date {
    font-weight: 700;
    line-height: 1.5;
    font-size: 16px;
}

.history-entry__date span {
    font-weight: 400;
}

.history-entry__text {
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
}

.company-layout__side img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid #d9dfe8;
}

/* =========================
   Access 「アクセス」のコラム
========================= */
.access-map {
    margin-bottom: 22px;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 1px solid #d9d9d9;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.access-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
}

.access-card__title {
    margin: 0 0 10px;
    font-size: 22px;
}

.access-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

/* =========================
   Contact 「お問い合わせ」のコラム
========================= */
.contact-section {
    padding: 56px 0;
    background: #014CB1;
    color: #fff;
}

.contact-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-section__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.contact-section__text {
    margin: 0;
    font-size: 16px;
}

/* =========================
   Footer 「フッター」のコラム
   ラフ案に合わせた共通フッター
   左：会社情報 / 右：3列ナビ
========================= */
.site-footer {
    padding: 42px 0 34px;
    background: #014CB1;
    color: #ffffff;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(360px, 1.2fr) minmax(560px, 1fr);
    gap: 90px;
    align-items: center;
}

/* -------------------------
   左側：会社情報
------------------------- */
.site-footer__company {
    max-width: 430px;
}

.site-footer__logo,
.site-footer__company img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.site-footer__address,
.site-footer__company p {
    margin: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    color: #ffffff;
}

.site-footer__address a,
.site-footer__company a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer__address a:hover,
.site-footer__company a:hover {
    text-decoration: underline;
}

/* -------------------------
   右側：フッターナビ
------------------------- */
.site-footer__nav {
    display: grid;
    grid-template-columns:
        minmax(110px, 0.85fr)
        minmax(180px, 1.15fr)
        minmax(190px, 1.1fr);
    gap: 46px;
    align-items: start;
}

.site-footer__nav-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__nav-group--last {
    padding-top: 33px;
}

.site-footer__nav-heading {
    display: block;
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #ffffff;
}

.site-footer__nav a {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer__nav a + a {
    margin-top: 2px;
}

.site-footer__nav a:hover {
    text-decoration: underline;
}

/* =========================
   フッター：1400px以下
========================= */
@media (max-width: 1400px) {
    .site-footer__inner {
        grid-template-columns: minmax(320px, 1fr) minmax(520px, 1.1fr);
        gap: 60px;
    }

    .site-footer__logo,
    .site-footer__company img {
        width: 270px;
    }

    .site-footer__nav {
        gap: 32px;
    }

    .site-footer__nav a,
    .site-footer__nav-heading {
        font-size: 14px;
    }
}

/* =========================
   フッター：1023px以下
========================= */
@media (max-width: 1023px) {
    .site-footer {
        padding: 38px 0 32px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
    }

    .site-footer__company {
        max-width: 100%;
    }

    .site-footer__logo,
    .site-footer__company img {
        width: 250px;
    }

    .site-footer__nav {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .site-footer__nav-group--last {
        padding-top: 30px;
    }
}

/* =========================
   フッター：767px以下
========================= */
@media (max-width: 767px) {
    .site-footer {
        padding: 32px 0 28px;
    }

    .site-footer__inner {
        gap: 30px;
    }

    .site-footer__logo,
    .site-footer__company img {
        width: 220px;
        margin-bottom: 14px;
    }

    .site-footer__address,
    .site-footer__company p {
        font-size: 13px;
        line-height: 1.6;
    }

    .site-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 26px 24px;
    }

    .site-footer__nav-group--last {
        padding-top: 0;
    }

    .site-footer__nav-heading,
    .site-footer__nav a {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* =========================
   フッター：480px以下
========================= */
@media (max-width: 480px) {
    .site-footer__nav {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-footer__nav-group--last {
        padding-top: 0;
    }
}


/* =========================
   Page Top 「ページ上部へ戻る」ボタン
========================= */
.page-top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: 64px;
    height: 190px;
    background: #014CB1;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.25s ease;
}

.page-top:hover,
.page-top:focus-visible {
    background: #0a46ad;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top__line {
    display: block;
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.8);
}

.page-top__text {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

/* =========================
   1400px以下
========================= */
@media (max-width: 1400px) {
    .site-header__inner {
        grid-template-columns: 310px 1fr 150px;
        gap: 20px;
    }

    .site-header__brand-logo,
    .site-header__anniversary-logo img {
        height: 44px;
    }

    .global-nav__list {
        gap: 24px;
    }

    .global-nav__link {
        font-size: 14px;
    }
}

/* =========================
   1023px以下
========================= */
@media (max-width: 1023px) {
    .site-header__container {
        width: min(100% - 32px, 1600px);
    }

    .site-header__inner {
        display: flex;
        min-height: 80px;
    }

    .site-header__brand-logo,
    .site-header__anniversary-logo img {
        height: 42px;
    }

    .global-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        background: #ffffff;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .global-nav.is-open {
        display: block;
    }

    .global-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .global-nav__item {
        border-bottom: 1px solid #e6e6e6;
    }

    .global-nav__link {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
    }

    .site-header__cta {
        display: none;
    }

    .site-header__menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .intro-message__heading {
        gap: 14px;
    }

    .intro-message__line {
        max-width: 180px;
    }

    .news-section__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-section__heading {
        justify-content: flex-start;
    }

    .product-card {
        width: calc((100% - 18px) / 2);
        max-width: none;
        min-width: 0;
    }

    .pickup-feature {
        grid-template-columns: 1fr;
        background: linear-gradient(180deg, #5181d7 0%, #5181d7 42%, #d6d6d6 42%, #d6d6d6 100%);
    }

    .company-layout {
        grid-template-columns: 1fr;
    }

    .history-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .history-list {
        gap: 18px;
    }

    .access-grid {
        grid-template-columns: 1fr;
    }

    .contact-section__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   767px以下
========================= */
@media (max-width: 767px) {

    .site-container,
    .site-header__container {
        width: min(100% - 24px, 1280px);
    }

    .section-block {
        padding: 52px 0;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 30px);
    }

    .section-heading__ornament-text {
        top: -12px;
        font-size: clamp(42px, 14vw, 72px);
    }

    .intro-message {
        padding: 32px 0 20px;
    }

    .intro-message__heading {
        gap: 10px;
        margin-bottom: 18px;
    }

    .intro-message__line {
        max-width: 80px;
    }

    .intro-message__title {
        font-size: clamp(24px, 7vw, 34px);
        white-space: normal;
    }

    .intro-message__lead {
        font-size: 18px;
    }

    .intro-message__list {
        gap: 6px 0;
        justify-content: flex-start;
        text-align: left;
    }

    .intro-message__list li {
        width: 100%;
        font-size: 16px;
    }

    .news-section {
        padding: 18px 0 40px;
    }

    .news-section__rule {
        margin-bottom: 24px;
    }

    .news-section__title {
        font-size: 28px;
        text-align: left;
    }

    .news-list__item {
        grid-template-columns: 1fr;
        gap: 4px;
        align-items: start;
    }

    .news-list__date,
    .news-list__link {
        font-size: 16px;
    }

    .product-card {
        width: 100%;
        max-width: 100%;
    }

    .pickup-gallery {
        grid-template-columns: 1fr;
    }

    .pickup-feature {
        padding: 20px;
    }

    .company-section__message {
        font-size: 34px;
        text-align: center;
    }

    .company-overview__table th,
    .company-overview__table td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .company-overview__table th {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .company-overview__table td {
        padding-top: 2px;
    }

    .history-columns {
        gap: 14px;
    }

    .history-entry {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-bottom: 10px;
        border-bottom: 1px solid #d6deeb;
    }

    .access-map iframe {
        height: 260px;
    }

    .access-card {
        padding: 18px;
    }

    .button--large {
        width: 100%;
    }

    .page-top {
        width: 54px;
        height: 150px;
    }

    .page-top__line {
        height: 42px;
    }

    .page-top__text {
        font-size: 16px;
    }
}


/* =========================================================
   equipment.html 専用
   主要設備ページ
========================================================= */

/* =========================
   主要設備ページ共通
========================= */
.container--equipment {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}

.equipment-section {
    background: #ffffff;
    padding: 56px 0 72px;
}

.equipment-section+.equipment-section {
    padding-top: 0;
}

/* =========================
   主要設備 ヒーロー
========================= */
.equipment-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 118px 20px 64px;
    display: flex;
    align-items: flex-start;
}

.equipment-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.equipment-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) brightness(0.92);
}

.equipment-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom, rgba(231, 229, 188, 0.55), rgba(225, 228, 193, 0.55)),
        rgba(205, 214, 160, 0.22);
}

.equipment-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.equipment-hero__text {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.75;
    color: #111111;
}

.equipment-hero__title {
    margin: 0;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    color: #111111;
}

/* =========================
   緑帯見出し
========================= */
.equipment-band-title {
    margin: 0 0 40px;
    padding: 13px 28px 15px;
    background: #2db34a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    text-align: left;
}

/* =========================
   設備グリッド
========================= */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.equipment-grid--work-scenes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.equipment-card {
    margin: 0;
}

.equipment-card__figure {
    margin: 0;
}

.equipment-card__figure img {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    display: block;
    border: 2px solid #4b4b4b;
    border-radius: 24px;
    background: #ffffff;
}

.equipment-card__caption {
    margin-top: 9px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #222222;
    text-align: left;
    letter-spacing: 0.01em;
}

/* =========================
   ヘッダー 現在地表示補助
========================= */
.global-nav a.is-current,
.footer-nav a.is-current {
    color: #d81f2a;
    font-weight: 700;
}

/* =========================
   タブレット
========================= */
@media (max-width: 1024px) {
    .equipment-hero {
        min-height: 470px;
        padding: 100px 20px 56px;
    }

    .equipment-band-title {
        margin-bottom: 32px;
        font-size: 24px;
        padding: 12px 20px 14px;
    }

    .equipment-grid {
        gap: 28px 24px;
    }

    .equipment-card__figure img {
        border-radius: 20px;
    }

    .equipment-card__caption {
        font-size: 12px;
    }
}

/* =========================
   モバイル
========================= */
@media (max-width: 767px) {
    .equipment-section {
        padding: 36px 0 48px;
    }

    .equipment-hero {
        min-height: auto;
        padding: 92px 16px 40px;
    }

        .equipment-hero__text {
        margin-bottom: 20px;
        padding: 8px 10px;
        font-size: 14px;
        line-height: 1.8;
    }

    .equipment-hero__title {
        font-size: 34px;
    }

    .equipment-band-title {
        margin-bottom: 24px;
        padding: 11px 14px 13px;
        font-size: 18px;
        line-height: 1.6;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .equipment-grid--work-scenes {
        grid-template-columns: 1fr;
    }

    .equipment-card__figure img {
        border-radius: 18px;
    }

    .equipment-card__caption {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.65;
    }
}

/* =========================================================
   recruit.html 専用
   求人募集ページ
   ※ヒーロー画像内に文字デザインを含む前提
========================================================= */

/* =========================
   ヘッダー：求人ページの現在地表示
========================= */
.global-nav__link--current {
    color: #d81f2a;
    font-weight: 700;
}

/* =========================
   求人ページ ヒーロー
   recruit-hero.jpg をそのまま表示
   元画像サイズ以上には拡大しない
========================= */
.recruit-hero {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.recruit-hero__image {
    width: min(100%, 1600px);
    margin: 0 auto;
}

.recruit-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

/* =========================
   求人ページ 導入文
========================= */
.recruit-intro {
    padding: 26px 0 10px;
    background: #ffffff;
}

.recruit-intro__text {
    margin: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.9;
    color: #111111;
}

/* =========================
   募集要項
========================= */
.recruit-requirements {
    padding-top: 40px;
    padding-bottom: 100px;
    background: #ffffff;
}

.recruit-table-wrap {
    max-width: 1080px;
    margin: 48px auto 0;
}

/* =========================
   募集要項テーブル
========================= */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #222222;
}

.recruit-table th,
.recruit-table td {
    padding: 24px 28px;
    vertical-align: top;
    border-bottom: 1px solid #cccccc;
}

.recruit-table th {
    width: 220px;
    background: #f2f2f2;
    font-weight: 700;
    text-align: left;
    color: #111111;
}

.recruit-table td {
    background: #ffffff;
}

.recruit-table td p {
    margin: 0;
}

.recruit-table td p + p {
    margin-top: 8px;
}

/* =========================
   募集要項内 リスト
========================= */
.recruit-table__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.recruit-table__list li {
    position: relative;
    padding-left: 1.3em;
}

.recruit-table__list li + li {
    margin-top: 5px;
}

.recruit-table__list li::before {
    content: "○";
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================
   給与・強調文字
========================= */
.recruit-table__salary {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
}

.recruit-table__emphasis {
    font-weight: 700;
    color: #d81f2a;
}

.recruit-table__note {
    margin-top: 12px !important;
}

/* =========================
   当社の強み
========================= */
.recruit-strength {
    padding-top: 90px;
    padding-bottom: 100px;
    background: #f1f5fb;
}

.recruit-strength__intro {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    color: #222222;
}

.recruit-strength__intro p {
    margin: 0;
}

.recruit-strength__intro p + p {
    margin-top: 14px;
}

/* =========================
   当社の強み 4項目
========================= */
.recruit-strength__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 54px auto 0;
    padding: 0;
    list-style: none;
}

.recruit-strength__item {
    min-height: 210px;
    padding: 36px 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.recruit-strength__mark {
    display: block;
    margin-bottom: 16px;
    font-family: "Heebo", "IBM Plex Sans JP", sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: #0b5fc6;
}

.recruit-strength__item p {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    color: #111111;
}

/* =========================
   採用に関するお問い合わせ
========================= */
.recruit-contact {
    padding: 110px 0 100px;
    background: #ffffff;
}

.recruit-contact__inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.recruit-contact__title {
    margin: 0;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    color: #111111;
}

.recruit-contact__lead {
    margin: 8px 0 28px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: #222222;
}

/* =========================
   採用お問い合わせボタン
========================= */
.recruit-contact__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(100%, 850px);
    min-height: 92px;
    margin: 0 auto;
    padding: 20px 70px;
    border-radius: 60px;
    background: #ff9800;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.recruit-contact__button:hover {
    opacity: 0.86;
    transform: translateY(-2px);
}

.recruit-contact__arrow {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
}

.recruit-contact__mail {
    font-size: 42px;
    line-height: 1;
}

.recruit-contact__button-text {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

/* =========================
   電話お問い合わせ
========================= */
.recruit-contact__tel {
    margin: 20px 0 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    color: #222222;
}

.recruit-contact__tel a {
    font-size: 21px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
}

.recruit-contact__tel a:hover {
    text-decoration: underline;
}

/* =========================================================
   recruit.html：タブレット
========================================================= */
@media (max-width: 1024px) {
    .recruit-table th {
        width: 190px;
    }

    .recruit-table th,
    .recruit-table td {
        padding: 20px 22px;
    }

    .recruit-strength__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recruit-contact__title {
        font-size: 34px;
    }

    .recruit-contact__button {
        min-height: 84px;
    }

    .recruit-contact__button-text {
        font-size: 26px;
    }
}

/* =========================================================
   recruit.html：スマートフォン
========================================================= */
@media (max-width: 767px) {
    .recruit-hero__image img {
        width: 100%;
        height: auto;
    }

    .recruit-intro {
        padding: 20px 0 4px;
    }

    .recruit-intro__text {
        font-size: 15px;
        line-height: 1.9;
    }

    .recruit-requirements {
        padding-top: 28px;
        padding-bottom: 64px;
    }

    .recruit-table-wrap {
        margin-top: 32px;
    }

    .recruit-table,
    .recruit-table tbody,
    .recruit-table tr,
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table tr {
        border-bottom: 1px solid #cccccc;
    }

    .recruit-table th {
        padding: 14px 16px;
        border-bottom: none;
        font-size: 16px;
    }

    .recruit-table td {
        padding: 18px 16px 22px;
        border-bottom: none;
        font-size: 15px;
    }

    .recruit-table__salary {
        font-size: 20px;
    }

    .recruit-strength {
        padding-top: 64px;
        padding-bottom: 70px;
    }

    .recruit-strength__intro {
        margin-top: 34px;
        text-align: left;
        font-size: 16px;
        line-height: 1.9;
    }

    .recruit-strength__list {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 36px;
    }

    .recruit-strength__item {
        min-height: 150px;
        padding: 24px 18px;
    }

    .recruit-strength__mark {
        margin-bottom: 10px;
        font-size: 38px;
    }

    .recruit-strength__item p {
        font-size: 17px;
    }

    .recruit-contact {
        padding: 72px 0 70px;
    }

    .recruit-contact__title {
        font-size: 27px;
    }

    .recruit-contact__lead {
        margin-top: 8px;
        margin-bottom: 22px;
        font-size: 14px;
    }

    .recruit-contact__button {
        gap: 10px;
        min-height: 72px;
        padding: 14px 40px 14px 52px;
    }

    .recruit-contact__arrow {
        left: 22px;
        font-size: 38px;
    }

    .recruit-contact__mail {
        font-size: 28px;
    }

    .recruit-contact__button-text {
        font-size: 19px;
    }

    .recruit-contact__tel {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.8;
    }

    .recruit-contact__tel a {
        display: inline-block;
        font-size: 17px;
    }
}

/* =========================================================
   recruit.html：小さいスマートフォン
========================================================= */
@media (max-width: 480px) {
    .recruit-contact__button {
        min-height: 68px;
        padding-right: 26px;
        padding-left: 42px;
    }

    .recruit-contact__arrow {
        left: 17px;
    }

    .recruit-contact__mail {
        font-size: 24px;
    }

    .recruit-contact__button-text {
        font-size: 17px;
    }
}

/* =========================================================
   equipment.html 設備写真ライトボックス
   既存の設備画像をJSで自動的にクリック対象にする
========================================================= */
.equipment-card__figure img {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.84);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-lightbox__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.image-lightbox__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    background: #ffffff;
}

.image-lightbox__video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
    background: #000000;
}

.image-lightbox__image[hidden],
.image-lightbox__video[hidden] {
    display: none;
}

.image-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 1;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

body.is-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .image-lightbox {
        padding: 58px 14px 18px;
    }

    .image-lightbox__image {
        max-height: calc(100vh - 76px);
    }

    .image-lightbox__close {
        top: 8px;
        right: 10px;
    }
}

/* =========================================================
   otoiawase/contact.html 専用
   お問い合わせフォーム
========================================================= */
.contact-form-section {
    padding: 72px 0 120px;
    background: #ffffff;
}

.contact-form-container {
    max-width: 980px;
}

.contact-form-title {
    margin: 0 0 34px;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
}

/* =========================
   STEP表示
========================= */
.contact-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 42px;
    padding: 0;
    list-style: none;
}

.contact-steps__item {
    position: relative;
    min-height: 78px;
    padding: 15px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #eeeeee;
    color: #222222;
    border-right: 2px solid #ffffff;
}

.contact-steps__item--current {
    background: #58aa96;
    color: #ffffff;
}

.contact-steps__item--done {
    background: #dfeae7;
    color: #1d3d39;
}

.contact-steps__item--complete {
    background: #58aa96;
    color: #ffffff;
}

.contact-steps__step {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.contact-steps__item strong {
    font-size: 18px;
    line-height: 1.35;
}

/* =========================
   導入文
========================= */
.contact-form-intro {
    margin-bottom: 34px;
}

.contact-form-intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #222222;
}

/* =========================
   各フォームブロック
========================= */
.contact-form-block {
    margin-top: 28px;
}

.contact-form-block + .contact-form-block {
    margin-top: 34px;
}

.contact-form-block__title {
    margin: 0 0 14px;
    padding-left: 16px;
    border-left: 6px solid #58aa96;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #222222;
}

/* =========================
   フォームテーブル
========================= */
.contact-form-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #cccccc;
}

.contact-form-table th,
.contact-form-table td {
    padding: 14px 16px;
    border: 1px solid #cccccc;
    vertical-align: top;
}

.contact-form-table th {
    width: 245px;
    background: #eefaf7;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
}

.contact-form-table td {
    background: #ffffff;
}

.contact-form-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 28px;
    margin-left: 10px;
    padding: 2px 8px;
    background: #e76731;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* =========================
   入力欄
========================= */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #bfc4c8;
    border-radius: 0;
    background: #ffffff;
    color: #222222;
    font: inherit;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-table--readonly td {
    white-space: pre-line;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(88, 170, 150, 0.35);
    outline-offset: 1px;
    border-color: #58aa96;
}

.contact-form-example {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.contact-form-error {
    display: none;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #d64545;
    font-weight: 700;
}

.contact-form-error.is-visible {
    display: block;
}

.contact-form .is-invalid,
.contact-form textarea.is-invalid,
.contact-form input.is-invalid,
.contact-form .contact-form-consent.is-invalid {
    border-color: #d64545 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 2px rgba(214, 69, 69, 0.12);
}

.contact-form-confirm-note {
    margin: 8px 0 6px;
    color: #5c9a35;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

/* =========================
   住所入力
========================= */
.contact-address {
    display: grid;
    gap: 10px;
}

.contact-address__row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.contact-address__row:first-child {
    grid-template-columns: 20px 150px auto;
    justify-content: start;
}

.contact-address__label,
.contact-address__row label {
    font-size: 15px;
    font-weight: 700;
}

.contact-input--postal {
    width: 150px !important;
}

.contact-input--prefecture {
    width: 180px !important;
}

.contact-address-search {
    min-height: 38px;
    padding: 7px 16px;
    border: 0;
    background: #294651;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.contact-address-search:hover {
    opacity: 0.86;
}

/* =========================
   個人情報の取り扱い
========================= */
.contact-form-block--privacy {
    margin-top: 34px;
}

.contact-form-privacy-text {
    margin: 24px 0 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #222222;
}

.contact-form-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 54px;
    padding: 10px 18px;
    background: #eef5fb;
    border: 1px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.contact-form-consent.is-invalid {
    border-color: #d64545;
    background: #fff5f5;
}

.contact-form-consent.is-locked {
    opacity: 0.98;
}

.contact-form-consent .contact-form-required {
    margin-left: 0;
}

.contact-form-consent__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.contact-form-consent__label input {
    width: 18px;
    height: 18px;
    margin: 0;
}

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

/* =========================
   送信ボタン
========================= */
.contact-form-submit-area {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.contact-form-submit-area p {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #444444;
}

.contact-form-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 390px;
    min-height: 64px;
    padding: 14px 54px;
    border: 0;
    border-radius: 40px;
    background: #ff9800;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.contact-form-submit:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.contact-form-submit:disabled,
.contact-form-submit[disabled] {
    background: #d9d9d9;
    color: #7b7b7b;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.contact-form-submit:disabled:hover,
.contact-form-submit[disabled]:hover {
    opacity: 1;
    transform: none;
}

.contact-form-submit--secondary {
    background: #e9f0f3;
    color: #294651;
}

.contact-form-submit--secondary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.contact-form-submit__arrow {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

/* =========================================================
   お問い合わせフォーム：タブレット
========================================================= */
@media (max-width: 1024px) {
    .contact-form-section {
        padding: 60px 0 90px;
    }

    .contact-form-table th {
        width: 210px;
    }

    .contact-address__row {
        grid-template-columns: 110px minmax(0, 1fr);
    }
}

/* =========================================================
   お問い合わせフォーム：スマートフォン
========================================================= */
@media (max-width: 767px) {
    .contact-form-section {
        padding: 42px 0 70px;
    }

    .contact-form-title {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .contact-steps {
        margin-bottom: 30px;
    }

    .contact-steps__item {
        min-height: 64px;
        padding: 10px 8px;
    }

    .contact-steps__step {
        font-size: 12px;
    }

    .contact-steps__item strong {
        font-size: 13px;
    }

    .contact-form-intro p {
        font-size: 14px;
    }

    .contact-form-block__title {
        padding-left: 12px;
        border-left-width: 5px;
        font-size: 17px;
    }

    .contact-form-table,
    .contact-form-table tbody,
    .contact-form-table tr,
    .contact-form-table th,
    .contact-form-table td {
        display: block;
        width: 100%;
    }

    .contact-form-table tr + tr {
        border-top: 1px solid #cccccc;
    }

    .contact-form-table th {
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid #cccccc;
    }

    .contact-form-table td {
        padding: 14px;
        border: 0;
    }

    .contact-address__row,
    .contact-address__row:first-child {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contact-address__row:first-child {
        grid-template-columns: 20px 120px auto;
        align-items: center;
    }

    .contact-input--postal,
    .contact-input--prefecture {
        width: 100% !important;
    }

    .contact-form-consent {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
    }

    .contact-form-consent__label {
        align-items: flex-start;
        font-size: 14px;
    }

    .contact-form-submit {
        width: 100%;
        min-width: 0;
        min-height: 60px;
        padding-right: 40px;
        padding-left: 48px;
        font-size: 16px;
    }

    .contact-form-submit__arrow {
        left: 18px;
    }
}

/* =========================================================
   service.html 専用
   加工製品紹介ページ
   equipment.html のレイアウト思想を踏襲
========================================================= */
.service-section {
    padding: 56px 0 72px;
    background: #ffffff;
}

.service-section + .service-section {
    padding-top: 0;
}

.service-band-title {
    margin: 0 0 34px;
    padding: 13px 28px 15px;
    background: #014CB1;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

.service-subtitle {
    max-width: 980px;
    margin: 0 auto 14px;
    color: #1f66ba;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.service-subtitle--spaced {
    margin-top: 42px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.service-card {
    margin: 0;
}

.service-card__figure {
    margin: 0;
}

.service-card__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    border: 2px solid #1f66ba;
    background: #ffffff;
    cursor: zoom-in;
}

.service-card__caption {
    margin-top: 8px;
    color: #222222;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

/* 製品紹介ページの現在地 */
.global-nav__link--service-current {
    color: #d81f2a;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .service-band-title {
        margin-bottom: 30px;
        padding: 12px 20px 14px;
        font-size: 22px;
    }

    .service-grid {
        gap: 28px 24px;
    }

    .service-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .service-section {
        padding: 36px 0 48px;
    }

    .service-band-title {
        margin-bottom: 24px;
        padding: 11px 14px 13px;
        font-size: 18px;
        line-height: 1.6;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-subtitle {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .service-subtitle--spaced {
        margin-top: 30px;
    }

    .service-card__caption {
        font-size: 13px;
        line-height: 1.65;
    }
}

/* =========================================================
   TOPページ お問い合わせCTA
   白背景＋青枠でフッターと明確に区切る
========================================================= */
.home-contact-cta {
    position: relative;
    overflow: hidden;
    padding: 72px 0 78px;
    background: #ffffff;
    color: #014CB1;
    text-align: center;
}

.home-contact-cta__inner {
    position: relative;
    z-index: 1;
    padding: 54px 40px 58px;
    border: 3px solid #014CB1;
    background: #ffffff;
}

.home-contact-cta__en {
    margin: 0 0 4px;
    font-family: "Heebo", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.2;
    color: #014CB1;
    opacity: 0.72;
}

.home-contact-cta__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.35;
    color: #014CB1;
}

.home-contact-cta__text {
    margin: 18px 0 30px;
    font-size: 16px;
    line-height: 1.9;
    color: #222222;
}

.home-contact-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 340px;
    min-height: 62px;
    padding: 14px 30px;
    border: 2px solid #014CB1;
    border-radius: 999px;
    background: #014CB1;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-contact-cta__button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.home-contact-cta__arrow {
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 767px) {
    .home-contact-cta {
        padding: 44px 0 52px;
    }

    .home-contact-cta__inner {
        padding: 38px 18px 42px;
        border-width: 2px;
    }

    .home-contact-cta__en {
        font-size: 14px;
    }

    .home-contact-cta__title {
        font-size: 28px;
    }

    .home-contact-cta__text {
        margin: 14px 0 24px;
        font-size: 14px;
    }

    .home-contact-cta__button {
        width: 100%;
        min-width: 0;
        max-width: 360px;
        min-height: 58px;
        font-size: 15px;
    }
}

/* =========================================================
   privacy-policy.html 専用
========================================================= */
.privacy-hero {
    padding: 68px 0 54px;
    background: #f5f8fb;
}

.privacy-hero__inner {
    max-width: 980px;
}

.privacy-hero__en {
    margin: 0 0 4px;
    font-family: "Heebo", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.2;
    color: #014CB1;
}

.privacy-hero__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
}

.privacy-content {
    padding: 70px 0 110px;
    background: #ffffff;
}

.privacy-content__inner {
    max-width: 980px;
}

.privacy-content__lead {
    margin: 0 0 42px;
    font-size: 16px;
    line-height: 2;
    color: #222222;
}

.privacy-section {
    padding: 30px 0;
    border-top: 1px solid #d8dde3;
}

.privacy-section:last-of-type {
    border-bottom: 1px solid #d8dde3;
}

.privacy-section__title {
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 5px solid #014CB1;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #014CB1;
}

.privacy-section p,
.privacy-section li {
    font-size: 15px;
    line-height: 1.9;
    color: #333333;
}

.privacy-section p {
    margin: 0;
}

.privacy-section ul {
    margin: 12px 0 0;
    padding-left: 1.5em;
}

.privacy-contact {
    padding: 18px 22px;
    background: #f5f8fb;
}

.privacy-contact a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}


@media (max-width: 767px) {
    .privacy-hero {
        padding: 44px 0 36px;
    }

    .privacy-hero__en {
        font-size: 14px;
    }

    .privacy-hero__title {
        font-size: 28px;
    }

    .privacy-content {
        padding: 46px 0 72px;
    }

    .privacy-content__lead {
        margin-bottom: 28px;
        font-size: 14px;
        line-height: 1.9;
    }

    .privacy-section {
        padding: 24px 0;
    }

    .privacy-section__title {
        font-size: 17px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 14px;
    }

    .privacy-contact {
        padding: 16px;
    }
}

/* =========================================================
   service.html アンカー位置調整
   固定ヘッダーに見出しが隠れないようにする
========================================================= */
.service-section {
    scroll-margin-top: 110px;
}

@media (max-width: 767px) {
    .service-section {
        scroll-margin-top: 84px;
    }
}

/* =========================================================
   ピックアップ製品 見出しセンタリング
   SERVICE / ピックアップ製品 精密フレーム / PICK UP
========================================================= */
.pickup-heading {
    text-align: center;
}

.pickup-heading .section-heading__kicker,
.pickup-heading .section-title,
.pickup-heading .section-heading__ornament-text--pickup {
    text-align: center;
}

.pickup-heading .section-title {
    width: 100%;
}

.pickup-heading .section-heading__ornament-text--pickup {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: 100%;
}

/*----ユーティリティクラス----*/

@media (min-width: 768px) {
    .sp-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .pc-only {
        display: none;
    }
}