/*PC用*/
@media screen and (min-width:761px) {

	/*header*/
    .button04{
        text-decoration: none;
        color:black;
        border: 1px solid #333;
        background-color: white;
        margin-left:1vw;
        font-size: 1vw;
        width: auto;
        height: auto;
        border-radius: 8px;
        
        
    }

    .button04 a{
        text-decoration: none;
        color:black;
    }
    
    .button05{
        text-decoration: none;
        margin-left:1vw;
        border: 1px solid #333;
        background-color: black;
        color:yellow;
        font-size: 1vw;
        width: auto;
        height: auto;
        border-radius: 8px;
    }

    .button05 a{
        text-decoration: none;
        color:yellow;
    }


   .fresh {
        color: #606060;
        width:20vw;
        height: auto;
        font-size: 1.7vw;
        margin-left: 1.5vw;
        display: flex;
        font-family: "Sawarabi Mincho", serif;
        align-items: center;
        text-align: center;
        text-decoration:none;
    }


    header {
        height: 5vw;
        background-color: white;
        display: flex;
        align-items: center;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        border-bottom: 0.1vw solid #ccc;
    }

    .logo {
        align-items: center;
        width: 6vw;
        height: auto;
    }



    #g-navi {
        list-style: none;
        text-align: center;
        display: flex;
        align-items: center;
        margin-left: 2vw;
        padding-left:0px;
    }

    h1 {
        text-align: left;
        padding-left: 10vw;
    }

    h1 a {
        padding-left: 0.2vw;
        color: black;
        text-decoration: none;
        font-size: 2.5vw;
    }

	#g-nav {
        margin-left: 15.5vw;
    }
    #g-navi ul {
        display: block;
        width: 100%;
        height: auto;
    }

    #g-navi li {
        width: 100%;
        height: auto;
        padding-left: 1vw;
    }

    #g-navi li a {
        font-family: "Sawarabi Mincho", serif;
        width: 16.6666%;
        text-align: center;
        align-items: center;
        color: #606060;
        text-decoration: none;
        padding: 0.5vw 0.5vw;
        display: block;
        font-size: 1.5vw;
    }

    #g-navi li a:hover {
        color: #D88282;
        text-decoration: none;
    }
    
    footer {
        margin-top:1vw;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    footer p{
        font-size:1vw;
        margin:0;
    }
    
    .rogo {
        margin: auto;
        width: 4vw;
        height: auto;
    }

	/*ABOUT全体の設定*/
	body{
	font-family: "Sawarabi Mincho", serif;
	padding-top: 0;
	text-align:center;
	margin:0;
	background:white;
	}

	/*見出し*/
	.titlezone{
	padding-bottom: 0.25vw;
	}
	 
	.INTERVIEWtitle {
	color: #606060;
	text-align:center;
	font-size:1.2vw;
	font-family: "Sawarabi Mincho", serif;
	padding-top: 6vw;
	}
	 
	h2{
	color: #606060;
	font-size:3vw;
	padding-bottom:0.4vw;
	background: linear-gradient(90deg, #FFF1EB, #ace0f9, #FFF1EB);
	font-family: "Sawarabi Mincho", serif;
	line-height: 0.5;/*行の高さ調整*/
	margin: 0;
	}
	h2 span{
		display: block;
		background: #fff;
		padding-bottom:1vw;
	}
	 
	 
	.INTERVIEWtitle p{
	color: #606060;
	font-size:1.6vw;
	margin-left:0;
	}
	.INTERVIEWtitle p span{
	color: #606060;
	font-size:1.3vw;
	padding-bottom:0;
	padding-left:0;
	}


	section {
	background:-webkit-gradient(linear, left top, left bottom, from(#ace0f9), to(#fff1eb));
	}

	/*スライドショーの設定*/
	.slideshow-fade{
		padding-right:0;
		padding-left:0;
		text-align: center;
		justify-content:center;
	    width: 40vw;
	    height: 80vw;

	    li{
	        list-style: none;
	        img{
	          
	          padding-right:0;
				padding-left:0;
				text-align: center;
				justify-content:center;
				left: 0;
				right:0;
	          top: 20vw;
	          bottom:0;
	          width: 100%;
	          height:50%;
	          /*border-radius: 10%;*/
	        }
	    }
	}
	/*フレッシャーズページの説明*/
	.SHOSAI{
	font-size:2.2vw;
	font-family: "Sawarabi Mincho";
	color:#606060;
	padding-left:2vw;
	padding-right:0;
	text-align: center;
	}
	h3{
	text-align: center;
	padding-left:1.5vw;
	padding-right:0;
	color:#606060;
	margin-top:-20vw;
	}
	.SHOSAI p SPAN{
	font-size:3vw;
	color:#3366FF;
	}
	.SHOSAI p{
	margin-bottom:13vw;
	}
	

	/*潜水艦*/
	#page-top {
		position: fixed;
		right: 10px;
		bottom:30px;
		z-index: 2;
	    /*はじめは非表示*/
		opacity: 0;
		transform: translateY(150px);
	}
	#page-top img{
        width:8vw;
        height:auto;
    }


	/*　上に上がる動き　*/
	#page-top.UpMove{
		animation: UpAnime 0.5s forwards;
	}

	@keyframes UpAnime{
	  from {
	    opacity: 0;
		transform: translateY(150px);
	  }
	  to {
	    opacity: 1;
		transform: translateY(0);
	  }
	}
	/*　下に下がる動き　*/
	#page-top.DownMove{
		animation: DownAnime 0.5s forwards;
	}

	@keyframes DownAnime{
	  from {
	  	opacity: 1;
		transform: translateY(0);
	  }
	  to {
	  	opacity: 1;
		transform: translateY(150px);
	  }
	}

	/*画像の切り替えと動き*/
	#page-top a {
	    /*aタグの形状*/
		display: block;
		width: 100px;
		height: 100px;
		color: #333;
		text-align: center;
		text-transform: uppercase; 
		text-decoration: none;
		font-size:0.6rem;
	    /*背景画像の指定*/
		background: url("../img/pagetop_1.png") no-repeat center;
		background-size: contain;
	}

	#page-top.floatAnime a{
		width: 100px;
		height: 130px;
	    /*背景画像の指定*/
		background: url("../img/pagetop_2.png") no-repeat center;
		background-size: contain;
	    /*アニメーションの指定*/
		animation: floatAnime 2s linear infinite;
		opacity: 0;
	}

	@keyframes floatAnime {
	  0% { transform: translateX(0); opacity: 0; }
	  25% { transform: translateX(-6px);opacity: 1; }
	  50% { transform: translateX(0) }
	  100% { transform: translateX(6px);opacity: 1; }
	}

	/*Page Topと書かれたテキストの位置*/
	#page-top span{
	    position: absolute;
	    bottom: -20px;
	    right: 20px;
		color: #666;
	}
	/*検証のためのCSS*/
	section{
	padding: 500px 0;
	}

	/*プロフィール見出し*/
	.PLOFILE{
		margin-bottom: 0.2rem;
	    padding: 0.3rem;
	    color:#606060;
		font-size:3vw;
		font-family: "Sawarabi Mincho", serif;
		font-weight: 800;
		padding-top: 0vw;
		text-align: center;
		margin-bottom:0;
	}
	.PLOFILE p{
			border-bottom: solid 0.5vw white;
	}

	.photos{
		display: flex;
		flex-wrap: wrap;
		padding-bottom:4%;
		
		padding-top:1%;
		padding-left:2vw;
	}
	
	/*3つ並べたいから三等分に*/
	.photo{
		width: calc(100%/3);
	}
	
	/*写真の大きさ正方形に*/
	.photo img{
		width: 95%;
		height: 99%;
	}
	
	/*写真の余白*/
	.photo img{
		padding-bottom:0.5%;
		padding-right:0.5%;
		padding-top:3%;
		padding-left:0.5%;
	}
	
	/*hover*/
	
	.photo:hover img {
	  transform: scale(1.1); /* 拡大 */
	 
	}
	
	.photo{
			width: 33%;
			height: 33%;
	}
	
	
	.photo{
		width: 33%;
		height: 33%;
		display: block;
		position: relative;
		
	}
		
	.photo img{
		display: block;
	}
	
	.photo div{
		position: absolute;
		width: 100%;
		height: 100%;
		opacity: 0;
		left: 0;
		top: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #FFF;
		transition: .3s;
		font-size: 2vw;
	}
	.photo :hover div{
		
		opacity: 1;
	}
	

	.pc { display: block !important; }
	.mobile {width:0% !important; }
	
	/*モーダルウィンドウ*/
	/*
	.buttonNK{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	 
	.buttonNK:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonNK:hover {
	  background: #D3D3D3;
	  cursor: pointer;

	}

	.modalNK{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentNK {
	  width: 50%;
	  margin-left:12.5%;
	  margin-top:7%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenNK;
	  animation-duration: 1s;
	}
	@keyframes modalopenNK {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerNK {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseNK:hover {
	   cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinNK{
		content:  url(../pic2024/n24_NKpro.png);
		width: 150%;
		margin: auto;
		padding-left: 0px !important;
	}




	.buttonMN{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonMN:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonMN:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	}
	
	.modalMN{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentMN {
	  width: 50%;
	  margin-left:12.5%;
	  margin-top:7%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenNK;
	  animation-duration: 1s;
	}
	@keyframes modalopenMN {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerMN {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseMN:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinMN{
	content:  url(../pic2024/n24_MNpro.png);
	width: 150%;
	margin: auto;
	}







	.buttonYH{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonYH:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonYH:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} 
	 
	.modalYH{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentYH {
	  margin-left:12.5%;
	  margin-top:7%;
	  width: 50%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenYH;
	  animation-duration: 1s;
	}
	@keyframes modalopenYH {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerYH {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseYH:hover{
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinYH{
		content:  url(../pic2024/n24_YHpro.png);
		width: 150%;
		margin: auto;
	}


	.buttonKF{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonKF:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonKF:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} 
	.modalKF{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentKF {
	  width: 50%;
	  margin-left:12.5%;
	  margin-top:7%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenKF;
	  animation-duration: 1s;
	}
	@keyframes modalopenKF {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerKF {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseKF:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinKF{
		content:  url(../pic2024/n24_KFpro.png);
		width: 150%;
		margin: auto;
	}






	.buttonAM{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonAM:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonAM:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} 
	 
	.modalAM{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentAM {
	  margin-left:12.5%;
	  margin-top:7%;
	  width: 50%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenAM;
	  animation-duration: 1s;
	}
	@keyframes modalopenAM {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerAM {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseAM:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
		#pinAM{
		content:  url(../pic2024/n24_AMpro.png);
		width: 150%;
		margin: auto;
	}





	.buttonHY{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonHY:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonHY:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} 
	 
	.modalHY{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentHY {
	  margin-left:12.5%;
	  margin-top:7%;
	  width: 50%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenHY;
	  animation-duration: 1s;
	}
	@keyframes modalopenHY {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerHY {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseHY:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinHY{
		content:  url(../pic2024/n24_HYpro.png);
		width: 150%;
		margin: auto;
	}

	*/
   
	/*下の空白*/
	.kara{
	padding-top:10px;
	padding-bottom:50px;
	}
}

