@charset "utf-8";




/*--------------------------------------
  横並びの設定
--------------------------------------*/

/* 横並び */

.yoko {
  display: flex; /*横並び*/
}
.yoko .image {
  width: 600px; /*画像サイズ指定*/
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
/*  position: relative;*/
}

.yoko .right {
  margin: 0 0 0 0;
  padding: 0;
}

.yoko .title {
  margin: 0;
  padding: 0.5em;
  font-weight: bold;
  font-size: 1.5em;
}

.yoko .text {
  font-size: 0.9em;
  padding: 0.3em;
}


@media screen and (max-width:768px){

.yoko {
  display: flex; /*横並び*/
}
.yoko .image {
  width: 640px; /*画像サイズ指定*/
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.yoko .right {
  margin: 0 0 0 20px;
  padding: 0;
}

.yoko .title {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 18px;
}

.yoko .text {
  margin: 10px 0 0;
  padding: 0;
}



}


/*--------------------------------------
  スライダーの設定
--------------------------------------*/

#slider-area{
    width:100%;
    height: 1000px;
    top: 0;
/*    left:15%;    */
    z-index: -1;
}

#slider-area #slider{
    width:100%;
    height:1000px;
}


#top-t {
    position: absolute;
    height: 300px;
    color: #fff;
    width: 100%;
    margin: auto;
    font-size: 1.6em;
    padding-top: 30px;
    text-shadow:2px 2px 2px #222;
    z-index: 2;
/*    background-color: #ff0000;*/
}

/*
#top-t {
    position: relative;
    top: -430px;
    background-color: #fff;
    width: 100%;
    max-width: 900px;
    margin: auto;
    font-size: 2.3em;
    padding: 1.5em;
    opacity: 0.6;
    border-radius: 15px;
}*/


#top-t ul {
    padding-top: 80px;
	list-style: none;
}

#top-t ul li {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    padding: 1em;
}


@media screen and (max-width:768px){

#top-t {
        position: absolute;
        height: 350px;
        color: #fff;
        width: 100%;
        margin: auto;
        font-size: 1.2em;
        padding-top: 20px;
        text-shadow:2px 2px 2px #222;
        z-index: 2;
    /*    background-color: #ff0000;*/
}

#top-t ul {
    padding-top: 0px;
	list-style: none;
}

#top-t ul li {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    padding: 1em;
}
    
    #slider-area{
    width:100%;
    height: 350px;
    top: 0;
/*    left:15%;    */
    z-index: -1;
}

#slider-area #slider{
    width:auto;
    height:350px;
}
    
}



.slider-text {
    position: relative;
    top: -100px;
    background-color: #fff;
    color: #000;
    width: 500px;
    font-size: 2em;
    padding: 1.5em;
}




/*--------------------------------------
  モバイル、PC
--------------------------------------*/
.pc { display: none;}
.mo { display: inline-block;}

@media screen and (min-width:768px){
    .pc { display: inline-block;}
    .mo { display: none;}
}




/*--------------------------------------
  SNSのボタン
--------------------------------------*/

.sns-wrapp {
    display: flex;
    margin: 0.5em auto;
    max-width: 900px;
    width: 100%;
    justify-content: space-between;
 /*   background-color: #fff;*/
}

.sns_circle{
    position:relative;
    width: 50px;
    height: 50px;
    margin:0 5px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #999;
}
 
.sns_circle a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    text-indent:-999px;
    color:#FFF;/* 文字の色 */
}

.sns_circle a:hover{
    background-color:#FFF;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}


/* サークルのスタイル */
.sns_circle{
    position:relative;
    width: 50px;
    height: 50px;
    margin:0 5px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #999;
    float:left;
    list-style: none;
}
 
/* Webフォントに関する指定 */
.sns_circle span{
    position:absolute;
    padding:10px;
    font-size:30px;
    color:#FFF;/* 文字の色 */
}
 
/* リンク領域をブロック全体に */
.sns_circle a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    text-indent:-999px;
    color:#FFF;/* 文字の色 */
}
 
