@charset "utf-8";

html {
    background: #fff;
    color: #3a4249;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
h1 {
    font-size: 20px;
    font-weight: normal;
}
h2 {
    font-size: 16px;
    font-weight: normal;
}
h3 {
    font-size: 16px;
    font-weight: normal;
}
h4 {
    font-size: 14px;
    font-weight: normal;
}
h5 {
    font-size: 14px;
    font-weight: normal;
}
p {
    font-size: 12px;
}
a {
    text-decoration: none; 
}
a:link {
   color: #3a4249;
}
a:visited {
   color: #5e5061;
}
a:active{
   color: #5e5061;
}
a:hover {
    color:#96b6d3b6;    
}
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 2%;
}


/* header---------‐----------------------------------- */
header {
    width:100%;
    display: flex;
    background: #ffffffea;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    height: 65px;
}
nav {
    display: none;
}
nav.show {
    background-color: #c5a2b98a;
    width: 120px;
}
nav.show a {
    font-size: 20px;
    color:  #ffffff;
    text-align: center;
    margin: auto 20px;
}
#open-nav {
    margin: 0;    
}
.main-nav {
    list-style: none;
    padding: 40px 0;
}
.main-nav li {
    text-align: center;
}
.logo {
    width: 100px; 
    /* padding-top: 12px; */
} 
.show {
    display: block;
    position: fixed;
    top: 80px;
    right: 0;
    z-index: 99;
}
#frame {
    display: flex;
    height: 100vh;
}

/* footer -------------------------------------------- */
footer {
    background: #c5a2b9; 
    text-align: right;
    padding: 1em 0 2em 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
}   
footer p {
    color: #6a6494;
    padding-right: 2%;
}
footer a {
    color: #6a6494; 
}



/* kyoutuu -------------------------------------------- */

article {
    background-color: #f7f2f6;
    width: 100%;
    order: 3;
    flex-grow: 1;
    /* min-width: 600px; */
    overflow: auto;
    scrollbar-width: none;
    padding: 70px auto auto;
}
aside {
    /* background-color: #90b3ca; */
    width: 10%;
    order: 2;
    text-align: center;
    align-items: center;
    display: none;
    flex-shrink: 0;  
}
.sub1 {
    background-color: #f7f2f6;
    width: 7%;
    order: 4;
    display: none;
}
.sub2 {
    /* background: #c8d38b; */
    width: 5%;
    order: 1;
    display: none;
    flex-shrink: 0;  
}




/* aside---------------------------------------------- */
#menu {
    margin: 40% auto auto;
    align-items: center;
}
.title1 {
    font-family: "Montserrat Alternates", sans-serif;
    writing-mode: vertical-rl; 
    text-orientation: upright; 
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    line-height: 4rem;
    margin-bottom: 100px;
    
}
.title1 span {
    font-size: 90px;
    letter-spacing: -0.08em;
}
ul li {
    list-style-type: none;
    padding: auto 1.1em ;  
    margin: 0 auto; 
    font-size: 14px;
}
.sns {
    margin: 100px auto 5%;
}
.sns img {
    max-width: 25px;
    margin: 20px auto 0;
    opacity: 0.7;
}


/* sub1  ---------------------------------------------- */

.sub1 p {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 10px;
    writing-mode: vertical-rl; 
    text-orientation: upright; 
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    color: #3a424950;
    line-height: 4rem;
    text-align: right;
    margin: calc(100% - 110px) auto 110px;
}
.side-title span {
    font-size: 20px;
    opacity: 0.7;
}


/* top ------------------------------------------------ */

#top {
    display: flex;
    flex-direction: column;
    margin: 10% 5% 20%;
    z-index: 0;
}
.topimg1 img {
    opacity: 0.5;
    margin-top: 2%;
}
.topimg2 {
    display: flex;
}
.topimg2 img {
    width: 70%;
    margin:auto auto 2% 5%;
    opacity: 0.95; 
    filter: drop-shadow(5px 5px 5px #b6a8ca)
}
.topimg2 img:hover {
    filter: drop-shadow(5px 5px 5px #e3e1e7)
}
#top h3 {
    text-align: center;
    z-index: 99;
    margin: -50% auto;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 30px;
    font-style: italic;
}
.titem6 img {
    display: none;
}
.titem7 img {
    display: none;
}


/* main same ------------------------------------------ */
#about,
#works,
#works2,
#gallery {
    margin: 20% 10% 30% 10%;
    align-items: center;
    width: 80%;
}
section {
    margin-bottom: 10%;
}
section a {
    font-weight: bold;
}

