@charset "UTF-8";
body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium","游ゴシック", "Yu Gothic", sans-serif;
    background-image: url(../images/background.jpg);/* 写真の箱が別ファイルにあるから../ で戻って選択 */

    background-repeat:no-repeat;
    /* タイル状に繰り返し表示しない */
    
    background-position: center top;
    /* topはブラウザの上に、centerは左右中央に配置
    background-position: 横の位置 縦の位置;
    で配置する。横縦をcenter、left、right、top、bottomによって指定をする。pxや%指定でもOK */

    background-size: cover;
    /* 元画像の縦横比は保持して、要素をちょうどよく覆うサイズにしてくれる*/

    background-attachment: fixed;
    /* コンテンツの高さが画像の高さより大きい時、動かないように固定する*/
    margin: 0;
    width: auto;;
}

/*== ボタンのためのCSS */

/* ボタン全体の形状 */
.openbtn{
    /* 初めは非表示に */
    display: none;
    /* ボタンの位置 */
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
    /* ボタンの形状 */
    background: #666;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

/* ボタンのアイコン設定 */
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    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;
}


/* activeクラスが付与された後のボタンのアイコン設定 */
.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%;
}

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}
@keyframes fadeDownAnime{
from {
    opacity: 0;
	transform: translateY(-100px);
}

to {
    opacity: 1;
	transform: translateY(0);
}
}


/*========= ヘッダーナビゲーションのためのCSS ===============*/

/*==ヘッダーの形状*/
#header{
	height: 70px;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background:#333;
	color:#fff;
	text-align: center;
	padding: 20px 0;
}

/*.doneクラスがついたヘッダー*/
#header.dnone {
	opacity: 0;/*透過0にして非表示に*/
    z-index: -999;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
#header.dnone.panelactive {
	opacity: 1;/*不透明にして出現*/
}


/*==ヘッダーのテキストナビゲーションの形状*/

#g-navi ul{
	list-style: none;
	display: flex;
	justify-content: center;
}

#g-navi ul li a{
    font-size: large;
	display: block;
	text-decoration: none;
	color: #666;
	padding:10px;
}

#g-navi ul li.current a,
#g-navi ul li a:hover{
	color:#fff;	
}

/*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
#header.dnone #g-navi{
    /*固定位置にして最背面に*/
    position:fixed;
	top: 0;
    left: 0;
	z-index: -1;
    /*高さと幅*/  
	width:100%;
	height: 100vh;
    /*天地中央＆テキスト中央揃え*/  
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
    /*はじめは透過0に*/  
    opacity: 0;
	transition: all 0.4s;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
#header.dnone.panelactive #g-navi{
	opacity: 1;/*不透明に*/
	z-index:3;/*最前面に*/
	background:#eee;
}

#header.dnone.panelactive #g-navi ul{
	display:block;/*flexの横並びをblockにして縦並びに*/
}


/*リストの形状*/

#header.dnone.panelactive #g-navi li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	transition:all 0.3s;
}
section{
    position: relative;
    z-index: 1;
}



/* ここから下がスライドショーに関するCSS */
#slider {
    width: 100%;
    height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}



/* ここまでがスライドショーに関するCSS */

/*==================================================
スライダー2のためのcss
===================================*/
.slider2 {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:94%;
    margin:0 auto;
}

.slider2 img {
    width:20vw;/*スライダー内の画像を20vwにしてレスポンシブ化*/
    height:auto;
}

.slider2 .slick-slide {
	transform: scale(0.8);/*左右の画像のサイズを80%に*/
	transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
	opacity: 0.5;/*透過50%*/
}

.slider2 .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
	opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 10px solid #666;/*矢印の色*/
    border-right: 10px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
    z-index: 99
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -0.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -0.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

ul .slider2{
    padding-left: 0;
}
/* ここまでがスライドショー2に関するCSS */

/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
	background:#ccc;	
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}


.pictsing{
    display: flex;
}


.pict{
    width: 300px;
}

.pict1{
    width: 300px;

}


.pict img{
    width: 150px;
    height: 150px;
    margin-top: 60px;
}

.pict1 img{
    width: 150px;
    height: 150px;
    margin-top: 60px;
}

.best{
    display: flex;
}

.disc3{
    width: 30% ;
    margin-right: 0;
    margin-left: 5%;
}

.disc2{
    width: 45% ;
    margin-right: 0;
    margin-left: 5%;
}


