@charset "UTF-8";

/*ページ内リンクずれ
---------------------------------------------------------------------------*/
html {
scroll-padding-top: 200px;
}
@media screen and (min-width: 1200px) {
.container{
max-width: 1200px;
margin: 0 auto;
padding: 0;
}}

/*main
---------------------------------------------------------------------------*/
@media only screen and ( max-width : 1023px ) {
#main {margin-top: 90px;}}
@media print, screen and ( min-width : 1024px ) {
#main {margin-top: 100px;}}


/*hr
---------------------------------------------------------------------------*/
hr {
border: none; 
border-top: 1px dotted #3F3F3F;
height: 1px;
clear: both;
margin: 15px 0;
}


/*title
---------------------------------------------------------------------------*/
#title {
width: 100%;
text-align: center;
position: relative;
overflow:hidden;
}
#title h2 {
font-size: 26px;
font-weight: 700;
color: #333;
display: inline-block;
text-transform:capitalize;
}
@media screen and (min-width:768px) {
#title {
margin: 150px 0 0 0;
}
#title h2 {
font-size: 40px;
}
}

/*tex
---------------------------------------------------------------------------*/
.tex,
.tex_archive{
width: 100%;
line-height: 2em;
text-align:justify;
text-justify:inter-ideograph;
overflow: hidden;
padding: 40px 0
}
.tex img {
border: 0;
max-width: 100%;
height: auto;
box-sizing: border-box;
}
.tex p{
margin: 0;
padding: 0;
}
.tex img a {
border: 0;
}
.tex a:hover img,
.tex a:hover {
opacity: 0.8;
transition: 0.8s;
}
.tex a {
text-decoration: underline;
text-decoration-style:solid;
text-decoration-color:#2a5797;
color: #2a5797;
}
@media screen and (min-width:768px) {
.tex,
.tex_archive {
padding: 60px 0
}
}

/* 等分
---------------------------------------------------------------------------*/
.boxA:after{content: "";
display: block;
clear: both}
@media screen and (min-width: 768px) {
.box2{float: left;width: 47%;}
.box3{float: right;width: 47%;}
.boxB{float: left;width: 35%;}
.boxC{float: right;width: 60%;}
}
@media (max-width:767px){
.box2,.boxB{margin-bottom: 5%}
}

/* ボックス*/
.box_nuri {
padding: 2.5em 3.5em;
margin: 1em 0;
background: #f5f5f5;/*背景色*/
}
.box_nuri p,
.box_waku p{
margin: 0; 
padding: 0;
}
.box_waku {
padding: 2em;
margin: 1.5em 0 0 0;
border: 1px solid #848484;
}
@media (max-width:767px){
.box_nuri {
padding: 1.5em 2em;
}
.box_waku{
padding: 1.5em;
}
}

/*pagination
---------------------------------------------------------------------------*/
.pagination {
clear: both;
padding: 20px 0;
position: relative;
font-size: 12px;
line-height: 12px;
text-align: center;
margin-bottom:3%
}
.pagination-box {
display: inline-block;
}
.pagination span, .pagination a {
display: block;
float: left;
margin: 2px 2px 2px 0;
padding: 8px 10px 8px 10px;
text-decoration: none;
width: auto;
color: #fff;
background: #c5c5c5;
}
.pagination a:hover {
color: #fff;
background: #235b9e;
}
.pagination .current {
padding: 8px 10px 8px 10px;
background: #235b9e;
color: #fff;
}
.page_box {
float: left;
width: 100%;
margin-top:20px
}

@media screen and (min-width: 768px) {
.pagination {
font-size: 14px;
line-height: 14px;
}
.pagination span, .pagination a {
padding: 10px 15px 10px 15px;
}
.pagination .current {
padding: 10px 15px 10px 15px;
}}

