
@charset "utf-8";
@font-face {
	font-family: 'MyFont';
	src: url(../font/bokutachi.otf);
}

html{
    /* overflow-x: hidden; */
}
body { 
    color: #333333;
    min-width: 1000px;
    letter-spacing: 2px;
    font-family: "MyFont", "遊ゴシック", "メイリオ", "Meiryo", "ヒラギノ角ゴ　ProN", "Hiragino kaku Gothic ProN", sans-serif;
}
hr{
    margin: 10px 0 0;
}
input{
    outline: 0;    
}
/* ボタンのデザイン初期化 */
.f-style{
    border: none;
    background-color: inherit;
    cursor: pointer;
    display: inline-block;  
    letter-spacing: 10px;
}

.smalltitle{
    border-left: 8px solid #619c18;
    padding-left: 5px;
    padding-bottom: 5px;
}

/* ページ */
#page { 
    width: 100%; 
    padding-bottom: 1px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fafafa;
    background-image: url(../img/b001.gif);
}

/* ページヘッダー */
#pageHead{
    padding: 50px 0;
    position: relative;
}
#pageHead #siteTitle {
    font-size: 30px;
    line-height: 1.433;
    margin: 0 auto;
    padding: 5px 5px;
    letter-spacing: 10px;
    text-align: center;
    display: block;
    color: inherit;
    text-decoration: none;
    width: 620px;
}

/* ページボディ */
#pageBody {
    width: 98%;
    margin: 15px auto 0;
    max-width: 980px;
}

/* ----- メインカラム内の装飾 ----- */

/* 見出し */
#pageBody .pageTitle { 
    background-color: white;
    font-size: 26px; 
    border-bottom: 2px solid #619c18;
    border-left: 10px solid #619c18;
    padding: 5px 15px;
    line-height: 1.231;
    margin-top: 0;
    letter-spacing: 5px;
    position: relative;
}

.return-btn{
    width: auto;
    position: absolute;
    font-size: 18px;
    right: 0;
    bottom: 0;
    z-index: 0;  
    border-left: 2px solid #dcdcdc;
    border-right: 2px solid #dcdcdc;      
}
.return-btn:hover{
    z-index: 1;
}

.return-btn2{
    width: auto;
    position: absolute;
    font-size: 18px;    
    right: 120px;
    bottom: 0;
    z-index: 0;    
}

.return-btn2:hover{
    z-index: 1;
}

/* ======== 検索ページ ======== */
/* --- 説明 --- */
#description{
    padding: 0 10px;
    margin: 0;
    font: 18px;
    line-height: 1.333;
}
#description ol{
    margin: 0;
}
#description li{
    margin: 10px;
}
#description li:first-child{
    margin-top: 5px;
}
/* --- フォーム --- */
#filter{
    margin-bottom: 0;
}

/* テーブル */
.item1{
    width: 48%;
    float: left;
}
.item2{
    width: 48%;    
    float: right;
}

.item1 td, 
.item1 th,
.item2 td, 
.item2 th{
    font-size: 14px;
    padding: 0 3px;
    height: 62px;            
}

.item1 th,
.item2 th{
    width: 150px;
}

#newgraduSelect-text,
#raischildSelect-text,
#seniorSelect-text{
    margin: 0 auto;
}

.top-btn{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    z-index: 2;
}
.top-btn-hidden{
    display: none; 
}

/* --- セレクトボックス --- */
.select-box1{ 
    outline: 0;
    border-left: 2px solid /*#dcdcdc*/ #619c18;
    border-right: 2px solid /*#dcdcdc*/ #619c18;
    width: 48%;
    padding: 10px calc(22% - 128px);   
}
.select-box1:hover{
    background-color: /*#999999*/ #b2d97e;
}



.select-box2{
    outline: 0;
    border-left: 2px solid /*#dcdcdc*/ #619c18;
    border-right: 2px solid /*#dcdcdc*/ #619c18;
    width: 48%;   
    padding: 10px calc(22% - 22px);
}

