@charset "UTF-8";

/* 共通部分 */
html {
    font-size: 100%;
    scroll-behavior: smooth;

}

body {
    line-height: 1.7;
    background-image: url(../images/grass01.jpg);
    background-color: rgb(16, 94, 52);
    background-repeat: repeat;
    /* background-color: rgb(16, 94, 52); */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;

    font-family: 'Zen Maru Gothic', sans-serif;
    /* height: 100%; */
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* element.style {
    overflow: scroll;
}

iframe {
    overflow: scroll;
} */


/* HEADER */
header {
    background: rgba(16, 94, 52, 0.9);
    width: 100%;
    height: 155px;
    border-radius: 0 0 30px 30px;
    /* opacity: 0.9; */

}

.logo {
    width: 380px;
    margin: 10px 0 0 30px;
    /* margin-left: 30px;
    margin-top: 10px; */
}

.main-nav {
    display: flex;
    font-size: clamp(0.7rem, 0.25rem + 1.2vw, 1.15rem);
    margin-bottom: 10px;
    list-style: none;
    justify-content: center;
    font-family: 'Kiwi Maru', serif;
}

.main-nav li a {
    transition-duration: 1s;
}

.main-nav li a:hover {
    transform: translateY(-3px);
    display: block;
    transition-duration: 1s;
}


.main-nav li {
    text-align: center;
    border-right: 2px solid #ffffff;
    width: calc(100%/5);

}

.main-nav li:last-of-type {
    border-right: none;
}

.main-nav a {
    color: #fff;
}

.openbtn {
    display: none;
}


/* トップボタン */
.pagetop {
    height: 100px;
    width: 100px;
    position: fixed;
    right: 5px;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 40;
}





/* メイン画面 */

.main-contents {
    width: 100%;
    background-color: rgba(252, 247, 175, 1);
    border-radius: 30px;
    margin: 15px auto;



    padding: 30px 0;
    /* padding-bottom: 30px; */
    /* box-sizing: border-box; */
    /* padding: 35px auto; */
    /* box-sizing: border-box; */
}

.flame {
    display: flex;
    justify-content: space-evenly;
    /* padding-top: 35px; */

    /* padding: 20px 10px 15px 70px; */

    /*  margin: 10px;
    padding: 10px; */
}

.sub-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin: auto 0;
    align-items: center;
    text-align: center;
    line-height: 2.0;
    font-size: clamp(1.25rem, 0.5rem + 2vw, 2rem);
}

.sub-title p {
    animation-name: fade;
    animation-duration: 5s;
    animation-iteration-count: 1;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }


}



.image_area {
    width: 30%;

}

/* .image_area img {    
    filter: contrast(75%);
   
    
} */


.content_01 {
    width: 100%;
    /*  padding: 0px 80px; */
    /* box-sizing: border-box; */

}

/* .line-image{
    margin: 30px 100px 0px 100px;
} */

.box {
    padding: 1em 3em;
    margin: 3em 5em;
    color: #223418;
    background: #fffeef;
    border-top: solid 6px rgb(16, 94, 52);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);
    /* box-sizing: border-box; */
}

.box p {
    margin: 20px auto;
    color: #000000;

}

/* .index-box{
    position: relative;
    background: #fff0cd;
    box-shadow: 0px 0px 0px 5px #fff0cd;
    border: dashed 2px white;
    padding: 0.2em 0.5em;
    color: #454545;
}
.index-box:after{
    position: absolute;
    content: '';
    right: -7px;
    top: -7px;
    border-width: 0 15px 15px 0;
    border-style: solid;
    border-color: #ffdb88 #fff #ffdb88;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}
.index-box p {
    margin: 0; 
    padding: 0;
} */



.index-box {
    padding: 1em 3em;
    margin: 2em 5em;
    background: #e2e39c;
    border: dashed 2px #737446;
}

.index-box ul {
    margin-top: 15px;
}



.link-nav {
    list-style: none;
    /* padding-left: 20px; */
}

.link-nav p {
    margin: 0;
    padding: 0;
}

