/* ========================================
   アルファ水工コンサルタンツ 共通スタイル
   ======================================== */

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

/* マウスクリック時のアウトラインを非表示（キーボード操作時は :focus-visible で表示） */
:focus:not(:focus-visible) {
    outline: none;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ヒーロー装飾テキスト（サブページ共通） */
.hero-deco-text {
    display: none;
    position: absolute;
    bottom: -10px;
    right: -1%;
    transform: translateY(calc(100% - 60px));
    font-family: 'Roboto', sans-serif;
    font-size: 130pt;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -3px;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.5;
    text-align: right;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

@media (min-width: 768px) {
    .hero-deco-text {
        display: block;
    }
}

/* ========================================
   サブページ共通コンポーネント
   (ヒーロー / ローカルナビ / パンくず)
   ======================================== */

/* サブヒーローセクション */
#sub-hero {
    position: relative;
    width: 98%;
    margin: 15px auto 0 auto;
}

.sub-hero-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 34vh;
}

@media (min-width: 768px) {
    .sub-hero-container {
        height: 42vh;
    }
}

.sub-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(30, 44, 130, 0.95), rgba(30, 44, 130, 0.30), transparent);
}

.sub-hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .sub-hero-content {
        padding: 0 3rem;
    }
}

.sub-hero-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .sub-hero-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.sub-hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 1.0);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding-left: 0.2rem;
}

/* ローカルナビ */
#local-nav {
    position: relative;
    z-index: 40;
    width: fit-content;
    margin-top: -2.5rem;
    left: 3%;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 1.0);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.local-nav-inner {
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    height: 76px;
}

.local-nav-label {
    display: flex;
    align-items: center;
    margin-right: 1.75rem;
    border-right: 1px solid #e5e7eb;
    padding-right: 2.25rem;
    height: 100%;
    line-height: 1.0;
}

.local-nav-label span {
    color: #1E2C82;
    font-size: 11.5pt;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.local-nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
    height: 100%;
}

.local-nav-links a {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 11.5pt;
    line-height: 1.5rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.0;
}

.local-nav-links a:hover {
    color: #1E2C82;
}

.local-nav-links a.active {
    background-color: #1E2C82;
    color: #fff;
}

.local-nav-links a.active:hover {
    color: #fff;
}

/* パンくずリスト */
#breadcrumb {
    width: 96%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

#breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    line-height: 1rem;
    color: #9ca3af;
    text-transform: uppercase;
}

#breadcrumb nav a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

#breadcrumb nav a:hover {
    color: #374151;
}

#breadcrumb .current {
    color: #374151;
}

/* ヘッダー */
.header-shadow {
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .25);
}

/* ロゴホバーエフェクト */
.logo-link {
    display: inline-block;
    transition: filter 0.3s ease;
}

.logo-link:hover {
    filter: brightness(1.08);
}

.logo-link:focus-visible {
    outline: 3px solid rgba(30, 44, 130, 0.5);
    outline-offset: 4px;
    border-radius: 4px;
    filter: brightness(1.08);
}

/* セクションタイトル */
.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.japanese-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1E2C82;
    margin-bottom: 0.75rem;
}

/* セクション見出しのグラデーションアンダーライン */
.section-heading-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-heading-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
}

/* セクションタイトル コンポーネント */
.section-title {
    margin-bottom: 2rem;
}

.section-title__en {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1E2C82;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title__jp {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1E2C82;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title__jp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
}

@media (min-width: 768px) {
    .section-title__jp {
        font-size: 2.25rem;
    }
}

.english-subtitle {
    font-size: 0.80rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    color: #1E2C82;
    display: flex;
    align-items: center;
}

.english-subtitle::before,
.english-subtitle::after {
    content: '';
    display: block;
    height: 1px;
    width: 6.0rem;
    background-color: #1E2C82;
    margin: 0 0.75rem;
}

#news-col .english-subtitle::before {
    display: none;
}

