@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
*/

/* recaptcha */
.grecaptcha-badge { visibility: hidden; }

.footer_recaptcha {
	font-size: 0.8rem;
	margin-top: 2rem;
	text-align: center;
}

/* ベースのスタイル */
html {
    scroll-behavior: smooth; /* スムーススクロールを有効にする */
}

body {
	font-family: "Noto Sans JP" , "ヒラギノ角ゴPro W3" , "Hiragino Kaku Gothic Pro" , "メイリオ" , Meiryo , sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	line-height: 2; /* 行間 */
	color: #221815; /* 文字色 */
}

.l-header__inner {
	display: none !important;
}


/* フォーム装飾 */
.form-area-01 .form-group {
    display: flex;
    align-items: center;
    margin: 2rem 0; /* 各フォームの上下に2remの余白を追加 */
    flex-direction: row; /* 横並び */
    justify-content: flex-start; /* 左寄せ */
}

.form-area-01 .form-label {
    display: inline-block; /* ★追加: widthプロパティを有効にするため */
    width: 150px; /* ラベルの幅を固定値に変更 (この数値は適宜調整してください) */
    flex-shrink: 0; /* コンテナが狭くなってもラベルの幅が縮まないようにする */
    text-align: right; /* 右寄せ */
    margin-right: 1rem; /* ラベルと入力フィールドの間に余白を追加 */
}

.section-form .form-inputs {
    display: flex;
    flex-wrap: wrap; /* ラジオボタンを折り返し可能に */
    flex-direction: row; /* 横並び */
    gap: 1rem; /* ラジオボタン間の余白 */
    align-items: center; /* 垂直方向に中央揃え */
    margin: 0 1rem;
    flex: 1; /* 残りの利用可能なスペースをすべて埋める */
}
/* =====【ここまで修正箇所】===== */


.form-inputs input[type="text"] {
    flex: 1; /* 入力フィールドを横並びにする */
}

.radio-group {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem; /* 各セットの間に余白を追加 */
}
.radio-group label {
    margin-left: 0.5rem; /* labelの左に余白を追加 */
}


/* inputとselectのスタイルを共通化 */
.form-area-01 .form-inputs input[type="text"],
.form-area-01 .form-inputs input[type="email"],
.form-area-01 .form-inputs input[type="tel"],
.form-area-01 .form-inputs input[type="number"],
.form-area-01 .form-inputs textarea,
.form-area-01 .form-inputs select {
    width: 100%;
    background-color: #EFEFEF;
    border: 2px solid #B5B5B6;
    padding: 1rem 0.5rem;
    border-radius: 4px;
    font-size: 1.2rem;
    color: #221815;
    -webkit-appearance: none;
    appearance: none;
}

/* ===== 家族氏名入力欄の間にスペースを追加 ===== */
.form-inputs .fam-name {
    margin-top: 0.75rem; /* 上にスペースを追加 */
}

.form-inputs p > .wpcf7-form-control-wrap:first-child .fam-name {
    margin-top: 0; /* 最初の入力欄だけ上のスペースをリセット */
}