/*見出し
---------------------------------------------------------------------------*/
h3.midasi-t {
font-size: 150%;
margin-bottom: .5em;
line-height: 1.5;
color:#2a5797;
}
h3.midasi {
font-size: 1.4em;
padding: .6em;
margin-bottom: 1em;
background: #2a5797;
color: #fff
}
h4.midasi {
position: relative;
color: #000000;
font-size: 1.2em;
line-height: 1.3em;
border-left: solid 5px #2a5797;
padding: .5em .7em;
margin-bottom: 1em;
}
h5.midasi {
color: #000000;

font-size: 1.1em;
margin-bottom: 20px;
border-bottom: 3px solid #2a5797;
padding:0 0 .4em;
}
h3.midasi:after,
h4.midasi:after{
content: "";
clear: both;
height: 0;
display: block;
visibility: hidden;
}
/*sake 見出し*/
.sake h2 {
font-size: 1.5em;
font-weight: 700;
padding: .6em 0;
margin-bottom: 1em;
color: #008dbd;
border-bottom: 1px solid #008dbd;
}
@media screen and (min-width:768px) {
h3.midasi-t {font-size: 180%;}
h3.midasi{font-size: 1.5em;padding: .8em;}
h4.midasi {font-size: 1.3em;}
h5.midasi {font-size: 1.2em;}
.sake h2 {font-size: 2em;
}
}

/* ---------------------------------------------------------------------------------------------

　 table

--------------------------------------------------------------------------------------------- */
table {
width: 100%;
border-collapse: collapse;
margin: 10px 0;
border-style: solid;
border-width: 0;
border-bottom: 1px solid #ccc;
text-align: left;
}
table th,
table td {
padding: 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
vertical-align: middle;
}
table td img {
margin: 0 0 10px 0;
margin-bottom: 0;
}

/* 横線のデザイン */
.table_design {
border-collapse: collapse;
width: 100%;
}
.table_design td {
border-top: 2px solid #e6e6e6;
padding: 1em 0 1em 2em;
}
.table_design td:first-child {
border-top: 2px solid #e50012;
width: 30%;
padding: 1em;
}
@media only screen and (max-width:768px) {
 .table_design td:first-child {
padding: 1em 0;
}
}

/*ギャラリー
---------------------------------------------------------------------------*/
.gallery {
width: 100%;
margin-bottom: 20px;
display: flex;
flex-wrap: wrap;
gap: 2%;
}
.gallery br {
display: none;
}
.gallery-item {
margin-bottom: 10px;
flex-grow: 0;
}
/* カラムごとの幅（gapを引いた幅を設定） */
.gallery-columns-1 .gallery-item {
flex: 0 0 100%;
}
.gallery-columns-2 .gallery-item {
flex: 0 0 calc(50% - 1%); /* gap 2% ÷ 2 = 1% */
}
.gallery-columns-3 .gallery-item {
flex: 0 0 calc(33.3333% - 1.3333%);
}
.gallery-columns-4 .gallery-item {
flex: 0 0 calc(25% - 1.5%);
}
.gallery-columns-5 .gallery-item {
flex: 0 0 calc(20% - 1.6%);
}
/* 画像 */
.gallery-icon {
text-align: center;
}
.gallery-icon img {
width: 100%;
height: auto;
margin-bottom: 10px;
}
/* キャプション */
.gallery-caption,
.wp-caption-text {
color: #333;
font-size: 14px;
margin: 0 0 10px;
text-align: center;
}
/* レスポンシブ対応 */
@media (max-width:767px) {
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item {
flex: 0 0 calc(50% - 1%);
}
}

/*キャプション
---------------------------------------------------------------------------*/
figure {
background-color: #fff;
padding: 5px;
display: table;
overflow: hidden;
}
figure img {
width:100%;
max-width: 100%;
height: auto;
}
figcaption {
display: table-caption;
caption-side: bottom;
background: #fff;
}
@media only screen and (max-width:60em) {
figure {
text-align:center;
clear:both;
overflow:hidden;
padding:0;
margin:0 auto
}
figure .alignright img,
figure .alignleft img{float:none;}
}


/* editボタン
---------------------------------------------------- */
.postmetadata{
margin: 10px 0;
width:100%;
clear:both;
}
.edit-link{
width:100%;
clear:both;
}
a.post-edit-link {
display: inline-block;
padding: 0 1.6em;
font-size: 0.8em;
color: #fff;
text-decoration: none;
user-select: none;
background: #999;
transition: 0.2s ease;
}
a.post-edit-link:hover {
opacity: .6;
color: #fff;
}
.edit-link:after{
content: "";
clear: both;
height: 0;
display: block;
visibility: hidden;
}


/* フォーム
---------------------------------------------------- */
/* 入力確認のチェックボックスを大きく */
form .wpcf7-acceptance input[type="checkbox"] {
transform: scale(2.0);
margin-right: 0.5em;
}

