@charset "UTF-8";

/* --- Variables --- */
:root {
    --color-primary: #81D8D0; /* ティファニーブルー */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --font-main: "Shippori Mincho", serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    
    /* ★修正: 基本サイズを大きく (16px -> 約17.6px相当) */
    font-size: 1.1rem; 
    
    /* ★修正: 明朝体でも読み負けないよう、少しだけ太さを担保 */
    font-weight: 500; 
    
    line-height: 2.2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s, color 0.3s;
}

a:hover {
    opacity: 0.7;
    color: var(--color-primary);
}

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

ul {
    list-style: none;
}

/* --- Common Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.section-padding {
    padding: 120px 0;
}

/* --- Typography --- */
.section-title {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 600; /* ★修正: 500->600 少し強く */
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.section-title.center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
    
    /* ▼ 背景透明・文字色は白（メニュー等のため） */
    background-color: transparent;
    color: #fff;
}

/* フッター表示時に隠すクラス */
.header.hide-header {
    transform: translateY(-100%);
}

/* ▼ スクロール後の設定 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 10px rgba(0,0,0,0.03);
    color: #333;
}

.header-inner {
    /* width: 100%; max-width: 1200px; は削除または上書き */
    width: 100%;
    max-width: none; /* 幅制限を解除して画面いっぱいに使う */
    margin: 0;
    
    /* ▼ ここが重要：メインビジュアルの left: 10% に合わせる */
    padding: 0 10%; 
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo {
    /* 余計なマージンや行間を排除 */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex; /* 追加 */
    align-items: center; /* 追加 */
}

.header-logo a {
    display: flex; /* リンクタグ自体もFlexにして */
    align-items: center; /* 画像を完全に垂直中央へ */
    height: 100%;
}

.header-logo img {
    height: 40px;
    width: auto;
    /* 以前あった filter プロパティを削除しました */
    /* filter: brightness(0) invert(1); ←削除 */
    
    /* 画像の上下ズレを防ぐため bottom から変更 */
    vertical-align: middle; 
}

/* スクロール後もフィルタは不要なので削除 */
.header.scrolled .header-logo img {
    filter: none;
}

.header-nav ul {
    display: flex;
    gap: 30px;
    align-items: center; /* ナビゲーションメニューも垂直中央へ */
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- Contact Button (Header) --- */
.btn-contact {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 20px;
    transition: all 0.3s;
    display: inline-block; /* インラインブロックで高さを持たせる */
    line-height: 1.4; /* ボタン内の文字位置調整 */
}

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

/* スクロール後 */
.header.scrolled .btn-contact {
    border-color: #333;
    color: #333;
}

.header.scrolled .btn-contact:hover {
    background-color: #333;
    color: #fff;
}

/* --- Hamburger Menu (Mobile) --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 101; /* メニューより手前 */
}


/* --- Footer Styles --- */
.footer {
    background-color: #f9f9f9;
    padding: 80px 0 30px;
    color: var(--color-text);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.footer-logo img {
    width: 140px;
    margin-bottom: 40px;
}

.footer-company {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-main);
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.company-address {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.footer-sitemap {
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.sitemap-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.sitemap-head a {
    font-size: 1.1rem;
    font-weight: 700; /* ★修正: 見出しを強調 */
    display: block;
    margin-bottom: 15px;
    position: relative;
}

.sitemap-sub li {
    margin-bottom: 10px;
}

.sitemap-sub a {
    font-size: 0.95rem; /* ★修正: 少し大きく */
    color: var(--color-text-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
    gap: 20px;
}

.footer-sns {
    display: flex;
    gap: 30px; /* アイコンの間隔 */
    align-items: center;
}

/* SNSアカウント準備中のため一旦非表示。公式Instagram/LINEのURL確定後、この2行のルールを削除して解除する */
.footer-sns {
    display: none;
}

.footer-sns a {
    display: block;
    transition: opacity 0.3s;
}

.footer-sns a:hover {
    opacity: 0.7; /* ホバー時に少し薄くしてクリック感を出す */
    transform: scale(1.05); /* ほんの少し拡大 */
}

.footer-sns img {
    width: 40px; /* ★ここで画像の大きさを調整してください */
    height: auto;
    display: block; /* 余計な隙間を消す */
}

.footer-links {
    font-size: 0.85rem;
}

.copyright {
    font-size: 0.75rem;
    color: #999;
    font-family: sans-serif;
}

/* Responsive Header Footer */
@media screen and (max-width: 768px) {
    /* --- 1. ヘッダーの余白調整 --- */
    .header-inner {
        padding: 0 4%; /* PCの10%から、スマホ標準の4%に戻す */
    }

    /* --- 2. ハンバーガーアイコン --- */
    .hamburger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 101; /* メニューより手前に表示 */
        cursor: pointer;
    }

    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        transition: 0.4s;
        
        /* ▼ 初期状態は「白」（動画の上で見えるように） */
        background-color: #fff; 
    }

    /* ▼ スクロール後は「黒」に変更 */
    .header.scrolled .hamburger span {
        background-color: #333;
    }
    
    /* ▼ メニューが開いている時も「黒」に変更（背景が白くなるため） */
    .hamburger.active span {
        background-color: #333;
    }

    /* 3本線の位置 */
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 11px; }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    /* --- 3. ハンバーガー Active時アニメーション (×印) --- */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    /* --- 4. スマホメニュー (全画面) --- */
    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255,255,255,0.98); /* 背景白 */
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    
    .header-nav.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .header-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .header-nav a {
        font-size: 1.2rem;
        color: #333; /* メニュー内の文字は常に黒 */
    }

    /* --- 5. フッター (スマホ用レイアウト) --- */
    .sitemap-list {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .sitemap-sub {
        display: none; /* スマホでは詳細リンクを隠してスッキリさせる */
    }
}