@charset "UTF-8";

/* =========================================================
   共通設定
   ========================================================= */
:root {
    --navy: #326199;
    --navy-dark: #15304d;
    --navy-light: #2a5a8c;
    --accent-blue: #2a6cb6;
    --accent-orange: #e87d2f;
    --text-dark: #333333;
    --text-body: #555555;
    --text-muted: #777777;
    --bg-light: #f5f7fa;
    --bg-gray: #eef1f5;
    --border-color: #ddd;
    --white: #ffffff;
}

/* タブレット・スマホでは container-lg で左右余白を確保（PCでは Bootstrap の container として動作） */
.container-lg {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    .container-lg {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* スマホで横スクロールを出さない */
html {
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-body);
    line-height: 1.8;
    letter-spacing: 0.02em;
    font-size: 15px;
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
    text-decoration: underline;
}

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

.h1 {}

.h2 {}

.h3 {
    font-size: 16px !important;
    font-weight: bold;
}

/* スマホ：文字を読みやすく少し大きく（全ページ共通） */
@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }
    .h3 {
        font-size: 17px !important;
    }
    .site-logo {
        font-size: 17px;
    }
    .site-logo .logo-badge {
        font-size: 11px;
    }
}

/* =========================================================
   ヘッダー / ナビゲーション
   ========================================================= */
.site-header {
    background-color: var(--white);
    max-width: 100%;
    overflow-x: hidden;
}

.header-top {
    background-color: var(--white);
}

/* タブレット・PCでロゴ・問い合わせの左右余白で調整（配置はそのまま） */
@media (min-width: 768px) {
    .header-top .row > div:first-child {
        padding-left: 1rem;
        padding-right: 0.75rem;
    }
    .header-top .row > div:last-child {
        padding-left: 0.75rem;
        padding-right: 1rem;
    }
}
@media (min-width: 992px) {
    .header-top .row > div:first-child {
        padding-left: 1.5rem;
        padding-right: 1rem;
    }
    .header-top .row > div:last-child {
        padding-left: 1rem;
        padding-right: 1.5rem;
    }
}

/* ロゴ部分 */
.site-logo {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    word-break: break-all;
}

.site-logo:hover {
    text-decoration: none;
    color: var(--navy);
}

.site-logo .logo-badge {
    background-color: #B9463F;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 0;
}

/* メインナビ（紺色背景） */
.main-nav {
    background-color: var(--navy);
}

.main-nav .navbar-nav {
    gap: 0;
}

.main-nav .nav-link {
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 20px !important;
    letter-spacing: 0.04em;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background-color: var(--navy-light);
}

/* ハンバーガーボタン（カスタム・フローティングおしゃれ版） */
.main-nav .hamburger-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    padding: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--accent-blue) 100%);
    box-shadow: 0 6px 20px rgba(50, 97, 153, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* md（タブレット縦）以上でハンバーガーは非表示 */
@media (min-width: 768px) {
    .main-nav .hamburger-btn {
        display: none !important;
    }
}

.main-nav .hamburger-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(50, 97, 153, 0.45);
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--accent-blue) 100%);
}

.main-nav .hamburger-btn:focus {
    box-shadow: 0 0 0 4px rgba(42, 108, 182, 0.3);
    outline: none;
}

.hamburger-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 28px;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.2s ease;
    transform-origin: center;
}

