@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&family=Zen+Old+Mincho:wght@400;700;900&family=Courgette&display=swap');
@view-transition {
  navigation: auto;
}

.is-layout-flex > :is(*, div) {
  margin: 0 auto;
}

.w-2rem{ width:2rem; max-width:2rem; }
.w-4rem{ width:4rem; max-width:4rem; }
.w-6rem{ width:6rem; max-width:6rem; }
.w-8rem{ width:8rem; max-width:8rem; }
.w-10rem{ width:10rem; max-width:10rem; }
.w-20rem{ width:20rem; max-width:20rem; }

.w100{width:100%;}
.w080{width: 80%;}
.w070{width: 70%;}
.w060{width: 60%;}
.w050{width: 50%;}
.w040{width: 40%;}
.w030{width: 30%;}
.w020{width: 20%;}

.fs-big, .fs-big p, .fs-big h3{
    container-type: inline-size;
    font-size: max(4cqw, 30px);
}
.img_w100 img{width:100%;}

.caution{ color:darkred;}

.mode_dark{
  filter: invert(1);
}
.mode_light{
  filter: invert(0);
}

.flex-wrap{
  flex-wrap:wrap !important;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 700;
  font-style: normal;
}

.zen-kaku-gothic-new-black {
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 900;
  font-style: normal;
}
.zen-old-mincho-regular {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-old-mincho-bold, .l_mincho , .mincho_l {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-style: normal;
}

.courgette {
  font-family: "Courgette", cursive;
  font-weight: 400;
  font-style: normal;
}


.mincho,.zen_mincho,.zen-mincho{
  font-family: "Zen Old Mincho", serif;
}
.gothic,.zen_gothic,.zen-gothic{
  font-family: "Zen Kaku Gothic New", serif;
}
.typo{
  font-family: "Courgette", cursive;
  font-weight: 400;
  font-style: normal;

}

.vertical-text {
  writing-mode: vertical-rl; /* 右から左の縦書き */
  text-orientation: mixed;  /* 漢字とひらがなの縦表示 */
  white-space: nowrap;      /* 折り返し防止 */
  line-height: 1.8;         /* 行間調整（好みで） */
  font-family: "Zen Old Mincho", serif; /* 和文向けフォント */
  font-weight: 700;
}

.text_shadow{
  text-shadow:0px 0px 5px black;
  backdrop-filter: blur(1px);
}
.text_shadow,.text_shadow p ,.text_shadow h1,.text_shadow h2,.text_shadow h3
,.text_shadow h4,.text_shadow h5,.text_shadow h6,.text_shadow figcaption{
    text-shadow: 0 0 5px BLACK;
    backdrop-filter: blur(1px);
}

.gap_zero{ gap: 0 !important;}

.hover-trans:hover{
    transform:scale(1.05);
    opacity:0.8:
  }
@media print {
  .print_none{
    display: none !important;
  }
  .print_only{
  display: block;
  }
}

@media screen {
  .print_none{
  display: block;
  }
  .print_only{
    display: none !important;
  }
}

.sp_only,.sp-only{
	display:none;
}
@media (max-width: 781px) {
	.sp_dnone,.sp-disp-none{
		display:none !important;
	}
	.sp_only,.sp-only{
		display:inline-block;
	}
}

span.bk_black {
    background-color: black;
    color: white;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    padding: 0.3rem 1rem;
    margin-right: 1em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

figure.margin_zero {
    margin: 0 auto !important;
}
/******override wp default*******/

a.wp-block-button__link{
    font-family: "Zen Kaku Gothic New", serif;
    font-weight:600;
}
a.wp-block-button__link.wp-element-button:hover {
    backdrop-filter: blur(3px);
    transform:scale(1.1);
}

.wp-block-button.is-style-fill a.wp-block-button__link
,.wp-block-button.is-style-fill a.wp-block-button__link:visited {
    color: white;
}

.is-style-outline a.wp-block-button__link.wp-element-button:visited,
.is-style-outline a:visited{
    color:white;
}
a.wp-block-button__link:hover {
    color: white;
}

a img:hover{
    transform:scale(1.05);
}
figure.wp-block-embed.fullwidth .wp-block-embed__wrapper iframe{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* アスペクト比維持 */
}
figure.wp-block-embed.w080{
  width: 80%;
}
figure.wp-block-embed.w060{
  width: 60%;
}
/***************************/
.fancy-divider {
  border: 1px solid #7b3f00;
  position: relative;
  width: 100%;
  height: 0px;
  margin: 2rem auto; /* 中央寄せ */
  background-color: #7b3f00; /* 茶色（画像に近い色） */
  border-radius: 0px;
}

.fancy-divider::before,
.fancy-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #7b3f00;
  border-radius: 50%;
}

.fancy-divider::before {
  left: 0px;
}

.fancy-divider::after {
  right: 0px;
}

/*********************************/
body.page h1.entry-title {
    background-color: #363636;
    background: linear-gradient(to right, #434343, #4d4d4d, #fff);
    color: white;
    padding: 1rem;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 900;
    font-style: normal;
    display: block;
    min-width: 50%;
}
body.page h2{
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 800;
}
body.page h4{
    border-bottom:2px solid black;
    padding:0.5rem;
}

body.page h5{
  font-family: "Courgette", cursive;
  font-weight: 400;
  font-style: normal;
  color: #735423;
}
/*********************************/
.product h1.entry-title {
    background-color: black;
    color: white;
    padding: 1rem;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    min-width: 50%;
}
.product h2.wp-block-heading {
    border-bottom: 2px solid black;
    padding: 0.5rem 0em;
}
.product_list_block {
    padding-top:1rem;
    padding-bottom:1rem;
    background: #d0c6b3;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

.product-list-item {
    display: flex;
    width: calc(50% - 20px);
    padding: 1rem;
    margin: 10px;
    box-sizing: border-box;
    align-items: stretch;
    align-self: stretch;
    background-color: #f7f7f7;
/*     background: linear-gradient(to right, #f7f7f7, #fff, #fff); */
    border-radius: 2px;
}

.fullwidth .product-list-item{
    width:100%;
}

.product-list-item p{
    padding: 0;
    margin: 0;
}


.product-listitem-left {
    width: 62%;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
    /* justify-content: stretch; */
    justify-content: space-between;
}

.product-listitem-left hr.fancy-divider {
    margin-top: 5px;
    margin-bottom: 1rem;
}

.product-listitem-right {
  width: 38%;
  align-content: center;
}

.product-field.model-number p {
  font-family: "Zen Kaku Gothic New", serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.product-field.catchphrase p {
    font-family: "Zen Old Mincho", serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: #815333;

}
.product-field.description {
    padding: 0.3rem 0rem;
}

a.product-button {
    transition:0.3s color;
    padding: 0.5rem 2rem;
    text-decoration: none;
    color: white;
    background: black;
    /* margin: 0.5rem; */
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    display: block;
    margin-top: 3px;
    text-align: center;
    box-sizing:border-box;
}
a.product-button:hover{
    color:black;
    background:#dadada;
}

@media screen and (max-width: 782px){
  :where(.wp-block-columns.is-layout-flex) {
    gap: 0em;
}
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0;
    }

        .p-4{
            padding:0.4rem !important;
        }

    .product-list-item {
        margin: 5px 2px;
        width: 100%;
    }

    .fullwidth .product-list-item{
        width:100%;
        flex-wrap: wrap;
        border-width: 11px;
        flex-wrap: wrap-reverse;
    }
    .product-list.fullwidth .product-listitem-left {
        width:100%;
    }
    .product-list.fullwidth .product-listitem-right {
        width:100%;
    }



    figure.pizzaovenlisttable table{
        font-size:0.9rem;
    }
    figure.pizzaovenlisttable table tr td:nth-child(2) ,figure.pizzaovenlisttable table thead th:nth-child(2){
        display: none;
    }
}


@media (max-width: 781px) {
    .character_mini.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        flex-basis: 50% !important;
        padding:0.2em;
        max-width:50%;
    }
     .character_mini.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        flex-basis: 50% !important;
        padding:0.2em;
    }
}

@media (max-width: 768px) {
  .reverse-columns {
    display: flex;
    flex-direction: column-reverse;
  }
}


/*****************************************************************/
.product-group-grill {

}
/* 外枠 */
.product-item-grill {
    width: calc(50% - var(--bs-gutter-x));
    box-sizing: border-box;
  border: 6px solid #8b5e3c;       /* 木目っぽいブラウンの太枠 */
  border-radius: 4px;
  background: #fdfdfd;             /* ほんのりクリーム寄りの白 */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 16px;
  margin-bottom: 32px;
    align-self: stretch;
}

/* タイトル */
.product-item-grill h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.6em;
  color: #4b3321;
  margin-bottom: 12px;
  border-bottom: 2px solid #d0b49f;
  padding-bottom: 4px;
}
.product-item-grill h2 span {
  font-size: 0.85em;
  color: #7e5a3e;
  margin-left: 6px;
}