/* マウスオーバー */
.sns_circle a:hover{
    background-color:#FFF;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
 
/* 横幅を300pxに固定して真ん中に表示 
ul.circle_group {
    width:300px;
    margin:auto;
    list-style: none;
    padding:0;
}*/
 
/* アイコン毎の配色と配置 */
.sns_circle.feedly{
    background-color: #6CC655;
}
 
.sns_circle.facebook{
    background-color: #265a96;
}
 
.sns_circle.twitter{
    background-color: #00acec;
}
 
.sns_circle.hatebu{
    background-color: #006fbb;
}
 
.sns_circle.pocket{
    background-color: #EE4256;
}
 
.sns_circle.googleplus{
    background-color: #dd4b39;
}
 
.sns_circle.line{
    background-color: #2cbf13;
}
 
.sns_circle.feed{
    background-color: #ff9900;
}
 
.sns_circle.youtube{
    background-color: #e22d26;
}


/*--------------------------------------
  吹き出し　パーツ
--------------------------------------*/


.balloon3-right-btm {
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 0 5px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #FFF;
  font-size: 0.5em;
  font-weight: bold;
  background: #AC2024;
  border-radius: 50%;
  box-sizing: border-box;
}

.balloon3-right-btm:before {
  content: "";
  position: absolute;
  bottom: -11px;
  right: -11px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid #AC2024;
  z-index: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}



/*--------------------------------------
  吹き出し　パーツ
--------------------------------------*/

.balloon1-left {
  position: relative;
  display: inline-block;
  margin: 0.5em 0 0.5em 40px;
  padding: 7px 10px;
  min-width: 90px;
  max-width: 70%;
  color: #000;
  font-size: 0.8em;
  font-weight: bold;
  background: #fff;
}

.balloon1-left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25px;
  margin-top: -15px;
  border: 10px solid transparent;
  border-right: 15px solid #fff;
}

.balloon1-left p {
  margin: 0;
  padding: 0;
}

.image-circle-j {
    background-image: url("../img/josei.png");  /* 表示する画像 */
    width:  60px;       /* ※縦横を同値に */
    height: 60px;       /* ※縦横を同値に */
    border-radius: 50%;  /* 角丸半径を50%にする(=円形にする) */
    background-position: center top;  /* 横長画像のまんなか上を基準に表示 */
    display: inline-block;          /* 複数の画像を横に並べたい場合 */
}

.image-circle-j2 {
    background-image: url("../img/josei2.png");  /* 表示する画像 */
    width:  60px;       /* ※縦横を同値に */
    height: 60px;       /* ※縦横を同値に */
    border-radius: 50%;  /* 角丸半径を50%にする(=円形にする) */
    background-position: center top;  /* 横長画像のまんなか上を基準に表示 */
    display: inline-block;          /* 複数の画像を横に並べたい場合 */
}

.image-circle-d {
    background-image: url("../img/dansei.png");  /* 表示する画像 */
    width:  60px;       /* ※縦横を同値に */
    height: 60px;       /* ※縦横を同値に */
    border-radius: 50%;  /* 角丸半径を50%にする(=円形にする) */
    background-position: center top;  /* 横長画像のまんなか上を基準に表示 */
    display: inline-block;          /* 複数の画像を横に並べたい場合 */
}

.nenrei {
    text-align: right;
    font-size: 0.5em;
}



/*--------------------------------------
  m風
--------------------------------------*/

.m-z-w {
    position: relative;
    width: 100%;
    background-color: #fff;
    top: -10px;
}

.m-z-g {
    width: 100%;
    background-color: #ddd;
}

.m-z {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}


.m-z h1 {
    max-width: 650px;
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 7px;
  }
  
  
.m-z  h2 {
    border-bottom: solid 3px #000;
    max-width: 650px;
    font-size: 1.2em;
    margin-bottom: 7px;
  }
  
  

  
  .aka {
  color: #AC2024;
  }
  
  
  
  /*ちょっとおしゃれに２色のh3装飾*/
  .m-z h3 {
    padding: 0.5em;
    margin: 1em;
    max-width: 650px;
    position: relative;
    font-size: 1.2em;
/*    border-bottom: solid 3px #3F372F;*/
  }

  
  .m-z  h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #c20008;
    bottom: -3px;
    width: 10%;
  }
  
  
  /*h3装飾、真ん中の下に黒いやつ*/
  .m-z h5 {
    position: relative;
    display: inline-block;
    width: 100%;
/*    text-align: center;*/
    margin: 1em auto;
    margin-bottom: 1em;
    font-size: 1.4em;
  }
  
  .m-z h5:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 3px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #c20008;
    border-radius: 2px;
  }

