@charset "UTF-8";
/* CSS Document */

.page_title{
background-image: url("images/pagetitle.jpg");
background-image: -webkit-image-set(url("images/pagetitle.jpg") 1x, url("images/pagetitle@2x.jpg") 2x);
}

/* 中身-モバイルファースト======================================================================================================== */
#top{
position: relative;
}
#top .main_photo{
height: 90vw;
margin-bottom: 8vw;
}
#top .main_photo img{
height: 100%;
width: auto;
max-width: inherit;
}
#top h2{
display: flex;
align-items: center;
justify-content: center;
font-size: 4vw;
color: #fff;
width: 50vw;
height: 50vw;
border-radius: 50%;
margin: 0 auto 20px;
background-color: rgba(192,211,130,.9);
-ms-writing-mode: tb-rl;
writing-mode: vertical-rl;
text-align: left;
letter-spacing: .25em;
position: absolute;
top: 45vw;
right: -2vw;
}

#photo .sub_bar{
font-size: 16px;
margin-bottom: 10px;
}
#photo .p{
margin-bottom: 20px;
}
#photo .p:last-child{
margin-bottom: 0;
}

.youtube{
text-align: center;
}
.youtube iframe{
width: 100%;
height: auto;
aspect-ratio: 16/9;
}

/* スマホのみ======================================================================================================== */
@media screen and (max-width: 750px){
.youtube iframe{
}

}


/* PCのみ======================================================================================================== */
@media print, screen and (min-width: 751px){
#top{
display: flex;
align-items: center;
}
#top h2{
font-size: 30px;
width: 400px;
height: 400px;
letter-spacing: .5em;
position: inherit;
top: inherit;
right: inherit;
}

#top .main_photo{
height: auto;
width: 400px;
margin-bottom: 0;
}
#top .main_photo img{
height: auto;
width: 100%;
max-width: 100%;
}
#top .text{
flex: 1;
margin-left: 40px;
}


#top p{
font-size: 20px;
}

#photo .sub_bar{
font-size: 20px;
}
#photo .flex{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#photo .p{
width: 49%;
}
#photo .p:nth-last-child(-n+2){
margin-bottom: 0;
}


}

