@charset "UTF-8";
/* reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
            font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
  color: #333;

}
ul{
  list-style: none;
}
a{
  color:#0000ee;
}
a:hover {
   color: #ff0000; 
  }
/* main contents */
body{
  background-color: rgb(fff, fff, fff);

}
h1{
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  text-align: center;
  margin: 2rem 0;
}
.wrapper{
  background: url(../img/bg_1.jpg) center/cover;
  border: 0px solid burlywood;
  padding: 30px 0;
  margin: 0 auto;
  /* 子要素を横並びにする */
  display: flex;
  /* .boxが幅の端まで来たら折り返し */
  flex-wrap: wrap;
  /* モバイルファーストの場合 */
  width: 340px;
}
/* モバイルファーストにすると */
@media screen and (min-width: 768px) and (max-width: 991.9px){
  /* 768~991.9pxまで */
  .wrapper{
    width: 660px;
  }
}
@media screen and (min-width: 992px){
  /* 992以上 */
  .wrapper{
    padding: 30px 0;
    width: 980px;
  }
}


/* .profboxの共通CSS */
.profbox{
  /* box本体のCSS */
  width: 135px;
  /* heightを子要素全体の高さに設定 */
  height: 100%;
  background-color: #fff;
  border: 0px solid black;
  /* boxどうしの間隔を開ける */
  margin: 5px;
  /* 内側余白 */
  padding: 10px;
  /* アクション時間調整 */
  transition: .3s;
}

[data-ruby] {
	position: relative;
}
[data-ruby]::before {
	content: attr(data-ruby);
	position: absolute;
	top: -1.6em;
	left: 0;
	right: 0;
	margin: auto;
	font-size: 0.5em;
}


.photobox{
  /* photobox本体のCSS */
  width: 300px;
  /* heightを子要素全体の高さに設定 */
  height: 100%;
  background-color: #fff;
  /* photoboxどうしの間隔を開ける */
  margin: 10px;
  /* 内側余白 */
  padding: 10px;
  /* アクション時間調整 */
  transition: .3s;
}

.photoFrame{
  position: relative;
}
.photoFrame > img{
  border: none;
  vertical-align: bottom;
  /* サイズ指定 */
  width: 100%;
  height: 200px;
  /* アスペクト比を維持 */
  object-fit: cover;
}





/* .boxの共通CSS */
.box{
  /* box本体のCSS */
  width: 300px;
  /* heightを子要素全体の高さに設定 */
  height: 100%;
  background-color: #fff;
  border: 1px solid black;
  /* boxどうしの間隔を開ける */
  margin: 10px;
  /* 内側余白 */
  padding: 10px;
  /* アクション時間調整 */
  transition: .3s;
}

.box:hover{
  transform: scale(1.01);
  box-shadow: 10px 15px 10px gray;
}
.imageFrame{
  position: relative;
}
.imageFrame > img{
  border: none;
  vertical-align: bottom;
  /* サイズ指定 */
  width: 100%;
  height: 160px;
  /* アスペクト比を維持 */
  object-fit: cover;
  margin-bottom: 0px;
}
.imageFrame > .layer{
  /* layer本体 */
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  /* positioning */
  position: absolute;
  top: 0;
  left: 0;
}
.imageFrame > .layer p{
  text-align: center;
  line-height: 140px;
}
.imageFrame > .layer a{
  font-family: 'Lobster', cursive;
  letter-spacing: 3px;
  color: white;
  border: 1px solid white;
  box-shadow: 0 0 10px white;
  border-radius: 3px;
  padding: 5px 10px;
  transition: .3s;
}
.imageFrame > .layer a:hover{
  background-color: orange;
  color: black;
  box-shadow: 0 0 10px orange;
}
.box > h2{
  margin: 10px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  text-align: center;
  color: darkblue;
  font-weight: 900;
}
/* 偶数番目の.boxの子要素h2に対してのみ */
.box:nth-child(even) > h2{
  color: darkred;
}
.box:nth-child(5n) > h2{
  color: rgb(50, 50, 0);
}
.box > p{
  font-size: 16px;
  color: #333;
  letter-spacing: 3px;
}


        footer {
            max-width: 930px;
            width: 100%;
            background-color: #fff;
            color: #333;
            text-align: center;
            margin: 10px auto;
            padding: 0px;
            position: relative;
            bottom: 0;
        }

.footer01 {
 color: #000;
 background: #ffffff;
 padding: 30px;
}
.footer01 a {
 color: #000;
font-size:14px;
 text-decoration: none;
}
.footer01 a:hover {
 text-decoration: underline;
}
.footer01 .footmenu {
 margin: 0;
 padding: 0;
 list-style: none;
 display: flex;
 flex-wrap: wrap;
}
.footer01 .footmenu li {
 margin: 0;
 padding: 0 20px 10px 0;
}



        .container {
            max-width: 930px;
            width: 100%;
 background: #53b7f0;
            margin: 20px auto;
            padding: 50px;

        }

        .container2 {
            max-width: 930px;
            width: 100%;
 background: #FFFFFF;
            margin: 10px auto;
            padding: 10px;

        }

        .container3 {
            max-width: 930px;
            width: 100%;
 background: #FFFFFF;
            margin: 50px auto;
            padding: 20px;

        }


.menu {
  position: fixed;
  top: 17px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 50px;
  height: 50px;
  background-color: #333333;
  border-radius: 50%;
  transition: transform 250ms ease;
  cursor: pointer;
  z-index: 200;
}
.menu span {
  position: relative;
  display: block;
  width: 50%;
  height: 2px;
  background-color: #ffffff;
  float: left;
  transform-origin: center center;
  transition: transform 250ms ease;
  z-index: 200;
}
.menu span:nth-of-type(1) {
  transform: translateY(-5px);
}
.menu span:nth-of-type(3) {
  transform: translateY(5px);
}

#menu {
  display: none;
}
#menu:checked ~ .menu {
  background-color: transparent;
  transform: rotate(360deg);
  transition: transform 250ms ease;
}
#menu:checked ~ .menu span {
  background-color: white;
  transition: transform 250ms ease;
}
#menu:checked ~ .menu span:nth-of-type(1) {
  transform: translateY(1px) rotate(45deg);
}
#menu:checked ~ .menu span:nth-of-type(2) {
  display: none;
}
#menu:checked ~ .menu span:nth-of-type(3) {
  transform: translateY(-1px) rotate(-45deg);
}
#menu:checked ~ .nav {
  left: 0px;
  transition: left 500ms ease;
}
#menu:checked ~ main {
  transform: translateX(250px);
  transition: transform 500ms ease;
}

.nav {
  position: fixed;
  top: 0;
  left: -510px;
  width: 300px;
  height: 120vh;
  margin: 0;
  padding: 0;
  background-color: #333333;
  transition: left 500ms ease;
  z-index: 199;
}
.nav ul {
  position: relative;
  list-style-type: none;
  margin: 70px 0;
  padding: 0;
}
.nav ul li {
  position: relative;
  display: block;
  border-bottom: 3px solid white;
}
.nav ul li a {
  position: relative;
  display: block;
  margin: 0;
  padding: 10px 15px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}
.nav ul li a:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  transition: width 250ms ease;
  z-index: 999;
}
.nav ul li a:hover {
  color: #999999;
}
.nav ul li a:hover:before {
  width: 100%;
  height: 100%;
  color: #999999;
  transition: width 250ms ease;
}


.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 30px;
}

/* for Desktop */
@media ( min-width : 640px ){
  .timeline > li {
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #6fc173;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
  }
}