/* =========================================================

contents.css - 金星ハイヤー採用サイト

=========================================================== */

/* =========================================================
top - メインビジュアル
=========================================================== */
#mainVisual {
    width: 100%;
    height: 80vh;
    background: linear-gradient(135deg, #7a7a7a 0%, #9a9a9a 100%);
    background-size: cover !important;  /* ← これを追加 */
    background-position: center center !important;  /* ← これを追加 */
    background-repeat: no-repeat !important;  /* ← これを追加 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#mainVisual_sp {
    display: none;
}

@media screen and (min-width:1366px) {
#mainVisual {
    height: 73vh;
}
}
@media screen and (min-width:1440px) {
#mainVisual {
    height: 78vh;
}
}
@media screen and (min-width:1680px) {
#mainVisual {
    height: 81vh;
}
}
@media screen and (min-width:1920px) {
#mainVisual {
    height: 82vh;
}
}

/* メインビジュアルコンテンツ */
.mainvisual-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
}

/* バッジ部分 */
.badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.badge {
    background: #DC143C;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: fadeInDown 0.8s ease;
}

/* メインタイトル */
.main-title {
    color: white;
    font-size: 52px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 35px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

/* 特徴タグ */
.features {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    background: #FFC107;
     color: #FFF !important; /* ← #333 から #FFFに変更 */
    padding: 12px 25px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    animation: fadeInUp 1.2s ease;
}

.feature-item.money {
    background: #FFC107 !important;  /* 赤色に変更 */
    font-size: 18px !important;  /* 少し大きく */
}








/* CTAボタン */
.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-tel {
    background: #333 !important;
    color: #FFF !important;
    padding: 18px 40px 18px 60px !important;  /* 左にアイコン用スペース */
    font-size: 20px;
    font-weight: bold;
    border-radius: 0;
    position: relative;
}

.btn-tel:before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: url('/muroran2/wp-content/themes/aarreDC/images/icon-tooth.png') no-repeat center;
    background-size: contain;
}

.btn-tel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: #555 !important; /* ← #B91C3C から #555（薄い黒）に変更 */
    color: #FFF !important; /* ← white から #FFF を維持 */
}

.btn-web {
    background: #333 !important; /* ← #DC143C から #333（黒）に変更 */
    color: #FFF !important; /* ← #333 から #FFF に変更 */
    padding: 18px 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease;
}

.btn-web:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: #555 !important; /* ← #B91C3C から #555（薄い黒）に変更 */
    color: #FFF !important; /* ← 追加 */
}

/* 車上の情報バナー（既存ボタンを流用） */
.car-info-area {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px auto;
    flex-wrap: wrap;
    max-width: 800px;  /* 2つのボタンだけの幅に制限 */
}

.car-info-area .btn-tel {
    font-size: 16px !important;  /* 20px → 16px */
    padding: 12px 25px 12px 45px !important;  /* コンパクトに */
    border-radius: 0 !important;  /* 四角に */
    min-height: auto !important;
}

.car-info-area .btn-tel:before {
    width: 20px !important;
    height: 20px !important;
    left: 15px !important;
}

/* GOアプリ用ボタン */
.btn-go {
    background: #C1272D !important;
    color: #FFF !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    font-weight: bold;
    border-radius: 0 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    text-decoration: none;
    display: block;  /* ブロック要素に */
    max-width: 400px;  /* 幅制限 */
    margin: 30px auto 20px;  /* 中央配置 */
    text-align: center;
}

.btn-go:hover {
    background: #9A1F24 !important;
    transform: translateY(-2px);
}




/* アニメーション */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
募集要項メインセクション
=========================================================== */
#recruitment-highlight {
    padding: 60px 0;
    background: #FFF;
}

.recruitment-summary-main {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.recruitment-summary-main h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.recruitment-summary-main h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FFD700;
}

.recruitment-summary-main h2 span {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    font-weight: normal;
}

.recruitment-summary-main .reserved-telnum {
    font-size: 38px;
    color: #DC143C;
    font-weight: bold;
    margin: 25px 0 20px;
}

