@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.5
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.tategaki{
	writing-mode: vertical-rl;    /* 文章を縦書きにする */
	margin: 0 auto;               /* コンテンツを中央寄せにする */
	font-size:23px;               /* 文字サイズを23pxに設定 */
	font-family:serif;            /* 明朝体にする */
	line-height:50px              /* 文字間隔を50pxに設定 */
}

@media screen and (max-width: 600px) {
	.tategaki{
	font-size:18px;               /* 文字サイズを23pxに設定 */
	line-height:30px              /* 文字間隔を50pxに設定 */ 
    }
}

.tagline {
font-size: 100;
}

.mincho {
    font-family: serif;
}

/*---折り畳みアーカイブウィジェット---*/
.widget_archive a.year{ /*各年*/
	cursor: pointer;
	border-bottom: 1px dotted #ccc; /*各年に下線を引く*/
}
.widget_archive a.year::after{ /*各年横のアイコン*/
	font-family: "Font Awesome 5 Free";
	content: '\f107'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	left: 5px; /* アイコンの位置 */
	font-weight: bold;
}
.widget_archive .years ul { /*各月*/
	display: flex;
	flex-flow: row wrap;
	margin-left: 5px; /*インデント*/
	font-size: 1rem;
	text-decoration: underline; /*各月に下線を引く*/
}
.widget_archive ul.years li {
	padding: 0 1px; /*各月の間隔*/
}
#sidebar .widget_archive ul.years li :hover { /*マウスホバー時*/
	background: none;
	transition: 0.1s;
	color: #72c7e6;
}
.widget_archive ul.years .hide { /*各年をクリックすると開閉*/
	margin: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
}


/*---SNSボタン 2021/4/2 最新---*/
#main .button-caption {
	display: none; /*キャプション非表示*/
}

/*SNS「シェア」ボタン*/
.sns-share-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-share-buttons {
	flex-wrap: nowrap; /*折り返さない*/
	justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-share a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}

/*SNS「フォロー」ボタン*/
.sns-follow-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-follow a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}


/* サイドバー見出し装飾 */
 .sidebar h3 {
  border-bottom:2px solid #262626;/*下線の太さ、種類、色*/
  padding:10px 0 5px 3px;
  background:transparent;/*背景を透明に*/
  color:#262626;/*文字の色を変える*/
}

/* サイドバー文字サイズ */
.widget-sidebar ul li a {
font-size: 0.8em;
font-weight: bold;
}

/* サイドバー検索変更うぇぶあしび */
.sidebar .search-box, .search-menu-content .search-box {
  width: 100%;
  margin: 1em 0 2em;
  position: relative;
  display: flex;
  border-radius: 50px; /*全体を囲むボックスの角丸*/
  box-shadow:0px 4px 6px 0px #c4c4c4; /*全体を囲むボックスのシャドウ*/
}
.search-menu-content .search-box {
  box-shadow:0px 4px 6px 0px #333; /*スライドイン表示でのシャドウ*/
}
.sidebar .search-edit, .search-menu-content .search-edit {
  width: 80%; /*入力部分の長さ*/
  background: #fff; /*入力部分の背景色*/
  padding: 0 10px;
  border: none; /*ボーダーを消す*/
  border-radius: 50px 0 0 50px; /*左上、左下のみ角丸*/
  font-size: 16px;
}
.search-submit {
  width: 20%; /*ボタン部分の長さ*/
  background: #444d53; /*ボタン部分の背景色*/
  color: #fff; /*アイコンの色*/
  position: static;
  right: auto;
  top: auto;
  font-size: 20px; /*アイコンの大きさ*/
  cursor: pointer;
  line-height: 40px; /*検索窓の高さ*/
  border: none;
  border-radius: 0 50px 50px 0; /*右上、右下のみ角丸*/
  padding: 0;
}
.search-box input::placeholder {
  color: #bbb; /*プレースホルダーの色*/
}
.search-box input:focus, .search-box button:focus {
  outline: 0; /*フォーカス時の枠線を消す*/
}