/* 確認赤枠 */
.red_line {
margin: 2em 0;
padding:2em;
border: solid 1px #e50012;
text-align: center;
}
.red_line p {
margin: 0; 
padding: 0;
}
.red {
color: #e50012;
font-weight: 500
}


/* fontサイズ
---------------------------------------------------- */
p.f-small{
font-size: .8em;
line-height: 1.6;
padding-top: 10px;
}


/*　申し込みフォーム
---------------------------------------------------- */
.cf7__list {
display: flex;
flex-wrap: wrap;
margin-bottom: 60px;
}
.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
margin-top: 30px;
}
.cf7__list dt {
width: 35%;
padding-top: 15px;
}
.cf7__list dd {
width: 65%;
}
/* 必須・任意 */
.cf7__required,
.cf7__optional {
margin-right: 15px;
padding: 6px 14px;
color: #fff;
font-size: 12px;
vertical-align: 1px;
}

.cf7__required {
background: #e50012;
}

.cf7__optional {
background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
width: 100%;
padding: 15px 20px;
background: #F4F4F4;
box-sizing: border-box;
border: 1px solid #F4F4F4;
outline: none;
font-size: 100%;
}
.cf7__list dd textarea {
font-size: 100%;
font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
.cf7__list dd input[type="text"]:focus,
.cf7__list dd input[type="tel"]:focus,
.cf7__list dd input[type="email"]:focus,
.cf7__list dd textarea:focus {
background: #FFE4E1;
border: 1px solid #e50012;
outline: 0;
}
/* ドロップダウンメニュー */
.cf7__select {
position: relative;
}
.cf7__select:before {
position: absolute;
top: 50%;
right: 20px;
z-index: 10;
transform: translateY(-50%);
width: 0;
height: 0;
border-top: 8px solid #000;
border-right: 6px solid transparent;
border-left: 6px solid transparent;
pointer-events: none;
content: '';
}

.cf7__select select {
width: 100%;
padding: 19px 20px;
background: #F4F4F4;
color: #a5a5a5;
-webkit-appearance: none;
 -moz-appearance: none;
appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
display: block;
padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
display: block;
margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
position: relative;
width: 18px;
height: 18px;
margin-right: 8px;
border: 1px solid #bcbcbc;
vertical-align: -3px;
cursor: pointer;
-webkit-appearance: none;
 -moz-appearance: none;
appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
border: 1px solid #000;
background: #000;
}
input[type="checkbox"]:checked:before {
position: absolute;
top: 2px;
left: 5px;
transform: rotate(50deg);
width: 6px;
height: 10px;
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
content: '';
}
/* ラジオボタン */
input[type="radio"] {
border-radius: 50%;
}
input[type="radio"]:checked:before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 9px;
height: 9px;
border-radius: 50%;
background: #000;
content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
width: 40%;
margin: 0 auto;
text-align: center;
}

.cf7__button input[type="submit"] {
width: 100%;
height: 60px;
background: #000;
color: #fff;
transition: opacity .6s;
outline: none;
}

.cf7__button input[type="submit"]:hover {
opacity: .6;
background-color:#ffffff;
border: 2px solid #000;
color:#000;
}

/* ajax-loader */
.wpcf7-spinner {
vertical-align: middle;
}
.wpcf7-spinner {
display: none!important;
}
@media screen and (max-width: 767px) {

.cf7__list dt {
width: 100%;
margin-bottom: 15px;
padding-top: 0;
}

.cf7__list dd {
width: 100%;
}

.cf7__list dd:nth-of-type(n + 2) {
margin-top: 0;
}

.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
padding: 15px 0 0;
}

/* 送信ボタン */
.cf7__button input[type="submit"] {
width: 180px;
height: 56px;
}

}


/*　PCで改行
---------------------------------------------------- */
.br-sp {
display: none;
}
.br-pc {
display: block
}

@media screen and (max-width: 767px) {
.br-pc {
display: none;
}

.br-sp {
display: block
}
}

/*　PCで左よせ
---------------------------------------------------- */
.center-pc {
text-align: center;
}

@media screen and (max-width: 767px) {
.center-pc {
text-align: left;
}
}