.recruitment-summary-main .reserved-telnum span {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.recruitment-summary-main .net-reserved {
    margin: 20px 0;
}

.recruitment-summary-main .net-reserved a {
    display: inline-block;
    background: #333 !important; /* ← #FFD700 から #DC143C に変更 */
    color: #FFF !important; /* ← #333 から #FFF に変更 */
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.recruitment-summary-main .net-reserved a:hover {
    background: #555 !important; /* ← #FFC107 から #B91C3C に変更 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.recruitment-summary-main .yoyaku {
    color: #666;
    font-size: 14px;
    margin: 15px 0 30px;
}

.recruitment-summary-main .recruitment-table {
    margin-top: 25px;
}

.recruitment-summary-main .recruitment-table table {
    width: 100%;
    background: #FFF;
    border: 2px solid #FFD700;
}

.recruitment-summary-main .recruitment-table th {
    width: 30%;
    background: #1A1A1A; color: #FFF;
    padding: 12px 15px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #FFD700;
    text-align: left;
}

.recruitment-summary-main .recruitment-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #FFD700;
    font-size: 16px;
    color: #333;
}

.recruitment-summary-main .recruitment-table td.highlight-red {
    color: #DC143C;
    font-weight: bold;
    font-size: 18px;
}

.recruitment-summary-main .recruitment-table td .small {
    font-size: 14px;
    font-weight: normal;
    color: #333;
    margin-left: 5px;
}

/* =========================================================
選ばれる3つの理由
=========================================================== */
#top-about {
     background: rgb(230,230,230);
    background: linear-gradient(180deg, rgba(230,230,230,1) 80%, rgba(255,255,255,1) 80%);
}

#top-about .inner {
    width: 100%;
    max-width: 100%;  /* 1300px → 100% */
    text-align: center;
    margin: 0 auto;
}

#top-about ul {
    text-align: center;
    max-width: 100%;  /* 1260px → 100% */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}
.aarre-mark {
    width: 110px;
    margin: 0 auto 40px;
}

.aarre-mark img {
    width: 100%;
}

#top-about h2 {
    color: #333;
    font-size: 28px;
    letter-spacing: 0.06em;
    line-height: 1.8em;
    margin-bottom: 22px;
}

#top-about h2 span {
    font-size: 32px;
    display: block;
    font-weight: bold;
    color: #DC143C;
}

#top-about p {
    font-size: 16px;
    line-height: 1.8em;
    margin-bottom: 50px;
    color: #666;
}

#top-about ul {
    text-align: center;
    max-width: 100%;  /* ← 1260px を 100% に変更 */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

#top-about ul li {
    width: 33.3333%;
}

#top-about ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

#top-about ul li img {
    width: 100%;
    height: auto;
}

/* =========================================================
先輩の声セクション
=========================================================== */
#clinicDirector {
    background: #FFF;
    padding: 80px 0;
}

#clinicDirector .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

#clinicDirector .director-greeting {
    width: 50%;
    padding: 0 40px;
}

#clinicDirector .director-greeting h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

#clinicDirector .director-greeting h3 {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

#clinicDirector .director-greeting p {
    margin-bottom: 20px;
    line-height: 1.8;
}

#clinicDirector .director-greeting p strong {
    color: #DC143C;
}

#clinicDirector .director-name {
    text-align: right;
    margin-top: 30px;
}

#clinicDirector .director-name span {
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

#clinicDirector .director-greeting ul {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

#clinicDirector .director-greeting ul li {
    width: 48%;
}

#clinicDirector .director-greeting ul li a {
    display: block;
    color: #FFF;
    padding: 12px 20px;
    background: #DC143C;
    text-decoration: none;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s;
}

#clinicDirector .director-greeting ul li a:hover {
    background: #B91C3C;
    transform: translateY(-2px);
}

#clinicDirector .director-img {
    width: 45%;
}

#clinicDirector .director-img img {
    width: 100%;
}

#clinicDirector.director-second {
    background: #F8F8F8;
}

/* =========================================================
お知らせセクション
=========================================================== */
#news-info {
    padding: 60px 0;
    background: #F8F8F8;
}

#news-info h2 {
    background-color: #0A0A0A !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    margin: 0 auto 40px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    border-bottom: 4px solid #ffd700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    max-width: none !important;  /* 900px から none に変更 */
    width: 100vw !important;  /* 追加 */
    margin-left: calc(-50vw + 50%) !important;  /* 追加 */
    margin-right: calc(-50vw + 50%) !important;  /* 追加 */
    box-sizing: border-box !important;  /* 追加 */
}

#news-info h2 span {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 8px;
    font-weight: normal;
    letter-spacing: 0.2em;
}

#news-info .news-list {
    max-width: 900px;
    margin: 0 auto;
    background: #FFF;
    padding: 40px;
    border-radius: 0;  /* 角丸を削除 */
    border-left: 4px solid #dc143c;
}

#news-info .toInfoList {
    text-align: center;
    margin-top: 30px;
}

#news-info .toInfoList a {
    display: inline-block;
    background: #2a2a2a;
    color: #fff;
    padding: 12px 40px;
    border-radius: 0;  /* 角丸を削除 */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #2a2a2a;
}

#news-info .toInfoList a:hover {
    background: #fff;
    color: #2a2a2a;
}

/* =========================================================
共通要素
=========================================================== */
main {
    text-align: center;
    display: block;
    letter-spacing: 0.08em;
    width: 100% !important;
    padding-top: 30px;
}

