@charset "utf-8";
/* 共通クラスまとめ開始 */
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
/* フォントスタイル */
.font_cormorant_garamond{
	font-family: "Cormorant Garamond", serif;
}
.font_yu_mincho{
	font-family: "yu-mincho-pr6n", sans-serif;
}
/* 共通クラスまとめ終了 */

/* 共通処理開始 */
#wrapper {
    width: 100%;
    height: auto;
}
main{
    width: 100%;
    height: 100%;
    position: relative;
    padding: 80px 0;
}
#menu_btn{
    width: 80px;
    height: 80px;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #000;
    border: solid 1px #000;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center; 
    text-decoration: none;
    cursor: pointer;
    transition: 0.4s linear;
    position: absolute;
    top: 40px;
    right: 80px;
    background-color: transparent;
    font-weight: 600;
    z-index: 1;
}
#menu_btn:hover{
    color: #fff;
    background: #000;
    transition: 0.4s;
}
/* メニューの基本スタイル（最初は非表示） */
#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #232323;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 2;
    color: #fff;
}
/* メニューを表示するクラス */
#menu.active {
    opacity: 1;
    visibility: visible;
}
#close_btn{
    width: 80px;
    height: 80px;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #fff;
    border: solid 1px #fff;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center; 
    text-decoration: none;
    cursor: pointer;
    transition: 0.4s linear;
    position: absolute;
    top: 40px;
    right: 80px;
    background-color: transparent;
    font-weight: 600;
}
#close_btn:hover{
    color: #000;
    background: #fff;
    transition: 0.4s;
}
#menu_title{
    font-size: 48px;
    margin-bottom: 80px;
}
#menu_item{
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
}
#menu_item li{
	display: flex;
	flex-direction: column;
	text-align: center;
}
#menu_item a{
	color: #fff;
    text-decoration: none;
    font-size: 36px;
}
#menu_item span{
	color: #fff;
    font-size: 20px;
}
.copyright{
    position: absolute;
    left: 80px;
    bottom: 40px;
    font-size: 12px;
}
.copyright p:nth-child(2){
    margin-top: 5px;
    font-size: 10px;
}
/* 共通処理終了 */

/* index処理開始 */
#index #wrapper {
    background-image: url("../image/top/bg.jpg");
    background-size: cover;
}
#index main{
	height: 100vh;
}
/*
#index .sun{
    width:100%;
    height:100%;
    position:fixed;
    top:0px;
    left:0px;
    pointer-events: none;
    background-image: 
        conic-gradient(from 90deg at 50% -10%, #ffffff00 0deg, #ffffff90 90deg, #ffffff00 180deg);
}
*/
#index #art_top,
#index #art_bottom{
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
#index #title{
    width: 100%;
    height: auto;
    font-size: 48px;
    padding-right: 80px;
    text-align: right;
    margin: 18px 0;
	text-shadow: 1.2px 1.2px 0px rgba(64,64,64,0.5);
}
#index .scroll-wrapper {
    display: flex;
    width: max-content; /* 画像の横幅分 */
    white-space: nowrap;
    will-change: transform;
}
#index .scroll-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
#index .scroll-list li{
    flex-shrink: 0;
    width: 200px; /* 画像の幅 */
    margin-right: 60px; /* 画像間の余白 */
}
#index .scroll-list img {
    width: 100%;
    height: auto;
    box-shadow: 0px 35px 10px -13px rgba(64,64,64,0.5);
}
#index #art_top li:nth-child(2),
#index #art_bottom li:nth-child(5){
    width: 300px;
}
/* index処理終了 */

/* about処理開始 */
#about #wrapper{
    background-color: #232323;
}
#about main{
    height: 100vh;
    padding: 0;
}
/* aboutページだけ背景がダークグレーだから */
#about #menu_btn{
    color: #fff;
    border: solid 1px #fff;
}
#about #menu_btn:hover{
    color: #000;
    background: #fff;
}
#about #morishita{
    display: flex;
    align-items: center;
}
#about #morishita_image{
    width: 50%;
    height: 100vh;
    background-image: url("../image/about/morishita.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}
#about #morishita_name{
    position: absolute;
    left: 40px;
	bottom: 300px;
    color: #fff;
	text-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.9);
}
#about #morishita_name p:nth-child(1){
    font-size: 48px;
    margin-bottom: 30px;
}
#about #morishita_name p:nth-child(2){
    font-size: 32px;
}
#about #morishita_sns{
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
}
#about #morishita_sns a{
	text-decoration: none;
}
#about #morishita_sns p{
    font-size: 14px;
	margin-right: 20px;
	line-height: 1.5em;
	color: #fff;
}
#about #icons{
	display: flex;
	align-items: center;
	gap: 20px;
}
#about #text{
    width: 50%;
    padding: 0 120px;
    color: #fff;
    line-height: 1.8em;
}
#about #introduction{
    font-size: 16px;
    margin-bottom: 75px;
}
#about #message p:nth-child(1){
    font-size: 18px;
    margin-bottom: 20px;
}
#about #message p:nth-child(2){
    font-size: 16px;
}
#about .copyright{
    color: #fff;
}
/* about処理終了 */