.link-nav a {
    color: #000000;
    font-size: 1.25rem;
}

.link-nav img {
    width: 17px;
    margin: 0 10px 0 0;
}

.link-button {
    width: 12px;
}

/* .btnripple2 {
    position: relative;
    width: 20%;
    color: #ccc;
    outline: none;
    transition: all .5s;

}




.btnripple2::after,
.btnripple2::before {
    content: '';
    position: absolute;
    left: 150px;
    top: -30px;
    border: 5px solid #ffffff;
    width: 10%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    filter: blur(5px);

    opacity: 1;
    animation: 3s circleanime linear infinite;
}




@keyframes circleanime {
    0% {
        transform: scale(0.68);
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
} */


footer {
    display: flex;
    flex-direction: column;

    background-color: rgb(16, 94, 52, 0.9);
    width: 100%;
    height: auto;
    border-radius: 30px 30px 0 0;
    padding: 15px 50px 0 50px;
    /* opacity: 0.9; */


    z-index: auto;



}



.common_footer {
    color: #ffffff;

}

.common_footer p {
    text-align: center;

}

/* .footer_nav {
    display: flex;
    flex-flow: column wrap;
    height: 100px;



} */

.footer_nav ul {
    display: flex;
    flex-flow: column wrap;
    height: 100px;
    width: 400px;

    list-style: none;
    color: #fff;
    /* margin-top: 15px;
    margin-right: 60px; */
    margin: 15px 60px 30px 0;

}

.footer_nav a {
    color: #fff;
}





/* page01 */
.box ul {
    padding-left: 20px;
}

.tableauPlaceholder {
    max-width: 100%;
}

.yellow-underline {
    text-decoration: underline solid rgb(255, 255, 0) 2px;
}

.quote {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

.tableauPlaceholder {
    margin: 10px auto;
}

.box a {
    color: #000;
    font-size: 1.15rem;
}

/* .box h2 {
    margin-top: 50px;
} */

/* page02 */
.content_02 p {
    text-align: right;
    margin-top: 0;
    font-size: 1rem;
}

.content_02 a {
    color: #223418;
    font-size: 1.15rem;


}

.link-contents {
    margin-top: 25px;
}

/* .content_02 h3 {
    margin-top: 10px;

}
 */

/* page03 */
.grid {
    display: grid;
    gap: 3vw;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 6%;
}

.item img {
    border-radius: 15px;
}

.index-box03 img {
    width: 15px;

}

.index-box03 h1 {
    width: 80%;
    margin: 15px auto 0 auto;
    text-align: center;
    position: relative;
    padding: 1rem;
    outline: 2px dashed #353535;
    outline-offset: -8px;
    border-radius: 10px;
    background-color: #D3E7B4;
    color: #333;
    font-weight: bold;
    font-size: clamp(1.25rem, 0.5rem + 2vw, 2rem);
    text-align: center;
}

.index-box03 h1:before {
    position: absolute;
    top: 100%;
    left: 30px;
    height: 0;
    width: 0;
    border-style: solid;
    border-color: transparent;
    border-top-color: #D3E7B4;
    border-width: 8px;
    content: "";



}

/* span.a {
    font-size: 4vw;
} */

/* .image {
	position: relative;
}

.image::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	border-image-source: repeating-linear-gradient(45deg, #fff, #fff 3px, rgba(0 0 0 / 0) 0, rgba(0 0 0 / 0) 6px);
	border-image-slice: 20;
	border-image-repeat: round;
	border-style: solid;
	border-width: 20px;
} */


/* page04 */
.link-contents-hogoka {
    margin-top: 0px;
}

.hogoka p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.hogoka h3 {
    margin-top: 15px;
}

.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #2c2c2f;
    background: #e0fbc9;
    /*背景色*/
}

.box2 p {
    margin: 0;
    padding: 0;
}

a {
    word-wrap: break-word;
}


/* タブレット版 */
@media(max-width: 960px) {
    .index-box {
        margin: 2em 3em;
    }

    .box {
        padding: 1em 3em;
        margin: 3em 3em;

    }




}