.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.inner:after {
    content: "";
    clear: both;
    display: block;
}

section {
    margin: 0 auto;
}

section:after {
    content: "";
    clear: both;
    display: block;
}

section .inner {
    padding: 20px 0;
}

.section-title {
    background-color: #0A0A0A;
    color: #ffffff;
    padding: 18px 30px;
    margin: 0 auto 40px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 4px solid #ffd700;
    letter-spacing: 0.08em;
    text-align: center;
    max-width: none;  /* 100% から none に変更 */
    width: 100vw;     /* 追加 */
    margin-left: calc(-50vw + 50%);  /* 追加 */
    margin-right: calc(-50vw + 50%);  /* 追加 */
    display: block;
    position: relative;
}
.section-title:before {
    display: none;
}

.section-title span {
    background: transparent;
    padding: 0;
    color: #ffffff;
}

/* テーブル */
.table {
    margin: 0 0 20px;
}

.table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.table table td,
.table table th {
    padding: 0.6em 1.2em;
    border: none;
    border-bottom: 1px solid #DDD;
    text-align: left;
}

.table table.border td,
.table table.border th {
    padding: 0.6em 1.2em;
    border: 1px solid #CCC;
    text-align: center;
}

.table table.border th {
    background: #1A1A1A; color: #FFF;
}

/* 古いセクションを非表示 */
#news-consaltationHours {
    display: none;
}

/* メインビジュアル制御 - 最優先 */
/* デフォルト状態（PC表示） */
#mainVisual {
    display: flex !important;
}
#mainVisual_sp {
    display: none !important;
}

/* モバイル表示（640px以下） */
@media screen and (max-width: 640px) {
    #mainVisual {
        display: none !important;
    }
    #mainVisual_sp {
        display: flex !important;
    }
}

/* モバイル用ナビゲーション制御 */
@media screen and (max-width: 640px) {
    /* PCナビゲーションを完全に非表示 */
    #topnav {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================================================
トップナビゲーション
=========================================================== */
#topnav {
    width: 100%;
    max-width: 1200px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

#topnav li {
    list-style: none;
    flex: 1;
    text-align: center;
}

#topnav li a {
    display: block;
    padding: 12px;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

#topnav li a:hover {
    color: #DC143C;
    background: #F8F8F8;
    border-radius: 0;
}

#topnav li a.btn-contact {
    background: #FFD700;
    color: #333;
    border-radius: 0;
    font-weight: bold;
}

#topnav li a.btn-contact:hover {
    background: #DC143C;
    color: #FFF;
}

@media screen and (max-width: 1024px) {
    #topnav {
        max-width: 1000px;
    }
}

@media screen and (max-width: 896px) {
    #topnav {
        width: 90%;
        margin-bottom: 0;
    }
    #topnav li a {
        padding: 8px;
        font-size: 14px;
    }
}

/* モバイルでは非表示（既に設定済み） */
@media screen and (max-width: 640px) {
    #topnav {
        display: none !important;
    }
}

/* =========================================================
四角ボタンデザイン変更
=========================================================== */

/* メインビジュアルのバッジ */
.badge {
    border-radius: 0 !important; /* 丸から四角に */
}

/* 特徴タグ */
.feature-item {
    border-radius: 0 !important; /* ほぼ四角に */
}

/* CTAボタン（電話・WEB応募） */
.btn-tel,
.btn-web {
    border-radius: 0 !important; /* 丸から四角に */
}

/* 募集要項セクションのボタン */
.recruitment-summary-main .net-reserved a {
    border-radius: 0 !important; /* 丸から四角に */
}

/* 先輩の声セクションのボタン */
#clinicDirector .director-greeting ul li a {
    border-radius: 0 !important; /* 丸から四角に */
}

/* お知らせセクションのボタン */
#news-info .toInfoList a {
    border-radius: 0 !important; /* 丸から四角に */
}

/* ナビゲーションのコンタクトボタン */
#topnav li a.btn-contact {
    border-radius: 0 !important; /* 丸から四角に */
}

#topnav li a:hover {
    border-radius: 0 !important; /* ホバー時も四角に */
}

/* その他の共通ボタン */
a.btn,
.button,
input[type="submit"],
input[type="button"],
button {
    border-radius: 0 !important;
}

/* ================================================= */
/* 先輩ドライバーの声 - 縦型レイアウト改善版        */
/* contents.cssの#clinicDirector部分を置き換え      */
/* ================================================= */

/* セクション全体 */
#clinicDirector {
    background: #FFF;
    padding: 60px 0;
}

