@charset "UTF-8";

/* Google Fonts読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;900&family=Roboto&display=swap');

/* 基本設定 */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif; /* ベースフォント */
    line-height: 1.8;
    color: #333;
    background-color: #007f49;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom; /* 画像下の余白対策 */
}

a {
    text-decoration: none;
    color: #007f49; /* アクセントカラー */
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #007f49; /* アクセントカラー */
    margin: 0;
    line-height: 1; /* 行の高さを調整 */
}
.site-title a{
    color: inherit; /* 親要素の色を継承 */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-left: 25px;
}

nav a {
    color: #333;
    font-weight: bold;
}
nav a:hover {
    color: #007f49; /* ホバー時のアクセントカラー */
}

/* ハンバーガーメニュー (スマホ用) */
.hamburger-menu {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100; /* 他の要素より手前に */
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #007f49;
    margin: 5px 0;
    transition: all 0.3s;
}

/* メインコンテンツ */
h1, h2, h3 {
    font-weight: 900;
    color: #007f49;
    margin-top: 0;
    text-align: center;
    line-height: 1.4;
}
h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    margin-top: 40px;
}
h2 { font-size: 2.2rem; margin-bottom: 30px; }
h3 { font-size: 1.8rem; margin-bottom: 20px; }

p {
    margin-bottom: 1.5em;
}

.text-center {
    text-align: center;
}

.section {
    margin-bottom: 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ボタン */
.button {
    display: inline-block;
    background-color: #007f49; /* アクセントカラー */
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px; /* 丸みのあるボタン */
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.hero .button {
    background-color: #fff; /* アクセントカラー */
    color: #007f49;
}

.button:hover {
    background-color: ; /* ホバー時の色 */
    color: #fff;
    opacity: 1;
}

.hero .button:hover {
    background-color: #fff; /* アクセントカラー */
    color: #333;
}

/* TOPページ用 */
.hero {
    text-align: center;
    background-color: #333; 
    margin-bottom: 60px;
    padding-bottom: 64px;
}
.hero h1 {
    margin-bottom: 20px;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
        max-width: 480px;
}
.hero p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.hero img.main-visual {
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
}


/* メニューページ用 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 自動調整グリッド */
    gap: 30px;
}

.menu-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 200px; /* 高さを固定 */
    object-fit: cover; /* 画像をトリミング */
}

.menu-item-content {
    padding: 20px;
}

.menu-item h3 {
    font-size: 1.5rem;
    color: #007f49; /* ポイントフォント */
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif; /* メニュー名はゴシックに */
    font-weight: bold;
}

.menu-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 3.6em; /* 説明文の高さをある程度確保 */
}

.menu-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* 会社概要ページ用 */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}
.about-text {
    flex: 1;
}
.about-image {
    flex-basis: 40%; /* 画像の幅 */
    text-align: center;
}
.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
        max-width: 350px;
    padding: 2em;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
.info-table th,
.info-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
}
.info-table th {
    background-color: #fffafb; /* さらに薄いピンク */
    width: 150px; /* 見出しの幅を固定 */
    font-weight: bold;
}
.map-container {
    margin-top: 30px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    height: 0;
    overflow: hidden;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* フッター */
footer {
    background-color: #333; /* やや濃いピンク */
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}


/* レスポンシブデザイン (ブレイクポイント 843px) */
@media (max-width: 843px) {
    .site-title {
        font-size: 2rem;
    }

    /* ハンバーガーメニュー表示 */
    nav ul {
        display: none; /* PC用ナビゲーションを非表示 */
        position: absolute;
        top: 70px; /* ヘッダーの高さに合わせる。ヘッダーの実際の高さに合わせて調整してください */
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 50; /* 他の要素より手前に */
    }
    nav.active ul {
        display: flex;
    }

/* --- ここを修正 --- */
/* JavaScriptで <nav id="nav-menu"> に .active クラスが付いた場合に中の ul を表示 */
nav.active ul {
  display: flex;
}
/* --- 修正ここまで --- */

    nav li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .hamburger-menu {
        display: block; /* スマホで表示 */
    }

    /* コンテンツ */

    h1 { font-size: 2.2rem; margin-bottom: 30px; }
    h2 { font-size: 1.8rem; margin-bottom: 20px; }
    h3 { font-size: 1.5rem; margin-bottom: 15px; }

    .section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    /* TOPページ */
    .hero {
        padding: 50px 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
     .hero img.main-visual {
        max-width: 90%;
    }


    /* メニューページ */
    .menu-grid {
        grid-template-columns: 1fr; /* 1列表示 */
        gap: 20px;
    }
     .menu-item img {
        height: 180px;
    }

    /* 会社概要ページ */
    .about-content {
        flex-direction: column; /* 縦並び */
        gap: 30px;
    }
    .about-image {
        flex-basis: auto;
        width: 80%; /* 画像の幅を調整 */
        margin: 0 auto; /* 中央寄せ */
    }
    .about-image > img {
        width: 100%; /* 画像の幅を調整 */
        margin: 0 auto; /* 中央寄せ */
    }
    .info-table th {
        width: 100px; /* スマホでは少し狭く */
    }
    .info-table th,
    .info-table td {
        padding: 10px;
    }
}