#about h2 {
    margin-top: 3em;
    margin-bottom: 3em;
    font-family: "BIZ UDMincho", serif;
    font-size: 25px;
}
#about h3 {
    margin-top: 2%;
    padding: 1% 0 1% 1%; 
    border-left: 1px solid #8397a8;    
}
#about section p {
    line-height: 2;
    padding: 0.5em 2em 0;
    border-top: 1px solid #8397a8;
    border-right: 1px solid #8397a8;
}
#about section img {
    width: 40%;
    max-width: 200px;
}

/* main works----------------------------------------- */
#works ul li {
    text-align: left;
    margin-left: 0.5em;
}
#works h2,
#works2 h2 {
    margin-top: 3em;
    margin-bottom: 1em;
    font-family: "BIZ UDMincho", serif;
    font-size: 25px;
}
#works2 h2 span {
    font-size: 12px;
}
#works h3 {
    margin: 2em auto 0;
    padding: 1% 0 1% 1%; 
    border-left: 1px solid #8397a8;    
}
#works section h3 {
    margin-top: 5rem;
    padding: 2px 2%;
}
#works p {
    line-height: 2;
    padding: 0.5em 2em 0;
}
#works section {
    padding-right: 3%;
    border-right: 1px solid #5e506150;
    border-top: 1px solid #5e506150;
}
.musubi {
    display: block;
}
.musubi img {
    padding: 1.5rem 2rem 1.5rem 2rem;
    min-width: 250px;
    height: auto;  
}
#grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit,minmax(120px,3fr));
    margin: 5% auto;
}
#grid img {
    vertical-align: none;
    padding: 2%;
    background: #fff;
}
#grid .item p {
    border:none;
    border-right: 0;
    padding: 0;
}
#bottom_menu {
    margin: 20% auto 10%;
}

#bottom_menu ul li {
    bottom: 20%;
    text-align: right;
    border-top: none;
    font-weight: bold;
} 

/* 上へボタン　-------------- */
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 2%;
    bottom: 15%;
    background: #ffffff11;
    border: solid 1px #3a4249;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #3a4249;
    border-right: 3px solid #3a4249;
    transform: translateY(20%) rotate(-45deg);
}

/* lightbox --------------- */
#base .thumb {
    width: 20%;
    height: auto;
    margin: 25%;
    padding: 0;
}
#base img {
    vertical-align: bottom;
    border: none;
}


/* main eventitem-------------------------------------- */
/* main works2------------------------------------- */

#works2 section {
    margin-bottom: 5%;
}
#works2 h2  {
    margin-top: 3em;
    font-family: "BIZ UDMincho", serif;
    font-size: 25px;
}
#works2 h2 span {
    font-size: 14px;
    line-height: 2;
}
#works2 h3 {
    padding: 2px 2% 0 0;
    font-size: 14px;
    margin-top: 2rem;
}
#works2 section h3 {
    margin-top: 5rem;
    padding: 2px 2%;
}
#works2 section h4,
#works2 section h5 {
    line-height: 2;
    padding: 0.5rem 2rem 0 2rem
}
#works2 section h5 {
    margin-top: 20px;
    line-height: 2;
    padding: 0.5rem 2rem 0 2rem
}
#works2 section p {
    line-height: 2;
    padding: 0 2rem 0 3rem;
    font-size: 14px;
}
#works2 br {
    padding-bottom: 7px;
} 
#works2 section a {
    font-weight: bold;
}
#works2 img {
    vertical-align: none;
    width: 200px;
    margin: 0 5rem 0 0;
    object-fit: cover;
}
.flyers {
    display: block;
    text-align: center;
    align-items: flex-end;
}
.flyer1 img {
    width: 90%;
    border: solid 1px #bec8d1;
     /*vertical-align: none;
    width: 100%;
    border: none;
    border: solid 1px #bec8d1;     */
}
.flyer2 img {
    vertical-align: none;
    width: 100%;
    border: solid 1px #bec8d1;    
}
.flyer3 img {
    vertical-align: none;
    width: 60%;
    border: none;    
}

