@charset "utf-8";

/* =========================================
   1. 変数定義 (index.css から完全コピー)
   ここがずれるとサイズ計算が狂います
   ========================================= */
:root {
    --color-main: #4B0082;       /* ロゴ、アクセント色（紫） */
    --color-accent: #667eea;     /* リンク、強調色（青紫） */
    --color-accent-hover: #5a6fd8;
    --color-text: #333333;       /* 基本テキスト */
    --color-bg: #fdfdfd;         /* 背景色 */
    --color-white: #ffffff;
    --header-height: 85px;       /* ヘッダーの高さ目安 */
}

/* =========================================
   2. 基本設定・リセット (index.css ベース)
   ヘッダーの表示崩れを防ぐため、index.cssの設定を優先します
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* ヘッダー内の文字幅・高さを合わせるため index.css のフォント設定を採用 */
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7; /* この行間設定がヘッダーの高さに影響します */
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* ヘッダー固定分の余白 (変数を使用) */
    padding-top: var(--header-height); 
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   3. ヘッダー（PC・共通）(index.css から完全コピー)
   ========================================= */
.site-header {
    width: 100%;
    background-color: var(--color-white);
    border-bottom: 1px solid #ddd;
    padding: 18px 0; /* このパディングが高さの肝です */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px; /* ここが縮むと中身も寄ります */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */
.header-logo a {
    color: var(--color-main);
    display: flex;
    flex-direction: column;
    line-height: 1.2; /* ロゴの縦並び間隔を固定 */
}

.logo-main {
    font-size: 30px;
    font-weight: bold;
    margin: 2px 0;
}

.logo-sub {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* PC用ナビゲーション */
.pc-menu-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    margin-left: 40px;
}

.header-nav {
    flex: 1;
}

.header-nav ul {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.header-nav a {
    color: var(--color-text);
    font-size: 15px;
    font-weight: bold;
}

.header-nav a:hover {
    color: var(--color-main);
}

/* ヘッダー右側（お問い合わせ） */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.contact-btn {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 8px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background-color: #6a0dad;
    transform: translateY(-2px);
}

.tel-number {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.tel-label {
    color: var(--color-main);
    font-size: 14px;
    margin-right: 15px;
}

/* =========================================
   4. スマホ・レスポンシブ対応（ハンバーガーメニュー）(index.css から完全コピー)
   ========================================= */
.hamburger-btn {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-main);
    cursor: pointer;
    z-index: 101;
}

/* 全画面メニューの背景 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #3448ba;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* JSで付与されるクラス */
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-content {
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: var(--color-white);
    padding: 20px;
}

.mobile-nav-list {
    margin: 0 0 40px 0;
}

.mobile-nav-list li {
    margin-bottom: 20px;
}

.mobile-nav-list a {
    color: var(--color-white);
    font-size: 18px;
    font-weight: bold;
    display: block;
}

.mobile-nav-list a:hover {
    opacity: 0.7;
}

.mobile-contact-area {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: var(--color-white);
    font-weight: bold;
    font-size: 16px;
}

.mobile-tel {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.8;
    margin-top: 10px;
}

/* =========================================
   5. メインコンテンツ (お問い合わせ選択など)
   ========================================= */
.main-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 上寄せ */
    width: 100%;
}

.container {
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.page-header {
    margin-bottom: 40px;
    text-align: center; /* ヘッダーは中央揃え */
}

.page-header h2 {
    font-size: 28px;
    color: var(--color-main);
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    display: inline-block;
}

.page-header p {
    font-size: 16px;
    line-height: 1.6;
}

/* ボタンのコンテナ */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* 選択ボタンのデザイン */
.contact-select-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    color: var(--color-main);
    border: 2px solid var(--color-main);
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-select-btn:hover {
    background-color: var(--color-main);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* =========================================
   6. フッター
   ========================================= */
.site-footer {
    background-color: var(--color-text);
    color: var(--color-white);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: auto;
    flex-shrink: 0;
}

.ssl-seal {
    margin-top: 15px;
}

/* =========================================
   7. レスポンシブ対応 (900px以下)
   ========================================= */
@media screen and (max-width: 900px) {
    /* --- index.css のヘッダー切り替え --- */
    .pc-menu-area { display: none; }
    .hamburger-btn { display: block; }
    
    /* --- メインコンテンツ調整 --- */
    .contact-select-btn {
        padding: 15px 20px;
        font-size: 16px;
    }
}



/* =========================================
   変数定義・基本設定
   ========================================= */
:root {
    --color-main: #4B0082;       /* メイン紫 */
    --color-accent: #00ca8d;     /* アクセント緑 */
    --color-bg: #f4f7f9;         /* 背景グレー */
    --color-white: #ffffff;
    --color-text: #333333;
    --header-height: 85px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 800px; /* お問い合わせは情報を絞るため少し狭めに設定 */
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   メインコンテンツ
   ========================================= */
.main-content {
    padding: 4rem 0;
    flex: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.page-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* =========================================
   お問い合わせカード
   ========================================= */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 6px solid #ccc; /* 標準の色 */
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 特定のカードの色分け */
.contact-card.accent {
    border-left-color: var(--color-accent);
}
.contact-card.accent .card-icon {
    color: var(--color-accent);
}

.contact-card.external {
    border-left-color: var(--color-main);
}
.contact-card.external .card-icon {
    color: var(--color-main);
}

/* カード内の要素 */
.card-icon {
    font-size: 2rem;
    color: #888;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.card-content {
    flex-grow: 1;
    padding: 0 15px;
}

.card-label {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text);
}

.card-subtext {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

.card-arrow {
    color: #ccc;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .card-arrow {
    transform: translateX(5px);
    color: var(--color-main);
}

/* 補足情報のフッター */
.contact-info-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.contact-info-footer i {
    margin-right: 5px;
}

/* =========================================
   フッター
   ========================================= */
.site-footer {
    background-color: var(--color-text);
    color: var(--color-white);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}
.ssl-seal { margin-top: 15px; }

/* =========================================
   レスポンシブ
   ========================================= */
@media screen and (max-width: 600px) {
    .main-content { padding: 2rem 0; }
    .page-title { font-size: 1.8rem; }
    
    .contact-card {
        padding: 20px 15px;
        flex-direction: row; /* 横並びを維持 */
    }
    .card-icon {
        width: 40px;
        font-size: 1.5rem;
    }
    .card-label {
        font-size: 1.1rem;
    }
    .card-subtext {
        font-size: 0.8rem;
    }
}