/* 基本的なリセットCSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* 全体設定 */
body {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #F8F4E3;
}

.inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #8C2F39;
    font-weight: bold;
}

.button {
    display: inline-block;
    background-color: #8C2F39;
    color: #F8F4E3;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #6a242c;
}

.button-area {
    text-align: center;
    margin-top: 50px;
}

/* ヘッダーセクション */
.header {
    position: absolute;
    top: 640px; /* メインビジュアルの高さ(700px)から、ヘッダーの高さ(約60px)を引いた位置に調整 */
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #8C2F39; /* 赤い背景色 */
    padding: 20px 0;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    /* justify-contentはmain-nav ulに移動 */
    align-items: center;
    max-width: 960px; /* ヘッダーのコンテンツ最大幅を960pxに設定 */
    margin: 0 auto; /* 中央寄せ */
    /* padding: 0 40px; はナビゲーションの広がりに合わせて調整が必要になる可能性あり */
    /* 一旦paddingをなくして、ナビゲーションの広がりを確認します */
    padding: 0;
}

.main-nav {
    /* ナビゲーション自体を右に寄せるための設定は削除 */
    /* margin-left: auto; は削除 */
    width: 100%; /* header-innerの全幅を使う */
}

.main-nav ul {
    display: flex;
    justify-content: space-between; /* 子要素（li）を左右に均等に配置 */
    width: 100%; /* 親要素（main-nav）の全幅を使う */
    padding: 0 40px; /* ここで左右に40pxの間隔を設定 */
}

.main-nav li {
    margin: 0; /* 各メニュー項目のマージンは不要 */
}

.main-nav a {
    color: #F8F4E3;
    font-weight: bold;
    padding: 5px 0;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    opacity: 0.7;
}

/* 以下、メインビジュアル以降のCSSは変更なし */
/* メインビジュアルセクション */
.main-visual {
    position: relative;
    height: 700px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/main_visual.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #F8F4E3;
    overflow: hidden;
    padding-top: 0;
}

.main-visual-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.main-visual-logo img {
    width: 200px;
    height: auto;
}

.main-visual-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 8px;
}