/*--------------------------------------
  b風
--------------------------------------*/
/*大枠*/
.biz-z{
  width: 100%;
  background-color: #dddddd;
  padding: 90px 20px 40px 20px;
}

.aka {
 color: #AC2024;
}

.kakko {
 color: #AC2024;
}


.biz {
  width: 95%;
  max-width: 1100px;
  background-color: #fff;
  margin: 0 auto 90px auto;
  padding: 1em;
  transition:all 0.3s;
}

.biz a:hover {
  background-color: #aaa;
}

.biz h2 {
  text-align: center;
  font-size: 1.5em;
  color: #000;
}

.biz-box-wrapp {
	display: column;
    margin: auto;
}

.biz-box {
   width:100%;
   background-color: #e6e6e6;
}

.biz-box-t {
   text-align: left;
   font-weight: bold;
   background-color: #73674e;
   color:#fff;
   margin: 0;
   padding: 3px;
}

.biz-center {
 text-align: center;
}

.biz-box-part {
	border-bottom:solid 2px #fff;
    display: flex;    
    margin: 0.5em auto;
    width: 80%;
    padding: 1em 0.3em;
    align-items: center;
}

.biz-box-part2 {
    display: flex;    
    margin: 0.1em auto;
    width: 90%;
    padding: 0.5em 0.3em;
    align-items: center;
}


.biz-box-maru {
    height: 40px;
    width: 40px; 
    border-radius: 50%;
    background-color: #AC2024;
    line-height: 40px;
    color: #fff;
    text-align: center;
}

.biz-box-u {
    font-size: 0.8em;
    font-weight: bold;
    padding: 0.5em;
}



.biz-box-setu {
    margin: 1em auto;
    text-align: left;
    font-weight: bold;
    font-size: 0.9em;
}


.biz-box-mou {
    font-size: 0.8em;
    padding: 0.5em 1em;
    text-align: center;
    margin: 1em auto;
    background-color: #d7000E;
    color: #fff;
    width: 80%;
    max-width: 400px;
}

.biz-box-mou:hover {
  background-color: #d7aaaa;
}


@media screen and (min-width:768px){
.biz-box-wrapp {
	display: flex;
	justify-content: space-around;
}

.biz-box {
   width:45%;
   background-color: #e6e6e6;
}

.biz-box-setu {
    text-align: center;
}




    
}



/*--------------------------------------
  b風_白背景
--------------------------------------*/

.biz-box-w {
   display: block;
   width:100%;
   background-color: #fff;
}

.biz-box-w2 {
   display: block;
   width:100%;
   background-color: #fff;
}


.biz-box-wt {
   text-align: center;
   font-weight: bold;
   background-color: #73674E;
   color:#fff;
   font-size: 0.8em;
   margin: 0;
   padding: 3px;
}

.biz-box-wt2 {
   text-align: center;
   font-weight: bold;
   background-color: #3d373F;
   color:#fff;
   font-size: 0.8em;
   margin: 0;
   padding: 3px;
}



.biz-box-wt3 {
   text-align: center;
   font-weight: bold;
   background-color: #3F372F;
   color:#fff;
   font-size: 0.8em;
   margin: 0;
   padding: 3px;
}

.deka {
    font-size: 2.5em;
    color: #B6111C;
}

.biz-box-part2 {
    display: flex;
    margin: 0.1em auto;
    width: 90%;
    padding: 0.5em 0.3em;
    align-items: center;
}



.biz-box-maru {
    height: 40px;
    width: 40px; 
    border-radius: 50%;
    background-color: #AC2024;
    line-height: 40px;
    color: #fff;
    text-align: center;
}

.biz-box-u {
    font-size: 0.8em;
    font-weight: bold;
    padding: 0.5em;
}


