@charset "utf-8";
/* CSS Document */

body {
	background-color: #F1F1F1;
}
img {
	width: 100%;
}



h1 {
font-family: 'Staatliches', cursive;
    font-size: 5rem;
    text-align: center;
    line-height: 1;
	
}

h2 {
    text-align: center;
    font-size: 3em;
}




#content-wrapper {
	margin: 100px auto;
	max-width: 1000px;
}





.introduction {
    background-color: #71899d;
    padding: 100px 0;
}



.introduction_inner {
    max-width: 1200px;
    margin: auto;
}



.intro_image {
    margin-bottom: 50px;
}




.intro_text p {
    font-size: 1.2rem;
    color: #FFF;
    margin: 3rem 1rem;
}


@media (max-width:780px) {
    
    
.introduction {
    background-color: #71899d;
    padding: 80px 0;
}

h1 {
    font-size: 3rem;
    text-align: center;
    line-height: 1;
}

h2 {
    text-align: center;
    font-size: 1.4em;
}


.intro_text p {
    font-size: 1.1rem;
    color: #FFF;
    margin: 3rem 1rem;
}
    
    }

/* 目次 */


.parent {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 40px;
grid-row-gap: 40px;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 2 / 1 / 3 / 2; }
.div5 { grid-area: 2 / 2 / 3 / 3; }
.div6 { grid-area: 2 / 3 / 3 / 4; }



    
    
    
    
    .toc {
    width: 96%;
    margin: auto;
}
    
    
.toc_list {
position: relative;
    border: solid 3px #855714;
    padding: 30px;
}

.toc_title {
position: absolute;
top: -0.75em;
 left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    text-align: center;
    font-size: 1.3rem;
    background-color: #efe9b1;
    line-height: 1;
    font-weight: 600;
	padding: 5px;
	
	
}

.toc_image {
    width: 70%;
    margin: auto;
}

.toc_title_kana {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}


.more_btn {
    margin: auto;
    display: flex;
    align-items: center;
}

.more_btn a {
    margin: auto;
}


@media (max-width:780px) {
    
 .toc_list {
    padding: 30px 0;
}   
    
    
 .toc_title {

    font-size: 1rem;
    background-color: #efe9b1;
}   
    
    
 .btntextchange {
    min-width: 120px;
    padding: 10px;
    font-size: 0.5rem;
}  
    
    }

/*表示するテキストが切り替わる*/
.btntextchange{
    /*テキストの基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	border: 1px solid #555;
	border-radius:25px;
    min-width:210px;
	padding: 20px;
    text-align: center;
	display: inline-block;
    text-decoration: none;
    color: #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s;
}

/*hoverした際の変化*/
.btntextchange:hover{
  background:#333;
  color:#fff;
}

.btntextchange span{
    /*絶対配置でテキストの位置を決める*/
	position: absolute;
	left: 50%;
	top:50%;
    transform:translate(-50%,-50%);
    /*アニメーションの指定*/
    transition: all .5s;
  /*ブロック要素にしてテキスト折り返しなし*/  
	display: block;
	white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2){
	opacity:0;/*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1){
	opacity:0;/*透過0に*/
}

.btntextchange:hover span:nth-child(2){
	opacity:1;/*不透明に*/
}



@media (max-width:780px) {

.parent {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-column-gap: 20px;
grid-row-gap: 20px;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 2 / 1 / 3 / 2; }
.div4 { grid-area: 2 / 2 / 3 / 3; }
.div5 { grid-area: 3 / 1 / 4 / 2; }
.div6 { grid-area: 3 / 2 / 4 / 3; }





.btntextchange{
    /*テキストの基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	border: 1px solid #555;
	border-radius:25px;
    min-width:80px;
	padding: 20px;
    text-align: center;
	display: inline-block;
    text-decoration: none;
    color: #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s;
}

.toc_title_kana {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    font-size: 0.75rem;
    margin-bottom: 5px;
}

}
/* ここまで */


/* コンテンツ */
    
    
    
.content {
    width: 96%;
    margin: auto;
    padding: 10% 0;
}

    .midasi {
	font-family: 'Staatliches', cursive;
    text-align: center;
    font-size: 3em;
    font-weight: 600;
    margin: 1em;
    text-decoration: underline;
    line-height: 2;
}
    
h3.content__title {
    font-family: 'Staatliches', cursive;
    font-size: 3em;
    text-align: center;
    color: #875e5c;
    line-height: 2;
}


h4 {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: -1rem auto 0;
color: #875e5c;
}
    
   .content p {
    font-size: 0.9rem;
    margin: 1rem;
}
    
    
    
.content__link {
    margin: 1em;
}    
    

.content__link li {
    font-size: 0.8rem;
}

.item_list {
    display: block;
    margin: auto;
    padding: 100px 0;
    background-color: #d9e3e3;
}





.item_list_container {
	width: 100%;
	max-width: 1200px;
    margin: auto;
	display: flex;
	flex-wrap: wrap;
	border: solid 4px #FFF;
}
.il_block {
	display: flex;
	flex-wrap: wrap;
	width: 33.33333333333333333%;
	border: solid 4px #FFF;
	background-color: #f1f1f1;
}
.il_block_title {
    display: flex;
    align-items: center;
    background-color: #dbe3e3;
    width: 100%;
    border-bottom: solid 8px #FFF;
    font-size: 1.4rem;
    color: #FFF;
}
.il_block_title p {
	text-align: center;
	width: 100%;
}
.il_picture {
	line-height: 0;
}
.il_text {
	padding: 0px 4em 20px;
	background-color: #f1f1f1;
}
    
    

@media (max-width:779px) {
.il_block {
	display: flex;
	flex-wrap: wrap;
	width: 50%;
	border: solid 4px #FFF;
}
.il_block_title {
	text-align: center;
	width: 100%;
	border-bottom: solid 8px #FFF;
	font-size: 1rem;
	line-height: 1.2;
	color: #FFF;
	height: 4rem;
}


.il_text {
    padding: 10px 1em 20px;
    background-color: #f1f1f1;
}


.il_text p {
    font-size: 0.8rem;
    line-height: 1.75;
}

}
    
.il_block{
	opacity: 0;
}    
    