#clinicDirector .inner {
    max-width: none;  /* 900px → none に変更 */
    margin: 0;  /* 0 auto → 0 に変更 */
    display: block;
}
/* タイトル部分 - 黒帯に白文字 */
#clinicDirector .director-greeting h2 {
    background-color: #0A0A0A !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    margin: 0 0 40px 0 !important;  /* 下マージンを追加 */
    font-size: 24px !important;
    font-weight: bold !important;
    border-bottom: 4px solid #ffd700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    width: 100vw !important;  /* 追加 */
    max-width: none !important;  /* 追加 */
    margin-left: calc(-50vw + 50%) !important;  /* 追加 */
    margin-right: calc(-50vw + 50%) !important;  /* 追加 */
    box-sizing: border-box !important;  /* 追加 */
}

/* サブタイトル */
#clinicDirector .director-greeting h3 {
    background: #f8f8f8 !important;
    padding: 15px 25px !important;
    margin: 0 0 30px 0 !important;
    color: #333 !important;
    font-size: 17px !important;  /* 控えめなサイズ */
    text-align: center !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-weight: normal !important;
}

/* 画像を上部に配置 */

#clinicDirector .director-img {
    width: 100% !important;
    max-width: 1200px !important;  /* ← 最大幅を制限 */
    margin: 0 auto 40px !important;  /* ← 中央寄せ */
    padding: 0 !important;
    order: -1;
}

#clinicDirector .director-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Q&A部分 */
#clinicDirector .director-greeting {
    width: 100% !important;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;  /* 上下のpaddingを追加 */
    box-sizing: border-box;
}



/* 質問部分のデザイン */
#clinicDirector .director-greeting p strong {
    display: block;
    background: #dc143c;
    color: #fff;
    padding: 10px 20px;
    margin: 30px 0 15px 0;
    font-size: 16px !important;  /* 適度なサイズ */
    border-radius: 0;
    position: relative;
    font-weight: normal;
    letter-spacing: 0.05em;
}

/* 質問の前に「Q.」を追加 */
#clinicDirector .director-greeting p strong:before {
    content: "Q. ";
    font-weight: bold;
    margin-right: 5px;
}

/* 回答部分 */
#clinicDirector .director-greeting p {
    margin-bottom: 20px !important;
    line-height: 1.8 !important;
    padding: 15px 20px !important;
    background: #fafafa !important;
    border-left: 3px solid #dc143c !important;
    font-size: 15px !important;  /* 読みやすいサイズ */
    color: #333 !important;
	text-align: left !important;  /* ← これを追加 */
}

/* 名前部分 */
#clinicDirector .director-name {
    text-align: center !important;
    margin: 40px 0 30px !important;
    padding: 20px !important;
    background: #f8f8f8 !important;
    border-top: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

#clinicDirector .director-name span {
    display: block;
    font-size: 20px !important;  /* 適度なサイズ */
    font-weight: bold !important;
    color: #1a1a1a !important;
    margin-top: 8px !important;
}

/* ボタン */
#clinicDirector .director-greeting ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

#clinicDirector .director-greeting ul li {
    width: 250px;
}

#clinicDirector .director-greeting ul li a {
    display: block;
    color: #FFF !important;
    padding: 14px 20px !important;
    background: #dc143c !important;
    text-decoration: none;
    border-radius: 0 !important;
    text-align: center;
    transition: all 0.3s;
    font-weight: bold !important;
    font-size: 15px !important;  /* 控えめなサイズ */
}

#clinicDirector .director-greeting ul li a:hover {
    background: #b91c3c !important;
    transform: translateY(-2px);
}

/* 草野さんのセクション */
#clinicDirector.director-second {
    background: #F8F8F8;
}

#clinicDirector.director-second .inner {
    display: block;  /* 縦並び維持 */
}

#clinicDirector.director-second .director-img {
    order: -1;  /* 画像を上に */
    margin-bottom: 40px;
}

/* flexboxを使用して縦並びを確実に */
#clinicDirector .inner {
    display: flex !important;
    flex-direction: column !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    #clinicDirector .inner {
        max-width: 100%;
        padding: 0 20px;
    }
    
    #clinicDirector .director-greeting h2 {
        font-size: 20px !important;
        padding: 15px 20px !important;
    }
    
    #clinicDirector .director-greeting h3 {
        font-size: 15px !important;
        padding: 12px 20px !important;
    }
    
    #clinicDirector .director-greeting p strong {
        font-size: 15px !important;
        padding: 8px 15px;
    }
    
    #clinicDirector .director-greeting p {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }
    
    #clinicDirector .director-greeting ul {
        flex-direction: column;
        align-items: center;
    }
    
    #clinicDirector .director-greeting ul li {
        width: 100%;
        max-width: 300px;
    }
    
    #clinicDirector .director-img img {
        aspect-ratio: 4/3;  /* モバイルでは少し正方形寄りに */
    }
}

/* ================================================= */
/* Q横の赤い線を黒に変更                            */
/* contents.cssの最後に追加                         */
/* ================================================= */

