@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;
}

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. メインコンテンツ (Baseスタイルを維持)
   ========================================= */
main {
    flex: 1;
    /* ヘッダーの高さ分を確保 */
    padding-top: var(--header-height); 
    width: 100%;
}

.content-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.content-container h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}

.content-container p,
.content-container ul {
    line-height: 1.8;
}

.content-container li {
    margin-bottom: 10px;
}

/* ボタン */
.button {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px; 
    font-size: 20px;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.05);
}

/* =========================================
   6. フッター (Base独自)
   ========================================= */
.site-footer {
    background-color: var(--color-text);
    color: var(--color-white);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: auto;
}

.ssl-seal {
    margin-top: 15px;
}

/* =========================================
   7. レスポンシブ設定 (900px以下)
   ========================================= */
@media screen and (max-width: 900px) {
    /* --- index.css のヘッダー切り替え --- */
    .pc-menu-area { display: none; }
    .hamburger-btn { display: block; }
    
    /* --- Baseコンテンツの調整 --- */
    .content-container {
        margin: 20px;
        padding: 15px;
    }
}