/* 採用情報タイトル用のグラデーション */
.recruit-title-gradient {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-size: 60pt;
    line-height: 1;
    letter-spacing: -5px;
    background: linear-gradient(90deg, #56c6f2 0%, #ff7c9c 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* 採用セクション背景 */
.recruit-section-bg {
    background: linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
    position: relative;
    overflow: hidden;
}

.recruit-section-bg::before {
    content: '';
    position: absolute;
    bottom: -250px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1.0' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

.recruit-wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* サブページ用の採用セクション背景（上部に白グラデーション） */
.recruit-section-bg-subpage {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 25%),
        linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
}

/* ========================================
   サブページ共通: ページ上部グラデーション背景
   ======================================== */

/* 横方向グラデーション → 56vh で白にフェード */
body.page-sub {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 72vh),
        linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
}

/* ========================================
   index.html 専用スタイル
   ======================================== */

/* トップヒーロー 装飾テキスト */
.top-hero__large-copy {
    pointer-events: none;
    user-select: none;
    display: block;
    position: absolute;
    z-index: 5;
    overflow: visible;
    top: -11px;
    bottom: auto;
    right: -5px;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: right;
    line-height: 0.85;
    letter-spacing: -5px;
    font-size: 130pt;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
    opacity: 0.3;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

@media (max-width: 1600px) {
    .top-hero__large-copy {
        font-size: 110pt;
    }
}

@media (max-width: 1366px) {
    .top-hero__large-copy {
        font-size: 100pt;
    }
}

@media (max-width: 1200px) {
    .top-hero__large-copy {
        font-size: 90pt;
    }
}

/* トップページ: ヒーローをビューポート最上部から開始（固定ヘッダーが前面に重なる） */
body.page-home {
    padding-top: 0 !important;
}

/* トップヒーロー セクション */
.top-hero {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 98vh;
    margin: 0;
    color: #fff;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(to right, #2565BD 0%, #004098 66.66667%);
}

/* カルーセルコンテナ */
.top-hero__carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 76vh;
}

/* オーバーレイ */
.top-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 76vh;
    background-color: rgba(0, 0, 0, 0.3);
}

/* ヒーローカルーセルスタイル */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-dot {
    width: 26px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0.5;
}

.carousel-dot.active {
    background-color: #fff;
    opacity: 1;
}

/* キャッチコピーエリア */
#hero-text-content {
    position: absolute;
    z-index: 10;
    bottom: 11vh;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "title   dots"
        "subtitle dots";
    align-content: end;
    align-items: end;
    column-gap: 2rem;
    row-gap: 0.25rem;
}

/* フェードはタイトル・サブタイトルのみ（ドットは常時表示） */
.top-hero__title.fade-out,
.top-hero__subtitle.fade-out {
    opacity: 0;
}

@media (min-width: 1024px) {
    #hero-text-content {
        padding: 0 3rem;
    }
}

/* メインタイトル */
.top-hero__title {
    grid-area: title;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
    text-align: left;
    letter-spacing: 0.1em;
    transition: opacity 1.5s ease-in-out;
    -webkit-transition: opacity 1.5s ease-in-out;
}

/* サブタイトル */
.top-hero__subtitle {
    grid-area: subtitle;
    margin-top: 40px;
    font-size: 1rem;
    line-height: 1.5;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
    text-align: left;
    max-width: none;
    margin-left: 15px;
    transition: opacity 1.5s ease-in-out;
    -webkit-transition: opacity 1.5s ease-in-out;
}

@media (max-width: 1366px) {
    .top-hero__subtitle {
        font-size: 0.9rem;
    }
}

/* カルーセルドット */
.top-hero__dots {
    grid-area: dots;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-self: end;
    gap: 0.5rem;
    z-index: 20;
}