/* selectボックスにカスタムの矢印を追加 */
.form-area-01 .form-inputs select {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%23B5B5B6" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m2 5 6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}


.section-form .form-inputs input[type="radio"] {
    width: 30px; /* ラジオボタンの幅 */
    height: 30px; /* ラジオボタンの高さ */
    border-radius: 50%; /* 円形にする */
    border: 2px solid #B5B5B6; /* ラジオボタンの枠線 */
    background-color: #FFFFFF; /* ラジオボタンの背景色 */
    appearance: none; /* デフォルトのスタイルを削除 */
    -webkit-appearance: none; /* デフォルトのスタイルを削除 (Safari用) */
    cursor: pointer; /* カーソルをポインターに変更 */
}

.section-form .form-inputs input[type="radio"]:checked {
    background-color: #B5B5B6; /* チェックされたときの背景色 */
}


.form-area-02, .form-area-03 {
    max-width: 800px;
    width: 94%;
    margin: 0 auto;
    padding: 2rem 0;
}

.form-area-02 .form-group {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    margin-bottom: 2rem; /* 各設問の間に2remの余白を追加 */
}

.form-area-02 .form-title::before,
.form-area-03 .form-title::before {
    content: "・"; /* 先頭に「・」を追加 */
    margin-right: 0.5rem; /* 「・」とテキストの間に余白を追加 */
}
.form-area-02 .form-title,
.form-area-03 .form-title {
    text-align: left;
    margin-bottom: 0.5rem; /* タイトルとラジオボタンの間に2remの余白を追加 */
}

.form-area-02 .form-inputs select {
    width: 100%; /* ドロップダウンの幅を全幅に */
    padding: 1rem; /* 内側の余白 */
    background-color: #FFFFFF; /* ドロップダウンの背景色 */
    border: 2px solid #B5B5B6; /* ドロップダウンの枠線 */
    border-radius: 4px; /* 角を少し丸める */
    font-size: 1.2rem;
}

.form-area-02 .form-inputs input[type="text"] {
    width: 100%; /* テキストボックスの幅を全幅に */
    border: none; /* 枠線を削除 */
    border-bottom: 2px solid #B5B5B6; /* 下線のみの装飾 */
    padding: 0.5rem 0; /* 内側の余白 */
    background-color: transparent; /* 背景色を透明に */
}
.section-form .wpcf7-form-control .wpcf7-list-item {
    display: inline-flex; /* ラジオボタンとテキストのセットをflexアイテム化 */
    align-items: center;  /* 中の要素(ボタンと文字)を垂直方向に中央揃え */
    gap: 0.4em;           /* ボタンと文字の間の隙間を調整 */
}

/* (1) チェックボックス自体のスタイル */
.section-form input[type="checkbox"] {
    width: 30px;
    height: 30px;
    border: 2px solid #B5B5B6;
    background-color: #FFFFFF;
    border-radius: 4px; /* 四角の角を少し丸める */
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    vertical-align: middle; /* テキストとの縦位置を微調整 */
}

/* (2) チェックが入った時のスタイル */
.section-form input[type="checkbox"]:checked {
    background-color: #B5B5B6; /* 背景をグレーに */
    border-color: #B5B5B6;
    /* 白いチェックマークを追加 */
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 9"><path fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 4.5l3 3 7-7"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}

.form-group-kakunin {
	margin-top: 2rem;
}

.submit-button {
    display: block; /* 中央寄せのためブロック要素に変更 */
    margin-left: auto;  /* これで */
    margin-right: auto; /* 中央寄せ */
    font-family: "秀英にじみ丸ゴシック B";
    font-size: 1.4rem;
    font-weight: bold;
    background-color: #e60012;
    color: #FFFFFF;
    padding: 1rem 1.5rem; /* 横の余白を少し調整 */
    border-radius: 50px;
    text-align: center; /* 文字を中央に */
    max-width: 360px;
    width: 80%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.section-form input::placeholder,
.section-form textarea::placeholder,
.section-form select option:first-child {
    font-size: 1.2rem; /* 文字サイズを大きくする */
}


.section-form input[type="text"],
.section-form input[type="email"],
.section-form input[type="number"],
.section-form textarea {
    font-size: 1.2rem; /* 文字サイズを変更 */
}

/* 860px以下の画面幅に対するスタイル */
@media (max-width: 860px) {
    .form-group {
        flex-direction: column !important; /* 縦並び */
        align-items: flex-start !important;
    }

    .form-label {
        width: auto !important; /* 幅指定をリセット */
        flex-shrink: 1 !important;
        margin-right: 0; /* 余白をリセット */
        margin-bottom: 0.5rem; /* タイトルとフォーム内容の間に余白を追加 */
        text-align: left !important; /* 左寄せ */
    }

    .form-inputs {
        width: 94%; /* フォーム内容を全幅に */
        flex-direction: row; /* 横並び */
        gap: 1rem; /* 入力フィールド間の余白 */
        flex: 0 1 auto !important; /* flex:1 をリセット */
    }

}




/* ===== データ表示ページ専用スタイル ===== */

/* テーブルのコンテナ */
.db-table-container {
    width: 100%;
}

/* テーブルの基本設定 */
.db-table-accordion {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}
.db-table-accordion th, .db-table-accordion td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}
.db-table-accordion th {
    background-color: #04384c;
    color: white;
}
/* 2行1セットでゼブラストライプを表現 */
.db-table-accordion tbody tr:nth-child(4n-1),
.db-table-accordion tbody tr:nth-child(4n) {
    background-color: #f5f5f5;
}

/* 詳細ボタンのスタイル */
.toggle-details {
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    white-space: nowrap;
}
.toggle-details:hover {
    background-color: #e0e0e0;
}

/* ★★★★★ 詳細情報表示エリアのスタイル（2カラム対応） ★★★★★ */
.details-row td {
    padding: 20px;
    background-color: #fff !important; /* ゼブラ指定を上書き */
    border-top: 2px solid #04384c !important;
}
.details-content {
    display: flex;
    flex-wrap: wrap; /* スマホでは縦並びになる */
    gap: 20px 40px; /* 縦と横の隙間 */
}
.details-column {
    flex: 1; /* カラムの幅を均等に */
    min-width: 280px; /* 最低幅を指定 */
}
.details-column h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}
.details-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.details-column ul li {
    margin-bottom: 8px;
}