/* 開いたときに×に変形 */
.main-nav .hamburger-btn[aria-expanded="true"] {
    background: linear-gradient(135deg, #b9473f 0%, #e87d2f 100%);
    box-shadow: 0 6px 20px rgba(185, 71, 63, 0.35);
}

.main-nav .hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.main-nav .hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.main-nav .hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =========================================================
   モバイル用フローティングメニュー（タブレット縦では通常表示）
   ========================================================= */
@media (max-width: 767.98px) {
    .main-nav .collapse,
    .main-nav .collapsing {
        position: fixed;
        bottom: 96px;
        right: 24px;
        width: 250px;
        background-color: rgba(21, 48, 77, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 16px;
        box-shadow: 0 12px 35px rgba(10, 25, 45, 0.3);
        z-index: 9998;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav .navbar-nav {
        padding: 8px 0;
        background: transparent;
    }

    .main-nav .nav-link {
        padding: 14px 24px !important;
        font-size: 14px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* 電話番号エリア */
.header-phone {
    font-size: 11px;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    width: fit-content;
}

.header-phone small {
    font-size: 11px;
    margin-right: 2em;
}

.header-phone .contact-label {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    margin-right: 12px;
}

.header-phone .phone-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.header-phone .phone-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.header-phone .phone-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.header-phone .phone-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   ヒーロー画像（各ページ共通）
   ========================================================= */
.hero-banner {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (max-width: 767.98px) {
    .hero-banner img {
        height: 220px;
        object-position: center top;
    }
}

/* お問い合わせページのみ：ヒーロー画像の位置を top ではなく中央に */
.hero-banner--top img, .hero-banner--contact img {
    object-position: center center;
}
@media (max-width: 767.98px) {
    .hero-banner--contact img {
        object-position: center center;
    }
}

/* =========================================================
   セクションタイトル（英字＋日本語）
   ========================================================= */
.section-heading {
    text-align: center;
    padding: 20px 0 40px;
}

.section-heading .en-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.section-heading .ja-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.section-heading .heading-line {
    width: 40px;
    height: 3px;
    background-color: var(--navy);
    margin: 0 auto;
    border: none;
}

/* About us セクション（淡い青緑背景・下端に▼形） */
.section-about {
    position: relative;
    background-color: #d1eeed;
    padding: 44px 0 26px;
}

.section-about p {
    color: var(--navy);
}

.section-about .container {
    z-index: 1;
}

/* =========================================================
   サブセクション見出し（紺背景横棒）
   ========================================================= */
.sub-heading {
    background-color: var(--navy);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    margin-bottom: 24px;
    border-radius: 2px;
    display: inline-block;
}

.role-sub-heading {
    background: linear-gradient(90deg, #cfe9eb 0 16px, var(--navy) 16px 100%);
    font-size: 14px;
    padding: 8px 18px 8px 30px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(22, 48, 77, 0.12);
    display: inline-block;
}

.sub-heading-full {
    background-color: var(--navy);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    margin-bottom: 24px;
    border-radius: 2px;
}

.supportdesk-section-label {
    display: inline-block;
    background: linear-gradient(90deg, #cfe9eb 0 18px, var(--navy) 18px 100%);
    color: var(--white);
    padding: 9px 24px 9px 34px;
    box-shadow: 0 4px 12px rgba(22, 48, 77, 0.12);
}

.supportdesk-section-label.text-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   概要テーブル（index用）
   ========================================================= */
.info-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.supportdesk-overview-section {
    position: relative;
}

.supportdesk-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 64px;
    height: 36px;
    background-color: #d1eeed;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.info-table-overview {
    background-color: var(--white);
}

.info-table th,
.info-table td {
    padding: 6px 16px;
    vertical-align: top;
}

.info-table th {
    width: 140px;
    font-weight: 700;
    color: var(--text-dark);
    background-color: var(--bg-light);
    white-space: nowrap;
}

.info-table td {
    color: var(--text-body);
}

.info-table-overview th {
    width: 96px;
    background-color: transparent;
    color: var(--navy);
    letter-spacing: 0.08em;
    padding-left: 0;
    border-bottom-color: #edf2f5;
}

.info-table-overview th::before {
    content: '■';
    color: #cfe9eb;
}


.info-table-overview td {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    padding-right: 0;
    border-bottom-color: #edf2f5;
}

/* =========================================================
   拠点セクション（ベトナム・日本）
   ========================================================= */
.supportdesk-network-section {
    position: relative;
    padding-top: 24px;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #eef5f8;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.5)),
        url("../images/supportdesk_2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.office-panel {
    position: relative;
}

.office-panel-header {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--white);
    padding: 10px 24px;
    border-radius: 10px 10px 0 0;
}

.office-panel-vn .office-panel-header {
    background-color: #b9473f;
}

.office-panel-jp .office-panel-header {
    background-color: var(--navy);
}

.office-panel-body {
    padding: 12px;
    border-radius: 0 0 10px 10px;
}

.office-panel-vn .office-panel-body {
    background-color: #FCE4D6;
    border: 2px solid rgba(185, 71, 63, 0.48);
    border-top: none;
}

.office-panel-jp .office-panel-body {
    background-color: #d1eeed;
    border: 2px solid rgba(50, 97, 153, 0.4);
    border-top: none;
}

.office-card {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 40, 66, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 10px 22px rgba(27, 48, 75, 0.08);
}

.office-card-wide {
    padding: 16px 18px;
}

.office-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 4px;
    line-height: 1.3;
}

.office-card-vn .office-card-title {
    color: #b9473f;
}

.office-card-subtitle {
    text-align: center;
    font-size: 14px;
    color: #b9473f;
    margin-bottom: 14px;
}

.office-card-jp .office-card-subtitle {
    color: var(--navy);
}

.office-detail-group+.office-detail-group {
    margin-top: 8px;
}

.office-chip {
    display: inline-block;
    min-width: 58px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-align: center;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.office-chip-vn {
    background-color: #c77961;
}

.office-chip-jp {
    background-color: #6a89ae;
}

.office-detail-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-dark);
}

.office-note {
    margin: 10px 0 0;
    font-weight: 700;
    line-height: 1.6;
    color: #b9473f;
    text-align: center;
}

.office-note-jp {
    color: var(--navy);
}

.office-photo-row {
    margin-top: 10px;
}

.office-photo-row .office-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

.network-link-badge {
    display: flex;
    justify-content: center;
    margin: 10px 0 20px;
}

.network-link-badge span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 56px;
    background-color: #7c7f84;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.network-link-badge span::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 14px solid #7c7f84;
}

/* =========================================================
   協議会セクション
   ========================================================= */
.council-section {
    position: relative;
    margin-bottom: 0;
    background-color: #EFEFEF;
}

.council-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -36px;
    background-color: #EFEFEF;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 53% calc(100% - 36px), 50% 100%, 47% calc(100% - 36px), 0 calc(100% - 36px));
    z-index: 0;
}

.council-section .container {
    z-index: 1;
}

.council-content {
    padding: 8px 0 22px;
}

.council-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 18px;
}

.council-block+.council-block {
    margin-top: 18px;
}

.council-block-last {
    margin-bottom: 6px;
}

.council-label {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 2px;
    margin-bottom: 10px;
}

.council-text {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-dark);
}

.council-text+.council-text {
    margin-top: 8px;
}

.council-text-compact {
    margin-top: 8px;
}

.council-list {
    margin: 8px 0 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-dark);
}