.flyers p {
    margin-bottom: 20px;
    font-weight: bold;
}


/* main thumbnails------------------------------------- */
#thumbnails {
    /* background: #ffffff; */
    display: block;
    padding: 2%;
    border-radius: -10px;    
    width: fit-content;
    line-height: 2;
    border: 1px solid #3a4249;
    position: relative;
}
#thumbnails::after {
    content: "";
    width: calc(100% + 4px);    /* 外側の線になる要素の幅を指定する*/
	height: calc(100% + 4px);   /* 外側の線になる要素の高さを指定する */
    border: 1px dashed #3a4249;
    position: absolute;
    bottom: -10px;
    right: -10px;
}
hr {
    border: dashed #3a4249;
    border-width: 1px 0 0 0;
}
#thumbnails img {
    width: 100%;
    background: #ffffff60;
    max-width: 550px;   
    padding: 10px;
    /* padding-left: 0; */
}
#thumbnails h3 {
    text-align: center;
    margin: 0.5em auto;
}
#thumbnails h4 {
    text-align: center;
    background: #ffffff80;
    padding-bottom: 2em;
    font-size: 12px;
    
}
#thumbnails p {
    font-size: 12px;
    line-height: 2;
    padding: 3%;
    vertical-align: start;
}
#thumbnails.thumb {
    display: block;

}


/* toukouyou---------------------------------------------- */
#Thumb_item,
#Thumb_confirm,
#Thumb_confirm {
    margin-top: 10%;
    margin-left: 10%; 
    margin-right: 20%;  
    font-size: 12px;
    color: #000;
}
#Thumb_item p {
    padding: 2%;
}
#Thumb_item form {
    margin-bottom: 20%;
}




/* mobile---------------------------------------------- */
/* 600px以上になったとき-------------------- */
@media(min-width:600px){

header {
    display: none;
}    
/* #about,
#works {
    align-items: center;
} */
article {
    width: 85%;
    /* padding-top: 2%; */
}
aside {
    display: flex;
    width: 15%;         
}
.pagetop {
    right: 3%;
}

#grid {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(auto-fit,minmax(150px,3fr));
    margin: 5% auto;
}
#about h2,
#works h2,
#works2 h2,
#gallery h2 {
    margin: 0 auto 3em; 
}
#about,
#works,
#works2,
#gallery {
    margin: 15% 10% 30% 7%;
    align-items: center;
    width: 80%;
}
#thumbnails img {
    width: 100%;
}
.pagetop {
    right: 3%;
}
#top {
    display: flex; 
    width: 80%;
    margin:0 auto 0;
    padding-top: 2%;

}
#top h3 {
    display: none;
}
.topimg1 {    
    margin: 2% 2% 10%;
}
.topimg1 img {    
    width: 65%;
    height: 100%;
}
.topimg2 {
    display: block;
    margin:15% 0;
    opacity: 0.7;
}
.topimg2 img {
    width: 50%;
    /* min-width: 70%; */
}
.titem1 img {
    margin: 1% auto 1% 10%;
}
.titem2 img {
    margin: 1% auto 1% 50%;    
}
.titem3 img {
    margin: 1% auto 1% 70%;
}
.titem4 img {
    margin: 1% auto 1% 60%; 
}
.titem5 img {
    margin: 1% auto 1% 40%;
}
.titem6 img {
    display: block;
    margin: -10% auto 1% 0;
}
.titem7 img {
    display: block;
    margin: -20% auto 1% -50%;
}
.flyers {
    display: flex;
    margin-left: 2em;
}

} 

/* 1000px以上になった時------------------------ */
@media(min-width:1000px){
article {
    width: 80%;
}
aside {
    width: 10%;
} 
.sub1 {
    display: flex;
    width: 10%;
}
.titem5 img {
    display: none;
}
.titem5 img {
    display: none;
}
.titem6 img {
    display: none;
}
.titem7 img {
    display: none;
}
.pagetop {
    right: 10%;
}

}