/* 回答部分の左の線を黒に */
#clinicDirector .director-greeting p {
    border-left: 3px solid #1a1a1a !important;  /* 赤から黒に変更 */
}

/* 念のため、両方のセクションに適用 */
#clinicDirector .director-greeting p,
#clinicDirector.director-second .director-greeting p {
    border-left-color: #1a1a1a !important;  /* 黒 */
}

/* ================================================= */
/* セクション間の余白調整                           */
/* contents.cssの最後に追加                         */
/* ================================================= */

/* 選ばれる3つの理由の下余白を削減 */
#top-about {
    padding-bottom: 20px !important;  /* 80px → 40px */
    margin-bottom: 0 !important;
}

/* 先輩ドライバーの声の上余白を削減 */
#clinicDirector {
    padding-top: 20px !important;  /* 60px → 40px */
    margin-top: 0 !important;
}

/* innerクラスの余白も調整 */
#top-about .inner {
    padding-bottom: 40px !important;  /* 80px → 40px */
}

#clinicDirector .inner {
    padding-top: 0 !important;
}

/* 画像（高橋さんの写真）の上余白も調整 */
#clinicDirector .director-img {
    margin-top: 20px !important;  /* 余白を少なく */
}

/* モバイル対応 */
@media (max-width: 768px) {
    #top-about {
        padding-bottom: 30px !important;
    }
    
    #clinicDirector {
        padding-top: 30px !important;
    }
    
    #top-about .inner {
        padding-bottom: 30px !important;
    }
}

/* ================================================= */
/* よくある質問 - ドライバーの声と統一デザイン      */
/* ================================================= */

/* FAQ全体のコンテナ */
#faq {
    background: #FFF;
    padding: 60px 0 30px;  /* 下のpaddingを30pxに減らす */	
}

#faq .inner {
    max-width: none !important;  /* 900px制限を解除 */
    padding: 0 !important;  /* 左右のpaddingも0に */
}

/* Q&A部分だけは中央寄せを維持 */
#faq .w600 {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

/* セクションタイトル（黒帯に白文字） */
#faq .section-title {
    background-color: #0A0A0A !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    margin: 0 0 40px 0 !important;  /* autoを削除 */
    font-size: 24px !important;
    font-weight: bold !important;
    border-bottom: 4px solid #ffd700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    width: 100% !important;  /* maxではなくwidthに */
    max-width: none !important;  /* 制限を解除 */
}

#faq .section-title span {
    background: transparent !important;
    padding: 0 !important;
}

#faq .section-title:before {
    display: none !important;  /* 横線を消す */
}

/* FAQ項目のスタイル */
.annotation.bg-b {
    background: transparent !important;
    border: none !important;
    margin-bottom: 35px !important;
    padding: 20px;
    background-color: #fafafa !important;
    border-radius: 0 !important;
    border-left: 4px solid #dc143c !important;
}

/* 質問部分 */
.annotation dt {
    background: #dc143c !important;
    color: #fff !important;
    padding: 10px 20px !important;
    margin: -20px -20px 15px -20px !important;
    font-size: 16px !important;
    font-weight: normal !important;
    position: relative;
    padding-left: 50px !important;
}

/* Q.マークを小さく */
.annotation dt:before {
    content: "Q";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    width: 25px;  /* 40px → 25pxに縮小 */
    height: 25px;  /* 40px → 25pxに縮小 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* 回答部分 */
.annotation dd {
    margin: 0 !important;
    padding: 15px 20px !important;
    background: #ffffff !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #333 !important;
    text-align: left !important;
}

/* コンテナの幅調整 */
#faq .w600 {
    max-width: 900px !important;  /* 600px → 900pxに変更 */
    width: 100% !important;
}
/* ================================================= */
/* お問い合わせセクション - デザイン改良版           */
/* ================================================= */

#contact {
    background: #ffffff;
    padding: 20px 0 80px;  /* 上のpaddingを40pxに減らす */
}

/* 2カラムレイアウト */
.row.col2 {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 50px auto;
}

/* 電話ボックス */
.contact-tel-box {
    flex: 1;
    background: #2a2a2a;
    padding: 40px;
    text-align: center;
    border-bottom: 5px solid #ffd700;
}

.contact-tel-box h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-tel-big {
    font-size: 32px !important;
    color: #ffd700 !important;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-tel-big:before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    background: url('/muroran2/wp-content/themes/aarreDC/images/icon-yellow-tel.png') no-repeat center;
    background-size: contain;
    margin-right: 15px;
}

.contact-tel-box p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

/* LINEボックス */
.contact-line-box {
    flex: 1;
    background: #f8f8f8;
    padding: 40px;
    text-align: center;
    border-bottom: 5px solid #dc143c;
}

