/*すべてのページに適用される設定*/
html{
     font-size: 18px;
     font-family: sans-serif;
     background-color: #f5f5f5;
}
html.html {
    font-size: 17px;
}
main{
     margin: 90px auto 90px auto;/*webを中寄りにする*/
     max-width: 1000px;
}
.start{
     margin: 130px auto 130px auto;/*webを中寄りにする*/
     max-width: 1000px;
}

/* すべてのページに適用-イメージ */
img{
     max-width: 100%;
}
.menyu {
    margin: 0px auto 0px auto;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px auto 0px auto;
}
/*見出し設定*/
.大見出し{
     font-size: 64px;
     font-family: sans-serif;
     color: aliceblue;
     background-position: center;
     padding: 300px 0;
     background-repeat: no-repeat;
     text-align: center;
     background-image: url(../images/picture27.bmp);
     background-size: cover;
}
h2.中見出し{
    font-size: 24px;
     padding: 0.4em 0.5em;
  color: #494949;
  background: #ffffff;
  border-left: solid 5px #7db4e6;
  border-bottom: solid 3px #d7d7d7;
}
.sukuro-ru {
    margin: 0px auto 0px auto;
}
h3.中見出し{
    font-size: 20px;
     padding: 0.4em 0.5em;
  color: #494949;
  background: #ffffff;
  border-left: solid 5px #7db4e6;
  border-bottom: solid 3px #d7d7d7;
}
.小見出し{
    border-bottom: solid 3px #a9a9a9;
    color: #191970;
}
.超小見出し{
    border-bottom: solid 3px #a9a9a9;
    color: #191970;
    font-size: 16px;
}
.クイズ用{
    border-bottom: solid 3px #cce4ff;
    position: relative;
}
.クイズ用::after{
    position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}
/*メニュー設定*/
.menu{
    background-image: url(../images/menu3.png);
    background-size: cover;
    background-repeat: no-repeat;
}

/*ハーフライン設定*/
.ハーフライン{
  display: inline;
  background-position: left -100% center;
  padding-bottom: 0.6em;/*ここで高さを決める*/
  background-size: 200% 0.5em;
  background-repeat: repeat-x;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(155, 190, 255, 0.568) 50%);
}
header {
     padding-top: 40px;
     background-image: url(../images/haikei.png);
     background-repeat: repeat-x;
     text-align: center;
}
.グラフ{
    text-align: center;
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.グラフ p {
    margin: 0; 
    padding: 0;
}
/*自己紹介表設定*/
.member th, .member td{
   border: 1px solid #191970;
   padding: 20px;
}
.member{
     border-collapse: collapse;
}

/*ナビゲーション設定*/
.gnavi{
     display: flex;
     flex-wrap: wrap;
     margin: 1em;
     list-style: none;
 }
 .gnavi li a{
    font-size: 22px;
     display: block;
     padding:10px 30px;
     text-decoration: none;
     color: #333;
 }
 .gnavi li{
     margin-bottom:20px;
 }
 .gnavi li a{
      position: relative;
 }
 .gnavi li a::after {
	content: '';
	position: absolute;
	z-index: -1;
	bottom: 0;
	left: 0;
	width: 0;
	height:100%;
	background:#0481A2;
	transition:all .5s;
	opacity: 0;
}
/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
	width: 100%;
	opacity: 1;
}
.gnavi li.current a,
.gnavi li a:hover{
  	color: #fff;
}
.nav ul{
    list-style-type: none;
    font-size: 16px;
}
.w li{
    list-style-type: none;
    font-size: 13px;
}
.image-button{
     zoom: 150%;
}
.kuizu {
     font-size: 16px;
}
/*アウター設定*/   
.一番下 {
     margin-top: 20px;
     margin-bottom: 0;
     padding-top: 75px;
     padding-bottom: 75px;
     background-color: #253958;
     color: #ffffff;
     text-align: center;
     margin: 0;
     width: 100%;
}
* {
     box-sizing: border-box;
}
/*マーカー設定*/
mark{
     background-color: skyblue;
 }
 b.mark{
    color: red;
 }
 /*表の設定*/
