@charset "utf-8";
/*
Theme Name: yamasiroya
Template: x-t9
Tags: 
Version: 1.0.0
*/

body {

}

a {
  text-decoration: none;
}

a:hover {
  color: var(--wp--preset--color--complementary);
  opacity: 0.8;
}

nav {
  width: 100%;
}

header .wp-block-image img {
/*    vertical-align: middle; */
}

.header-tel {
  margin-right: 0;
   margin-left: auto;
}

/* スマホのみ電話番号リンクを有効に */
@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
}

:root :where(.wp-block-post-terms a:where(:not(.wp-element-button))) {
  background-color: #928e7a;
  padding: 2px 5px;
  border-radius: 5px;
  color: #fff;
}

.wp-block-button__link:is(.has-background,.wp-element-button) {
    padding: 0.667em 3.333em!important;
}

input[type=date], input[type=time], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
    padding: 0.5em;
    width: auto;
    max-width: 100%;
}

/* カテゴリー（シーン）毎に一覧ページのヘッダー画像を代える */
.page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-meeting1920x522.jpg); /* 仮 */
    background-repeat: no-repeat;
    background-size: cover;
    height: min(45vw, 32rem);
}
.term-events-excursions .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-events-excursions1920x522.jpg);
}
.term-group-travel .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-group-travel1920x522.jpg);
}
.term-sports .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-sports1920x522.jpg);
}
.term-school-trip .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-school-trip1920x522.jpg);
}
.term-meeting .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-meeting1920x522.jpg);
}
.term-memorial .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-memorial1920x522.jpg);
}
.term-party .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-party1920x522.jpg);
}
.term-shop-operators .page-header {
    background-image: url(https://yamasiroya.net/wp1/assets/img/scene/page-header-shop-operators1920x522.jpg);
}
.page-header .wp-block-query-title {
  text-shadow: rgb(0, 0, 0, 0.2) 2px 0px 4px, rgb(0, 0, 0, 0.2) -2px 0px 4px, rgb(0, 0, 0, 0.2) 0px -2px 4px, rgb(0, 0, 0, 0.2) 0px 2px 4px, rgb(0, 0, 0, 0.2) 2px 2px 4px, rgb(0, 0, 0, 0.2) -2px 2px 4px, rgb(0, 0, 0, 0.2) 2px -2px 4px, rgb(0, 0, 0, 0.2) -2px -2px 4px, rgb(0, 0, 0, 0.2) 1px 2px 4px, rgb(0, 0, 0, 0.2) -1px 2px 4px, rgb(0, 0, 0, 0.2) 1px -2px 4px, rgb(0, 0, 0, 0.2) -1px -2px 4px, rgb(0, 0, 0, 0.2) 2px 1px 4px, rgb(0, 0, 0, 0.2) -2px 1px 4px, rgb(0, 0, 0, 0.2) 2px -1px 4px, rgb(0, 0, 0, 0.2) -2px -1px 4px !important;
}

.page_top_btn {
  background-color: var(--wp--preset--color--primary);
  border-radius: 20px;
}

.footer-bottom a {
    color: #e6d3c1;
}

/****** お弁当一覧 *****/
/* スポーツと修学旅行の時だけ最上部に画像を表示 */
.bnr-tea-service {
    display: none!important;
}
.term-sports .bnr-tea-service,
.term-school-trip .bnr-tea-service {
    display: block!important;
}

/* パック茶とパックジュースの画像をお弁当の上にかぶせる */
.img-obento-container {
position: relative;
width: 100%;
height: 245px;
}

.img-obento {
position: absolute;
top: 0;
left: 0;
width: 327px;
height: 245px;
opacity: 0.7;
z-index: 1; /* 背景画像が後ろ */
}

.img-tea-service,
.img-juice-service {
position: absolute;
top: 0;
left: 0;
width: 327px;
height: 245px;
z-index: 2; /* 上に重ねる */
margin: 0;
display: none;
}

/* タイトルに出来るだけ文字を詰め込む */
.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
    flex-basis: content;
}

/* スポーツと修学旅行の時だけパック茶サービスの画像を表示 */
.term-sports .img-tea-service,
.term-school-trip .img-tea-service {
display: block;
}

/* しかし修学旅行の時のサンドイッチとロールパンコンビはパック茶ではなくジュースサービスの画像を表示 */
.term-school-trip .post-1262 .img-tea-service,
.term-school-trip .post-1245 .img-tea-service {
display: none;
}
.term-school-trip .post-1262 .img-juice-service,
.term-school-trip .post-1245 .img-juice-service {
display: block;
}