/* スクロールダウンインジケーター */
.scroll-down {
    position: absolute;
    right: 2.5rem;
    bottom: 25vh;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.scroll-down__text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
    writing-mode: vertical-lr;
    text-transform: uppercase;
    transition: color 0.3s;
}

.scroll-down:hover .scroll-down__text {
    color: #fff;
}

.scroll-down__line {
    display: block;
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.scroll-down__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1.0), transparent);
    animation: sd-flow 2s ease-in-out infinite;
}

@keyframes sd-flow {
    0% {
        transform: translateY(-250%);
    }

    100% {
        transform: translateY(400%);
    }
}

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

/* 背景：波が下にあるパターン */
.about-section-bg {
    background: linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
    position: relative;
    overflow: hidden;
}

.about-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2364b5f6' fill-opacity='0.15' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

/* ========================================
   トップページ レイアウト
   (お知らせ/事業内容・会社案内セクション)
   ======================================== */

/* --- お知らせと事業内容セクション --- */

#news-business {
    padding-top: 4rem;
    /* pt-16 */
    padding-bottom: 2rem;
    /* pb-8 */
}

.news-business__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* px-6 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
    /* gap-16 */
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .news-business__inner {
        flex-direction: row;
        padding: 0 3rem;
        /* lg:px-12 */
    }
}

.news-business__col--news {
    width: 100%;
}

@media (min-width: 1024px) {
    .news-business__col--news {
        width: 33.333%;
        /* lg:w-1/3 */
        flex-shrink: 0;
    }
}

.news-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    border: 1px solid #fff;
}

@media (min-width: 1024px) {
    .news-card {
        padding: 2.5rem;
        /* lg:p-10 */
    }
}

#news-list>li+li {
    margin-top: 1.5rem;
    /* space-y-6 */
}

.news-card .btn {
    margin-top: 2.5rem;
    /* mt-10 */
    display: inline-block;
}

.news-business__col--business {
    width: 100%;
}

@media (min-width: 1024px) {
    .news-business__col--business {
        width: 66.667%;
        /* lg:w-2/3 */
    }
}

/* --- 会社案内セクション --- */

#about {
    padding-top: 1.5rem;
    /* pt-6 */
    padding-bottom: 6rem;
    /* pb-24 */
}

.about__inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 40;
}