.select-box2:hover{
    background-color: /*#999999*/ #b2d97e;
}

/* --- スライドバー --- */
.slide input{
    display: none;
}
.slide label{
    display: block;
    float: left;
    cursor: pointer;
    margin: 0;
    margin-bottom:15px; 
    padding: 10px calc(10% - 1px);
    border-right: 1px solid #abb2b7;
    background: #bdc3c7;
    color: #555e64;
    font-size: 14px;
    text-align: center;
    line-height: 1;
    transition: .2s;
}
.slide label:first-of-type{
    border-radius: 3px 0 0 3px;
}
.slide label:last-of-type{
    border-right: 0px;
    border-radius: 0 3px 3px 0;
}
.slide input[type="radio"]:checked + label {
    background-color: #FFCC33;
    color: #fff;
}
  
/* --- 説明 --- */
#newgraduSelect-text,
#raischildSelect-text,
#seniorSelect-text{
    margin-top: 10px;
}


/* --- フォームボタン --- */
.f-btn-box{
    text-align: right;
}

.f-btn{
    width: 50px;
    height: 50px;
    margin: 0 5px;
    font-size: 14px;
    line-height: 1.214;
    border-radius: 10px;
}

.serch{
    padding: 10px;
    outline: 0;
    background-image: url(../img/testicon1.png);
    background-repeat: no-repeat;
	background-size: cover;    
    background-position: center center;
    z-index: 1;
}

.serch:hover{
    transform: translate(-10%,-10%);    
    background-repeat: no-repeat;
	background-size: cover;    
    background-position: center center;
    z-index: 2;
}

input[type=reset]{
    padding: 10px;
    outline: 0;
    background-image: url(../img/testicon2.png);
    background-repeat: no-repeat;
	background-size: cover;    
    background-position: center center;
    z-index: 1;
}

input[type=reset]:hover{
    transform: translate(-10%,-10%);  
    background-repeat: no-repeat; 
	background-size: cover;    
    background-position: center center;
    z-index: 2;
}

/* --- おすすめスポット --- */
.goodspot-item{
    margin: 10px auto;
}
.goodspot-box{
    width: 590px;
    margin: 0 auto;
}
.goodspot-box2{
    width: 500px;
    margin: 0 auto;
}
.goodspot-box .goodspot-text{
    height: 154px;
    width: 380px;
    position: relative;
}
.goodspot-box2 .goodspot-text{
    height: 79px;
    width: 360px;
    position: relative;
}
.point{
    color: #ffd700;
}

.goodspot-box .goodspot-text .spot{
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size: 36px;
    line-height: 1.166;
    width: 350px;
}

.goodspot-box2 .goodspot-text .spot{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1.2;
}

.goodspot-box2 .goodspot-text .spot .text{
    display: inline-block;
    width: 210px;
}

.goodspot-box2 .goodspot-text .spot .point{
    display: inline-block;
    width: 130px;
}

.goodspot-img img{
    border: 2px solid #dcdcdc;
    border-radius: 10px; 
    vertical-align: middle;    
}

/* --- ギミック --- */
#goodspot label{
    display: block;
    cursor: pointer;
    z-index: 1;    
}
#goodspot input{
    display: none;
}
#goodspot .hidden{
    transition: max-height 1s;        
    max-height: 0;
    width: 590px;    
    margin: 0 auto;
    overflow: hidden;  
}
#goodspot input[type=radio]:checked ~ .hidden{
    max-height: 100vh;
}

#goodspot .hidden-text{
    font-size: 14px;
    line-height: 1.429;
    padding: 10px 0;
    text-align: left;
}
/* ======== 市町村一覧ページ ======== */
#pref_select{
    text-align: center;
    cursor: default;
}
.pref-btn{
    width: 40%;
    font-size: 30px;
    padding: 50px 0;
    margin: 10px;
    border: 1px solid #dcdcdc;
    background-color: white;
    border-radius: 10px;
}
.pref-btn:hover{
    background-color: #FFCC33;    
}