/* モバイル版 */
@media(max-width:600px) {

    /* HEADER */
    header {
        width: 100%;
        height: 80%;

    }

    .logo {
        width: 75%;
        margin: 10px 0 0 10px;

    }

    .main-nav {

        flex-direction: column;
        justify-content: center;
        font-size: 1.15rem;
        height: 100%;
        align-items: center;
        list-style: none;
        font-family: 'Kiwi Maru', serif;
        line-height: 2.5;
    }

    .main-nav li a {
        transition-duration: 1s;
    }

    .main-nav li a:hover {
        transform: none;
        display: block;
        transition-duration: 1s;
    }


    .main-nav li {
        text-align: center;
        border-right: none;
        width: 100%;


    }

    .main-nav li:last-of-type {
        border-right: none;
    }

    .main-nav a {
        color: #000000;
        font-size: 1.5rem;

    }




    /*  .main-nav {
        font-size: 1rem;
        margin-top: 5px;
        display: flex;
        justify-content: left;
        overflow-x: auto;

    }

    

    /* MAIN */


    .main-contents {
        width: 100%;
        background-color: rgba(255, 255, 224, 0);
        /* border-radius: 30px; */
        margin-top: 15px;
        padding: 0;

    }

    .flame p {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    /* .main-contents img {
        width: 120%;
    } */


    .flame {
        flex-direction: column-reverse;
        align-items: center;
        background-color: #fffccd;
        border-radius: 30px;
        margin-bottom: 15px;
        padding: 30px 0 20px 0;
    }

    .image_area {
        width: 60%;
        margin-top: 20px;

    }

    .index-box {
        padding: 15px 30px;
        margin: 0;
        background: #e2e39c;
        border: dashed 2px #737446;
        /* border-radius: 10px; */
    }

    .index-box ul {
        margin-top: 15px;
        font-size: 10px;
    }

    .link-nav {
        list-style: none;

        /* padding-left: 20px; */
    }

    .link-nav p {

        margin: 0;
        padding: 0;
    }

    .link-nav a {
        color: #000000;
        font-size: 1.15rem;
    }

    .link-nav img {
        width: 15px;
        margin: 0 10px 0 0;
    }


    .box {
        padding: 15px 30px;
        margin: 15px 0 0 0;
        color: #223418;
        background: #fffeef;
        border-top: solid 6px #e2e39c;
        box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);
        border-radius: 20px;

    }

    .box p {
        margin: 20px auto;
        color: #000000;
    }

    .box h1 {
        font-size: 1.5rem;
    }


    /* オープンボタン */
    .openbtn {
        display: block;
        position: fixed;
        top: 30px;
        right: 30px;
        background: #c2a828;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 50%;

        z-index: 60;
    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #000;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    /*activeクラスが付与されると線が回転して×に*/

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
        /*真ん中の線は透過*/
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }


    /* ヘッダーメニューを外側に配置 */
    nav {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        /*  background-color: rgba(255, 255, 255, 1); */
        /* background-color: #fffccd; */
        background-color: #EEF0F4;


        z-index: 50;


        transition: right 1.5s;
    }

    nav.open {
        right: 0;
        transition: right 1s;
    }

    nav ul {
        width: 200px;


        margin: 0 auto;

    }


    nav ul li {
        font-size: 1.5rem;
        border-bottom: #000 dotted 2px;





    }


    /* page03 */
    .grid {
        grid-template-columns: 1fr;
    }




    footer {
        padding: 15px 60px 0 60px;


    }

    .common_footer {
        color: #ffffff;


    }

    .common_footer p {
        display: flex;
        justify-content: center;
        text-align: center;


    }

    .footer_nav {

        flex-wrap: nowrap;

    }

    .footer_nav ul {
        width: 100%;
        height: auto;
        list-style: none;
        color: #fff;
        /* margin-top: 15px;
        margin-right: 60px; */
        margin: 15px 60px 30px 0;


    }


    .footer_nav a {
        color: #fff;
        font-size: 85%;
    }


    /* .footer_nav li { */
    /*     */
    /*     */
    /* } */












}