/* おつまみセットとドリンク類は常にサービスの画像を非表示 */
.term-sports .post-430 .img-tea-service,
.term-sports .post-449 .img-tea-service,
.term-sports .post-430 .img-juice-service,
.term-sports .post-449 .img-juice-service,
.term-school-trip .post-430 .img-tea-service,
.term-school-trip .post-449 .img-tea-service ,
.term-school-trip .post-430 .img-juice-service,
.term-school-trip .post-449 .img-juice-service {
display: none;
}

/* お弁当のタイトルと価格のフォントサイズを調整 */
.post-type-archive-obentou .wp-block-query .wp-block-post-title,
.tax-scene .wp-block-query .wp-block-post-title {
	font-size: 24px !important;
}
@media (max-width: 767px) {
    .post-type-archive-obentou .wp-block-query .wp-block-post-title,
    .tax-scene .wp-block-query .wp-block-post-title {
        font-size: 18px !important;
    }
    .post-type-archive-obentou .has-xx-large-font-size,
    .tax-scene .has-xx-large-font-size {
	   font-size: 18px !important;
    }
}

.msg-shop-operators,
.bnr-shop-operators {
    display: none!important;
}
.term-shop-operators .msg-shop-operators {
    display: block!important;
}
.term-shop-operators .bnr-shop-operators {
    display: flex!important;
}

.msg-party,
.img-party-sample {
    display: none!important;
}
.term-party .msg-party {
    display: block!important;
}
.term-party .img-party-sample {
    display: flex!important;
}

.obentou p mark {
    background-color: #928e7a;
    border-radius: 3px;
    padding-left: 4px;
    padding-right: 4px;
    vertical-align: middle;
}
.wp-block-query .wp-block-post-terms,
.wp-block-query .wp-block-post-date,
.wp-block-query .wp-block-post-author {
    width: max-content;
    margin: 0 0 0 auto;
}

.post-449.obentou p mark { /* ドリンク類の品番を非表示 */
    display: none;
}

/* 注文フォーム */
.order-form-obentou-list {
    height: 1650px;
    overflow: auto;
    width: 100%;
    font-size: 85%;
    border: 1px #aaa solid;
}
.order-form-obentou-list .has-xx-large-font-size {
	   font-size: 18px !important;
}
.order-form-obentou-list .scene-shop-operators {
    display: none;  /* 売店事業者様用は非表示 */
}

.wp-elements-097a5d25014a387491058087d65a8e7b a:where(:not(.wp-element-button)) {
    color: #fff;
}
/*
.post-name-order-form table,
.post-name-order-form-confirm table {
	border-collapse: collapse;
}
.post-name-order-form table th,
.post-name-order-form table td,
.post-name-order-form-confirm table th,
.post-name-order-form-confirm table td {
	padding: 10px;
	box-sizing: border-box;
	line-height: 1.3;
    text-align: left;
}
.post-name-order-form table input,
.post-name-order-form-confirm table input {
	padding: 10px;
	border: 1px solid #EEE;
	box-sizing: border-box;
}
*/

/* 縦組みテーブル */
.tatemi02 {
	width: 100%;
}
@media screen and (max-width: 768px) {
	.tatemi02 {
		border-bottom: 1px solid #DDD;
	}
}
.tatemi02 th {
	border: 1px solid #DDD;
	background: #f8f8f8;
	padding: 10px;
}
@media screen and (max-width: 768px) {
	.tatemi02 th {
		display: block;
		width: 100%;
		border-bottom: none;
	}
}
.tatemi02 td {
	border: 1px solid #DDD;
	padding: 10px;
}
@media screen and (max-width: 768px) {
	.tatemi02 td {
		display: block;
		border-bottom: none;
		width: 100%;
	}
}
    
/* 入力不可の項目を設定 */
#price_of_product_name_1,
#total_of_product_name_1,
#price_of_product_name_2,
#total_of_product_name_2,
#price_of_product_name_3,
#total_of_product_name_3,
#total_of_product {
    pointer-events: none;
    background-color: #eee;
    cursor: default;
}

/* 注文フォームの商品2以下を最初は非表示に
.post-name-order-form .open-area2{display: none;}
.post-name-order-form .open-area3{display: none;}
 */
/* 注文内容確認画面用 */
.post-name-order-form-confirm {

}

/****** 共通 *****/
.c-red {
  color: darkred;
}

/****** 最新の投稿 *****/
.wp-block-latest-posts__list li {
  margin-top: 10PX;;
  line-height: 1.2;
}