.contact-line-box h3 {
    color: #2a2a2a;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-line-box img {
    max-width: 180px;
    margin: 20px auto;
}

.contact-line-box p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* WEB応募フォーム */
#form {
    background: #ffffff;
    padding: 40px;
    max-width: 900px;
    margin: 50px auto 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

#form h3 {
    background: #dc143c;
    color: #ffffff;
    padding: 15px;
    margin: -40px -40px 30px;
    font-size: 20px;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .row.col2 {
        flex-direction: column;
    }
    
    .contact-tel-big {
        font-size: 24px !important;
    }
}

/* 選ばれる3つの理由 - 専用スタイル（他に影響なし） */
.three-reasons-section {
    background: rgb(230,230,230);
    background: linear-gradient(180deg, rgba(230,230,230,1) 80%, rgba(255,255,255,1) 80%);
    padding: 60px 0;
}

.reasons-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.reasons-images {
    display: flex !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    list-style: none !important;
    padding: 0 !important;
    margin-top: 40px !important;
}

.reasons-images li {
    width: 33.3333% !important;
    flex: 1 !important;
}

.reasons-images img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}


/* ================================================= */
/* 会社概要セクション - 完全版                       */
/* ================================================= */
#company {
    background: #FFF;
    padding: 60px 0;
}

#company .inner {
    max-width: 100%;
    padding: 0;
}

#company .section-title {
    background-color: #0A0A0A !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    margin: 0 auto 40px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    border-bottom: 4px solid #ffd700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.company-description {
    max-width: 900px;
    margin: 0 auto 40px !important;
    padding: 30px;
    background: #F8F8F8;
    border-left: 4px solid #DC143C;
}

.company-description h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.company-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* 会社概要テーブル */
#company .table,
#company .company-table {
    max-width: 900px !important;
    width: 100%;
    margin: 0 auto !important;
    padding: 0;
}

#company table.border {
    width: 100%;
    margin: 0 auto;
    background: #FFF;
    border: 2px solid #FFD700;
}

#company table.border th {
    width: 30%;
    background: #1A1A1A; color: #FFF;
    padding: 12px 15px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #FFD700;
    text-align: left;
}

#company table.border td {
    padding: 12px 15px;
    border-bottom: 1px solid #FFD700;
    font-size: 16px;
    color: #333;
}

.company-group {
    max-width: 900px;
    margin: 40px auto 0 !important;
    padding: 30px;
    background: #F8F8F8;
    border-left: 4px solid #FFD700;
}

.company-group h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.company-group p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* モバイル対応 */
@media screen and (max-width: 640px) {
    #company {
        padding: 40px 0;
    }
    
    #company .section-title {
        font-size: 18px !important;
        padding: 12px 15px !important;
    }
    
    .company-description,
    .company-group {
        max-width: calc(100% - 30px);
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 20px;
    }
    
    .company-description h3,
    .company-group h3 {
        font-size: 17px;
    }
    
    .company-description p,
    .company-group p {
        font-size: 14px;
    }
    
    #company .table,
    #company .company-table {
        padding: 0 15px;
        max-width: 100% !important;
    }
    
    #company table.border th {
        font-size: 13px !important;
        padding: 8px !important;
        width: 35% !important;
    }
    
    #company table.border td {
        font-size: 13px !important;
        padding: 8px !important;
        line-height: 1.6 !important;
    }
}


======================================== */
/* 募集要項セクション                                */
/* ================================================= */
#requirements {
    background: #FFF;
    padding: 60px 0;
}

#requirements .inner {
    max-width: 100%;
    padding: 0;
}

#requirements .section-title {
    background-color: #0A0A0A !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    margin: 0 auto 40px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    border-bottom: 4px solid #ffd700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* テーブルを中央配置 */
#requirements .table,
#requirements .requirements-table {
    max-width: 900px !important;
    width: 100%;
    margin: 0 auto !important;
    padding: 0;
}

#requirements table.border {
    width: 100%;
    margin: 0 auto;
    background: #FFF;
    border: 2px solid #FFD700;
}

#requirements table.border th {
    width: 30%;
    background: #1A1A1A; color: #FFF;
    padding: 12px 15px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #FFD700;
    text-align: left;
    vertical-align: top;
}

#requirements table.border td {
    padding: 12px 15px;
    border-bottom: 1px solid #FFD700;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

/* モバイル対応 */
@media screen and (max-width: 640px) {
    #requirements {
        padding: 40px 0;
    }
    
    #requirements .section-title {
        font-size: 18px !important;
        padding: 12px 15px !important;
    }
    
    #requirements .table,
    #requirements .requirements-table {
        padding: 0 15px;
        max-width: 100% !important;
    }
    
    #requirements table.border th {
        font-size: 13px !important;
        padding: 8px !important;
        width: 35% !important;
    }
    
    #requirements table.border td {
        font-size: 13px !important;
        padding: 8px !important;
    }
}