/*スマホ用*/
@media screen and (max-width:760px) {

	/*header*/
    .fresh {
        display:none;

    }

    .display {
        display: flex
    }

    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 100%;
        height: 100%;
        /*ナビの高さ*/
        background: #1ec6f0;
        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        text-align: center;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding-left: 0;
    }

    /*リストのレイアウト設定*/

	#g-nav li {
        list-style: none;
        text-align: center;
        font-family: 'Sawarabi Mincho';
        font-size: 5vw;
    }
 
    #g-nav li a {
        color: #606060; 
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .button04 {
        background-color: white;
        font-size: 4vw;
        width: auto;
        height: auto;
        border-radius: 8px;
    }


    .button05 {
        background-color: black;
        color:yellow;
        font-size: 4vw;
        width: auto;
        height: auto;
        border-radius: 8px;
    }

    .button04 a{
        text-decoration: none;
        color:black;
    }
    .button05 a{
        text-decoration: none;
        color:yellow;
    }
    
    .logo {
        display:none;
    }
    
	footer {
        margin-top:2vw;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
 
    footer p{
        font-size:2vw;
        font-family: "Sawarabi Mincho", serif;
        margin:0;
    }    
    .rogo {
        width: 10%;
        height: auto;
    }


    	/*ABOUT全体の設定*/
	body{
	font-family: "Sawarabi Mincho", serif;
	padding-top: 0;
	text-align:center;
	margin:0;
	background:white;
	}

	/*見出し*/
	.titlezone{
	padding-bottom: 0.25vw;
	}
	 
	.INTERVIEWtitle {
	color: #606060;
	text-align:center;
	font-size:5vw;
	font-family: "Sawarabi Mincho", serif;
	padding-top: 15vw;
	}
	 
	h2{
	color: #606060;
	font-size:6vw;
	padding-bottom:1vw;
	background: linear-gradient(90deg, #FFF1EB, #ace0f9, #FFF1EB);
	font-family: "Sawarabi Mincho", serif;
	line-height: 1;/*行の高さ調整*/
	margin: 0;
	}
	h2 span{
		display: block;
		background: #fff;
		padding-bottom:1vw;
	}
	 
	 
	.INTERVIEWtitle p{
	color: #606060;
	font-size:4vw;
	}
	.INTERVIEWtitle p span{
	color: #606060;
	font-size:3vw;
	padding-bottom:0;
	padding-left:0;
	}

	section {
	background:-webkit-gradient(linear, left top, left bottom, from(#ace0f9), to(#fff1eb));
	}
	/*スライドショーの設定*/
	.slideshow-fade{
		padding-right:0;
		padding-left:0;
		text-align: center;
		justify-content:center;
	    width: 40vw;
	    height: 80vw;

	    li{
	        list-style: none;
	        img{
	          
	          padding-right:0;
				padding-left:0;
				text-align: center;
				justify-content:center;
				left: 0;
				right:0;
	          top: 20vw;
	          bottom:5vw;
	          width: 100%;
	          height:50%;
	          /*border-radius: 10%;*/
	        }
	    }
	}
	/*フレッシャーズページの説明*/
	.SHOSAI{
	font-size:4vw;
	font-family: "Sawarabi Mincho";
	color:#606060;
	padding-left:2vw;
	padding-right:0;
	text-align: center;
	}
	h3{
	text-align: center;
	padding-left:1.5vw;
	padding-right:0;
	color:#606060;
	margin-top:-20vw;

	}
	.SHOSAI p SPAN{
	font-size:5vw;
	color:#71adf1;
	}
	.SHOSAI p{
	margin-bottom:20vw;
	}



	/*潜水艦*/
	#page-top {
		position: fixed;
		right: 10px;
		bottom:30px;
		z-index: 2;
	    /*はじめは非表示*/
		opacity: 0;
		transform: translateY(150px);
	}


	/*　上に上がる動き　*/
	#page-top.UpMove{
		animation: UpAnime 0.5s forwards;
	}

	@keyframes UpAnime{
	  from {
	    opacity: 0;
		transform: translateY(150px);
	  }
	  to {
	    opacity: 1;
		transform: translateY(0);
	  }
	}
	/*　下に下がる動き　*/
	#page-top.DownMove{
		animation: DownAnime 0.5s forwards;
	}

	@keyframes DownAnime{
	  from {
	  	opacity: 1;
		transform: translateY(0);
	  }
	  to {
	  	opacity: 1;
		transform: translateY(150px);
	  }
	}

	/*画像の切り替えと動き*/
	#page-top a {
	    /*aタグの形状*/
		display: block;
		width: 100px;
		height: 100px;
		color: #333;
		text-align: center;
		text-transform: uppercase; 
		text-decoration: none;
		font-size:0.6rem;
	    /*背景画像の指定*/
		background: url("../img/pagetop_1.png") no-repeat center;
		background-size: contain;
	}

	#page-top.floatAnime a{
		width: 100px;
		height: 130px;
	    /*背景画像の指定*/
		background: url("../img/pagetop_2.png") no-repeat center;
		background-size: contain;
	    /*アニメーションの指定*/
		animation: floatAnime 2s linear infinite;
		opacity: 0;
	}

	@keyframes floatAnime {
	  0% { transform: translateX(0); opacity: 0; }
	  25% { transform: translateX(-6px);opacity: 1; }
	  50% { transform: translateX(0) }
	  100% { transform: translateX(6px);opacity: 1; }
	}

	/*Page Topと書かれたテキストの位置*/
	#page-top span{
	    position: absolute;
	    bottom: -20px;
	    right: 20px;
		color: #666;
	}
	/*検証のためのCSS*/
	section{
	padding: 500px 0;
	}

	/*プロフィール見出し*/
	.PLOFILE{
		margin-bottom: 0.2rem;
	    padding: 0.3rem;
	    color:#606060;
		font-size:6vw;
		font-family: "Sawarabi Mincho", serif;
		font-weight: 800;
		padding-top: 0vw;
		text-align: center;
		margin-bottom:0;
	}
	.PLOFILE p{
			border-bottom: solid 1vw white;
	}

	.photos{
		display: flex;
		flex-wrap: wrap;
		padding-bottom:4%;
		padding-right:8%;
		padding-top:1%;
		padding-left:8%;
	}
	
	/*3つ並べたいから三等分に*/
	.photo{
		width: calc(100%/3);
	}
	
	/*写真の大きさ正方形に*/
	.photo img{
		width: 99%;
		height: 99%;
	}
	
	/*写真の余白*/
	.photo img{
		padding-bottom:0.5%;
		padding-right:0.5%;
		padding-top:0.5%;
		padding-left:0.5%;
	}
	
	/*hover*/
	
	.photo:hover img {
	  transform: scale(1.1); /* 拡大 */
	 
	}
	
	.photo{
			width: 33%;
			height: 33%;
		
			
	}
	
	
	.photo{
		width: 100%;
			height: 33%;
			display: block;
			position: relative;
	}
		
	.photo img{
		display: block;
	}
	
	.photo div{
		position: absolute;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0);
		opacity: 0;
		left: 0;
		top: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #FFF;
		transition: .3s;
		font-size: 2vw;
	}
	.photo :hover div{
		background: rgba(0,0,0,0.5);
		opacity: 1;
	}
	

	.pc { display: none !important; }
    .mobile { display: block !important; }

	/*モーダルウィンドウ*/
	/*
	.buttonNK{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	 
	.buttonNK:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonNK:hover {
	  background: #D3D3D3;
	  cursor: pointer;

	}*

	.modalNK{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	  cursor:pointer;
	}
	.modal-contentNK {
	  width: 40%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenNK;
	  animation-duration: 1s;
	}
	@keyframes modalopenNK {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerNK {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseNK:hover {
	   cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinNK{
		content:  url(../pic2024/n24_NKpro_mobile.png);
		width: 250%;
		margin: auto;
		margin-top:30vw;
	}





	.buttonMN{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonMN:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonMN:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	}
	*
	.modalMN{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentMN {
	  width: 40%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenNK;
	  animation-duration: 1s;
	}
	@keyframes modalopenMN {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerMN {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseMN:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinMN{
		content:  url(../pic2024/n24_MNpro_mobile.png);
		width: 250%;
		margin: auto;
		margin-top:30vw;
	}










	.buttonYH{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonYH:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonYH:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} *
	 
	.modalYH{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentYH {
	  width: 40%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenYH;
	  animation-duration: 1s;
	}
	@keyframes modalopenYH {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerYH {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseYH:hover{
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinYH{
		content:  url(../pic2024/n24_YHpro_mobile.png);
		width: 250%;
		margin: auto;
		margin-top:30vw;
	}


	.buttonKF{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonKF:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonKF:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} *
	.modalKF{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentKF {
	  width: 40%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenKF;
	  animation-duration: 1s;
	}
	@keyframes modalopenKF {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerKF {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseKF:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinKF{
		content:  url(../pic2024/n24_KFpro_mobile.png);
		width: 250%;
		margin: auto;
		margin-top:30vw;
	}







	.buttonAM{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonAM:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonAM:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} *
	 
	.modalAM{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentAM {
	  width: 40%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenAM;
	  animation-duration: 1s;
	}
	@keyframes modalopenAM {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerAM {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseAM:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinAM{
		content:  url(../pic2024/n24_AMpro_mobile.png);
		width: 250%;
		margin: auto;
		margin-top:30vw;
	}





	.buttonHY{
	  background-color:transparent;
	  border-style:none;
	  transition: all 0.8s;
	}
	.buttonHY:hover{
		transform: scale(1.1, 1.1);
	}
	/*.buttonHY:hover {
	  background: #D3D3D3;
	  cursor: pointer;
	  border-radius:20px;
	} *
	 
	.modalHY{
	  display: none;
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  height: 100%;
	  width: 100%;
	  overflow: auto;
	  background-color: rgba(0,0,0,0.5);
	}
	.modal-contentHY {
	  width: 40%;
	  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	  animation-name: modalopenHY;
	  animation-duration: 1s;
	}
	@keyframes modalopenHY {
	  from {opacity: 0}
	  to {opacity: 1}
	}
	.modal-headerHY {
	  margin: 1rem 0;
	  height:0;
	}
	.modalCloseHY:hover {
	  cursor: pointer;
	  background: #fff;
	  color: #606060;
	}
	#pinHY{
		content:  url(../pic2024/n24_HYpro_mobile.png);
		width: 250%;
		margin: auto;
		margin-top:30vw;
	}*/



	/*下の空白*/
	.kara{
	padding-top:10px;
	padding-bottom:50px;
	}
}





