/******スクロールボックス用********/
.srcollbar_box {
    overflow:auto;
    width:620px;
    min-height:480px;
    max-height:600px;
    padding:5px;
    border:1px solid #000;
    background-color:#F9F9F9;
    color:#000;
    font-size:16px;
}
.srcollbox_title{
    border:1px solid #000;
    padding:5px;
    width:620px;
    font-weight:bold;
    font-size:14px;
    background-color:#229;
    color:#fff;
    background: linear-gradient(#229, #44C); 
}

/******背景色********/
.bg_pattern {
  background-color: #adf;
  background-image: linear-gradient(45deg, #8af 25%, transparent 25%, transparent 75%, #9bf 75%, #acf), linear-gradient(-45deg, #acf 25%, transparent 25%, transparent 75%, #9bf 75%, #8af);
  background-size: 48px 48px;
}

/******影文字******/
.sky_string {
  color: white;
  text-shadow: 0px 3px 0px #b2a98f,
               0px 14px 10px rgba(0,0,0,0.15),
               0px 24px 2px rgba(0,0,0,0.1),
               0px 34px 30px rgba(0,0,0,0.1);
}
/******太文字******/
.hard_string{
    font-family: Bodoni serif;
    text-align: center;
    text-transform: uppercase;
    text-shadow: #2c2c2c 3px 3px 5px;
}

/*****二重線******/
.line_double {
border-bottom: double 5px #FFC778;
/*線の種類（二重線）太さ 色*/
}

/******角丸ボタン******/
.square_btn {
	
    position: relative;
    display: inline-block;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #FFF;
    background: #fd9535;/*色*/
    border-radius: 4px;/*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
    font-weight: bold;
    border: solid 2px #d27d00;/*線色*/
}

.square_btn:active {/*押したとき*/
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

/*****ヘッダー用*******/

#nav_bg{
	width: 640px;    /*横幅の指定*/
	background-color: #adf;
	background: -moz-linear-gradient(top, #99F, #33A);
	background: -webkit-linear-gradient(top, #99F, #33A);
	background: linear-gradient(to bottom, #99F, #33A);
}
nav{
    width: 640px;    /*横幅の指定*/
    border-top: 1px solid orange;   /*上部の線の色を指定*/
    border-bottom: 1px solid orange;    /*下部の線の色を指定*/
    margin-bottom: 0px; /**/
    overflow: hidden;   /*おまじない*/
}
nav ul{
    width: 80%; /*横幅の指定*/
    margin-left: 10%;   /*左端から10%右側に動かす*/
    padding: 0px;   /*左端から10%右側に動かす*/
}
nav li{
	padding: 0px;   /*左端から20%右側に動かす*/
    width: calc(25% - 2px); /*横幅の指定（線の分をマイナスする）*/
    border-left: 1px solid orange;  /*線を描く*/
    text-align: center; /*文字を中央に*/
    float: left;    /*左から並べる*/

    
}
nav li:last-child{
    border-right: 1px solid orange; /*li要素の最後の物は右側に線を描く*/
}
nav a{
    display: block; /*1つのli全体にリンクを有効にする*/
    text-decoration: none;  /*ブラウザ標準のリンク装飾をオフに*/
    color:#f1f131;  /*文字色の変更*/
    font-size: 110%;    /*フォントサイズの指定*/
    letter-spacing: 5px;    /*文字と文字の間隔をあける*/
    font-weight: 400;   /*文字の太さを調整*/
    line-height: 45px;  /*行間の指定（ナビボタンの高さ指定）*/
    
        
    font-family: Bodoni serif;
    text-align: center;
    text-transform: uppercase;
    text-shadow: #2c2c2c 3px 3px 5px;
    
}
nav a:hover{
    background-color: orange;   /*背景色の指定*/
    color: #fff;    /*文字色の変更*/
    transition: 0.5s;   /*ホバー時の動きをなめらかにする*/
}
ul {
  list-style: none;
}

/*ヘッダー強調*/
header h1{
    font-size:120%; /*フォントサイズの調整*/
    color:#313131; /*文字色の変更*/
    padding-top: 10px; /*文字上部に余白*/
    padding-bottom: 10px; /*文字下部に余白*/
    padding-left: 20px; /*文字左側に余白*/
    padding-right: 20px; /*文字右側に余白*/
    border:1px solid #313131; /*文字の周りに線を描く*/
    border-radius: 5px; /*線の角に丸みを付ける*/
    letter-spacing: 3px; /*文字と文字の間隔をあける*/
    font-weight:400; /*文字の太さの変更*/
}

.load-error {
    box-sizing: border-box;
    width: 640px;
    padding: 20px;
    border: 1px solid #cc7a00;
    background: #fff7e6;
    color: #402000;
    text-align: center;
}

.header-mascot {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 138px 8px 0 0;
}

.header-mascot img {
    display: block;
    width: 64px;
    height: 64px;
}

.dog-speech {
    position: relative;
    margin-top: 3px;
    padding: 3px 7px;
    border: 1px solid #333;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
}

.dog-speech::before {
    position: absolute;
    top: -6px;
    right: 16px;
    width: 9px;
    height: 9px;
    border-top: 1px solid #333;
    border-left: 1px solid #333;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}