/* サイドバー背景透明に */
.sidebar {
  background-color: #00000000;
}

/* SVG クリッカブルマップを正しく表示 */
.style-svg {
       max-width: 100%;
       height: 100%;
}

/************************************
** ブログカード
************************************/
/* Cocoonブログカードの全体をカスタマイズ */
.blogcard {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.blogcard .blogcard-content {
    display: flex;
    flex-direction: column;
}

/* アイキャッチ画像の部分 */
.blogcard-thumb {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.blogcard-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* タイトル部分 */
.blogcard-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

/* キャッチフレーズ部分 */
.custom-catchphrase {
    background-color: #ffcc00;
    padding: 5px;
    font-weight: bold;
    margin-top: 10px;
}

/* 抜粋部分（description） */
.blogcard-excerpt {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/* タグやカテゴリー部分 */
.blogcard-tags {
    margin-top: 10px;
    font-size: 12px;
}



/*飲食店紹介ページ*/

/* Search & Filter Styles 検索窓の調整 */
.searchandfilter li
{
	font-size:12px;
	padding-right:10px;
}

/* カード全体のレイアウト */
.restaurant-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 5px auto;
}

.restaurant-card {
    position: relative;
    width: calc(25% - 20px); /* 4枚並び */
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: 4px solid; /* カラーライン */
    border-radius: 8px;
    padding: 15px 15px 20px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-size: 11px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* カテゴリアイコン */
.category-icon-wrapper {
    position: absolute;
    top: -15px;
    background-color: #fff;
    padding-bottom: 5px;
}

.category-icon {
    width: 28px;
    height: 28px;
}

/* 店名と地名 */
.top-part {
    display: flex;
    justify-content: space-between;
	margin-top: 7px;
}

/* 画像部分 */
.restaurant-images {
    display: flex;
    justify-content: center;  /* 中央揃え */
    gap: 7px;  /* 画像間の余白を調整 */
}

.restaurant-img {
    width: 50%;  /* 50%の幅を指定 */
    aspect-ratio: 16 / 9;  /* 16:9のアスペクト比 */
    object-fit: cover;
    border-radius: 5px;
    margin-top: 7px;
}


/* キャッチフレーズ */
.catchphrase {
    font-size: 12px;
    text-align: center;
    margin-top: 1em;
    text-decoration: underline;
    text-decoration-thickness: 0.5em;
    text-decoration-color: rgba(255, 228, 0, 0.4);
    text-underline-offset: -0.2em;
    text-decoration-skip-ink: none;
}

/* ポイント部分 */
.point {
    display: flex;
    align-items: center;
    margin: 1em 0;
}

.point-icon {
    width: 40px;
    margin-right: 10px;
}

.point p {
    font-size: 10px;
    line-height: 1.3;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
    .restaurant-card {
        width: calc(33.33% - 20px); /* 3枚並び */
    }
}

@media screen and (max-width: 900px) {
    .restaurant-card {
        width: calc(50% - 20px); /* 2枚並び */
    }
}

@media screen and (max-width: 600px) {
    .restaurant-card {
        width: 100%;
    }
    .restaurant-img {
        width: 49.5%;
        height: 120px;
    }
    .catchphrase {
        font-size: 18px;
    }
    .point p {
        font-size: 13px;
        line-height: 1.7;
    }
    .top-part p {
        font-size: 15px;
    }
}

/* 検索フォームのスタイル */
.restaurant-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.filter-group select {
    padding: 8px 10px;
    font-size: 13px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 160px;
    background-color: #fff;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5H7z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.filter-group select:focus {
    border-color: #aaa;
    outline: none;
}

.filter-button {
    padding: 8px 20px;
    font-size: 13px;
    height: 40px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.filter-button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .restaurant-filter-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select, .filter-button {
        width: 100%;
    }
}

.restaurant-filter-form-wrapper {
    margin-bottom: 20px;
}

.form-card-divider {
    border: none;
    border-top: 2px solid #ddd;
    margin: 20px 0;
}

/* 市町村リンクのスタイル */
.city-link a {
    color: #4169e1; /* 少し暗めの青色 */
    text-decoration: none; /* アンダーラインを消す */
}

.city-link a:hover {
    text-decoration: none; /* ホバー時もアンダーラインを表示しない */
}

/* 店名リンクのスタイル */
.restaurant-name-link {
    color: inherit; /* 現在の色を維持 */
    text-decoration: none; /* アンダーラインを除去 */
    transition: color 0.3s ease; /* 色変更のスムーズなトランジション */
}

.restaurant-name-link:hover {
    color: #ff6347; /* 少し赤いトマト色 */
}

/* ページネーション全体のスタイル */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    font-family: 'Noto Sans JP', sans-serif;
}

.pagination a {
    padding: 10px 20px; /* パディングを調整してコンパクトに */
    margin: 0 4px; /* リンク間の間隔を少し狭く */
    text-decoration: none; /* アンダーラインを削除 */
    color: #555; /* 通常のリンクのテキスト色 */
    background-color: transparent; /* 背景色を透明に */
    border: none; /* 枠線を削除 */
    font-size: 20px; /* 文字サイズを大きく設定 */
    transition: color 0.2s ease; /* テキストの色のスムーズな変更 */
    white-space: nowrap; /* 改行を防ぐ */
    min-width: 50px; /* 最小幅を設定してボックスを横長に */
}

/* ホバー時のテキストスタイル */
.pagination a:hover {
    color: #007BFF; /* ホバー時にリンクのテキスト色を青に変更 */
}

/* 現在選択中のページのスタイル */
.pagination .current {
    color: #4682b4; /* 現在のページは控えめなグレー */
    font-weight: normal; /* 太字ではなく通常の太さ */
    padding: 10px 20px; /* 同じパディングを適用して横長にする */
    font-size: 20px; /* 文字サイズをさらに大きく */
}

/* 「前へ」リンクの左マージンと左パディングを0に */
.pagination a.prev {
    color: #555; /* 通常のリンクの色 */
    white-space: nowrap; /* 改行を防ぐ */
    min-width: 60px; /* 横幅を少し広めに */
    margin-left: 0; /* 左マージンを0に */
    margin-right: 0.2em; /* 左マージンを0に */
    padding-left: 0; /* 左パディングを0に */
}

/* 「次へ＞」リンクに0.2emの余白を追加 */
.pagination a.next {
    color: #555; /* 通常のリンクの色 */
    white-space: nowrap; /* 改行を防ぐ */
    min-width: 60px; /* 横幅を少し広めに */
    margin-left: 0.5em; /* 左に0.2emの余白を追加 */
    padding-left: 0; /* 左パディングを0に */
}

.pagination a:hover.prev, .pagination a:hover.next {
    color: #007BFF; /* ホバー時にテキスト色を青に変更 */
}

/* スマホ用のスタイル調整 */
@media (max-width: 768px) {
    .pagination a {
        font-size: 22px; /* 小さい画面での文字サイズをさらに大きく */
        padding: 10px 20px; /* 小さい画面でも横長に保つ */
    }
}



// グルメの市町村投稿ページ
.gourmet-featured-background {
    position: relative;
}

.gourmet-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
}

.restaurant-title-section {
    margin-bottom: 30px; /* タイトルとリストの間にスペースを追加 */
}

.restaurant-divider {
    border: none;
    border-top: 2px solid #ddd;
    margin: 30px 0;
}

/* レストランリスト全体のレイアウト */
.restaurant-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

@font-face {
    font-family: 'Mamelon-3HiRegular';
    src: url('/food/wp/wp-content/themes/cocoon-child-master/fonts/Mamelon-3HiRegular.woff2') format('woff2');
}

@font-face {
    font-family: 'RiiPopkkR';
    src: url('/food/wp/wp-content/themes/cocoon-child-master/fonts/RiiPopkkR.woff2') format('woff2');
}


