@charset "utf-8";

.tss_body img{
  width:100%;
  height: auto;
}

#udh_head{
  position: relative;
  background-image: url("../img/bg_sapporo_2025.jpg");
  background-repeat: no-repeat;
  background-size: auto 124%;
  background-position: center left;
  padding: 0;
  margin: 0 auto;
  width:100%;
  max-width: 1920px;
  aspect-ratio:320 / 117;
  overflow: hidden;
}

#udh_head > div:first-of-type{
  width:65%;
  padding: 0;
  margin: 0;
  aspect-ratio:16 / 9;
  margin-left:auto;
}

#udh_head video{
  width: 100%;
  padding: 0;
  margin: 0;
}

#udh_head h1{
  width: 25%;
  aspect-ratio:1;
  position: absolute;
  top:40px;
  bottom: 0;
  right:52%;
  margin: auto;
}

#udh_body{
  background-image: url("../img/bg2022.jpg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  padding-bottom: 80px;
}

.udh_cast{
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  background-image: url("../img/bg_awa_pc.svg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-top:0;
}

.udh_cast img{
  display: block;
  width:50%;
  max-width:640px;
  margin: 0 auto;
}

.udh_oa_about{
background-color: #FFFAD6;
position: relative;
overflow: hidden;
}

.udh_oa_about::before {
  content: "";
  display: block;
  width: 80vw;
  aspect-ratio: 1;
  background-color: #fff;
  position: absolute;
  border-radius: 50vw;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
}

.udh_oa_about > div{
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  width:80%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  padding: 5vw;
  position:relative;
  z-index:90;
}

.udh_oa_about > div > div:nth-of-type(1){width:40%;background-image: url("../img/bg_date.svg");background-repeat:no-repeat;background-position:left 16% center;background-size:auto 100%;}
.udh_oa_about > div > div:nth-of-type(2){width:60%;}
.udh_oa_about > div > div:last-of-type{width:100%;}

.udh_oadate{color:#613400;font-weight: bold;font-size: 1.25em; text-align: center;padding: 0 2em 1em;margin: 0;}
.udh_oadate + h2{
 background-color: #613400;
  padding: 0.75em;
  margin: -0.25em 0 0 auto;
  border-radius: 2em 0 0 2em;
  width:-moz-fit-content;
  width:fit-content;
}

.udh_oadate + h2 p{
  font-size: 1.25rem;
  padding: 0.5em 1em;
  color:#613400;
  background-color: #FFFEF3;
  width:-moz-fit-content;
  width:fit-content;
  min-width: 10em;
  max-width: 100%;
  margin: 0;
  border-radius: 1em;
  line-height: 1.5;
  text-align: center;
  font-weight:bold;
}

.udh_oa_about > div > div:last-of-type p{
  background-color: #FFFEF3;
  line-height: 1.5;
  padding: 2em;
  margin: 1em auto;
  width:calc(100% - 1em);
}

.udh_oa_recipe h2{
  position: relative;
    width:-moz-fit-content;
  width:fit-content;
  min-width: 15em;
font-weight: bold;
  color:#fff;
  background-color: #007D00;
  font-size: 1.25em;
  padding: 1em 2em 0.75em;
  border-radius: 1em 1em 0 0;
}

.udh_oa_recipe ul{
  width:96%;
  max-width: 1240px;
  margin: 0 auto;  
}

.udh_oa_recipe li{
  margin-bottom: 2em;
}

.udh_oa_recipe li:first-of-type h2::before{
  content: "今回の料理"  ;
  color: #007D00;
  font-weight: bold;
  font-size: 1.5em;
  display: block;
  text-align: center;
  position: absolute;
  top:-1em;
  left:0;
  right:0;
  margin:auto;
  z-index:100;
}

.udh_oa_recipe  li:first-of-type h2::after{
  content: "●　　　　●"  ;
  color: #007D00;
  font-weight: bold;
  font-size: 2em;
  display: block;
  text-align: center;
  position: absolute;
  top:-0.6em;
  left:0;
  right:0;
  margin:auto;
  z-index:99;
}

.udh_oa_recipe li > div{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  border:solid 4px #007D00;
  background-color: #fff;
  padding: 1em;
  border-radius: 0 0.5em  0.5em 0.5em;
}

.udh_oa_recipe li > div > div:not([class]){
  width:48%;
  max-height:400px;
  overflow:hidden;
}
.udh_oa_recipe li > div > div img{
  object-fit:scale-down;
  object-position:50% 50%;
}

.udh_oa_recipe li .umt_boxflex > p{
  width: 100%;
  padding: 1em;
  line-height: 1.5;
}

#udh_body > a{
  display: block;
  margin: 80px auto;
  width: 12em;
  background-color: rgba(255,255,255,0.65);
  padding: 1em;
  color:#0056AE;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  transition: background 1s;
}

/*-- 202404 追加 --*/

.udh_noentry{
  width: 96%;
  font-weight: bold;
  font-size: 1.25em;
  max-width: 1240px;
  margin: 24px auto;
  border: solid 4px #007D00;
  background-color: #fff;
  padding: 1em;
  border-radius: 0.5em;
  text-align:center;
}

.umt_boxflex{
  display:flex;
  padding-top:1em;
  width:100%;
}

.umt_osusumebox{
  width:100%;
  padding:1em 0.65em;
}

.umt_osusumeph{
  padding:0.5em 0;
}

.umt_osusumeph > div{
  width:100%;
  overflow: hidden;
}

.umt_osusumeph > p{
  width:100%;
  padding:0.5em 0;
}

.tss_footer {
  background-color: #0056AE !important;
}


@media screen and (min-width:801px) {
  
  #udh_body > a:hover{
    background-color: rgba(255,255,255,0.1);
  }
  
}

@media screen and (max-width:800px) {
  #udh_body{
    font-size: 0.875em;
  }
  
  #udh_head h1{
  width: 36%;
  top:0;
  }
  
  .udh_cast{
  background-image: url("../img/bg_awa_sp.svg");
  padding-top: 4%;
}

.udh_cast img{
  width:80%;
}

.udh_oa_about > div{
  width:92%;
  padding: 3vw;
}
  .udh_oadate{
    width:100%;
    padding: 0;
    text-align: center;
    font-size:1.375rem;
  }
  .udh_oadate + h2{
    margin: -0.2em auto 1em;
  border-radius: 1em ;
  padding:0.5em;
}
.udh_oadate + h2 p{
  padding: 0.5em;
  font-size: 1.375em;
}
 .udh_oa_about > div > div:nth-of-type(1){width:100%;background-position:left 8% center;}
  .udh_oa_about > div > div:nth-of-type(2){width:100%;}
  .udh_oa_about > div > div:last-of-type p{
  padding: 1em;
  }

  .udh_oa_recipe h2{
    font-size: 1.125em;
    padding: 1em 0.75em 0.75em;
  }

.udh_oa_recipe li:first-of-type h2::before{
  font-size: 1.125em;
  top:-1em;
}

.udh_oa_recipe  li:first-of-type h2::after{
  font-size: 1.5em;
  top:-0.5em;
}
.udh_oa_recipe li > div, .udh_oa_recipe li > div >p{
  padding: 0.5em;
}
  .umt_boxflex{
    display:block;
  }
  .umt_osusumeph{
    display:flex;
    justify-content: space-between;
    align-items: center;
  }
  .umt_osusumeph > div,
  .umt_osusumeph > p{
    width:48%;
  }
}