.council-list li+li {
    margin-top: 2px;
}

.council-link-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-dark);
}

.council-link-list li::before {
    content: '・';
    margin-right: 2px;
}

.council-file-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background-color: var(--accent-blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 3px;
    text-decoration: none;
}

.council-file-badge:hover {
    color: var(--white);
    text-decoration: none;
    background-color: var(--navy);
}

.council-file-badge-light {
    background-color: #8fa4b8;
}

/* =========================================================
   お問い合わせ案内ブロック（共通フッターCTA）
   ========================================================= */
.cta-contact {
    position: relative;
    background-color: #d1eeed;
    padding: 44px 0 26px;
}

.cta-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 64px;
    height: 36px;
    background-color: #EFEFEF;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.cta-contact-no-triangle::before {
    display: none;
}

.cta-contact .cta-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 22px;
    line-height: 1.4;
}

.cta-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 22px 22px 18px;
    min-height: 138px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(30, 63, 101, 0.08);
}

.cta-phone-number {
    margin: 8px 0 2px;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.cta-card-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 33px;
    color: var(--navy);
    line-height: 1;
}

.cta-card-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

.cta-card-icon-mail {
    border-radius: 12px;
}

.cta-card-icon-mail img {
    width: 64px;
    height: 64px;
}

.cta-card-caption {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    color: #4b6a8d;
}