.main-visual .catchphrase {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-visual .sub-catchphrase {
    font-size: 24px;
}

/* コンセプトセクション */
.concept {
    padding: 80px 0; /* 上下の余白 */
    background-color: #F8F4E3; /* 背景色（ボディの色と合わせる） */
}

.concept .section-title {
    margin-bottom: 60px; /* タイトルの下部に余白 */
}

.concept-content {
    display: flex; /* 子要素を横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    margin-bottom: 60px; /* 各コンテンツブロック間の余白 */
    gap: 40px; /* テキストと画像の間の隙間 */
}

.concept-content:nth-child(even) { /* 偶数番目のconcept-content（2番目、4番目など） */
    flex-direction: row-reverse; /* 画像とテキストの並び順を反転 */
}

.concept-text {
    flex: 1; /* 利用可能なスペースを均等に分配 */
    padding: 20px; /* テキスト内の余白 */
    /*background-color: #fff; /* 背景色（カンプに合わせて調整） */
    /*border-radius: 8px; /* 角を丸くする */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.concept-text p {
    margin-bottom: 15px; /* 段落間の余白 */
    line-height: 1.8; /* 行の高さ */
    color: #555; /* テキスト色 */
}

.concept-text p:last-child {
    margin-bottom: 0; /* 最後の段落は下余白なし */
}

.concept-images { /* 最初のconcept-images用 */
    flex: 1; /* 利用可能なスペースを均等に分配 */
    display: flex; /* 画像をFlexアイテムとして扱う */
    justify-content: center; /* 画像を中央に配置 */
}

.concept-images img {
    max-width: 100%; /* 画像が親要素を超えないように */
    height: auto;
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

/* RECOMMENDED MENUセクション */
.recommended-menu {
    padding: 80px 0;
    background-image: url('images/bg_wood.jpg'); /* 木目調の背景画像 */
    background-size: cover;
    background-position: center;
}

.recommended-menu .section-title {
    color: #F8F4E3; /* タイトル文字色をクリーム色に */
}

.menu-list {
    display: flex; /* 子要素（menu-item）を横並びにする */
    justify-content: center; /* 子要素を中央に配置 */
    gap: 40px; /* メニューアイテム間の隙間 */
    margin-top: 60px;
}

.menu-item {
    background-color: #fff; /* 白い背景色 */
    padding: 20px;
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
    text-align: center;
    width: 400px; /* メニューアイテムの幅を固定 */
}

.menu-item img {
    width: 100%;
    height: 250px; /* 画像の高さを固定 */
    object-fit: cover; /* 画像がはみ出さないようにトリミング */
    border-radius: 8px;
    margin-bottom: 20px;
}

.menu-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
/* NEWS & EVENTセクション */
.news-event {
    padding: 80px 0;
    background-color: #fff; /* 背景色を白に設定 */
}

.news-list {
    max-width: 800px; /* リスト全体の幅を制限 */
    margin: 0 auto; /* 中央寄せ */
    border-top: 1px solid #ccc; /* 上部の区切り線 */
}

.news-list li {
    padding: 20px 0;
    border-bottom: 1px solid #ccc; /* 下部の区切り線 */
    display: flex; /* 子要素を横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    gap: 40px; /* 日付と記事の間の隙間 */
}

.news-list li time {
    color: #8C2F39; /* 日付の文字色を赤に */
    font-weight: bold;
    font-size: 14px;
    width: 100px; /* 日付の幅を固定 */
    flex-shrink: 0; /* 記事の文字数が増えても日付の幅を維持 */
}

.news-list li a {
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.news-list li a:hover {
    color: #8C2F39; /* ホバー時に文字色を赤に */
}

.button-area {
    margin-top: 60px; /* ボタンの上に余白 */
}
/* GALLERYセクション */
.gallery {
    padding: 80px 0;
    background-image: url('images/bg_wood.jpg'); /* 木目調の背景画像 */
    background-size: cover;
    background-position: center;
}

.gallery .section-title {
    color: #F8F4E3; /* タイトル文字色をクリーム色に */
}

.gallery-images {
    display: grid; /* グリッドレイアウトを適用 */
    grid-template-columns: repeat(3, 1fr); /* 3列のグリッドを作成 */
    gap: 20px; /* グリッドアイテム間の隙間 */
    max-width: 960px; /* グリッド全体の幅を制限 */
    margin: 0 auto; /* 中央寄せ */
    padding: 20px;
    background-color: #fff; /* 白い背景色 */
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.gallery-images img {
    width: 100%; /* 画像をグリッド幅いっぱいに広げる */
    height: 250px; /* 画像の高さを固定 */
    object-fit: cover; /* 画像がはみ出さないようにトリミング */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 個別の画像にも影を追加 */
}
/* ACCESSセクション */
.access {
    padding: 80px 0;
    background-color: #F8F4E3; /* 背景色（ボディの色と合わせる） */
}

.access-content {
    display: flex; /* 子要素（地図と情報）を横並びにする */
    justify-content: space-between; /* 両端に配置 */
    gap: 40px; /* 地図と情報の間隔 */
    max-width: 960px;
    margin: 0 auto;
    align-items: center; /* 垂直方向の中央揃え */
}

.access-map {
    width: 600px; /* 地図の幅を固定 */
    height: 450px; /* 地図の高さを固定 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
    border-radius: 8px; /* 角を丸くする */
    overflow: hidden; /* 角丸からはみ出さないように */
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.access-info {
    width: 300px; /* 情報部分の幅を固定 */
}

/* アクセスセクション内の電話番号のスタイル */
.access-info p.phone-number {
    font-weight: normal; /* 太字を解除 */
    font-size: 16px; /* 他のテキストと同じサイズに */
    color: #333; /* 他のテキストと同じ色に */
    background-color: transparent; /* 背景色を透明に */
    padding: 0; /* パディングをリセット */
    border-radius: 0; /* 角丸をリセット */
    display: block; /* ブロック要素に戻す */
}

/*.access-info .address,
.access-info .nearest-station,
.access-info .phone-number {
    font-weight: bold;
}*/
/* access-info内の電話番号にはボタンのスタイルを適用しない */
.access-info p.phone-number {
    color: inherit; /* 親要素の色を継承 */
    background-color: transparent; /* 背景色を透明に */
    padding: 0; /* パディングをリセット */
    border-radius: 0; /* 角丸をリセット */
    display: block; /* ブロック要素に戻す */
}

.button-area {
    margin-top: 60px; /* ボタンの上に余白 */
}

/* フッターセクション */
.footer {
    padding: 60px 0 20px;
    background-color: #4169E1;
    color: #F8F4E3;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 960px;
    margin: 0 auto 40px;
}

.footer-left {
    flex-basis: 30%;
    text-align: left;
}

.footer-right {
    flex-basis: 30%;
    text-align: center;
}
/* フッター内の電話番号にのみボタンのスタイルを適用 */
.footer-right .phone-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    background-color: #F8F4E3; /* 背景色をクリーム色に */
    color: #4169E1; /* 文字色を青色に */
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
}

.reservation-text {
    font-size: 18px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    /* ↓↓↓ ここから修正 ↓↓↓ */
    background-color: #F8F4E3; /* 背景色をクリーム色に */
    color: #4169E1; /* 文字色を青色に */
    display: inline-block; /* ボタンのように表示 */
    padding: 10px 20px; /* パディングを追加 */
    border-radius: 8px; /* 角を丸くする */
    /* ↑↑↑ ここまで修正 ↑↑↑ */
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sns-links img {
    height: 40px;
    width: auto;
    /*border-radius: 50%;
    background-color: #fff;
    padding: 8px;*/
}

.footer-bottom {
    border-top: 1px solid rgba(248, 244, 227, 0.3);
    padding-top: 20px;
}

.copyright {
    font-size: 14px;
    color: #F8F4E3;
    opacity: 0.8;
    text-align: center;
}
