@charset "UTF-8";

/* =========================================
   1. 変数定義・基本設定
   ========================================= */
:root {
    --color-main: #4B0082;       /* ロゴ、アクセント色（紫） */
    --color-accent: #667eea;     /* リンク、強調色（青紫） */
    --color-accent-hover: #5a6fd8;
    --color-bg: #f8f9fa;         /* 全体の背景（少し柔らかいグレー） */
    --color-white: #ffffff;
    --color-text: #333333;       /* 基本テキスト */
    --header-height: 85px;       /* ヘッダーの高さ */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    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); /* 固定ヘッダー分の余白 */
}

main { flex: 1; width: 100%; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* PC/SP切り替え用ユーティリティ */
.pc-only { display: inline; }
.sp-only { display: none; }

/* 共通コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. ヘッダー（PC・共通）
   ========================================= */
.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-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; }

/* =========================================
   3. ハンバーガーメニュー (スマホ用)
   ========================================= */
.hamburger-btn { display: none; 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; }
.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; }

/* =========================================
   4. メインビジュアル (ヒーローセクション)
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 55vh; /* 画面高の約半分 */
    min-height: 400px;
    /* 背景画像 (必要に応じてパスを変更してください) */
    background-image: url('https://with-asset.chouseisan.com/uploads/2018/07/22175305/0RHN67tkyyYCNMNaT2WpjgaRTurfdC85eiErpuBj-1400x1050.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* スクロール時のパララックス効果 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

/* 画像の上に被せる紫系のグラデーション */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.75) 0%, rgba(102, 126, 234, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* =========================================
   5. ウェルカムメッセージ
   ========================================= */
.welcome-section {
    background-color: var(--color-white);
    text-align: center;
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    line-height: 1.5;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.welcome-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* =========================================
   6. クイックリンク (カードグリッド)
   ========================================= */
.quick-links {
    padding: 5rem 0;
}

.links-grid {
    display: grid;
    /* 画面幅に合わせて自動で列数を調整 */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.link-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 4px solid var(--color-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-main);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.link-card:hover .card-icon {
    transform: scale(1.15);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Instagram専用カードデザイン */
.instagram-card {
    border-top-color: #E1306C;
}
.instagram-card .card-icon {
    /* Instagram風グラデーションテキスト */
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   7. フッター
   ========================================= */
.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; }


/* =========================================
   8. メディアクエリ (レスポンシブ対応)
   ========================================= */
@media screen and (max-width: 900px) {
    /* メニューの切り替え */
    .pc-menu-area { display: none; }
    .hamburger-btn { display: block; }
}

@media screen and (max-width: 768px) {
    /* スマホ表示用の微調整 */
    .pc-only { display: none; }
    .sp-only { display: inline; }
    
    .hero-section {
        height: 40vh;
        min-height: 350px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .welcome-section, .quick-links {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .welcome-text {
        font-size: 1rem;
    }
}


/* =========================================
   (おまけ) ニュースセクション用スタイル
   ※HTMLに追加したくなった時用です
   ========================================= */
.news-section { background-color: var(--color-white); padding: 5rem 0; }
.news-list { max-width: 800px; margin: 0 auto; }
.news-item { display: flex; align-items: center; background-color: var(--color-bg); padding: 20px; margin-bottom: 20px; border-radius: 8px; border-left: 4px solid var(--color-accent); transition: box-shadow 0.3s; }
.news-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.news-date { background-color: var(--color-white); color: #555; border-radius: 8px; text-align: center; padding: 10px 20px; margin-right: 20px; min-width: 100px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.news-date .year { font-size: 0.8em; display: block; }
.news-date .md { font-size: 1.4em; font-weight: 700; display: block; line-height: 1.2; color: var(--color-accent); }
.news-content { flex-grow: 1; }
.news-title { font-weight: 700; font-size: 1.1em; margin: 0 0 5px 0; color: var(--color-text); }
.news-description { font-size: 0.9em; color: #666; margin: 0; }
@media screen and (max-width: 768px) {
    .news-item { flex-direction: column; align-items: flex-start; }
    .news-date { margin-right: 0; margin-bottom: 15px; display: flex; gap: 10px; align-items: baseline; min-width: auto; padding: 5px 15px; }
    .news-date .year::after { content: "/"; margin-left: 2px; }
    .news-content { width: 100%; }
}