.biz-box-setu-c {
    margin: 1em auto;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

.biz-box-setu2 {
    margin: 0.5em auto;
    text-align: left;
    font-weight: bold;
    font-size: 0.8em;
}


.biz-box-mou {
    font-size: 0.8em;
    padding: 0.5em 1em;
    text-align: center;
    margin:0 auto;
    background-color: #d7000E;
    color: #fff;
    font-weight: bold;
    width: 80%;
    max-width: 400px;
}


@media screen and (min-width:768px){

.biz-box-w {
   display: inline-block;
   width:45%;
   background-color: #fff;
}

.biz-box-w2 {
   display: inline-block;
   width:30%;
   background-color: #fff;
}

.biz-box-setu2 {
    margin: 1em auto;
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
}

.biz-box-wt2 {
   text-align: center;
   font-weight: bold;
   background-color: #3d373F;
   color:#fff;
   font-size: 1.2em;
   margin: 0;
   padding: 3px;
}
    
.biz-box-wt {
   text-align: center;
   font-weight: bold;
   background-color: #73674E;
   color:#fff;
   font-size: 1.2em;
   margin: 0;
   padding: 3px;
}


.biz-box-wt3 {
   text-align: center;
   font-weight: bold;
   background-color: #3F372F;
   color:#fff;
   font-size: 1.2em;
   margin: 0;
   padding: 3px;
}


    
}

    
/*--------------------------------------
  カード型_01　囲ったり
--------------------------------------*/


.kakou-z{
 padding: 0;
 width: 100%;
 display: flex;
 flex-wrap: wrap;
 align-items: stretch;
}

.kakou-p {
  margin: 3px auto;
  width: 50%;
}


@media ( min-width : 768px ){
.kakou-z {
 display: flex;
 max-width: 1000px;
 margin: auto;
}


.kakou-p {
 padding: 0;
 width: 30%;
}

}
  


.l-wrapper_01 {
  margin: 1rem auto;
  width: 95%;
}

.l-wrapper_01:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
  transition: all .5s;
}


.card_01 {
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
  color: #212121;
  text-decoration: none;
}

.card__header_01 {
  display: flex;
  flex-wrap: wrap;
}

.card__title_01 {
/*  padding: 1rem 1.5rem 0;*/
  font-size: 1rem;
  order: 1;
  margin-bottom: 0.6rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  margin: auto;
}

.card__thumbnail_01 {
  margin: 0;
  order: 0;
}

.card__image_01 {
  width: 100%;
}

.card__body_01 {
  padding: 0 1.5rem;
}

.card__text_01 {
  font-size: .8rem;
  text-align:center;
  text-decoration: none;
	padding-bottom: 0;
}

.card__text2_01 {
  font-size: .8rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.card__text_01 + .card__text_01 {
  margin-top: .5rem;
}

.card__footer_01 {
  padding: 1rem;
  border-top: 1px solid #ddd;
}

.button_01 {
  display: inline-block;
  text-decoration: none;
  transition: .3s ease-in-out;
  text-align: center;
}

.button_01 a {
  text-decoration: none;
}

.button_01.-compact {
  padding: .5rem 1rem;
  border-radius: .25rem;
  background-color: #c20008;
  color: #fff;
  font-weight: bold;
	text-decoration: none;
}

.button_01.-compact:hover,
.button_01.-compact:focus {
  background-color: #aaa;
}


@media screen and (max-width: 768px) {

.card__body_01 {
  padding: 0 .5rem;
  margin-top: 0.3em;
}

.card__title_01 {
    /*  padding: 1rem 1.5rem 0;*/
      font-size: 0.8rem;
      order: 1;
      padding-bottom: 0.6rem;
      font-weight: bold;
      text-decoration: none;
      text-align: center;
      margin: auto;
    }

}



/*-----------------
目次、ここから
-------------------*/

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

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#mokuji ul li {
	position: relative;
    width: 25%;
/*    border-right: solid 1px #666;*/
}
#mokuji ul li:last-child {
    border-right: solid 0px;
}
#mokuji ul li::after  {
    font-family: 'Font Awesome 5 Free';
    font-weight: 550;
    content: "\f054";
    position: absolute;
    top: 50%;
    right: 10%;
    margin-top: -10px;
}


#mokuji ul li a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding:20px 35px;
	transition:all .3s;
}


#mokuji {
    position: relative;
    top: -30px;
    color: #fff;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    background-color: #c20008;
    z-index: 4;
}


#mokuji a:hover {
    color: #333;
    background-color: #ddd;
}

.m-kuhaku {
    height: 30px;
}


