@charset "UTF-8";
/* =========================
   Base
========================= */
html {
    font-size: 100%;
}
body {
    font-size: 0.8rem;
    color: #474747;
    background-color: #b2e4e9;
}
img {
    max-width: 100%;
    height: auto;
}
.wrapper {
    max-width: 800px;
    margin: 1rem auto;
    padding: 0 1rem
}
/*--------------hero--------------------*/
.hero {
    background-image: url("../img/img.png");
    background-size: cover;
    background-color: #fff;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-end;
    padding: 1rem 0;
    margin: auto;
}
.hero img, .main_text img {
    opacity: 0;
    animation: fadeIn 2.5s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.mini {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}
.photo {
    width: 50%;
	text-align: center
}
.title {
    width: 50%
}
.main_text {
    background-image: url("../img/dot.png");
    background-color: #fff;
    background-size: cover;
    margin-top: 0;
    margin-bottom: 0;
    background-repeat: repeat-x;
    background-position: center;
    text-align: center;
}
.main_text img {
    max-width: 300px
}
/*--------------main--------------------*/
h1 {
    background-image: url("../img/line.png");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: center;
    padding: 2rem;
}
h2, h3 {
    text-align: center;
}
/*--------------section--------------------*/
section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(250, 250, 250, 0.3);
    border-radius: 20px;
}
p.underline {
    text-align: center;
}
.box {
    display: flex;
    gap: 1rem;
}
.box_photo {
    width: 50%;
}
.box_text {
    width: 50%;
}
.box_text p {
    margin: 1rem 0;
    text-align: justify;
}
.btn {
    list-style: none;
    margin: 1rem 0;
}
.btn a {
    display: inline-block;
    width: 6rem;
    text-align: center;
    text-decoration: none;
    line-height: 1rem;
    border-radius: 20px;
    padding: 0.2rem 1rem;
    color: #fff;
    background-color: #5ba48a;
    white-space: nowrap;
}
/*--------------menu--------------------*/
.child {
    display: none;
    list-style: none;
    margin: 1rem auto;
}
.child li {
    width: 50%;
}
.menu img {
    width: 180px;
    margin-top: 1rem;
}
.menu {
    list-style: none;
}
li {
    text-decoration: none;
}
/*--------------  fooer --------------------*/
footer {
    line-height: 1rem;
    bottom: 0;
    right: 0;
    background-color: #b2e4e9;
    width: 100%;
    text-align: center;
}
footer a {
    color: #474747;
    text-decoration: none;
    padding: 1rem 0 3rem;
}
/*--------------デスクトップ用--------------------*/
@media(min-width:500px) {
    .wrapper {
        padding: 0 2rem
    }
    .hero {
        background-size: cover;
        gap: 0.5rem;
        padding: 5rem 3rem;
    }
    .photo {
        width: 50%;
		
    }
    .mini {
        width: 50%;
        justify-content: center;
    }
    .main_text img {
        width: 80%;
        max-width: 600px
    }
    section {
        padding: 2rem;
    }
    .box {
        gap: 2rem
    }
    .btn {
        display: flex;
        gap: 1rem;
        justify-content: center;
        list-style: none;
        margin: 1rem;
    }
}