/* gallery処理開始 */
#gallery main{
	height: 100vh;
	padding: 0;
}
#gallery #name{
	height: 100vh;
	position: absolute;
	left: 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 15px;
}
#gallery #name p:nth-child(1){
	font-size: 40px;
	font-weight: 600;
	text-shadow: 1.2px 1.2px 0px rgba(64, 64, 64, 0.5);
}
#gallery #profile_btn{
	max-width: 110px;
	transition: 0.4s linear;
	padding: 14px 14px;
	border-radius: 22.5px;
	background-color: #fff;	
	font-size: 14px;
	font-weight: 600;
	text-align: center;
    color: #000;
}
#gallery #profile_btn:hover{
	transition: 0.4s;
	background-color: #000;
	color: #fff;
}
#gallery .gallery_content{
    background-image: url("../image/top/bg.jpg");
    background-size: cover;
    background-attachment: fixed;    
	display: flex;
	justify-content: center;
	align-items: center;
}
#gallery .gallery_content img{
	box-shadow: 0px 65px 10px -13px rgba(64,64,64,0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
	cursor: pointer;
}
#gallery .gallery_content:not(:nth-of-type(2)) img{
	width: 500px;
}
#gallery .gallery_content:nth-of-type(2) img{
	width: 700px;
}
#gallery .art_introduction{
	max-width: 450px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: absolute;
	right: 80px;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}
#gallery .art_introduction p:nth-child(1),
#gallery .art_introduction p:nth-child(3){
	font-size: 13px;
}
#gallery .art_introduction p:nth-child(2){
	font-size: 24px;
}
#gallery .art_introduction p:nth-child(3){
	line-height: 1.2em;
}
#gallery .gallery_content img.show{
	opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}
#gallery .art_introduction.show{
	opacity: 1;
    transition-delay: 1.5s;
}
/* スクロールダウンの位置 */
#gallery #scroll {
  position: absolute;
  right: 100px;
  bottom: 20%;
  writing-mode: vertical-rl;
}
/* 線のアニメーション部分 */
#gallery #scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
  z-index: 2;
}
/* 線の背景色 */
#gallery #scroll::after {
  background-color: #ccc;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
#gallery #menu_btn,
#gallery #name,
#gallery #scroll,
#gallery .copyright{
	position: fixed;
}
#gallery .popup_wrapper{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center; /* 垂直方向中央 */
	background-color: rgba(0, 0, 0, 0.8);
	text-align: center;
	z-index: 1;
}
#gallery .popup_contents img{
	max-height: 90vh; /* 画面に収まるよう調整 */
    max-width: 90vw; /* 横幅も調整 */
    padding: 0; /* paddingを削除して中央揃えを崩さない */
}
#gallery .popup_wrapper{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}
#gallery .popup_wrapper.active{
    opacity: 1;
    visibility: visible;
}
#gallery .popup_close{
	position: absolute;
	top: 40px;
	right: 80px;
	font-size: 2rem;
	color: #fff;
}
#gallery .popup_close:hover{
	cursor: pointer;
}
/* gallery処理終了 */

/* contact処理開始 */
#contact #wrapper{
	width: 100%;
	height: 100vh;
	background-image: url("../image/top/bg.jpg");
	background-size: cover;
}
#contact #title{
	text-align: center;
    padding: 70px 0;
}
#contact #title p{
    font-size: 32px;
    text-decoration: underline 2px;
    text-underline-offset: 16px;
}
#contact #required_text{
	text-align: center;
    font-size: 13px;
    margin-bottom: 18px;
	color: #f00;
}
#contact form{
    width: 600px;
    margin: 0 auto;
}
#contact .form-group{
    display: flex;
    align-items: center;
}
#contact .form-group:not(:nth-of-type(7)){
    margin-bottom: 20px;
}
#contact .form-group:nth-of-type(7){
    margin-bottom: 40px;
}
#contact .form-group label{
    width: 200px;
}
#contact .required_mark{
    color: #f00;
}
#contact .form-group input,
#contact .form-group textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#contact .form-group textarea{
    height: 100px;
    resize: vertical;
}
#contact #checkbox-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px;
}
#contact #checkbox-group label{
    width: auto;
}
#contact #radio-group{
    display: flex;
    gap: 30px;
    padding: 8px;
}
#contact #radio-group label{
    width: auto;
}
#contact #submit_btn{
    width: 200px;
    height: 45px;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    transition: 0.4s linear;
    margin: 0 200px;
}
#contact #submit_btn:hover{
    transition: 0.4s;
    background-color: #000;
    color: #fff;
}
/* contact処理終了 */