/*表示するテキストが切り替わる*/
.btntextchange{
    margin-top: 40px;
    margin-right: 40px;
    /*テキストの基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	border: 1px solid #555;
	border-radius:25px;
    min-width:210px;
	padding: 20px;
    text-align: center;
	display: inline-block;
    text-decoration: none;
    color: #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s;
}

/*hoverした際の変化*/
.btntextchange:hover{
  background:#333;
  color:#fff;
}

.btntextchange span{
    /*絶対配置でテキストの位置を決める*/
	position: absolute;
	left: 50%;
	top:50%;
    transform:translate(-50%,-50%);
    /*アニメーションの指定*/
    transition: all .5s;
  /*ブロック要素にしてテキスト折り返しなし*/  
	display: block;
	white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2){
	opacity:0;/*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1){
	opacity:0;/*透過0に*/
}

.btntextchange:hover span:nth-child(2){
	opacity:1;/*不透明に*/
}

/* ここまでがモーダルに関するCSS */


/*== 影がついて浮き上がる */

/*ボタンの形状*/
.float1{
    border: 1px solid #ccc;
    color: #333;
    padding:10px 20px;
    display: inline-block;
    text-decoration: none; 
    outline: none;
    /*アニメーションの指定*/
    transition: all .3s;
    width: 100%;
    margin-bottom: 20px;
}

/*hoverをしたらボックスに影がつく*/
.float1:hover {
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}



header{
    margin-bottom: 0px;
}
header img{
    padding-left: 20px;
}



.profile{
    width: 60%;
    height: auto;
    margin: 20px 20%;
    justify-content: center;
}

.pro p{
    width: 90%;
    padding-bottom: 2em;
    margin: 0 auto;
    z-index: 500;
}

.pro{
    width: 80%;
    border: solid #333 5px;
    padding-top: 2em;
    margin: 0 auto;
}

#area-2 img{
    width:20vw;
}

section{
    width: 90%;
    margin: 10px auto;
}

.main{
    font-size: 50px;
}



.news{
    display: flex;
    width: 100%;
    border: solid 3px #333;
    margin: 10px auto;
}

.news img{
    width: 20%;
    margin: 10px;
}  


.flex{
    display: flex;
}

.flex a{
    margin: 0 10px;
}




/* ====== モバイル用レスポンシブ ====== */
@media screen and (max-width: 998px) {
    #header{
        height: 60px;
        width: 100%;
    }
    #g-navi{ display: none;
    }
    .openbtn{ display: block;
    }

    #header.dnone.panelactive #g-navi{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding-top: 80px;
        overflow-y: auto;
    }

    #header.dnone.panelactive #g-navi ul{ display: block; padding: 0 20px; }
    #header.dnone.panelactive #g-navi li{ margin-bottom: 8px; }

    .profile{ width: 80%; margin: 16px 10%; }
    .pro{ width: 94%; border-width: 3px; padding: 1.2em; }
    .pro p{ width: 100%; padding-bottom: 1.2em; }

    #slider{ height: 50vh; }

    .pictsing, .best, .flex{ display: block; }
    .pict, .pict1, .disc2, .disc3{ width: 100%; margin: 0 0 12px 0; }

    .news{ flex-direction: column;
    width: 90%;}
    .news img{ width: 100%; margin: 0 0 10px 0; }

    .main{ font-size: 36px;
    width: 100%;}

    #area-1{
        margin: auto;
    }
    #area-2{
        margin: auto;
    }
}



@media screen and (max-width: 601px) {
    #header{
        height: 60px;
        width: 100%;
    }
    #g-navi{ display: none;
    }
    .openbtn{ display: block;
    }

    #header.dnone.panelactive #g-navi{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding-top: 80px;
        overflow-y: auto;
    }

    #header.dnone.panelactive #g-navi ul{ display: block; padding: 0 20px; }
    #header.dnone.panelactive #g-navi li{ margin-bottom: 8px; }

    .profile{ width: 80%; margin: 16px 10%; }
    .pro{ width: 94%; border-width: 3px; padding: 1.2em; }
    .pro p{ width: 100%; padding-bottom: 1.2em; }

    #slider{ height: 50vh; }

    .pictsing, .best, .flex{ display: block; }
    .pict, .pict1, .disc2, .disc3{ width: 100%; margin: 0 0 12px 0; }

    .news{ flex-direction: column;
    width: 90%;}
    .news img{ width: 100%; margin: 0 0 10px 0; }

    .main{ font-size: 16px;
    width: 100%;}
    #area-1{
        margin: auto;
    }
    #area-2{
        margin: auto;
    }
}