@media (min-width: 640px) {
    .about__inner {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .about__inner {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .about__inner {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .about__inner {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .about__inner {
        max-width: 1536px;
    }
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    /* gap-2 */
    align-items: center;
}

@media (min-width: 768px) {
    .about__layout {
        grid-template-columns: repeat(2, 1fr);
        /* md:grid-cols-2 */
    }
}

.about__image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 400px;
    /* h-[400px] */
}

@media (min-width: 768px) {
    .about__image-col {
        order: 2;
        /* md:order-2 */
    }
}

.image-one img,
.image-two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__text-col {
    margin-top: 1.5rem;
    /* mt-6 */
    margin-left: 3rem;
    /* ml-12 */
}

@media (min-width: 768px) {
    .about__text-col {
        order: 1;
        /* md:order-1 */
    }
}

.about__body {
    margin-top: 2rem;
    /* mt-8 */
    line-height: 1.625;
    /* leading-relaxed */
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .news-card {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

/* 矢印ボタンのスタイル */
.arrow-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 9999px;
    border: 1px solid #1E2C82;
    color: #1E2C82;
    transition-property: background-color, color;
    transition-duration: 300ms;
}

/* カードコンポーネント共通 */
.card {
    position: relative;
    display: block;
    background-color: #fff;
    padding-bottom: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px);
}

.card:hover .arrow-button {
    background-color: #1E2C82;
    color: white;
}

.card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card__body {
    padding: 1.5rem;
}

.card__title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #1E2C82;
    margin-bottom: 0.5rem;
}

.card__text {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.card__meta {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 0.5rem;
}

/* アクセントカード（CTAカード） */
.card--accent {
    background-color: #1E2C82;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px;
}

.card--accent .card__body {
    color: #fff;
    padding: 0;
}

.card--accent .card__body>*+* {
    margin-top: 1rem;
}

.card--accent .card__title {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.5rem;
}

.card--accent .card__text {
    color: rgba(255, 255, 255, 0.9);
}

.card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 0;
    transition: background-color 0.3s;
}

.card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

/* SVG sizing inside arrow button */
.arrow-button svg {
    width: 1rem;
    height: 1rem;
}

/* カードグリッド */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-grid--4col {
    margin-bottom: 4rem;
}

@media (min-width: 1280px) {
    .card-grid--4col {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card-grid--narrow {
    gap: 1.5rem;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .card-grid--narrow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .card-grid--narrow {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   ボタンコンポーネント
   ======================================== */

.btn {
    display: inline-block;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
}

/* バリエーション: solid（塗り） */
.btn--solid {
    background-color: #1E2C82;
    color: #fff;
}

.btn--solid:hover {
    background-color: #3E4CA2;
}

/* バリエーション: outline（枠線） */
.btn--outline {
    background-color: transparent;
    border-color: #1E2C82;
    color: #1E2C82;
}

.btn--outline:hover {
    background-color: #1E2C82;
    color: #fff;
}

/* バリエーション: gradient（グラデーション） */
.btn--gradient {
    background: linear-gradient(90deg, #56c6f2 0%, #7f9cf5 100%);
    color: #fff;
    border: none;
}

.btn--gradient:hover {
    opacity: 0.8;
}

/* サイズ: sm */
.btn--sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* サイズ: md */
.btn--md {
    padding: 0.5rem 2rem 0.55rem;
    font-size: 0.9rem;
}

/* サイズ: lg */
.btn--lg {
    padding: 0.9rem 2.75rem;
    font-size: 1.1rem;
}

/* 背景：波が上にあるパターン */
.news-gradient-bg {
    background: linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
    position: relative;
    overflow: hidden;
}

.news-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23fff' fill-opacity='1.0' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 1;
    transform: rotate(180deg) scale(-1, 1);
    opacity: 0.8;
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.image-one {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 30px;
    right: -100px;
    z-index: 10;
    border-radius: 9999px;
    overflow: hidden;
}

.image-two {
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: 0;
    right: 10.0vw;
    transform: translateX(0) translateY(40px);
    z-index: 20;
    border-radius: 9999px;
    overflow: hidden;
}

/* ========================================
   service_survey2.html 専用スタイル
   ======================================== */

/* メインコンテンツ背景：波が下にあるパターン */
.main-wave-bg {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
    /* pt-8  */
    padding-bottom: 6rem;
    /* pb-24 */
}

.main-wave-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2364b5f6' fill-opacity='0.08' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 0;
}

.main-wave-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%2364b5f6' stroke-width='1' opacity='0.3' d='M0,300 C200,320 400,260 720,200 S1300,60 1440,60'/%3E%3C/svg%3E");
    background-size: 100vw 100%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 0;
}

/* スクロールバー非表示 */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ── アコーディオンアニメーション ── */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
}

/* ── 業務実績アコーディオン ── */
.work-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

@media (min-width: 768px) {
    .accordion-trigger {
        padding: 1.5rem 2.5rem;
    }
}

.accordion-trigger:hover .accordion-trigger__icon {
    color: #fff;
    background: #1E2C82;
}

.accordion-trigger:focus {
    outline: none;
}

.accordion-trigger__label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E2C82;
}

.accordion-trigger__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E2C82;
    font-weight: 400;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: background-color 0.2s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.is-open .accordion-trigger__icon {
    transform: rotate(45deg);
}

.accordion-body {
    padding: 0 1.5rem 2.5rem;
    overflow-x: auto;
}

@media (min-width: 768px) {
    .accordion-body {
        padding: 0 2.5rem 2.5rem;
    }
}

/* DX/survey テーブル */
.work-accordion__table {
    width: 100%;
    text-align: left;
    min-width: 600px;
}

.work-accordion__table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.work-accordion__table tbody tr:hover {
    background-color: rgba(248, 250, 252, 0.5);
}

.work-accordion__table td {
    padding: 1.25rem 0;
    font-size: 0.9rem;
}

.work-accordion__table td:first-child {
    font-weight: 700;
    width: 33%;
    padding-right: 1rem;
}

/* ========================================
   ヘッダー (includes/header.html)
   ======================================== */

#header {
    position: fixed;
    top: 10px;
    left: 2%;
    right: 2%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.10);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

#header.is-over-hero {
    background-color: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.header-topbar p {
    flex: 1;
}

.header-topbar-link {
    color: #4b5563;
    transition: color 0.3s;
}

.header-topbar-link:hover {
    color: #004098;
}

@media (min-width: 768px) {

    .header-topbar .header-topbar-link,
    .header-topbar .header-lang-switch {
        border-left: 1px solid #e5e7eb;
        padding-left: 0.75rem;
    }
}

.header-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-lang-switch .lang-active {
    color: #004098;
    font-weight: bold;
}

.header-lang-switch .lang-inactive {
    color: #4b5563;
    transition: color 0.3s;
}

.header-lang-switch .lang-inactive:hover {
    color: #004098;
}

.header-lang-switch .lang-divider {
    color: #9ca3af;
}

.header-main {
    padding: 0.85rem 1.25rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header-main {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
    align-items: flex-end;
}

.header-logo img {
    width: 400px;
    position: relative;
    top: -5px;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-button {
    display: flex;
    align-items: center;
    color: #000;
    transition: color 0.3s;
    font-size: 11.5pt;
    font-weight: 600;
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-button:hover {
    color: #004098;
}

.nav-button:focus {
    outline: none;
}

.nav-button:focus-visible {
    outline: 3px solid rgba(30, 44, 130, 0.5);
    outline-offset: 3px;
    border-radius: 9999px;
}

.nav-button.nav-active {
    color: #004098;
}

.nav-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.nav-item:hover .nav-icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    width: 13rem;
    background-color: #004098;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0.9rem 0;
    z-index: 50;
    font-size: 0.85rem;
}

.nav-dropdown.wide {
    width: 14rem;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-item:focus-within .nav-dropdown {
    display: block;
}

.nav-dropdown-link {
    display: block;
    padding: 0.4rem 1.25rem 0.4rem 1.7rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s, padding-left 0.2s;
}

.nav-dropdown-link::before {
    content: '-';
    position: absolute;
    left: 11px;
    top: 0.4rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    line-height: 1.0;
}

.nav-dropdown-link:hover {
    padding-left: 1.9rem;
    color: #fff;
    text-decoration: none;
}

.nav-dropdown-link:hover::before {
    color: rgba(255, 255, 255, 1.0);
}

.nav-dropdown-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: -2px;
    border-radius: 4px;
    color: #fff;
}


/* ========================================
   フッター (includes/footer.html)
   ======================================== */

#site-footer {
    background-color: #004098;
    color: white;
    padding: 4rem 0 2.5rem;
}

.footer-inner {
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.footer-company {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 20px;
}

@media (min-width: 768px) {
    .footer-company {
        grid-column: span 2;
        align-items: flex-start;
        text-align: left;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 340px;
}

.footer-addresses {
    margin-top: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-address h4 {
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-address p {
    font-size: 0.85rem;
    color: white;
}

.footer-address p+p {
    margin-top: 0.25rem;
}

.footer-phone {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 10px 0 5px;
}

.footer-nav-col {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-nav-col {
        grid-column: span 1;
    }
}

/* デスクトップ: 列間にセパレーターライン */
@media (min-width: 1024px) {
    .footer-nav-col {
        padding-left: 1.75rem;
    }

    .footer-nav-col+.footer-nav-col {
        border-left: 1px solid rgba(255, 255, 255, 0.15);
    }
}

.footer-nav-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* タイトルがリンクの場合 */
.footer-nav-title a {
    color: inherit;
    text-decoration: none;
    transition: padding-left 0.2s;
}

.footer-nav-title a:hover {
    padding-left: 0.2rem;
}

.footer-nav-list+.footer-nav-title {
    margin-top: 0.75rem;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-nav-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0;
    padding: 0.26rem 0 0.26rem 1rem;
    position: relative;
    transition: color 0.2s, padding-left 0.2s;
    line-height: 1.5;
}

/* › プレフィックス */
.footer-nav-link::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0.24rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    line-height: 1.0;
}

.footer-nav-link:hover {
    color: #fff;
    padding-left: 1.2rem;
    text-decoration: none;
}

.footer-nav-link:hover::before {
    color: rgba(255, 255, 255, 1.0);
}

.footer-bottom {
    background-color: rgba(0, 32, 77, 0.5);
    border-radius: 999px;
    padding: 1.5rem 4.5rem 1.5rem 2.0rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-start;
        margin-bottom: 0;
    }
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

/* ページトップボタン */
.pagetop-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
}

.pagetop-btn svg {
    width: 30%;
    height: 30%;
    transition: transform 0.25s ease;
}

.pagetop-btn:hover svg {
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .pagetop-btn {
        top: 8px;
        bottom: 8px;
        width: auto;
        height: auto;
        transform: none;
        aspect-ratio: 1;
    }
}

/* ========================================
   採用情報コンテンツ (includes/recruit.html)
   ======================================== */

.recruit-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .recruit-content {
        padding: 0 3rem;
    }
}

.recruit-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

@media (min-width: 768px) {
    .recruit-layout {
        flex-direction: row;
        align-items: stretch;
        position: relative;
        gap: 0;
    }
}

.recruit-image {
    width: 100%;
    height: 300px;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

@media (min-width: 768px) {
    .recruit-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 55%;
        height: 100%;
        flex: none;
    }
}

.recruit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recruit-card {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid white;
    margin-top: 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #header {
        background-color: rgba(255, 255, 255, 0.95);
    }

    #local-nav {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .recruit-card {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

@media (min-width: 768px) {
    .recruit-card {
        flex: 0 0 66.6667%;
        width: 66.6667%;
        padding: 3.5rem;
        margin-left: auto;
        margin-top: 0;
    }
}

.recruit-subheading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1E2C82;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .recruit-subheading {
        font-size: 1.8rem;
    }
}

/* 採用見出し横並びレイアウト */
.recruit-heading-row .recruit-title-gradient {
    margin-bottom: 0.5rem;
}

.recruit-heading-row .recruit-subheading {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .recruit-heading-row {
        display: flex;
        align-items: flex-end;
        gap: 50px;
    }

    .recruit-heading-row .recruit-title-gradient {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.recruit-text {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .recruit-text {
        font-size: 1rem;
    }
}

.recruit-btn-wrapper {
    text-align: right;
}


/* ========================================
   ティザーエリア (includes/teaser.html)
   ======================================== */

#teaser {
    background-color: #1555AD;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    text-align: center;
}

.teaser-inner {
    margin: 0 auto;
    padding: 0 1rem;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 160px);
    gap: 1.25rem;
    justify-content: center;
}

.teaser-item {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.10);
    padding: 1rem;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.teaser-item:hover,
.teaser-item:focus-visible,
.teaser-item:focus-within {
    transform: translateY(-2px);
}

.teaser-item>a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: inherit;
    border-radius: inherit;
    text-decoration: none;
    color: inherit;
}

.teaser-item>a:focus-visible {
    outline: 2px solid #004098;
    outline-offset: -3px;
    border-radius: inherit;
}

.teaser-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
}

.teaser-item--cta {
    flex-direction: column;
    background: #1E2C82;
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.teaser-cta-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.85;
}

.teaser-item--wide {
    padding: 0.5rem;
}

.teaser-item--wide img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
}