/* 説明文 */
.product-item-grill p {
  font-size: 1em;
  color: #3e2e1f;
  margin-bottom: 16px;
}

/* 画像 */
.product-item-grill img {
  display: block;
  max-width: 62%;
  width: 62%;
  height: auto;
  object-position: center;
  object-fit: contain !important;
  margin: 0 auto 16px;
    max-height: 250px;
}

/* 表 */
.product-item-grill table {
  width: 100%;
  border-collapse: collapse;
    font-size: max(10px , 1vw ,14px);
}

.product-item-grill table tr:nth-child(2n){
    background-color:#fbf6ec;
}

.product-item-grill table th,
.product-item-grill table td {
  border: 1px solid #ccbfa7;
  padding: 2px 0px;
  text-align: center;
  color: #3e2e1f;
}
.product-item-grill table th {
  background: #e6d5be;
  font-weight: bold;
}

.overimage{
    position:relative;
    /* overflow:auto; */
}

.overimage figure:first-child img{
    position:relative;
    text-align:left;
    /* margin:0; */
    margin-left:0;

}
.overimage figure:nth-child(2){
    position:absolute;
    bottom:0;
    right:0;
    margin: 0;
    width: 38%;
    display: inline;
  }
  .overimage figure:nth-child(2) figcaption.wp-element-caption{
      /* display: inline-block; */
      font-size: 11px;
      text-align: center;
      right:0;
  }