/* ================================================= */
/* GOアプリページ                                   */
/* ================================================= */
#go-app-page {
    padding: 60px 0;
    background: #F8F8F8;
}

.page-title {
    background-color: #0A0A0A;
    color: #ffffff;
    padding: 20px 30px;
    margin: 0 auto 40px;
    font-size: 26px;
    font-weight: bold;
    border-bottom: 4px solid #FFD700;
    text-align: center;
}

.go-app-content {
    max-width: 900px;
    margin: 0 auto;
    background: #FFF;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.go-app-image {
    text-align: center;
    margin-bottom: 40px;
}

.go-app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.go-app-description h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}

.go-app-description p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.go-app-features {
    background: #F8F8F8;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #FFD700;
}

.go-app-features h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.go-app-features ul {
    list-style: none;
    padding: 0;
}

.go-app-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 16px;
    color: #555;
}

.go-app-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C1272D;
    font-weight: bold;
    font-size: 20px;
}

.go-app-download {
    background: #F8F8F8;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    border-radius: 0;
}

.go-app-download h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.download-buttons img {
    height: 50px;
    width: auto;
}

.go-app-cta {
    background: #F8F8F8;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    border: 2px solid #FFD700;
    border-radius: 0;
}

.go-app-cta h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
}

.highlight-text {
    color: #DC143C;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}

.btn-tel-large {
    display: inline-block;
    background: #333;
    color: #FFF;
    padding: 20px 40px;
    border-radius: 0;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-tel-large .small-text {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.btn-tel-large .tel-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
}

/* モバイル対応 */
@media screen and (max-width: 640px) {
    .go-app-content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .go-app-features {
        padding: 20px 15px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-tel-large {
        width: 100%;
        max-width: 280px;
    }
}
/* ================================================= */
/* 見出しスタイル（黄色アンダーライン）            */
/* ================================================= */
.section-title-underline {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 auto 50px;
    padding-bottom: 25px;
    position: relative;
}

.section-title-underline span {
    display: inline-block;
    position: relative;
}

.section-title-underline span:after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: #FFD700;
}

.sub-title-underline {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
	border-bottom: 3px solid #FFD700;  /* 緑の下線 */
}

.sub-title-underline:after {
    display: none;  /* 黄色い線を非表示 */
}



/* GOアプリページ用調整 */
#go-app-page {
    padding: 5px 0;
    background: #FFF;
}

.go-app-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
	background: transparent;  /* 背景色を透明に */
    box-shadow: none;  /* 影を削除 */
    border: none;  /* 枠線を削除 */
}

.go-app-image {
    text-align: center;
    margin-bottom: 50px;
}

.go-app-description p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    text-align: left;
}

/* 修正前（既存のコード） */
.go-features-list ul {
    list-style: none;
    padding: 0;
}

.go-features-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 16px;
    color: #555;
}

.go-features-list li:before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: #C1272D;
    font-weight: bold;
    font-size: 20px;
}

/* 修正後 */
.go-features-list ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.go-features-list li {
    background: #FFF;
    border: 2px solid #FFD700;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    color: #333;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.go-features-list li:before {
    display: none;  /* チェックマーク非表示 */
}

/* 5個目の項目を横幅いっぱいに */
.go-features-list li:nth-child(5) {
    grid-column: 1 / -1;
}








.go-download-area,
.go-cta-area {
    text-align: center;
    margin: 30px 0;
}

.highlight-text {
    color: #DC143C;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}

/* モバイル対応 */
@media screen and (max-width: 640px) {
    .section-title-underline {
        font-size: 22px;
    }
    
    .sub-title-underline {
        font-size: 18px;
    }
}

/* ページビジュアル */
#pageVisual {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* ヘッダーが固定されている場合の調整 */
#header.fixed + #pageVisual {
    margin-top: 60px;  /* 固定ヘッダー時は少し狭く */
}



#pageVisual:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);  /* 暗くして文字を見やすく */
}

#pagetitle {
    position: relative;
    z-index: 1;
    text-align: center;
}

#pagetitle h2 {
    color: #FFF;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    padding: 20px;
}

/* ページコンテンツ */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px !important;  /* 上パディング減らす */
}

/* ページ内の最初のH1タイトルの上余白削除 */
.page-content h1:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* section-title-underlineクラスの上余白削除 */
.page-content .section-title-underline {
    margin-top: 0 !important;
}

/* モバイル対応 */
@media screen and (max-width: 640px) {
    #pageVisual {
        height: 200px;
		margin-top: 70px;  /* モバイルヘッダーの高さ分 */
    }
    
    #pagetitle h2 {
        font-size: 24px;
    }
    
    #topnav {
        display: none;  /* モバイルでは非表示 */
    }
}