.表{
     padding: 8px 19px;
     margin: 2em 0;
     color: #2c2c2f;
     background: #faebc3;
     border-top: solid 5px #e9a931;
     border-bottom: solid 5px #e9a931;
 }
 .表 th, .表 td{
     border: 1px solid #2c2c2f;
     padding: 20px;
  }
  .表{
     border-collapse: collapse;
  }
  .青表{
    padding: 8px 19px;
    margin: 2em 0;
    color: #2c2c2f;
    background: #b5c6da;
    border-top: solid 5px #a4a4f8;
    border-bottom: solid 5px #a4a4f8;
}
.青表 th, .青表 td{
    border: 1px solid #2c2c2f;
    padding: 20px;
 }
 .青表{
    border-collapse: collapse;
 }
 th.被害画像{
     zoom: 200%;
 }  
 th.地震{
    width: 512px;
    text-align: left;
    vertical-align: top;
 }
 p.補足{
    position: relative;
    padding: 0.25em 1em;
    border: solid 2px black;
    border-radius: 3px 0 3px 0;
 }
 p.補足::before,p.補足::after{
    content: '';
    position: absolute;
    width:10px;
    height: 10px;
    border: solid 2px black;
    border-radius: 50%;
 }
 p.補足::after{
    top:-12px;
  left:-12px;  
 }
 p.補足::before{
    bottom:-12px;
    right:-12px;
 }
 h3.補足 {
    position: relative;
    padding-left: 25px;
  }
  
  h3.補足:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 0;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 15px transparent;
    border-bottom: solid 15px rgb(99, 129, 228);
  }
  h3.補足:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 10px;
    width: 100%;
    border-bottom: solid 3px rgb(99, 129, 228);
    }
    .goukei {
        text-align: center;
    }
  #score-container {
    margin: 50px auto 50px auto;
    border: 1px solid black;
    height: 100px;
  }
  .score {
    text-align: center;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #668ad8;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
  }
  .score:active {
          /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
  }

 /*次ページ前ページ設定*/
 .page{
     justify-content: center;
     list-style-type: none;
     display: flex;
     gap: 40px;
 }
 /*くるっとボタン*/
 /*== ボタン共通設定 */
.btn02 {
     /*背景の基点とするためrelativeを指定*/
     position: relative;
     /*ボタンの形状*/
     display: inline-block;
     width:100%;
     max-width: 250px;
     height: 50px;
     line-height: 50px;
     text-align: center;
     outline: none;
 }
 
 /*ボタン内側の設定*/
 .btn02 span {
     display: block;
     position: absolute;
     width: 100%;
     height: 100%;
     border: 1px solid #333;
     /* 重なりを3Dで表示 */
     transform-style: preserve-3d;
     /* アニメーションの設定 数字が少なくなるほど早く回転 */
     transition: 0.5s;
 }
 
 /*== くるっと回転（奥に） */
 
 /* 回転前 */
 .rotateback span:nth-child(1) {
     background: #fff;
     color: #000;
     transform: rotateX(0deg);/*はじめは回転なし*/
     transform-origin: 0 50%  -25px;/* 回転する起点 */
 }
 
 /*hoverをした後の形状*/
 .rotateback:hover span:nth-child(1) {
     transform: rotateX(90deg);/* X軸に90度回転 */
 }
 
 /* 回転後 */
 .rotateback span:nth-child(2) {
     background: #000;
     color: #fff;
     transform: rotateX(-90deg);/*はじめはX軸に-90度回転*/
     transform-origin: 0 50%  -25px;/* 回転する起点 */
 }
 
 /*hoverをした後の形状*/
 .rotateback:hover span:nth-child(2) {
     transform: rotateX(0deg);/* X軸に0度回転 */
 }
 /*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
    background-color: #ccc;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: inline-block;
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;

}
 /*メニュー設定*/
.drawer{
    list-style-type: none;
    text-align: center;
    font-size: 24px;
}
.drawer h2 img {
    margin: 0px auto 0px auto;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px auto 0px auto;
}
.image-button{
    zoom: 75%;
}
th.photo{
zoom: 45%;
}
/*== ボタン共通設定 */
.btn{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #555;/* ボーダーの色と太さ */
    padding: 10px 30px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

      /*== ボタン共通設定 */
.btn{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #555;/* ボーダーの色と太さ */
    padding: 10px 30px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#333;
}

.btn:hover span{
	color:#fff;
}

/*== 背景が流れる（上から下） */
.bgtop:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top:0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
 	background:  #333;/*背景色*/
 	width: 100%;
	height: 0;
    /*アニメーション*/
 	transition:.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}

/*hoverした際の形状*/
.bgtop:hover:before{
	 height: 100%;	
 	 background-color: #333;
}
.copyb{
    font-size: 50%;
}
.copys{
    font-size: 150%;
}
.copyn{
    font-size: 80%;
}

.menupage{
    font-size: 50%;
}

/*ニュース1行の周りの余白*/
.slider a{
    display: block;
    background:#fff;
    padding:20px;
}

/*日付*/
.slider span {
    display:inline-block;
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}

/*768px以下の見た目 ※1行のままにしたい場合は不要　*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider span {
        display:block;
		padding-bottom:10px;
    }
}