/* ===== ページネーションのスタイル調整 ===== */
/* ページネーション全体のコンテナを中央寄せにする */
.pagination {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

/* 各ページ番号のスタイル（リンクと現在のページ共通） */
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #04384c;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

/* 現在表示しているページ（アクティブなページ）のスタイル */
.pagination .page-numbers.current {
    background-color: #04384c;
    color: white;
    border-color: #04384c;
    cursor: default;
}

/* マウスカーソルを乗せた時のリンクのスタイル */
.pagination a.page-numbers:hover {
    background-color: #eafaff;
    color: #04384c;
}

/* 「...」のスタイル（ページが多い時に表示される） */
.pagination .page-numbers.dots {
    border: none;
    background: none;
    padding: 8px 0;
}

/* ===== フィルターリンクのスタイル ===== */
.db-filter-nav a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 20px; /* 角を丸めてタグのような見た目に */
    text-decoration: none;
    color: #04384c; /* サイトのメインカラー */
    background-color: #fff;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

/* フィルターリンクにマウスを乗せた時のスタイル */
.db-filter-nav a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* ★ アクティブなフィルターリンクのスタイル */
.db-filter-nav a.filter-active {
    background-color: #04384c; /* サイトのメインカラー */
    color: white;
    border-color: #04384c;
}






/* ===== 店舗一覧ページのスタイル（デザイン統一版） ===== */

.storelist-title {
  position: relative;
  padding: 1.5rem 1rem;
  font-size: 2rem;
  text-align: center;
}

.storelist-title:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.storelist-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ▼▼▼▼▼ ここからメニュー部分のスタイル ▼▼▼▼▼ */

/* ボタン全体のコンテナ */
.region-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* グループ間の隙間 */
    margin-bottom: 30px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    justify-content: center;
    position: sticky;
    top: 32px; /* WordPressの管理バーの高さ */
    background-color: white;
    z-index: 10;
}

/* ログインしていない場合 */
body:not(.admin-bar) .region-buttons {
    top: 0;
}

/* 各地域グループのスタイル */
.region-group {
    display: flex;
    align-items: center;
    gap: 10px; /* 地域名とボタンの間の隙間 */
    padding: 5px 5px 5px 15px; /* 内側の余白 */
    border: 1px solid #ddd;
    border-radius: 50px; /* 角を丸くして全体をカプセル風に */
    background-color: #f9f9f9;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 地域名のスタイル */
.region-name {
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap; /* 改行を防ぐ */
}

/* 「レストラン」「販売店」ボタンのコンテナ */
.store-type-buttons {
    display: flex;
    gap: 6px; /* ボタン間の隙間 */
}

/* ボタン自体のデザイン */
.store-type-buttons button {
    padding: 8px 20px;
    background-color: #e60012;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.2s ease-in-out;
}

/* ボタンのホバー効果 */
.store-type-buttons button:hover {
    background-color: #ff1a2e;
}

/* ▲▲▲▲▲ ここまでメニュー部分のスタイル ▲▲▲▲▲ */


/* 各セクションのスタイル */
.store-section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.store-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e60012; /* ボタンの色と統一 */
    color: #333;
}

/* 各店舗アイテムのスタイル */
.store-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fff;
}

.store-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #04384c; /* サイトのメインカラー（濃い青）に変更 */
}

.store-item p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #555;
}

.store-item a {
    color: #28a745;
    text-decoration: none;
}

.store-item a:hover {
    text-decoration: underline;
}

/* ===== レスポンシブ対応 (768px以下) ===== */
@media (max-width: 768px) {
    /* ▼▼▼▼▼ メニュー部分のレスポンシブ ▼▼▼▼▼ */
    .region-buttons {
        flex-direction: column; /* スマホではグループを縦に並べる */
        gap: 12px;
        padding: 12px;
    }

    .region-group {
        width: 100%;
        max-width: 350px; /* スマホでの最大幅を指定 */
        box-sizing: border-box; /* paddingを含めて幅を計算 */
    }
    
    .store-type-buttons {
        flex-grow: 1; /* 残りのスペースを埋める */
        display: grid;
        grid-template-columns: 1fr 1fr; /* ボタンを均等に2分割 */
    }
    /* ▲▲▲▲▲ メニュー部分のレスポンシブ ▲▲▲▲▲ */

    .store-section h2 {
        font-size: 1.5rem;
    }
    .store-item {
        padding: 12px;
    }
    .store-item h3 {
        font-size: 1.1rem;
    }
    .store-item p {
        font-size: 0.9rem;
    }
}