/*　リストデザイン
---------------------------------------------------- */
.list_icon ul {
margin-bottom: 50px
}
.list_icon ul {
list-style: none;
}
.list_icon li {
position: relative;
padding: 0 0 0 1.8em;
line-height: 1.7;
}
.list_icon li::before {
position: absolute;
top: .8em;
left: 0;
transform: translateY(-50%);
width: 1em;
height: 1em;
background-image: url(../img/icon.svg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
content: "";
}
.list_icon li + li {
margin-top: 1em;
}

/*富山の酒造
---------------------------------------------------------------------------*/
/*お酒一覧
---------------------------------------------------------------------------*/
.info_box_list {
text-align: left;
margin: 2% 0;
}
.info_box_list ul {
list-style: none;
line-height: 0;
display: flex;
flex-wrap: wrap;
}
.info_box_list ul:after {
content: "";
clear: both;
display: block;
}
.info_box_list ul li {
height: auto;
margin-bottom: 40px;
}
.info_box_list li div img {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-filter: opacity(100%);
filter: opacity(100%);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
}
.c_trim {
width: 100%;
max-width: 100%;
margin: 0;
position: relative;
padding-bottom: 100%;
height: 0;
}
.c_trim::before {
content: "";
display: block;
padding-top: 100%;
}
.c_trim img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
object-fit: cover;
}
.c_trim a img {
-webkit-filter: opacity(100%);
filter: opacity(100%);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
}
.info_box_list a {
text-decoration: none;
}
.info_box_list li img a {
border: 0;
}
.info_box_list a:hover, a:hover .c_trim, a:hover .cate_box {
opacity: 0.6;
transition: 0.5s;
text-decoration: none;
}
.info_box_tex {
margin-top: 25px;
text-align: left
}
.info_box_tex h5 {
text-decoration: none;
font-weight: 700;
font-size: 1em;
line-height: 1.7;
clear: both;
margin: 10px 0 10px 0;
}
.info_box_tex p {
margin: 20px 0 0 0;
float: none;
font-size: 80%;
line-height: .9;
}
@media screen and (max-width: 980px) {
.info_box_list ul li {
width: calc((100% - 5%) / 2);
margin-right: 5%;
}
.info_box_list ul li:nth-child(2n) {
margin-right: 0;
}
.info_box_list ul li:nth-last-child(-n+2) {
margin-bottom: 0;
}
.info_box_list li h5 {
font-size: 1em;
line-height: 1.3;
}}
@media screen and (min-width:981px) {
.info_box_list ul li {
width: calc((100% - 9%) / 4);
margin-right: 3%;
}
.info_box_list ul li:nth-child(4n) {
margin-right: 0;
}
.info_box_list ul li:nth-last-child(-n+4) {
margin-bottom: 0;
}
}

/* カテゴリの設定
/* ------------------------------------- */
.cate_box span{
padding: 3px 0;
}
.cate_box {
display: flex;
align-items: center;
font-size: 12px;
line-height: 12px;
margin:0 0 10px 0;
color: #333;
font-weight: 400;
}

/*お酒詳細　sake
---------------------------------------------------------------------------*/
.sake-box {
display: flex;
align-items: flex-start;
justify-content: space-between;
position: relative;
padding-bottom: 50px;
border-bottom: 1px dotted #9FA0A0;
}
.sake-box:not(:first-child) {
margin-top: 50px;
}
.sake-text {
flex: 1;
}
.sake-text-title {
font-size: 1.3rem;
font-weight: 500;
padding-bottom: 20px
}
.yui-step p {
margin: 0;
color: #333;
}
.sake-image {
width: 45%; /* 画面の半分を占有 */
aspect-ratio: 16/9; /* 比率を固定（16:9など） */
margin-right: 50px;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
}
a.sake-button {
display: flex;
justify-content: center;
align-items: center;
width: 200px;
margin:20px 0 0 0;
padding: .9em 2em;
border: none;
border-radius: 5px;
background-color: #008dbd;
color: #fff;
font-weight: 700;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s ease;
text-decoration: none;
}
a.sake-button:hover,
a.sake-hp-button:hover{
background-color: #66bad7;
}
.sake-hp-box{
display: flex;
justify-content: center;
margin: 30px 0 100px 0
}
a.sake-hp-button {
display: flex;
justify-content: center;
align-items: center;
width: 600px;
margin: 20px auto 0;
padding: 1.2em 0;
border: none;
border-radius: 5px;
background-color: #008dbd;
color: #fff;
font-weight: 700;
font-size: 1.3em;
cursor: pointer;
transition: background-color 0.3s ease;
text-decoration: none;
}