.cta-card-message {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--navy);
}

.cta-info-heading {
    display: table;
    margin: 6px 0 10px;
    background-color: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    padding: 8px 14px;
    border-radius: 3px;
    text-align: left;
}

.cta-info-body {
    text-align: left;
    color: var(--text-dark);
}

.cta-info-name {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.cta-info-name span {
    font-weight: 700;
    font-size: 12px;
}

.cta-info-text {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-dark);
}

/* =========================================================
   事業全般お問い合わせ先エリア
   ========================================================= */
.contact-info-box {
    background-color: var(--bg-gray);
    border-radius: 8px;
    padding: 24px 32px;
    margin-top: 32px;
}

.contact-info-box .info-heading {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* ダウンロードボタン（オレンジ） */
.btn-download {
    background-color: var(--accent-blue);
    color: var(--white);
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.btn-download:hover {
    background-color: var(--navy);
    color: var(--white);
    text-decoration: none;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0 24px;
    font-size: 12px;
}

.site-footer .footer-heading {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #d1eeed;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.site-footer .list-unstyled li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.site-footer .list-unstyled li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-nav {
    border-left: 1px solid var(--white);
    padding-left: 16px;
}

.site-footer .copyright {
    padding-top: 16px;
    margin-top: 24px;
    color: var(--white);
    font-size: 11px;
}

/* =========================================================
   How to use
   ========================================================= */
.howtouse-subtitle {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.steps-container {
    position: relative;
}

.howtouse-steps {
    max-width: 860px;
}

.step-block {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step-block:not(:last-child) {
    padding-bottom: 24px;
    border-bottom: 1px solid #4f5762;
}

.step-content {
    flex: 1;
    padding: 6px 0 0;
    position: relative;
}

.step-block:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -13px;
    transform: translateX(-50%);
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 13px solid #3b2a22;
}

.step-label {
    flex-shrink: 0;
    text-align: center;
    width: 108px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 96px;
    height: 96px;
    border: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #cfeeed;
    position: relative;
    z-index: 2;
}

.step-circle .step-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
    line-height: 1;
}

.step-circle .step-num {
	font-family: "Roboto", sans-serif;
    font-size: 58px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-top: 2px;
}

.step-block:last-child .step-content {
    padding-bottom: 0;
    border-bottom: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.5;
}

.step-content p {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    color: #111111;
}

.howtouse-step-image {
    width: min(100%, 330px);
    height: auto;
    object-fit: contain;
}

.howtouse-bottom {
    margin-top: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.howtouse-contact-box {
    margin-top: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    flex: 0 0 320px;
}

.howtouse-contact-title {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.howtouse-contact-text {
    font-size: 13px;
    line-height: 1.9;
    color: #111111;
}

.howtouse-bottom-image-wrap {
    flex: 1;
    text-align: right;
}

.howtouse-guidance-section {
    background-color: #efefef;
    padding: 34px 0 32px;
}

.howtouse-guidance-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.notice-box,
.subsidy-box {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.subsidy-box {
    margin-bottom: 18px;
}

.notice-box .notice-heading,
.subsidy-box .notice-heading {
    width: auto;
    min-width: 0;
    margin: 0 auto 14px;
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 3px;
}

.howtouse-panel-body {
    background-color: transparent;
    padding: 0;
}

.howtouse-panel-body-bordered {
    border: 0;
}

.howtouse-panel-text,
.howtouse-panel-link,
.howtouse-panel-lead,
.howtouse-list,
.howtouse-note-box p {
    font-size: 13px;
    line-height: 1.75;
}

.howtouse-note-box p {
    color: var(--navy);
}
.howtouse-panel-text,
.howtouse-panel-link,
.howtouse-panel-lead {
    margin-bottom: 0;
}

.howtouse-panel-link {
    margin-top: 10px;
}

.howtouse-panel-lead {
    font-weight: 700;
    color: var(--navy);
}

.howtouse-list {
    margin: 6px 0 0;
    padding-left: 1.6em;
}

.howtouse-list li + li {
    margin-top: 1px;
}

.howtouse-list-plain {
    list-style: none;
    padding-left: 0;
}

.howtouse-list-plain li {
    position: relative;
    padding-left: 0.9em;
}

.howtouse-list-plain li::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
}

.howtouse-note-box {
    margin: 22px auto 0;
    padding: 4px 14px;
    background-color: var(--white);
    border: 1px solid #7ea0c8;
    border-radius: 3px;
    text-align: center;
}

/* =========================================================
   お問い合わせフォーム（contact用）※画像デザイン忠実再現
   ========================================================= */
.contact-form-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-form-table tr {
    border-bottom: 1px solid #dee2e6;
}

.contact-form-table th {
    padding: 16px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    width: 200px;
    vertical-align: middle;
    white-space: nowrap;
    background-color: #F5F5F5;
    border-bottom: 1px solid #dee2e6;
}

.contact-form-table td {
    padding: 12px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

.contact-form-table .form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    background-color: #fff;
}

.contact-form-table .form-control::placeholder {
    color: #aaa;
}

.contact-form-table textarea.form-control {
    min-height: 120px;
}

/* 必須バッジ（画像どおり：赤#DC3545・白文字・小さい角丸） */
.badge-required {
    background-color: #DC3545;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 500;
    vertical-align: middle;
}

/* 郵便番号から住所を入力ボタン（画像どおり：黒背景・白文字・角丸） */
.btn-postal {
    background-color: #000;
    color: #fff;
    font-size: 12px;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-postal:hover {
    background-color: #333;
    color: #fff;
}

/* 送信ボタン */
.contact-form-submit {
    margin-top: 28px;
    margin-bottom: 48px;
    text-align: center;
}

.btn-submit {
    background-color: var(--navy);
    color: #fff;
    font-size: 16px;
    padding: 12px 48px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.btn-submit:hover {
    background-color: var(--navy-dark);
    color: #fff;
}

/* 個人情報チェック「同意する」 */
.contact-form-table .form-check {
    margin-top: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-table .form-check-input {
    margin: 0;
    flex-shrink: 0;
    vertical-align: middle;
}

.contact-form-table .form-check-label {
    font-size: 14px;
    color: #000;
    line-height: 1.2;
    margin-bottom: 0;
}

/* 注意テキスト（※必須項目を赤・左にわずかインデント） */
.required-note {
    font-size: 13px;
    color: #000;
    margin-bottom: 24px;
    padding-left: 4px;
}

.required-note .text-red {
    color: #DC3545;
    font-weight: 700;
}

/* =========================================================
   role.png 用：フロー図エリア（HTML/CSSで構築）
   ========================================================= */
.flow-chart {
    max-width: 610px;
    margin: 18px auto 44px;
    padding: 0;
}

.flow-chart-row {
    display: flex;
    align-items: stretch;
    gap: 18px;
    justify-content: center;
}

/* 日本側・ベトナム側のボックス */
.flow-side {
    flex: 1;
    max-width: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(50, 97, 153, 0.08);
}

.flow-side-jp {
    border: 2px solid #9ecde0;
}

.flow-side-vn {
    border: 2px solid #efb285;
}

.flow-side-header {
    padding: 8px 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: 0.25em;
}

.flow-side-header-jp {
    background-color: var(--navy);
}

.flow-side-header-vn {
    background-color: var(--accent-orange);
}

.flow-side-body {
    padding: 16px 14px 14px;
    text-align: center;
    min-height: 250px;
}

.flow-side-jp .flow-side-body {
    background-color: #edf7fb;
}

.flow-side-vn .flow-side-body {
    background-color: #fff4ec;
}

.flow-item {
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.45;
}

.flow-item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.flow-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-dark);
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.flow-side-jp .flow-box {
    border-color: #b3d9e8;
}

.flow-side-vn .flow-box {
    border-color: #f1c39f;
}

.flow-box-accent {
    background-color: var(--accent-blue);
    color: var(--white);
    border: none;
    font-weight: 700;
}

.flow-box-green {
    background-color: #69bf6b;
    color: var(--white);
    border: none;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.3;
    padding: 7px 12px;
    border-radius: 999px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(92, 171, 88, 0.2);
}

/* 中央の矢印・サポートデスクエリア */
.flow-center {
    flex: 0 0 122px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

.flow-center-label {
    background-color: var(--accent-orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(232, 125, 47, 0.22);
}

.flow-center-desk {
    background-color: #53a7d8;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(83, 167, 216, 0.24);
}

.flow-arrow {
    font-size: 28px;
    color: var(--accent-blue);
    line-height: 1;
}

.flow-side-jp .flow-arrow {
    color: #6bb8d4;
}

.flow-side-vn .flow-arrow {
    color: #e6a270;
}

.flow-center .flow-arrow {
    color: #ef9c4b;
    font-size: 26px;
}

.role-section .section-heading {
    padding-bottom: 30px;
}

.role-heading {
    font-size: 18px;
    margin-bottom: 14px;
    display: block;
}

.role-heading-role {
    margin-top: 42px !important;
}

.role-paragraph {
    font-size: 14px;
    line-height: 2;
    color: #444;
    margin-bottom: 26px;
}

.role-paragraph-compact {
    margin-bottom: 18px;
}

.role-list {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
    padding-left: 1.25rem;
    margin-bottom: 16px;
}

.role-list li+li {
    margin-top: 2px;
}

.role-list-square {
    list-style-type: square;
    padding-left: 1.5rem;
}

.role-list-square li::marker {
    color: var(--navy);
}

.role-gallery {
    max-width: 100%;
    margin: 0 auto 56px;
}

.role-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* 小見出し紺青 */
.blue-heading {
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    display: inline-block;
}

/* フロー図画像エリア（フォールバック） */
.flow-diagram {
    margin: 24px 0 48px;
    text-align: center;
}

.flow-diagram img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   レスポンシブ調整
   ========================================================= */
@media (max-width: 991.98px) {
    .main-nav .nav-link {
        padding: 10px 16px !important;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cta-card {
        padding: 18px 16px 16px;
        min-height: 124px;
    }

    .cta-phone-number {
        font-size: 24px;
    }

    .flow-chart-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .flow-side {
        max-width: 100%;
        width: 100%;
    }

    .flow-center {
        flex: auto;
        padding: 2px 0;
    }

    .flow-side-body {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .header-phone {
        text-align: center;
        margin-top: 8px;
    }

    .section-heading {
        padding: 40px 0 24px;
    }

    .section-heading .en-title {
        font-size: 27px;
    }

    .section-heading .ja-title {
        font-size: 17px;
    }

    .main-nav .nav-link {
        font-size: 14px;
    }

    .section-about, .role-section, .howtouse-section, .contact-section {
        padding-top: 0 !important;
    }

    .sub-heading,
    .sub-heading-full {
        font-size: 17px;
    }

    .role-sub-heading {
        display: block;
        text-align: center;
        font-size: 15px;
    }

    .role-gallery {
        max-width: 100%;
    }

    .info-table th {
        display: block;
        width: 100%;
        border-bottom: none;
        padding-bottom: 4px;
    }

    .info-table td {
        display: block;
        padding-top: 0;
        padding-left: 16px;
    }

    .supportdesk-section-label {
        display: block;
        padding: 9px 18px 9px 30px;
        text-align: center;
        font-size: 17px;
    }

    .info-table-overview th {
        padding-left: 0;
    }

    .info-table-overview td {
        padding-left: 0;
        padding-right: 0;
    }

    /* お問い合わせページ：スマホ時の余白調整 */
    .contact-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-section {
        padding-top: 24px !important;
        padding-bottom: 40px;
    }

    .contact-form-table th {
        display: block;
        width: 100%;
        padding-bottom: 6px;
        padding-left: 0;
        padding-right: 0;
    }

    .contact-form-table td {
        display: block;
        padding-top: 0;
        padding-bottom: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .contact-form-submit {
        margin-top: 24px;
    }

    .howtouse-subtitle {
        font-size: 17px;
    }

    .step-block {
        gap: 14px;
        margin-bottom: 20px;
    }

    .step-block:not(:last-child) .step-content::after {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 12px;
    }

    .step-label {
        width: 86px;
    }

    .step-circle {
        width: 76px;
        height: 76px;
    }

    .step-circle .step-text {
        font-size: 13px;
    }

    .step-circle .step-num {
        font-size: 42px;
    }

    .step-content {
        padding-bottom: 20px;
    }

    .step-content h4 {
        font-size: 17px;
    }

    .step-content p,
    .howtouse-contact-text,
    .howtouse-panel-text,
    .howtouse-panel-link,
    .howtouse-panel-lead,
    .howtouse-list,
    .howtouse-note-box p {
        font-size: 14px;
    }

    .notice-box,
    .subsidy-box,
    .howtouse-panel-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .notice-box .notice-heading,
    .subsidy-box .notice-heading {
        font-size: 13px;
        padding: 8px 10px;
    }

    .howtouse-guidance-section {
        padding: 28px 0 24px;
    }

    .howtouse-guidance-wrap {
        max-width: 100%;
    }

    .howtouse-panel-text,
    .howtouse-panel-link,
    .howtouse-panel-lead,
    .howtouse-list,
    .howtouse-note-box p {
        font-size: 14px;
    }

    .howtouse-note-box {
        margin-top: 18px;
        padding: 6px 10px;
    }

    .howtouse-step-image {
        width: min(100%, 240px);
    }

    .howtouse-bottom {
        margin-top: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .howtouse-contact-box {
        flex: none;
    }

    .howtouse-contact-title {
        font-size: 15px;
    }

    .howtouse-bottom-image-wrap {
        width: 100%;
        text-align: center;
    }

    .supportdesk-network-section {
        padding-top: 20px;
        background-position: center center;
    }

    .council-section {
        margin-bottom: 0;
    }

    .council-section-bg {
        bottom: -28px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 54% calc(100% - 28px), 50% 100%, 46% calc(100% - 28px), 0 calc(100% - 28px));
    }

    .council-content {
        padding: 0 0 18px;
    }

    .council-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .council-label {
        font-size: 12px;
        padding: 5px 10px;
        margin-bottom: 8px;
    }

    .council-text,
    .council-list,
    .council-link-list {
        font-size: 13px;
        line-height: 1.8;
    }

    .office-panel-header {
        font-size: 18px;
        padding: 8px 16px;
    }

    .office-panel-body {
        padding: 10px;
    }

    .office-card,
    .office-card-wide {
        padding: 14px;
    }

    .office-card-title {
        font-size: 17px;
    }

    .office-card-subtitle,
    .office-detail-text,
    .office-note {
        font-size: 12px;
    }

    .network-link-badge {
        margin: 8px 0 18px;
    }

    .cta-contact {
        padding: 36px 0 22px;
    }

    .cta-contact::before {
        top: 0;
        width: 52px;
        height: 28px;
    }

    .cta-contact .cta-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .cta-contact .cta-title-linebreak {
        display: block;
    }

    .cta-card-icon {
        width: 52px;
        height: 52px;
        border-width: 2px;
    }

    .cta-card-message {
        font-size: 14px;
    }

    .cta-info-heading {
        width: 100%;
        font-size: 14px;
        padding: 8px 12px;
    }

    .cta-info-name,
    .cta-info-text {
        font-size: 13px;
    }

    .office-photo-row .office-photo {
        width: 100%;
        object-fit: cover;
    }

    .site-footer .footer-nav {
        margin-left: 16px;
    }
}