#Tokushima_select{
    text-align: center;  
    cursor: default;      
}
#Kagawa_select{
    text-align: center;        
    cursor: default;
}
#Ehime_select{
    text-align: center;  
    cursor: default;              
}
#Kouchi_select{
    text-align: center;   
    cursor: default;                 
}
.city-btn{
    width: 25%;
    font-size: 20px;
    padding: 25px 0;
    margin: 10px;
    border: 1px solid #dcdcdc;
    background-color: white;
    border-radius: 10px;
}
.city-btn:hover{
    background-color: #FFCC33;    
}
.pref-return-btn{
    padding: 10px;
    margin: 0 10px 10px;
    border: 1px solid #dcdcdc;
    background: #fff;
}

/* ======== 詳細ページ ======== */
.detail-text{
    width: calc(100% - 310px);
    font-size: 16px;
    line-height: 1.666;
}
.detail-text h2{
    display: inline-block;
    font-size: 36px;
    line-height: 1.166;
    margin-top: 0;
    margin-bottom: 10px;
    color: #666666;
}

.detail-box1 img{
    border-radius: 20px;
}

.city-image{
    text-align: center;
}

.city-image img{
    border-radius: 10px;
}

#detail-data{
    text-align: center;
}

.data{
    position: relative;
    display: inline-block;
    width: 30%;
}

.data-box{
    display: inline-block;
    width: 80%;
    padding: 10px;
    margin: 5px 10px;
    background-color:white; 
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    text-align: center;
}

.data-box hr{
    margin: 10px 0;
}

.add-info{
    font-size: 14px;
    display: none;
    width: 100%;
    position: absolute;
    top: -55px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
    padding: 10px;
    border-radius: 5px;
    background: #fafafa;    
    border: 1px solid;    
}

.add-info::before{
    position: absolute;
	content: "";
    bottom: -7px;
    left: 50px;    
	width: 10px;
	height: 10px;
	border-right: 1px solid;
	border-top: 1px solid;
	background-color: #fafafa;
    z-index: 2;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.add-info2{
    font-size: 14px;
    display: none;
    width: 100%;
    position: absolute;
    top: -73px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
    padding: 10px;
    border-radius: 5px;
    background: #fafafa;    
    border: 1px solid;    
}

.add-info2::before{
    position: absolute;
	content: "";
    bottom: -7px;
    left: 50px;    
	width: 10px;
	height: 10px;
	border-right: 1px solid;
	border-top: 1px solid;
	background-color: #fafafa;
    z-index: 2;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.data-box:hover{
    border: 1px solid #619c18;    
}

.data-box:hover + .add-info{
    display: block;
}

.data-box:hover + .add-info2{
    display: block;
}

.reference{
    margin: 15px auto 30px;
    text-align: center;
}
.note{
    line-height: 1.5em;
}

/* グラフ */
.canvas-box{
    position: relative;
    width: 50%;
    height: 25vw;
    min-height: 260px;
    max-height: 245px;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: #dcdcdc 1px solid;
}

/* --- 掲示板 --- */
#talk h3{
    margin: 10px 0;
}

/* フォーム2 */
#form-detail{
    position: relative;
    /* width: 90%; */
    height: 200px;
    margin: 0 auto;
    padding: 10px;
}

.f-textarea1{
    outline: 0;
    width: calc(100% - 20px);
    height: 30px;
    line-height: 40px;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px;
}

.f-textarea2{
    width: calc(100% - 20px);
    height: calc(100% - 71px);
    outline: 0;
    border: none;    
    padding: 10px;
    resize: none;
}

#form-detail .f-btn{
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.send{
    padding: 10px;
    outline: 0;
    background-image: url(../img/submit.png);
    background-repeat: no-repeat;
	background-size: cover;    
    background-position: center center;
    z-index: 1;
}

.send:hover{
    transform: translate(-10%,-10%);    
    background-repeat: no-repeat;
	background-size: cover;    
    background-position: center center;
    z-index: 2;
}

