/*==========
ヘッダー
==========*/
header.wp-block-template-part {
    position: relative;
    z-index: 1000;
}
.header {
    position: relative;
}
.header_logo {
    width: 100%;
}
.header_toggle_wrapper {
    position: relative;
    z-index: 900;
}
.header_toggle {
position: fixed;
    right: var(--wp--preset--spacing--20);
    top: var(--wp--preset--spacing--20);
}
.header_toggle .wp-element-button {
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
  padding: clamp(0.313rem, 0.197rem + 0.51vw, 0.563rem);
}
.header_toggle .wp-element-button::before,
.header_toggle .wp-element-button::after {
  display: none;
}
.header_toggle .wp-element-button img {
  width: clamp(1.875rem, 1.183rem + 3.08vw, 3.375rem);
}
.header_deco{
    background: url(../images/header_back_wave_01.png) repeat-x center bottom / min(154px, 17.5vw) auto;
    translate: 0 98%;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: min(40px, 4.6vw);
}

.offcanvas {
	height: 100vh;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 800;
}

.humburger_frame{
border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
position: relative;
}
.menu_title {
  border-bottom: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  padding-bottom: var(--wp--preset--spacing--10);
}
.menu_nav {
    width: 100%;
}
.menu_nav .wp-block-navigation__container{
    --navigation-layout-align: stretch;
}
.menu_nav .wp-block-navigation-item{
  border-bottom: 1px solid var(--wp--preset--color--brown);;
    padding: var(--wp--preset--spacing--5) var(--wp--preset--spacing--20);
}
.menu_nav .wp-block-navigation-item::before {
    opacity: 0.4;
    content: "■";
    margin-right: 1.7em;
    font-size: 0.4em;
    translate: 0 0.2em;
}
.menu_kinbou {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(180px, 27vw);
    translate: 18% 20%;
}
@media screen and (max-width:600px){
  .menu_kinbou {
      position: absolute;
      bottom: 0;
      right: 0;
      width: min(180px, 27vw);
      translate: 18% 20%;
  }
}

/*==========
フッター
==========*/
footer.wp-block-template-part {
    position: relative;
    z-index: 1;
}
.footer_totop{
    background: url(../images/footer_back_wave_01.png) repeat-x center bottom / min(154px, 17.5vw) auto;
    translate: 0 -98%;
    /* top: 0; */
    left: 0;
    padding: 0 var(--wp--style--root--padding-right);
    position: absolute;
    width: 100%;
}
.footer_totop img {
    max-width: 80%;
}

/*==========
記事 post
==========*/
.post_box_title{

}
.post_box_content{
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
  position: relative;
}
.post_box_content::before{
  content: "";
  border: 1px solid var(--wp--preset--color--brown);
  position: absolute;
  height: calc(100% - 16px);
  width: calc(100% - 16px);
  top: 8px;
  left: 8px;
}
.post_box_content>*{
  position: relative;
  z-index: 1;
}
.post_box_navigation{

}

.post_box_navigation span[class*="wp-block-post-navigation-link"] {
    border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
    border-radius: 100%;
    width: 2.4em;
    height: 2.4em;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    background-color: var(--wp--preset--color--lemon);
    font-size: 150%;
    box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
}

/*==========
ホーム
==========*/
.mv {
    overflow: hidden;
    position: relative;
}
.mv>*{
  position: relative;
  z-index: 10;
}
.burst-box {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 0;

  width: 200vmax;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;

  display: grid;
  place-items: center;
}
.burst-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  background:
  radial-gradient(circle, var(--wp--preset--color--yellow) 0 18%, transparent 50%),
  repeating-conic-gradient(
    from 0deg,
    #ffc814 0deg 7.5deg,
    var(--wp--preset--color--yellow) 7.5deg 15deg
  );

  animation: rotate360 60s linear infinite;
}
@keyframes rotate360 {
  to {
    transform: rotate(360deg);
  }
}

.mv_yakisoba{
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(510px, 40vw);
  z-index: 1;
}
@media screen and (max-width:600px){
  .mv_yakisoba{
    width:70vw;
  }
}

.mv_badge {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: min(124%, 33vw) -66%;
    width: min(165px, 24vw);
}
.mv_badge .mv_badge_back{
  animation: rotate360 60s linear infinite;
}
.mv_badge .mv_badge_text {
    position: absolute;
    top: 0;
}