@media screen and (max-width:768px) {
    #mokuji {
        font-size: 0.7em;
        position: relative;
        top: -30px;
    }    

    #mokuji ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #mokuji ul li::after  {
        display: none;
    }

    #mokuji ul li {
        position: relative;
        width: 50%;
        text-align: center;
    /*    border-right: solid 1px #666;*/
    }

    .m-kuhaku {
        height: 0px;
    }
    
}

/*メッセージ*/
.message {
    padding: 0.5em 2em;
    margin: 20px;
    font-weight: bold;
    color: #111;
    background: #FFF;
    border: solid 1px #222;
    border-bottom: solid 1px #222;
}




/*===========================================================*/
/*機能編  5-1-1 ドロップダウンメニュー（上） */
/*===========================================================*/

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*ナビゲーションを横並びに*/
nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
    font-size: 0.8em;
}

/*2階層目以降は横並びにしない*/
#header nav ul ul {
	display: block;
    width: 200%;
    left: -50px;
}



/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a {
	display: block;
	text-decoration: none;
	color: #000;
	padding:20px 35px;
	transition:all .3s;
}



#header nav ul ul li {
    font-size: 1em;
    width: 100%;
    text-align: center;
}

nav ul ul li::after  {
    font-family: 'Font Awesome 5 Free';
    font-weight: 550;
    content: "\f054";
    color: #c20008;
    font-size: 0.6em;
    position: absolute;
    top: 50%;
    right: 5%;
    margin-top: -5px;
}


nav ul li li a {
	padding:10px 35px;
}



@media screen and (max-width:1200px) {
nav ul li a{
	padding:20px;
}
nav ul li li a{
	padding:10px 20px;
}

}

nav ul li a:hover{
	color:#aaa;
	background:rgba(80,80,80,0.5);
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:30px;
	width:6px;
	height:6px;
	border-top: 2px solid #000;
    border-right:2px solid #000;
    transform: rotate(135deg);
}

@media screen and (max-width:1200px) {
nav ul li.has-child::before{
    left:0;
}
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:rgba(255,255,255,0.9);
    width: auto;
	max-width:500px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
    box-shadow: 0 0 4px;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #000;
    background-color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.4);
}

nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:rgba(20,20,20,0.5);
}

/*==960px以下の形状*/

@media screen and (max-width:960px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:20px;
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}

/*===========================================================*/
/*機能編  5-1-6 スクロール途中から上部固定 */
/*===========================================================*/

#header{
	position: fixed;/*fixedを設定して固定*/
	height: 70px;/*高さ指定*/
	width:100%;/*横幅指定*/
    z-index: 999;/*最前面へ*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 20px 100px 20px 0;
}


#header h1 {
 display: block;
}

#header h3 {
 display: block;
 font-size: 0.3rem;
}



/*==ふわっと出現させるためのCSS*/

/*　上に上がる動き　*/

#header.UpMove{
	position: fixed;
	width:100%;
	animation: UpAnime 0.5s forwards;
}


/*
#header.UpMove h3,
#header.DownMove h3 {
 display: none;
}*/


@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	position: fixed;
	width:100%;
    height: 70px;
	animation: DownAnime 0.5s forwards;
}


@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

.kuhaku {
    width: 100%;
    height: 70px;
}


.kuhaku-w {
    padding: 100px 0 0 0;
    width: 80%;
    max-width: 1200px;
    text-shadow: 1px 1px 2px #808080;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    margin: auto;
}

.kuhaku-w h2 {
    font-size: 3em;
}

.kuhaku-w-box {
    font-size: 1.2em;
    padding: 0.3em;
    margin: auto;
}


@media screen and (max-width:960px) {
#header,
#header.UpMove,
#header.DownMove{
    animation:none;
	height: auto;
    padding: 0;
    display: block;
}
    
.kuhaku {
    width: 100%;
    height: 70px;
}


.kuhaku-w {
    padding:100px 0.2em 0.2em 0.2em;
    width: 100%;
    text-shadow: 1px 1px 2px #808080;
}

.kuhaku-w h2 {
    font-size: 1.5em;
}

.kuhaku-w-box {
    font-size: 1.2em;
    padding: 0.3em;
    margin: auto;
}

    
}



/*==================================================
機能編 　5-1-11 クリックしたらナビが上から下に出現
===================================*/

