/* --- 基本設定 --- */
:root {
    --color-text: #333;
    --color-white: #fff;
    --color-dark: #000;
    --color-bg-light: #f9f9f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* ページ内リンクをスムーズにスクロールさせる */
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴ Pro W3",
        "メイリオ", Meiryo,
        "MS Ｐゴシック", "MS PGothic",
        sans-serif;
    line-height: 1.7;
    color: var(--color-dark);
    background-color: #FAFAFA;
}

img {
    max-width: 100%;
    height: auto;
    /* 画像の下にできる余白を防ぐ */
    display: block;
}

ul {
    list-style: none;
}

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

a:hover {
    opacity: 0.7;
}

/* サイトの横幅を固定するコンテナ */
.container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* 各セクションの共通設定 */
section {
    padding: 80px 0;
}

.section-title {
    color: #c86000;
    text-align: center;
    font-size: 2rem;
    /* margin: 80px 0; */
    font-weight: bold;
    letter-spacing: 2px;
}

/* --- ヘッダー --- */
header {
    /* ヒーロー画像の上に重ねる */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 60px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Flexboxでロゴとナビを両端に配置 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 459px;
    height: 103px;
}

.global-nav ul {
    display: flex;
}

.global-nav li {
    margin-left: 40px;
}

.global-nav a {
    color: var(--color-white);
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: flex-start;
}

.global-nav a img {
    width: 27px;
    display: inline-block;
    margin-left: 8px;/
}

/* --- ヒーローセクション --- */
.hero {
    height: 100vh;
    /* center center: 画像を中央に配置
      / cover: 画像が要素全体を覆うように拡大・縮小
    */
    background: url('images/hero-bg.jpg') no-repeat center center/cover;

    /* Flexboxで中のテキストを左下に配置 */
    display: flex;
    justify-content: flex-start;
    /* 水平方向は左寄せ */
    align-items: flex-end;
    /* 垂直方向は下寄せ */
    padding: 0 100px 70px 100px;
}

.hero-text {
    color: #fff;
    line-height: 1.5;
}

/* .hero-text {
    display: inline-block;
    background: #e77f3acc;
    color: var(--color-white);
    padding: 8px;
    letter-spacing: 2px;
} */

.hero-text h2 {
    font-size: 40px;
}

.hero-text h2 span {
    /* padding: 10px 0; */
    padding: 10px 0 10px 13px;
    background: #E77F3AD9;
}

/* --- 3. ABOUTセクション --- */
#about {
    background-color: #fcf6f1;
    padding: 50px 100px 90px 100px;
}

.about-content {
    /* Flexboxで画像とテキストを横並びにする */
    display: flex;
    gap: 60px;
    /* 要素間の隙間 */
    align-items: center;
    padding-top: 50px;
}

.about-images {
    width: 60%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 15px; */

}

.about-images img {
    /* width: 386px; */
    /* height: 257px; */
    aspect-ratio: 4 / 2.66;
    width: 600px;
    height: auto;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin: 2.5rem 0;
    font-size: 22px;
    letter-spacing: 2px;
    color: #733903;
}

.about-text span {
    font-size: 20px;
}

/* --- 4. NEWSセクション --- */
#news {
    background-color: #FAFAFA;
    padding: 50px 0 50px 0;

}

.news-list {
    padding: 30px 18% 0 18%;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 30px 0;
    font-size: 24px;
}

.news-list time {
    color: #055ba2;
    margin-right: 30px;
    font-weight: bold;
    min-width: 120px;
    font-size: 14px;
}

/* --- 5. MENUセクション --- */
#menu {
    background-color: #fcf6f1;
    padding: 80px 210px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 0;
    padding-top: 50px;
    justify-items: center;
}

.menu-item {
    position: relative;
}

.menu-item img {
    width: 490px;
    height: 100%;
    box-shadow: 0px 1px 9.5px 0px rgba(0, 0, 0, 0.2);
}

.menu-item-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.menu-item-text h3 {
    background: rgba(117, 117, 117, 0.85);
    color: var(--color-white);
    font-size: 36px;
    margin: 0;
    font-weight: bold;
    letter-spacing: 5px;
    display: inline-block;
    padding-left: 10px;
    padding-right: 5px;
    line-height: 1.2;
}

.menu-item-text p {
    color: #eee;
    font-size: 18px;
    margin-top: 2px;
    font-weight: bold;
}

/* --- 6. ACCESSセクション --- */
#access {
    background-color: #FAFAFA;
    padding: 50px 210px;
}

.access-content {
    padding-top: 50px;
    display: flex;
    gap: 90px;
    align-items: center;
}

.address-info p {
    line-height: 2;
    font-size: 24px;
}

/* --- 7. フッター --- */
footer {
    background-image: linear-gradient(to bottom, #FAFAFA, #FFFCFA);
    padding: 60px 210px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Flexboxでロゴとナビを両端に配置 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    width: 351px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
}

.footer-nav li {
    margin: 0 20px;
    font-weight: bold;
    font-size: 16px;
    color: var(--color-text);
}

.footer-nav a {
    display: flex;
    align-items: flex-start;
}

.footer-nav a img {
    width: 27px;
    display: inline-block;
    margin-left: 8px;
}

/* --- レスポンシブ対応 (簡易版) --- */
@media (max-width: 768px) {
    /* 画面幅が768px以下の場合 */

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    /* ヘッダー: ロゴとナビを縦積みに */
    .header-container {
        flex-direction: column;
    }

    .global-nav {
        margin-top: 15px;
    }

    .global-nav li {
        margin: 0 10px;
    }

    /* ヒーロー: 高さを調整 */
    .hero {
        height: 70vh;
        padding: 40px 20px;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    /* ABOUT: 画像とテキストを縦積みに */
    .about-content {
        flex-direction: column;
    }

    /* MENU: 2列から1列に */
    .menu-grid {
        grid-template-columns: 1fr;
    }

    /* ACCESS: 地図と住所を縦積みに */
    .access-content {
        flex-direction: column;
    }

    /* フッター: ナビを縦積みに */
    .footer-nav ul {
        flex-direction: column;
    }

    .footer-nav li {
        margin: 5px 0;
    }
}