.mv_logo_small {
    position: absolute;
    left: var(--wp--preset--spacing--30);
    top: var(--wp--preset--spacing--30);
      max-width: 22vw;
}
@media screen and (max-width:900px){
  .mv_logo_small {
      display: none;
  }
}

.mv_toggle_wrapper{
    position: relative;
    z-index: 900;
}
.mv_toggle {
    position: fixed;
    right: var(--wp--preset--spacing--20);
    top: var(--wp--preset--spacing--20);
}

[class*="mv_deco"] {
    position: absolute;
      top: 50%;
}
.mv_deco_10{
    left: 50%;
    translate: -50% -30%;
    width: max-content;
    max-width: 145vw;
}

.mv-kinbou {
    position: absolute;
    width: 100vw;
    z-index: 1;
    bottom: 0;
    height: 100%;
}
.mv-kinbou img {
    height: 110%;
    width: 100% !important;
    position: absolute;
    object-fit: contain;
    bottom: 0;
    left: 0;
}

.swiper_snap .swiper-wrapper {
    transition-timing-function: linear;
}
.swiper_snap::before {
content: "";
height: 110%;
width: 100%;
position: absolute;
background: url(../images/home_mv_slider_kinbou_01.png) no-repeat center bottom / auto 100%;
display: block;
bottom: 0;
left: 0;
z-index: 2;
}

.mv_banner{
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
}

.about_separate {
    position: relative;
    z-index: 2;
}
.about_separate svg {
    position: absolute;
    bottom: -2px;
}


/* 胎内ゴールドヤキソバとは */
.about_inner {
    position: relative;
}
[class*="about_deco"] {
    position: absolute;
}
.about_deco_1{
    left: 0;
    top: 0;
    translate: -100% -80%;
}
.about_deco_2{
    right: 0;
    top: 50%;
    translate: 120% -50%;
}
.about_deco_3{
    left: 0;
    bottom: 0;
    translate: -100% 50%;
}
@media screen and (max-width: 750px){
  .about_deco_1{
      translate: -90% -80%;
      width: 8vw;
  }
  .about_deco_2{
      width: 6vw;
  }
  .about_deco_3{
      width: 8vw;
  }
}

.about_toggle .wp-block-accordion-heading{
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
  position: relative;
}
.about_toggle .wp-block-accordion-heading::before{
  content: "";
  border: 1px solid var(--wp--preset--color--brown);
  position: absolute;
  height: calc(100% - 16px);
  width: calc(100% - 16px);
  top: 8px;
  left: 8px;
}
.about_toggle .wp-block-accordion-heading>*{
  position: relative;
  z-index: 1;
}
.about_toggle .wp-block-accordion-heading__toggle {
    display: flex;
    gap: var(--wp--preset--spacing--10);
}
.about_toggle .wp-block-accordion-heading__toggle::before {
    content: "";
    width: clamp(1.125rem, 0.49rem + 2.82vw, 2.5rem);
    height: clamp(1.125rem, 0.49rem + 2.82vw, 2.5rem);
    display: block;
    background: url(../images/home_about_toggle_btn.png) no-repeat center / contain;
    flex-shrink: 0;
}
.about_toggle .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle::before{
  rotate: 180deg;
}
.about_toggle .wp-block-accordion-heading__toggle-title{
    text-align: center;
}
.about_toggle .wp-block-accordion-heading__toggle-title img {
    width: 720px;
}
.about_toggle .wp-block-accordion-panel{
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);
  position: relative;
}
.about_toggle .wp-block-accordion-panel>*{
  position: relative;
  z-index: 1;
}
.about_toggle #accordion-item-2-panel .wp-block-group{
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
}
.about_back_yakisoba {
  position: absolute !important;
    top: 0;
    right: 0;
    margin: 0 !important;
    height: 100%;
    overflow: hidden;
    z-index: 0 !important;
    width: 40%;
    opacity: 0.5;
}
@media screen and (max-width: 600px){
  .about_toggle #accordion-item-2-panel .wp-block-paragraph{
    font-size: var(--wp--preset--font-size--default) !important;
  }
  .about_back_yakisoba {
      width: 70%;
        right: 50%;
        translate: 50% 0;
  }
}