.overimage figure:nth-child(2) img{
    margin-right:0;
    max-width:100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow:1px 1px 10px gray;
    z-index:5;
    object-fit:cover  !important;
    object-position: center center;
    margin: 0;
}
/******************************************************/

/* 全体のレイアウト */
.burner_list .product-list-item {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.8);
  padding: 0;
  align-self: stretch;
  align-items: stretch;
}

/* 左側：画像コンテナ */
.burner_list .product-listitem-left {
  /* flex: 0 0 40%; */        /* 全体幅の40%を占有 */
  width: 40%;
  position: relative;
  overflow: hidden;
  height: auto;
}

/* 高さをアスペクト比で指定（例：16:9 = 56.25%） */
.burner_list .product-listitem-left .model-image {
  width: 100%;
  /* height: 0; */
  /* padding-top: 56.25%; */
  position: absolute;
  /* height: fit-content; */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* 画像をコンテナいっぱいに表示 */
.burner_list .product-listitem-left .model-image img {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill or cover で調整可 */
  display: block;
}

/* 右側：テキストエリア */
.burner_list .product-listitem-right {
  /* flex: 1; */
  width: 60%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* タイトル部分 */
.burner_list .product-field.model-number p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
  background: black;
  width: 125%;
  padding: 0.5em;
  color: white;
  text-align: right;
}



/* 区切り線 */
.burner_list .divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 8px 0;
}


.burner_list .product-field.model-number {
    position: relative;
    padding: 1.5em;
}


.leadimperial .product-field.model-number p {
    background: #308100;
}

.meiwasolex .product-field.model-number p {
    background: #f7ea4b;
    color:black;
}

.leadburner .product-field.model-number p {
    background: #be3030;
}

.hiryu .product-field.model-number p {
    background: #be3030;
}

.seiryu .product-field.model-number p {
    background: #304fbe;
}