/* 吹き出し */
.entry-content{
    max-height: calc(100vh - 280px);
    min-height: 350px;
    overflow-y: scroll;
}

.entry-content .r-fuki {
	position: relative;
	width: 80%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 20px;
	border-radius: 6px;
	border: 2px solid #999;
	box-shadow: 1px 1px 5px #aaa;
	background-color: #fff;
	z-index: 1;
}
.entry-content .r-fuki {
	margin: 20px 0 40px 19%;
}
.entry-content .r-fuki::before {
	position: absolute;
	content: "";
	top: 16px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
	background-color: #fff;
	z-index: 2;
}
.entry-content .r-fuki::before {
	left: -7px;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}
.entry-content .r-fuki::after {
	position: absolute;
	content: "";
	width: 60px;
	height: 60px;
	top: 0;
	border-radius: 40px;
	border: 3px solid #fff;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: 1px 1px 5px #aaa;
}
.entry-content .r-fuki::after {
	left: -110px;
}
@media screen and (max-width: 620px) {
	.entry-content .r-fuki {
		width: 70%
	}
	.entry-content .r-fuki {
		margin-left: 30%;
	}
}
@media screen and (max-width: 478px) {
	.entry-content .r-fuki::after {
		width: 60px;
		height: 60px;
		border-radius: 30px;
	}
	.entry-content .r-fuki::after {
		left: -84px;
	}
}
.chara::after {
    background-image:url(../img/human.jpeg);
}
/* ▲吹き出しのCSS▲　*/

.entry-content .manager{
    background-color: #FFFF99;
}
.entry-content .manager::before{
    background-color: #FFFF99;
}
.entry-content hr{
    margin-bottom: 5px;
}
/* ======== 出典一覧ページ ======== */
#reference-table{
    border: 1px solid #dcdcdc;
    border-collapse: collapse;
    margin: 10px auto 20px;
    width: 90%;
    font-size: 18px;
    letter-spacing: 10px;
}

#reference-table td,
#reference-table th{
    border: 1px solid #dcdcdc;  
    text-align: center;  
    padding-top:7px;
    padding-bottom: 7px; 
}

#reference-table th{
    background-color: #b2d97e;
}

#reference-table td{
    background-color: #fafafa;
    letter-spacing: 3px;
}

#reference-table td:nth-child(3n-2){
    width: 200px;
}

#reference-table td:nth-child(3n-1){
    line-height: 1.333;
    padding: 10px;
    text-align: left;
    word-break: break-all;
}
#reference-table td:nth-child(3n){
    width: 160px;
}
/* ======== お問い合わせページ ======== */
.contact{
    width: 100%;
    text-align: center;
}

.contact-tb{
    margin: 0 auto 10px;
}

.contact-tb th{
    vertical-align: top;
    padding-top: 20px;
    width: 200px;
}

.f-btn2{
    display: inline-block;
    width: 200px;
    height: 50px;
    margin: 0 5px;
    font-size: 14px;
    line-height: 1.214;
    border: 1px solid #999999;
    border-radius: 10px;
}

.contact-text{
    border-bottom: 1px solid #dcdcdc;
    background-color: white;
    margin: 10px;
    padding: 10px;
    width: 400px;
    cursor: text;
    letter-spacing: 1px;            
}

.contact-text2{
    border-bottom: 1px solid #dcdcdc;    
    background-color: white;
    margin: 10px;
    padding: 10px;
    width: 400px;
    outline: 0;
    resize: none;    
    cursor: text;
    letter-spacing: 1px;        
}

.contact-send{
    border: 1px solid #dcdcdc;    
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
    width: 90%;
    max-width: 650px;
}
/* ----- ボタン ----- */
/* aタグボタン定義 */
.btn-a {
    text-align: center;
    color: inherit;
    display: block;
    padding: 11px 10px;
    text-decoration: none;
}
/* divボタン定義 */
.btn-div{
    width: 100%;
    text-align: center;
    padding: 11px 0;
}