/* お知らせ */
.news{
  position: relative;
}
.news_title img {
    max-width: 70% !important;
}
.news_deco_top{
    background: url(../images/header_back_wave_01.png) repeat-x center bottom / min(154px, 17.5vw) auto;
    top: -2px;
    left: 0;
    position: absolute;
    width: 100vw;
    height: min(40px, 4.6vw);
    max-width: none !important;
}
.news_deco_bottom{
    background-image: url(https://gold-yakisoba.tainaicity-event.com/wp-content/uploads/home_history_back.png);
    background-position: 50% 0;
    background-size: 10px;
    background-attachment: fixed;
    background-repeat: repeat;
    -webkit-mask: url(../images/footer_back_wave_01.png) repeat-x center bottom / min(154px, 17.5vw) auto;
    mask: url(../images/footer_back_wave_01.png) repeat-x center bottom / min(154px, 17.5vw) auto;
  bottom: -2px;
  left: 0;
  position: absolute;
  width: 100vw;
  height: min(40px, 4.6vw);
    max-width: none !important;
}

.home_query{
}
.home_query .wp-block-post {
border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);

}
.home_query .wp-block-group{
  gap: clamp(0.625rem, 0.337rem + 1.28vw, 1.25rem);
}
@media screen and (max-width: 600px){
  .home_query .wp-block-group{
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--5);
  }
}
.home_query .wp-block-post-date{
flex-shrink: 0;
    width: 6em;
    border-radius: 0.2em;
}
.home_query .wp-block-post-date a{
    display: block;
    text-align: center;
    padding-bottom: 0.2em;
}

.home_query .wp-block-post-title{
  
}
.home_query .wp-block-post-title a{
  
}


/* 米粉と胎内の歴史 */
.history_title{
    position: relative;
    max-width: 600px !important;
}
.history_title_text{
  position: relative;
  padding-bottom: var(--wp--preset--spacing--30);
  text-align: center;
}
@media screen and (max-width: 750px){
  .history_title_text{
    text-align: left !important;
  }
}
.history_title_text::before {
    content: "";
    width: 55%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% -25%;
}
.history_title_text img {
    position: relative;
    z-index: 1;
}
@media screen and (max-width: 750px){
  .history_title_text img {
      max-width: 70%;
  }
}
.history_title_text::after {
    content: "";
    height: 3px;
    width: 100%;
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    background-color: var(--wp--preset--color--brown);
}
.history_title_kinbou{
    position: absolute;
    bottom: 0;
    right: 50%;
    translate: 200% 22%;
    width: min(180px, 24vw);
}
.history_frame{
  border: var(--wp--custom--border--small) solid var(--wp--preset--color--brown);
  border-radius: var(--wp--custom--border--small);
  box-shadow: var(--wp--custom--border--small) var(--wp--custom--border--small) 0px 0px var(--wp--preset--color--brown);

}
.history_frame dl {
    padding-right: var(--wp--preset--spacing--10);
    padding-left: var(--wp--preset--spacing--10);
}
.history_frame dt {
    text-align: right;
    position: relative;
}
.history_frame dt::after {
    content: "";
    display: block;
    position: absolute;
    right: -1em;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--wp--preset--color--brown);
    opacity: 0.2;
}
@media screen and (max-width: 600px){
  .history_frame dt{
        text-align: left;
        padding-block-start: 0.75em;
        padding-block-end: 0.5em;
  }
    .history_frame dt::after {
        width: 25%;
        height: 1px;
        right: auto;
        top: auto;
  }
}
.history_frame .wp-block-group-is-layout-grid {
    gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
}
.history_frame .wp-block-group-is-layout-grid > .wp-block-group:nth-of-type(odd)::after {
    content: "";
    display: block;
    position: absolute;
    right: calc(var(--wp--preset--spacing--40) * -0.5);
    bottom: 0;
    width: 2px;
    height: calc(100% - 18px);
    background-color: var(--wp--preset--color--brown);
}
@media screen and (max-width: 757px){
  .history_frame .wp-block-group-is-layout-grid > .wp-block-group:nth-of-type(odd)::after{
    display: none;
  }
}