/* ========================================
   ニュースリスト (index.html)
   ======================================== */

.news-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3e4e6;
}

.news-item:last-child {
    border-bottom: none;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.news-date {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #1E2C82;
}

.news-category {
    font-size: 0.75rem;
    padding: 0.2rem 0.75rem 0.25rem;
    line-height: 1.0;
    border-radius: 9999px;
    border: 1px solid #1E2C82;
    color: #1E2C82;
}

.news-title {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   番号付きリスト
   ======================================== */

.steps {
    list-style: none;
    counter-reset: step-counter;
    margin-top: 1.5rem;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.steps li {
    counter-increment: step-counter;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .steps li {
        font-size: 1rem;
    }
}

.steps li::before {
    content: counter(step-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #1E2C82;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.steps li a {
    color: #1E2C82;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.steps li a:hover {
    text-decoration: underline;
}

/* ========================================
   関連技術サービス コンポーネント
   ======================================== */

.related-services {
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
}

.related-services__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.related-services__tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #1E2C82;
    color: #1E2C82;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.related-services__tag:hover {
    background-color: #1E2C82;
    color: #fff;
}

/* ========================================
   サブページ共通: メインコンテンツ内ラッパー
   ======================================== */

/* ページ内コンテンツ最大幅コンテナ */
.main__inner {
    width: 96%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 10;
}

/* コンテンツブロック（下マージン付き） */
.content-block {
    margin-bottom: 2.5rem;
}

/* ========================================
   本文テキスト・インラインリンク
   ======================================== */

.body-text {
    line-height: 1.75;
}

/* リストの後など上マージンが必要な本文 */
.body-text--mt,
.body-text+.body-text {
    line-height: 1.75;
    margin-top: 2rem;
}

/* 本文中インラインリンク */
.text-link {
    color: #004098;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* ボタン中央揃えラッパー */
.btn-center {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   画像ペア（左右並列）
   ======================================== */

.img-pair {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 3rem;
}

/* 下マージンあり */
.img-pair--mb {
    margin-bottom: 3rem;
}

.img-pair__item {
    width: 45%;
    height: auto;
    border-radius: 0.75rem;
}

/* figure 要素を img-pair__item として使う場合 */
figure.img-pair__item {
    margin: 0;
    overflow: visible;
}

figure.img-pair__item img,
figure.img-pair__item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

/* ========================================
   メディア2カラム（画像＋テキスト）
   ======================================== */

/* デフォルト: テキスト左（3fr）・画像右（2fr） */
.media-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .media-2col {
        grid-template-columns: 3fr 2fr;
        gap: 4rem;
    }
}

/* 反転: 画像左（2fr）・テキスト右（3fr） */
/* モバイルはテキストを先に表示（figure を後回し） */
.media-2col--reversed .media-2col__figure {
    order: 2;
}

.media-2col--reversed .media-2col__body {
    order: 1;
}

@media (min-width: 1024px) {
    .media-2col--reversed {
        grid-template-columns: 2fr 3fr;
    }

    .media-2col--reversed .media-2col__figure {
        order: 1;
    }

    .media-2col--reversed .media-2col__body {
        order: 2;
    }
}

/* テキスト列 */
.media-2col__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 画像ラッパー（アスペクト比固定・クロップ） */
.media-2col__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.75rem;
}

@media (min-width: 1024px) {
    .media-2col__media {
        aspect-ratio: 16 / 10;
    }
}

.media-2col__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 縦長画像用：アスペクト比を解除して全体表示 */
.media-2col__media--natural {
    aspect-ratio: unset;
    overflow: visible;
}

.media-2col__media--natural img {
    position: static;
    height: auto;
    object-fit: initial;
    inset: unset;
}

/* キャプション */
.media-2col__caption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* ========================================
   カードグリッド アイテムコンポーネント
   ======================================== */

/* 2カラム固定バリアント */
@media (min-width: 1024px) {
    .card-grid--2col {
        grid-template-columns: 1fr 1fr;
    }
}

.card-grid__item {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.card-grid__item .content-subtitle {
    margin-top: 0;
}

.card-grid__item .bullet-list {
    margin-top: 0;
}

/* ========================================
   サブページ共通: コンテンツ内要素
   ======================================== */

/* コンテンツ内サブセクション見出し (h3) */
.content-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E2C82;
    margin-bottom: 1.75rem;
    border-top: 1px solid #1E2C82;
    border-bottom: 1px solid #1E2C82;
    padding: 0.75rem 0;
    display: inline-block;
    width: 100%;
}

.info-box .content-subtitle,
.card-grid__item .content-subtitle {
    font-size: 1.35rem;
    border-top: none;
    padding: 0 0 0.75rem;
}

/* コンテンツ内項目見出し (h4) */
.content-item-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.content-item-title::before {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1px;
    background: #1E2C82;
    margin-right: 1rem;
    vertical-align: middle;
    margin-top: -1px;
}

/* 箇条書きリスト */
.bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.625;
}

.bullet-list li::before {
    content: "";
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background-color: #3070C8;
    flex-shrink: 0;
    margin-top: 0.7rem;
}

@media (min-width: 768px) {
    .bullet-list li {
        font-size: 1rem;
    }
}

/* 情報ボックス (連絡先・お知らせ等) */
.info-box {
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid #e3e4e6;
    padding: 2rem;
}

@media (min-width: 768px) {
    .info-box {
        padding: 2.5rem;
    }
}

.info-box--alt {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

.info-box__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1E2C82;
    margin-bottom: 1rem;
}

/* 中央揃え単体画像 */
.img-center {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 3rem;
}

.img-center img,
.img-center video {
    border-radius: 0.75rem;
}

.img-center__img {
    max-width: 48rem;
    width: 100%;
    height: auto;
}

.img-center__img--sm {
    max-width: 20rem;
}

/* ========================================
   データテーブル (技術情報セクション等)
   ======================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 600px;
}

.data-table thead th {
    background-color: #1E2C82;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.data-table tbody tr:hover {
    background-color: rgba(248, 250, 252, 0.5);
}

.data-table tbody td {
    padding: 0.875rem 1rem;
    vertical-align: top;
    line-height: 1.6;
}

.data-table tbody td a {
    color: #3070C8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.data-table tbody td a:hover {
    color: #1E2C82;
}

/* ========================================
   survey-equipment2.html 専用スタイル
   ======================================== */

/* --- Card image: square 1:1 container, image fully visible --- */
.survey-equipment2-page .card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background-color: #f8fafc;
}

/* --- Category badge --- */
.survey-equipment2-page .card__body .eq-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(30, 44, 130, 0.08);
    color: #1E2C82;
    margin-bottom: 0.5rem;
}

/* --- Card title --- */
.survey-equipment2-page .card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
    min-height: 3.5rem;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

/* --- Card body table --- */
.survey-equipment2-page .card__body table {
    width: 100%;
    font-size: 0.8rem;
    border-collapse: collapse;
    margin-top: 0.4rem;
    line-height: 1.55;
}

.survey-equipment2-page .card__body table th {
    text-align: left;
    padding: 2px 6px 2px 0;
    color: #9ca3af;
    font-weight: 500;
    vertical-align: top;
    border-bottom: 1px solid #f3f4f6;
    white-space: nowrap;
}

.survey-equipment2-page .card__body table td {
    padding: 2px 0;
    color: #374151;
    vertical-align: top;
    border-bottom: 1px solid #f3f4f6;
}

.survey-equipment2-page .card__body table tr:last-child th,
.survey-equipment2-page .card__body table tr:last-child td {
    border-bottom: none;
}