/* --- ボタンの形 --- */
/* btn1 */
.btn1{
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background-color: white;
    color: #666666;
}
.btn1:hover{
    border: 1px solid #dcdcdc;
    background-color: #b2d97e; 
}

/* btn2 */
.btn2{
    background-color:white; 
    border: 1px solid #dcdcdc;    
    border-radius: 10px;
}
.btn2:hover{
    border-color: #999999;
}

/* btn3 */
.btn3{
    border: 1px solid;
    border-radius: 50%;
    background-color: white;
    color: #666666;
}
.btn3:hover{
    color: #fff;
    background-color: #666666; 
}

.btn4{
    border-radius: 5px;
    color: #666666;
}
.btn4:hover{
    background-color: #FFCC33;    
}

.btn5{
    border-radius: 5px;
    color: #666666;
}
.btn5:hover{
    background-color: #b2d97e;    
}

/* 自治体HPへのボタン */
.to-hp-btn{
    display: inline-block;
    background-color: #fafafa;
    border: 1px solid #dcdcdc;
    border-radius: 10px; 
    color: #666666; 
    font-size: 14px;    
    padding: 5px 30px;  
}
.to-hp-btn:hover{
    background-color: #b2d97e;    
}

/* 出典一覧へのボタン */
.reference-btn{
    display: inline-block;
    background-color: #fafafa;
    border: 1px solid #dcdcdc;
    border-radius: 10px; 
    color: #666666; 
    font-size: 14px;    
    padding: 7px 30px;   
    margin-top: 10px; 
}
.reference-btn:hover{
    background-color: #b2d97e; 
}

/* 出典へのリンクボタン */
.to-reference-btn{
    text-align: left;
    padding: 0;
}

.to-reference-btn:hover{
    opacity: 0.7;
}

.info-btn{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center
}
/* ----- boxサイズ ----- */
.half-box{
    width: 50%;
    display: inline-block;
}

/* ----- 配置場所 ----- */
/* --- clearfix --- */
.clearfix:after {
    clear: both;
    content: '';
    display: block;
}

.left{
    float: left;
}

.right{
    float: right;
}

/* アニメーション */
.animate0{
    opacity: 0;
    animation: RightToLeft 1s ease 0s 1 forwards;
    z-index: 1;
}
.animate1{
    opacity: 0;
    animation: RightToLeft 1s ease 0.25s 1 forwards;
    z-index: 1;
}
.animate2{
    opacity: 0;
    animation: RightToLeft 1s ease 0.5s 1 forwards;
    z-index: 1;
}
.animate3{
    opacity: 0;
    animation: RightToLeft 0.5s ease 1.0s 1 forwards;    
    z-index: 1;
}
.animate4{
    opacity: 0;
    animation: RightToLeft 0.5s ease 1.25s 1 forwards;    
    z-index: 1;
}
.animate5{
    opacity: 0;
    animation: RightToLeft 0.5s ease 1.5s 1 forwards;    
    z-index: 1;
}
.animate6{
    opacity: 0;
    animation: RightToLeft 0.5s ease 1.75s 1 forwards;    
    z-index: 1;
}
.animate7{
    opacity: 0;
    animation: RightToLeft 0.5s ease 2.0s 1 forwards;    
    z-index: 1;
}
.animate8{
    opacity: 0;
    animation: RightToLeft 0.5s ease 2.25s 1 forwards;    
    z-index: 1;
}
.animate9{
    opacity: 0;
    animation: RightToLeft 0.5s ease 2.5s 1 forwards;    
    z-index: 1;
}
@keyframes RightToLeft {
    0% {
        /* opacity: 0; 透明 */
        transform: translateY(100%); /*X軸方向に50px*/
    }
    100% {
        opacity: 1; /*不透明*/
        transform: translateY(0);
    }
}
@keyframes smalltolarge {
    0%{
        height: 0;
    }
    100%{
        height: auto;
    }
}
@keyframes largetosmall {
    0%{
        height: auto;
    }
    100%{
        height: 0;
    }
}