@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ヘッダーメニューフォント変更 */
.c-gnav>.menu-item>a .ttl {
    font-size: 20px;
    font-family: 'Gabarito', sans-serif;
    margin-right: 16px;
}

/* ========================================
   ギャラリー
======================================== */

/* スマホのみ余白を0.5rem */
@media (max-width: 767px) {
    .wp-block-gallery {
        padding: 0.5rem !important;
    }
}

/* ==================================================
   メニューテーブル
================================================== */

.menu-table {
    width: 100% !important;
    max-width: 100% !important;
}

.menu-table table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
}

.menu-font {
    font-family: "ab-showa", sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

h3.menu-font {
    border-bottom-color: #fff !important;
}

h3.menu-font::after {
    background-color: #fff !important;
}

.post_content h3.menu-font {
    border-color: #fff !important;
    border-bottom-color: #fff !important;
}

.post_content h3.menu-font::before,
.post_content h3.menu-font::after {
    background: #fff !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.menu-table table th,
.menu-table table td {
    font-size: 16px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.5 !important;
    box-sizing: border-box;
}

/* 商品名：残っている横幅を使う */
.menu-table table td:first-child {
    width: auto !important;
}

/* 価格：必要な幅だけ使う */
.menu-table table td:last-child {
    width: 1% !important;
    white-space: nowrap !important;
    text-align: right !important;
}

/* スマホ */
@media screen and (max-width: 767px) {
    .menu-table table th,
    .menu-table table td {
        font-size: 16px !important;
    }
}


/* バナーリンクのタイトルのフォントを変更する */
.c-bannerLink__title {
    font-family: 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: inherit;
}


/* メディアとテキストのメディア部分をスマホで縮小 */
@media (max-width: 768px) {
    .wp-block-media-text__media img {
        width: 85%;
        max-width: 85%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .wp-block-media-text__media {
        width: auto;
    }
}


/* 固定ページのタイトル用 */
.title-menu {
    font-size: 40px;
    font-family: 'Gabarito', sans-serif;
}

.wpcf7 label {
    font-weight: bold;
}

.form-group {
    padding-bottom: 1.5em;
}


/* ヘッダー背景画像 */
.l-header {
    background-image: url("http://kamishaku-dining.com/wp-content/uploads/2026/09/kamishaku-haikei-mokume.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* 特定の投稿リストの色を白にする */
.white-post-list {
    color: #fff;
}

.white-post-list a {
    color: #fff;
}


/* トップページのブログパーツ画像を
   タブレット・スマホでは小さくする */
@media (max-width: 820px) {
    img.wp-image-63 {
        width: 70% !important;
        max-width: 70% !important;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}


/* top-title画像をスマホ・小型タブレットで大きくする */
@media (max-width: 820px) {
    .top-title {
        width: 120% !important;
        max-width: none !important;
        margin-left: -10% !important;
    }
}


/* 追従ヘッダーに背景画像 */
.l-fixHeader {
    background-image: url("http://kamishaku-dining.com/wp-content/uploads/2026/09/kamishaku-haikei-mokume.jpg") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* PCのグローバルメニューの文字を太くする */
#gnav a {
    font-weight: 600;
}


/* 追従ヘッダーのロゴ幅を正常化 */
.l-fixHeader .c-headLogo {
    width: auto !important;
    max-width: none !important;
    min-width: 180px !important;
    flex-shrink: 0 !important;
}

.l-fixHeader .c-headLogo__img {
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
}


/* ーーリキッド予約システム用設定ーー */

/* フォーム全体を揃える */
.reservation-form p {
    margin-bottom: 6px;
}

/* セレクト・入力を全部統一 */
.reservation-form select,
.reservation-form input,
.reservation-form textarea {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    display: block;
    margin-bottom: 12px;
}

/* 時間だけズレる対策（重要） */
#reservation_time_select {
    display: block;
    width: 100%;
    max-width: 400px;
}

.reservation-form-wrap {
    max-width: 420px;
    margin: 0 auto;
}

/* テキストカーソル消去 */
.reservation-calendar-table,
.reservation-form-wrap {
    user-select: none;
}

/* 予約フォームのボタン */
button {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 300px;
    height: 50px;
    margin: auto;
    font-weight: bold;
    border: 2px solid #6495ed;
    background: #6495ed;
    color: #fff;
    border-radius: 100vh;
    transition: 0.5s;
}

button:hover {
    color: #6495ed;
    background: #ffffff;
}

/* 予約カレンダーのタイトル非表示 */
.reservation-calendar-title {
    display: none !important;
}

pre.wp-block-preformatted {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
    min-height: 0 !important;
}

.reservation-admin-custom-note {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    line-height: 1.2;
    color: #8a5a00;
    white-space: nowrap;
}

.reservation-admin-reserved-count {
    display: none;
}

/* フォームの文字の大きさ */
.reservation-form p,
.reservation-form label {
    font-size: 20px !important;
    margin-bottom: 3px !important;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    font-size: 18px !important;
    margin-bottom: 20px !important;
}

.reservation-form button {
    font-size: 18px !important;
    padding: 10px 14px !important;
}

.reservation-date-display {
    font-size: 24px !important;
    padding-bottom: 1em !important;
}

/* 予約カレンダーの曜日の背景色 */
body .reservation-calendar-table tr.reservation-calendar-head th {
    background: #8fa8c9 !important;
}

/* ーー予約カレンダーの設定終わりーー */


/* ーー予約コース選択ページーー */

.course-title {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.course-title::after {
    content: "";
    position: absolute;
    left: -2px;
    bottom: 0.15em;
    width: calc(100% + 4px);
    height: 0.9em;
    background: #faff00;
    opacity: 0.6;
    z-index: -1;
}

.course-card {
    transition: all .2s ease;
}

.course-card:has(input[type="radio"]:checked) {
    border-color: var(--color_main) !important;
    background: rgba(0,91,172,.03);
}

.course-card input[type="radio"] {
    accent-color: var(--color_main);
}

/* ーー予約コース選択ページ設定終わりーー */


/* 採用フォーム全体 */
.rfl-form {
    border: 3px solid #e5e5e5;
    background: #f7f7f7;
    padding: 30px;
    border-radius: 6px;
    box-sizing: border-box;
}

/* 入力BOXを白に */
.rfl-form input,
.rfl-form select,
.rfl-form textarea {
    background-color: #fff;
}

/* プレースホルダーを薄く */
.rfl-form input::placeholder,
.rfl-form textarea::placeholder {
    color: #b8b8b8;
    opacity: 1;
}

/* アンカー位置調整 */
#instagram {
    scroll-margin-top: 100px;
}


/* スマホ：メニュー用リッチカラムの順番を逆にする */
@media (max-width: 599px) {
    .menu-richcolumn-reverse {
        flex-direction: column-reverse !important;
    }
}