@media screen and (max-width:960px) {
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(254,254,254,0.8);
    /*動き*/
	transition: all 0.2s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    width: 90%;
    margin:100px auto 0 auto;
}
    
#g-nav ul ul{
    width: 100%;
    margin: 0;
}
 
/*プルダウンナビのCSS*/
#g-nav ul li.has-child ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
    transform: none;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #000;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
}

/*==================================================
　機能編 5-2-7 3本線が奥行きを持って回転して×に
===================================*/

.g-nav-openbtn{
    display: none;
}
 
@media screen and (max-width:960px) {
.g-nav-openbtn{
    display: block;
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:3px;
	right: 10px;
	cursor: pointer;
    width: 45px;
    height:40px;

}

/*ボタン内側*/

.g-nav-openbtn .openbtn-area{
    transition: all .4s;
}

.g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #000;
  	width: 45%;
  }


.g-nav-openbtn span:nth-of-type(1) {
	top:15px;
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
}

/*activeクラスが付与されると
線と周りのエリアが回転して×になる*/

.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}
}

/*==================================================
　機能編 5-3-3 左から右に線が伸びる（下部）
===================================*/
.nav01c li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.nav01c li.current a,
.nav01c li a:hover{
	color:#eee;
}

.nav01c li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 16px;
    left: 25%;
    /*線の形状*/
    width: 50%;
    height: 1px;
    background:#eee;
    /*アニメーションの指定*/
    transition: all .5s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

.nav01c li li a::after {
    display: none;
}

/*現在地とhoverの設定*/
.nav01c li.current a::after,
.nav01c li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
@media screen and (max-width:960px) {
.nav01c li a::after {
    display: none;
}  
}

/*==================================================
　機能編 9-1-1	縦線が動いてスクロールを促す
===================================*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	right:40px;
	bottom:3%;
    /*全体の高さ*/
	height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 30px;
	background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

/*==================================================
　機能編 7-1-34	少し出ていた線が伸びる
===================================*/


.btnlinestretches2{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/  
	color:#eee;
    padding:5px 40px;
	display:inline-block;
    text-decoration: none;
    outline: none;
}

/*線の設定*/
.btnlinestretches2::before,
.btnlinestretches2::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
    /*事前に出現させる線の形状*/
	border:solid #eee;
	width:10px;
	height:10px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

.btnlinestretches2::before{
    /*事前に出現させる線の位置*/
	top:0;
	left:0;
    /*事前に出現させる線の形状*/
	border-width:1px 0 0 1px;
}

.btnlinestretches2::after{
    /*事前に出現させる線の位置*/
	bottom:0;
	right:0;
    /*事前に出現させる線の形状*/
	border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches2:hover::before,
.btnlinestretches2:hover::after{
    width:calc(100% - 2px);
	height:calc(100% - 2px);
	border-color:#eee;
}

/*==================================================
機能編 8-1-4 ページの指定の範囲内で出現（下から上)
===================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	width: 50px;
	height: 50px;
    border:1px solid #adadad;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

#page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top:1px solid #fff;
  border-left: 1px solid #fff;
  transform: rotate(45deg);
    margin: 8px 0 0 0;
}



/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}


/*==================================================
/*機能編 5-4-1タブメニュー*/
/*===================================*/

/*tabの形状*/
.tab-area{
    width: 70%;
}

.tab{
	display: flex;
	flex-wrap: wrap;
}

.tab li{
    text-align: center;
    white-space: nowrap;
}

.tab li a{
	display: block;
    border-top:transparent 1px solid;
    border-right:#000 1px solid;
    border-left:transparent 1px solid;
	padding:8px 30px;
    background:#333;
}

@media screen and (max-width:400px) {
.tab li a {
	padding:8px 20px;
}
   
}

/*liにactiveクラスがついた時の形状*/
.tab li.active a{
    background: #000;
    border-top:#aaa 1px solid;
	border-color:#aaa;
}

/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
    padding: 20px 40px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/*===========================================================*/
/*機能編  6-1-4 動きを組み合わせて全画面で見せる */
/*===========================================================*/
/*#slider {
    width: 100%;
    height: 91vh;//スライダー全体の縦幅を91vhにする
}
*/
/*==================================================
機能編 6-2-1 複数の画像を一覧で見せる
===================================*/
.gallery{
columns: 4;/*段組みの数*/
padding:0 15px;/*ギャラリー左右に余白をつける*/
}

.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/}