/* ==================================================
   MW WP Form - モダン&洗練デザイン
================================================== */
.mw_wp_form {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* フォーム説明文 */
.mw_wp_form .form-intro {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.mw_wp_form .form-intro p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* フォームコンテナ */
.mw_wp_form .form-container {
    background: #f8f8f8;
    padding: 50px;
    border-radius: 0;
}

/* 各フィールドグループ */
.mw_wp_form .field-group {
    margin-bottom: 35px;
    position: relative;
}

/* ラベル */
.mw_wp_form .field-label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.05em;
}

/* 必須バッジ */
.mw_wp_form .required-badge {
    background: #FFD700;
    color: #000;
    font-size: 10px;
    padding: 3px 8px;
    margin-left: 12px;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* 入力フィールド共通 */
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form input[type="number"],
.mw_wp_form textarea,
.mw_wp_form select {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-bottom: 2px solid transparent;
    background: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form input[type="tel"]:focus,
.mw_wp_form input[type="number"]:focus,
.mw_wp_form textarea:focus {
    outline: none;
    border-bottom-color: #FFD700;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

/* プレースホルダー */
.mw_wp_form input::placeholder,
.mw_wp_form textarea::placeholder {
    color: #999;
    font-size: 14px;
}

/* 電話番号グループ */
.mw_wp_form .tel-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mw_wp_form .tel-group input {
    flex: 1;
    max-width: 140px;
}

.mw_wp_form .tel-separator {
    color: #999;
    font-size: 18px;
    font-weight: 300;
}

/* ラジオボタン・チェックボックス */
.mw_wp_form .radio-group,
.mw_wp_form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.mw_wp_form .radio-item,
.mw_wp_form .checkbox-item {
    background: #fff;
    padding: 12px 20px;
    border-radius: 0;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s;
    flex: 0 0 calc(50% - 10px);
}

.mw_wp_form .radio-item:hover,
.mw_wp_form .checkbox-item:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.mw_wp_form input[type="radio"],
.mw_wp_form input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.mw_wp_form input[type="radio"]:checked + label,
.mw_wp_form input[type="checkbox"]:checked + label {
    color: #000;
    font-weight: 600;
}

/* 選択時のハイライト */
.mw_wp_form .radio-item:has(input:checked),
.mw_wp_form .checkbox-item:has(input:checked) {
    background: #FFF9E6;
    border-color: #FFD700;
}

/* テキストエリア */
.mw_wp_form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

/* 年齢フィールド */
.mw_wp_form .age-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mw_wp_form .age-group input {
    width: 100px;
}

/* 送信ボタンエリア */
.mw_wp_form .submit-container {
    margin-top: 50px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.mw_wp_form .submit-btn,
.mw_wp_form input[type="submit"] {
    background: #000;
    color: #fff;
    padding: 18px 80px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.mw_wp_form .submit-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #FFD700;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mw_wp_form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #000;
}

.mw_wp_form .submit-btn:hover:before {
    width: 300px;
    height: 300px;
}

.mw_wp_form .submit-btn span {
    position: relative;
    z-index: 1;
}

/* エラーメッセージ */
.mw_wp_form .error {
    color: #d00;
    font-size: 13px;
    margin-top: 8px;
    padding-left: 5px;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* セクションタイトル */
.mw_wp_form .section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
    color: #333;
}

/* アニメーション */
.mw_wp_form .field-group {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.mw_wp_form .field-group:nth-child(1) { animation-delay: 0.1s; }
.mw_wp_form .field-group:nth-child(2) { animation-delay: 0.2s; }
.mw_wp_form .field-group:nth-child(3) { animation-delay: 0.3s; }
.mw_wp_form .field-group:nth-child(4) { animation-delay: 0.4s; }
.mw_wp_form .field-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   お問い合わせ完了ページ
================================================== */
/* 追加 */
.thanks-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.thanks-message {
    margin-bottom: 40px;
}

.thanks-message .lead {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.thanks-message p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-box {
    background: #f8f8f8;
    border: 2px solid #000;
    padding: 30px;
    margin: 40px auto;
    max-width: 400px;
    border-radius: 0;
}

.contact-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-box .tel {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 10px 0;
}

.btn-container {
    margin-top: 40px;
}

.btn-back-home {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 15px 60px;
    text-decoration: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-back-home:hover {
    background: #333;
}

/* MW WP Form 確認・送信ボタン */
.mwform-bsubmit-button,
.mwform-submit-button {
    background: #000;
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 10px;
}

.mwform-back-button {
    background: #666;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    margin: 0 10px;
}

.hawkeye-badge.badge-recruit {
    background: #FFD700;
    color: #0A0A0A;
    margin-left: 10px;
}