@media (max-width: 768px) {
/* 共通処理開始 */
    main{
        padding: 52px 0;
    }
    #menu_btn,
    #close_btn{
        width: 60px;
        height: 60px;
        top: 16px;
        right: 16px;
    }
	#menu_container{
		width: 100%;
	}
	#menu_title{
		font-size: 36px;
		margin: 80px 0;
		text-align: center;
		line-height: 1.2em;
	}
	#menu_item{
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	#menu_item a{
		font-size: 28px;
	}
	#menu_item span{
		font-size: 14px;
	}
    .copyright{
        left: 16px;
        bottom: 16px;
        font-size: 10px;
    }
    .copyright p:nth-child(2){
        font-size: 8px;
    }
/* 共通処理終了 */

/* index処理開始 */
    #index #art_top,
    #index #art_bottom{
        height: 300px;
    }
    #index #title{
        font-size: 36px;
        padding-right: 16px;
    }
    #index .scroll-list li{
        width: 150px; /* 画像の幅 */
        margin-right: 30px; /* 画像間の余白 */
    }
	#index .scroll-list img {
		box-shadow: 0px 30px 10px -13px rgba(64,64,64,0.5);
	}
	#index #art_top li:nth-child(2),
    #index #art_bottom li:nth-child(5){
        width: 250px;
    }
/* index処理終了 */
    
/* about処理開始 */
    #about main{
        width: 100%;
        height: auto;
        padding: 0;
    }
    #about #morishita{
        display: block;
    }
    #about #morishita_image{
        width: 100%;
    }
    #about #morishita_name{
        position: absolute;
        left: 20px;
        bottom: 20px;
    }
    #about #morishita_name p:nth-child(1){
        font-size: 40px;
        margin-bottom: 20px;
    }
    #about #morishita_name p:nth-child(2){
        font-size: 24px;
    }
    #about #morishita_sns{
        flex-direction: column;
    }
    #about #morishita_sns p{
        margin: 0;
    }
    #about #icons{
        justify-content: flex-end;
        gap: 10px;
        order: -1;
        margin-bottom: 5px;
    }
    #about #text{
        width: 100%;
        padding: 50px 20px 70px 20px;
        line-height: 1.6em;
    }
    #about #introduction{
        font-size: 14px;
    }
    #about #message p:nth-child(1){
        font-size: 16px;
        margin-bottom: 18px;
    }
    #about #message p:nth-child(2){
        font-size: 14px;
    }
/* about処理終了 */

/* gallery処理開始 */
    #gallery #name{
        height: auto;
        left: 20px;
        bottom: 60px;
        gap: 15px;
    }
    #gallery .gallery_content img{
        box-shadow: 0px 60px 10px -13px rgba(64,64,64,0.5);
    }
    #gallery .gallery_content:not(:nth-of-type(2)) img{
        width: 200px;
    }
    #gallery .gallery_content:nth-of-type(2) img{
        width: 250px;
    }
    #gallery .art_introduction{
        width: 100%;
        padding: 0 30px;
        left: 0;
        top: 100px;
        gap: 15px;
    }
    #gallery .art_introduction p:not(:last-child){
        align-self: flex-end;
    }
    #gallery #scroll{
      right: 22.5px;
      bottom: 25%;
      writing-mode: vertical-rl;
    }
    #gallery .art_introduction{
        position: fixed;
    }
    #gallery .popup_close{
        top: 30px;
        right: 20px;
    }
/* gallery処理終了 */

/* contact処理開始 */
    #contact #wrapper{
        height: auto;
    }
    #contact main{
        padding: 150px 0;
    }
    #contact #title{
        padding-top: 0;
    }
    #contact form{
        width: 100%;
        margin: 0 auto;
    }
    #contact .form-group{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    #contact .form-group:nth-of-type(1) label,
    #contact .form-group:nth-of-type(2) label,
    #contact .form-group:nth-of-type(3) label,
    #contact .form-group:nth-of-type(4) label{
        margin-bottom: 5px;
    }
    #contact .form-group label,
    #contact .form-group input,
    #contact .form-group textarea,
    #contact #checkbox-group,
    #contact #radio-group{
        width: 250px;
    }
    #contact #checkbox-group,
    #contact #radio-group{
        gap: 20px;
        padding: 10px;
    }
    #contact #checkbox-group input,
    #contact #radio-group input{
        width: auto;
    }
    #contact #radio-group{
        flex-direction: column;
    }
    #contact #submit_btn{
        display: block;
        margin: auto;
    }
/* contact処理終了 */
}
