@media only screen and (max-width: 600px) {
	.gallery{
	columns: 2;
	}	
}

/*===========================================================*/
/* 機能編 7-2-2 虫眼鏡マークをクリックすると全画面表示で検索窓が出現 */
/*===========================================================*/

/*========= 検索窓を開くための虫眼鏡ボタン設定 ===========*/

.open-btn{
	position: absolute;
	top:10px;
	right:10px;
/*	background:url("../img/icon_search.svg") no-repeat 15px center;虫眼鏡アイコンを背景に表示*/
	background-size: 20px 20px;
	width:50px;
	height:50px;
	cursor: pointer;
    z-index: 999;
}

/*========= 検索窓の設定 ===============*/

/*==検索窓背景のエリア*/

#search-wrap{
    position:fixed;/*固定配置にして*/
	top: 0;
    left: 0;
	z-index: -1;/*最背面に設定*/
	opacity: 0;/*透過を0に*/
	transition: all 0.4s;/*transitionを使ってスムースに現れる*/
	width:100%;
	height: 100vh;
}

/*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後の見た目*/
#search-wrap.panelactive{
	opacity: 1;/*不透明に変更*/
	 z-index: 9999;/*全面に出現*/
	 background:#222;
    /*中の要素を天地中央揃えにする設定*/
	 display: flex;
	 justify-content: center;
	 align-items: center;
}

/*==検索窓のエリア*/

#search-wrap .search-area{
	display: none;/*検索窓のエリアは、はじめ非表示*/
}

/*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後*/
#search-wrap.panelactive .search-area{
	display: block;/*検索窓エリアを表示*/
	width:80%;
	position: relative;
}

/*==検索フォームの設定*/

#search-wrap form{
	position: relative;
	height: 66px;
}

/*==テキスト入力とボタンinput共通設定*/
#search-wrap input{
	-webkit-appearance:none;/*SafariやChromeのデフォルトの設定を無効*/
	outline: none;
	cursor: pointer;/*カーソルを指マークに*/
	color: #fff;
}

/*テキスト入力input設定*/
 #search-wrap input[type="text"] {
	width: 100%;
	padding: 20px;
	border: none;
	border-bottom:2px solid #666;
	transition: all 0.5s;
	letter-spacing: 0.05em;
}

 #search-wrap input[type="text"]:focus {
	background:#444;
}

/*ボタンinput設定*/
 #search-wrap input[type="submit"] {
	position: absolute;
	 top:0;
	right:10px;
	background:url("../img/icon_search.svg") no-repeat 15px center;/*虫眼鏡アイコンを背景に表示*/
	background-size: 25px 25px;
	width:60px;
	height: 60px;
}

/*=======　閉じるための×ボタン　========*/
.close-btn{
	position: absolute;
	top:10px;
	right:10px;
	z-index: 2;
	cursor: pointer;
    width: 60px;
    height:60px;
}
	
.close-btn span{
    display: inline-block;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
 }

/*×マーク*/
.close-btn span:nth-of-type(1) {
    top: 21px;
    left: 16px;
    transform: translateY(6px) rotate(-135deg);
    width: 50%;
}

.close-btn span:nth-of-type(2){
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(135deg);
    width: 50%;
}

/*==================================================
印象編 4 最低限おぼえておきたい動き
===================================*/

/*印象編　4-9、4-10　背景色が伸びて出現（左から・右から）　*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

/*印象編　4-9 背景色が伸びて出現（左から）*/
.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*印象編　4-9 背景色が伸びて出現（右から）*/
.bgRLextend::before{
	animation-name:bgRLextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
	0% {
		transform-origin:right;
		transform:scaleX(0);
	}
	50% {
		transform-origin:right;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}


/*==================================================
 7 画像リンクの動き
===================================*/

/*　印象編　7-3 画像が拡大＋回転　*/

.zoomInRotate{
/*opacityとtransformがかけあわさると生じる表示バグの回避*/
    backface-visibility: hidden;
}
.zoomInRotate img{
	transform: scale(1);
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.zoomInRotate a:hover img{/*hoverした時の変化*/
	transform:rotate(5deg) scale(1.2);/*拡大、回転の値を変更したい場合はこの数値を変更*/
}
