/* 基本設定 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding-top: 80px; /* ヘッダーがfixedなのでその分下げる */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.4s ease;
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 { color: #ff7043; font-size: 1.5rem; letter-spacing: 1px; }

/* ヘッダー隠す用クラス */
.nav-up { top: -80px; }

/* ナビゲーション（PC） */
header nav ul { display: flex; list-style: none; }
header nav ul li { margin-left: 20px; }
header nav ul li a { text-decoration: none; color: #333; font-weight: bold; font-size: 0.9rem; }

/* メニューアイコン（スマホ用：初期は隠す） */
.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    z-index: 1100;
}
.menu-icon span {
    display: block;
    height: 3px;
    background: #ff7043;
    margin-bottom: 5px;
    transition: 0.3s;
}
.menu-icon span:last-child { margin-bottom: 0; }

/* バツに変形 */
.menu-icon.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ヒーローセクション */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.hero h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* 共通セクション */
section { padding: 80px 0; }
h3 { text-align: center; font-size: 2rem; margin-bottom: 40px; position: relative; }
h3::after { content: ""; display: block; width: 50px; height: 3px; background: #ff7043; margin: 10px auto 0; }

/* メッセージ・サービス・ギャラリー */
/* メッセージボックス内の筆文字スタイル */
.calligraphy {
    font-family: 'Yuji Syuku', serif; /* 筆文字フォントを適用 */
    font-size: 3rem;                 /* ガツンと大きく */
    font-weight: bold;
    color: #333;                     /* 墨のような濃い色 */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: 0.1em;           /* 少し字間を空けて威風堂々と */
    /* 文字に少しだけ「かすれ」のようなニュアンスを出す（隠し味） */
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1); 
}

/* スマホでは文字サイズを調整 */
@media (max-width: 768px) {
    .calligraphy {
        font-size: 2rem;
    }
}

.message-box { background: #fff; padding: 40px; border-radius: 8px; border-left: 8px solid #ff7043; }
.lead { font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; color: #ff7043; }
.signature { text-align: right; margin-top: 30px; font-weight: bold; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-item { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.service-item h4 { margin-bottom: 15px; color: #ff7043; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; }
.gallery-text { padding: 20px; }
.gallery-text .category { background: #ff7043; color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 3px; margin-bottom: 10px; display: inline-block; }

/* お問い合わせ・ボタン */
.contact { background: #eee; text-align: center; }

.line-btn { background: #06C755; color: #fff; padding: 10px 25px; border-radius: 50px; margin: 15px 0 40px; display: inline-block; cursor: pointer; }

.cta-buttons { display: flex; justify-content: center; gap: 20px; }

/* ボタンの共通設定 */
.btn {
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease; /* 変化を滑らかに */
}

/* メインボタン：オレンジ */
.btn-primary {
    background: #ff7043;
    color: #fff;
    border: none;
}

/* ホバー時：色を少し暗くし、少し下に沈ませる */
.btn-primary:hover {
    background: #e65100; /* より深いオレンジ（暗め） */
    opacity: 0.9;
    transform: translateY(2px); /* 2px下に沈む（押した感） */
}

/* サブボタン：白背景にオレンジ枠 */
.btn-secondary {
    background: #fff;
    border: 2px solid #ff7043;
    color: #ff7043;
}

/* ホバー時：背景を薄いグレーにして、落ち着かせる */
.btn-secondary:hover {
    background: #f0f0f0; /* ほんのり暗いグレー */
    color: #e65100;      /* 文字も少し暗く */
    border-color: #e65100;
    opacity: 0.9;
    transform: translateY(2px);
}

/* LINEボタン */
.line-btn {
    background: #06C755;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    margin: 15px 0 40px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none; /* リンクの下線を消す */
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.line-btn:hover {
    background-color: #05a346; /* ホバー時に少し暗くする */
    transform: scale(1.05);    /* 少しだけ大きくして「押せる感」を出す */
}

footer { text-align: center; padding: 30px; background: #333; color: #fff; }

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .menu-icon { display: block; }
    
    header nav {
        position: fixed;
        top: 0; left: 100%; /* 右側に隠しておく */
        width: 100%; height: 100vh;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }
    header nav.active { left: 0; }
    header nav ul { flex-direction: column; text-align: center; }
    header nav ul li { margin: 20px 0; }
    header nav ul li a { font-size: 1.5rem; }

    .hero h2 { font-size: 1.8rem; }
    .service-grid, .cta-buttons { grid-template-columns: 1fr; flex-direction: column; }
    .btn { width: 100%; display: block; }
}