@media (max-width: 767px) {
.sake-box {
flex-direction: column;
}
.sake-image {
margin: 0 0 20px;
width: 100%;
}
.sake-text-title {
font-size: 1.3rem;
}
.sake-text-title {
padding-bottom: 10px
}
a.sake-button {
font-size: .8em;
padding: .5em 0;
}
a.sake-hp-button {
width: 100%;
font-size: 1.1em;
}
}

/* お店を探す　restaurant
---------------------------------------------------------------------------*/
/* 一覧
---------------------------------------------------------------------------*/
.search-background {
background-color: #F7EFE3;
padding:50px 0;
margin-top: 30px
}
.step_menu ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.step_menu li {
flex: 1;
text-align: center;
}
.step_menu li a {
display: block;
padding: 10px 0;
text-decoration: none;
border: 1px solid transparent;
border-radius: 4px;
background: #fff
}
/* 各liの背景色を個別に設定 */
.step_menu li.menu1 a { background-color: #fff;color: #333; }
.step_menu li.menu2 a { background-color: #56941f;color: #fff; }
.step_menu li.menu3 a { background-color: #0082b2;color: #fff; }
.step_menu li.menu4 a { background-color: #bd686a;color: #fff; }
.step_menu li.menu5 a { background-color: #eb6a14;color: #fff; }

.step_menu li a:hover {
filter: brightness(1.1);
}
@media (max-width: 767px) {
.search-background {
padding: 30px 0;
}
.step_menu ul li {
flex: 0 0 calc((100% - 20px) / 3);
}
}

/* 詳細 
---------------------------------------------------------------------------*/
.furigana{
font-size: 0.7em;
line-height: 1.2;
}
/*見出し　色*/
.restaurant h2 {
font-size: 1.5em;
font-weight: 700;
padding: .4em 0 .6em 0;
margin-bottom: 1em;
}
.restaurant.toyamasi h2 {
color: #56941f;
border-bottom: 1px solid #56941f;
}
.restaurant.gosei h2 {
color: #bd686a;
border-bottom: 1px solid #bd686a;
}
.restaurant.gotou h2 {
color: #0082b2;
border-bottom: 1px solid #0082b2;
}
.restaurant.kengai h2 {
color: #eb6a14;
border-bottom: 1px solid #eb6a14;
}
.restaurant h3 {
font-size: 1.2em;
font-weight: 400;
line-height: 1.5;
margin-bottom: 10px;
}
.restaurant.toyamasi h3 {
color: #56941f;
}
.restaurant.gotou h3 {
color: #0082b2;
}
.restaurant.gosei h3 {
color: #bd686a;
}
.restaurant.kengai h3 {
color: #eb6a14;
}
@media screen and (min-width:768px) {
.restaurant h2 {font-size: 2em;
}
.restaurant h3{font-size: 1.4em;}
}

/*画像*/
.restaurant_box {
display: flex;
gap: 60px;
margin: 60px 0
}
.restaurant_image {
text-align: center;
}
.restaurant_image img {
width: 100%;
height: auto;
}
.restaurant_image.left {
flex: 2; 
display: flex;
flex-direction: column;
gap: 30px;
}
.restaurant_menu_box.right {
flex: 1;
display: flex;
flex-direction: column;
gap: 30px;
padding: 30px;
background: #F7EFE3;
}
/*メニュー*/
.restaurant_menu_box h4{
display: flex;
align-items: center;
margin-bottom: 10px;
}
.restaurant_menu_box h4::before {
display: inline-block;
width: 3px;
height: 1.5em;
margin-right: .5em;
background-color: #333;
content: '';
}

/*データ table*/
.restaurant_info {
width: 100%;
margin: 50px 0 0 0;
}
.restaurant_info .ri {
display: flex;
margin-bottom: 5px;
border-bottom: 1px solid #bbbbbb;
}
.restaurant_info .ri:first-child {
border-top: 1px solid #bbbbbb;
}
.restaurant_info .ri dt,
.restaurant_info .ri dd {
display: flex;
align-items: center;
padding: 10px 0;
}
.restaurant_info .ri dt {
width: 30%;
text-align: left;
border-bottom: none;
}
.restaurant_info .ri dd {
width: 70%;
margin-left: 0;
padding-left: 20px;
border-bottom: none;
}
.restaurant_info .ri dd a {
word-break: break-all;
text-decoration: underline;
}
@media (max-width: 767px) {
.restaurant_info .ri {
flex-direction: column;
align-items: flex-start;
}
.restaurant_info .ri dt,
.restaurant_info .ri dd {
width: 100%;
border-bottom: none; /* 重複するので消す */
}
.restaurant_info .ri dt {
font-weight: 500;
padding: 10px 0 0 0;
}
.restaurant_info .ri dd {
padding: 5px 0 15px 0;
}
}
@media (max-width: 1023px) {
.restaurant_box {
flex-direction: column;
gap: 30px;
margin: 30px 0;
}
}

/*google-maps（おすすめスポット）
---------------------------------------------------------------------------*/
.google-map {
width: 100%;
height: 50vh
}
.google-map iframe {
width: 100%;
height: 100%;
border: 0;
}
 @media (max-width: 767px) {
.google-map {
height: 40vh; /* 画面高さの40%に縮小 */
}
}

/* 次へ　戻る　前へ
---------------------------------------------------- */
.kiji_link{
display: flex;
justify-content: center;
margin: 50px
}
.kiji_link a{
text-decoration: none;
color: #fff;
}
.btn_read_more {
display: flex;
justify-content: center;
align-items: center;
width: 200px;
margin:20px 0 0 0;
padding: .9em 2em;
border: none;
border-radius: 5px;
background-color: #235b9e;
color: #fff;
font-weight: 700;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn_read_more:hover {
color: #fff;
background-color: #6ca0de;
}

.maehe {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
font-size: 1em;
line-height: 2em;
}
 @media (max-width: 767px) {
.btn_read_more {
font-size: .8em;
margin:10px 0 0 0;
padding: .8em 0;
}
}


/* タグ
---------------------------------------------------- */
.post-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 5px;
margin-bottom: 30px
}
.category,
.tag-label{
color: white;
padding: 0 15px;
border-radius: 20px;
font-size: 0.85em;
white-space: nowrap;
}
.tags {
display: flex;
gap: 5px;
flex-wrap: wrap;
}
.tags a {
text-decoration: none;
color: white;
}
.toyamasi .category,
.toyamasi .tag-label{
background-color: #56941f;
}
.gosei .category,
.gosei .tag-label{
background-color: #bd686a;
}
.gotou .category,
.gotou .tag-label{
background-color: #0082b2;
}
.kengai .category,
.kengai .tag-label{
background-color: #eb6a14;
}
@media (max-width: 767px) {
.category,
.tag-label {
font-size: 0.7em;
}
}

/* お知らせ
---------------------------------------------------- */
.i_date2{
font-size: 80%;
line-height: 2;
}
.i_date2 span{
margin-right: 10px
}
h2.i_title{
font-size: 1.5em;
font-weight:700;
line-height: 1.6;
margin: 0 0 30px 0;
}
.i_text_box{
margin: 0 0 30px 0;
padding: 0 0 30px 0;
}
.i_text_box:after {
content: "";
display: block;
clear: both;
height: 0;
visibility: hidden;
}
.news_list_item a {
text-decoration: none;
color: #333
}
.news_list_item a:hover{
color: #92C8C6;
}
@media screen and (min-width:768px) {
h2.i_title{
font-size: 2em;
line-height: 1.7em;
}
.i_date2{
font-size:100%;
}
}


/* キャプションがある
---------------------------------------------------- */
/* 親の wp-caption に適用 */
.wp-caption {
display: flex;
flex-direction: column; /* 画像→キャプション縦並び */
width: auto;/* 必要に応じて幅を調整 */
margin-bottom: 20px;
}
/* 画像自体 */
.wp-caption img {
display: block;
max-width: 100%;
height: auto;
}
/* --- PC: 右寄せ --- */
.wp-caption.alignright {
justify-content: flex-end; /* 右寄せ */
text-align: right; /* キャプションも右寄せ */
}
/* --- PC: 中央寄せ --- */
.wp-caption.aligncenter {
justify-content: center;
text-align: center;
}
/* --- PC: 左寄せ --- */
.wp-caption.alignleft {
justify-content: flex-start;
text-align: left;
}
@media screen and (max-width: 767px) {
.wp-caption.alignright {
justify-content: center; /* スマホでは中央寄せ */
text-align: center;
margin-left: auto;
margin-right: auto;
}
.wp-caption.aligncenter {
justify-content: center;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.wp-caption.alignleft {
justify-content: center; /* スマホでは中央寄せ */
text-align: center;
margin-left: auto;
margin-right: auto;
}
.wp-caption img {
max-width: 100%;
height: auto;
}
}