.category-burner .entry-content{
  padding-top: 0;
  margin-top: 0;
}
.category-burner header h1 {
  margin: 0;
}
.category-burner h2{
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    padding-top: 1rem;
    line-height: 1.8;
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    justify-self: center;
    border-bottom: transparent !important;
}


.category-burner h3{
    background-color: black;
    color: white;
      margin: 0;
    padding: 1rem;
    font-family: "Zen Old Mincho", serif;
}

.category-burner h5{
    font-weight:bold;
}

.category-burner .is-layout-flex{
  gap:0px ;

}
.category-burner .wp-block-column.wp-block-column-is-layout-flow{
  align-self: stretch;
}

.category-burner .wp-block-column.is-vertically-aligned-top.is-layout-flow.wp-block-column-is-layout-flow img{
  width: 100%;
}
.category-burner .wp-block-column.is-vertically-aligned-top.is-layout-flow{
  align-content: center;
}

/******************************************************/
.table-style-green {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}

.table-style-green th,
.table-style-green td {
  border: 1px solid #ddd;
  padding: 0.3rem 15px;
  text-align: left;
}

.table-style-green thead {
  background-color: #2e9c32;
  color: white;
}

.table-style-green tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-style-green tbody tr:hover {
  background-color: #f1f1f1;
}


.taidan.menbers .wp-block-column {
    position: relative;
    width: 30%;
    padding-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    box-sizing: border-box;
    flex-basis: unset;
    flex-grow: unset;
    padding: min(2em , 3vw);
}

@media (max-width:781px){
    .taidan.menbers .wp-block-column{
        flex-basis:unset !important;
        width:43% ;
        padding-bottom:2.5rem;
        font-size:small;

    }
}
@media (min-width:1300px){
    .taidan.menbers .wp-block-column{
        width:16% ;
        padding-bottom:4.5rem;
    }
}

/******************************************************/
.taidan.menbers {
    flex-wrap: wrap;
    justify-content: space-between;
}
.name_ovlay_text {
    font-weight: bold;
    position: absolute;
    background-color: #ffffffa3;
    text-shadow: 0px 0px 4px white;
    bottom: 0;
    right: 0;
    display: inline-block;
    width: auto; /* 必要に応じて */
    margin: 0;    /* pタグ特有のマージン除去 */
    padding: 0;
    width: max(10rem , 65%);
}


/**************************catalog****************************/
.wp-block-group.catalog_grid {
    margin-bottom: 4rem;
    grid-gap: 30px 5px;
}

.wp-block-group.catalog_grid figure {
    margin-bottom: 5px;
}

@media screen and (max-width:700px){

    .wp-block-group.catalog_grid {
        margin-bottom: 4rem;
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-gap: 30px 5px;
        grid-template-columns: repeat(3, 1fr);
    }

}

/******************************************************/

/**************************contactform****************************/
.contactform{
    margin:0 auto;
    display:block;
    width:80%;
}
.contactform label{
    width: 100%;
}
.contactform label input, .contactform label textarea {
    width: 100%;
}
.contactform input#submit_button {
    padding: 0.5rem 5.5rem;
    max-width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-call {
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 4px solid #e53935; /* ブランドカラーでアクセント */
}

.contact-call p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.contact-tel {
  display: inline-block;
  font-size: 28px;
  font-weight: bold;
  color: #e53935;
  text-decoration: none;
  margin: 10px 0;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-tel:hover {
  color: #c62828;
  transform: scale(1.05);
}

.contact-time {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}


/**************************contactform****************************/
/* ===== スクロール追従ボタン（背景透明） ===== */
.contact-button-wrapper {
  position: sticky;
  bottom: 0;
  text-align: center;
  background: transparent; /* ← 背景を完全透過 */
  padding: 20px 0;
  z-index: 999;
}

/* ボタンスタイル */
.contact-button {
  display: inline-block;
  background: #e53935;
  color: #fff;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 少し浮かせて見やすく */
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
  background: #c62828;
  transform: translateY(-2px);
}

/************************video gallery **********************/
.video_gallery_grid_group {
    grid-column-gap: 10px;
    grid-row-gap: 3rem;
}