@charset "utf-8";

/* body {
    background-image: url(../images/BG.png);
    font-family: sans-serif;
    font-size: 16px;
    line-height: 140%;
} */
img {
    max-width: 100%;
    height: auto;
}

/* header */
header {
    background-image: url(../images/top/top.jpg);
    background-repeat: no-repeat;
    background-position: center 6.5vh;
    background-size: cover;
    height: 60vh;
    /* margin-bottom: 50px; */
}

/* header img {
    max-width: 100px;
    height: auto;
} */

/* header */

.aboutOtani {
    font-size: 16px;
}

/* about */
.mapbg {
    background-image: url(../images/top/fukushimamap.svg);
    background-repeat: no-repeat;
    background-size: 121px auto;
    background-position: center 40%;
}

.Otanimap {
    margin-bottom: 110px;
}

.about {
    margin-bottom: 150px;
}

.about section {
    padding: 30px;
}


.aboutDetails img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 40px;
}

/* about */

/* Enjoy */

.EnBer {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
}

/* life&work */
.lifeWork {
    padding: 0 1rem;
    margin-bottom: 150px;
}

.lifeWorkDetail {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 20px 15px;
    margin: 0 auto 50px;
    max-width: 360px;
    height: auto;
}

.lifeWorkDetail .lifeWorkimg img {
    max-width: 230px;
    height: 242px;
    object-fit: cover;
    object-position: 90% center;
}

.lifeWorkDetail p {
    text-align: center;
    margin-bottom: 20px;
}

.button1 {
    font-size: 20px;
    background-color: #7DCEF3;
    width: 183px;
    padding: 15px;
    border-radius: 70px;
    text-align: center;
}

.MoreButton {
    display: flex;
    justify-content: center;
}

/* experience */

.experience {
    background-color: #BDD8A3;
    padding: 1rem 1rem;
    margin-bottom: 150px;
}

.experience h1 {
    margin-bottom: 10px;
}

.experience h2 {
    text-align: center;
    margin-bottom: 10px;
}

.experience img {
    max-width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.experienceimg {
    text-align: center;
}

.experience .button2 {
    font-size: 20px;
    background-color: #F2D994;
    max-width: 223px;
    border-radius: 70px;
    padding: 15px;
    text-align: center;
}

.experience .ExText br {
    display: none;
}

.detailButton {
    display: flex;
    justify-content: center;
    /* margin-bottom: 38px;
    margin-top: 15px; */
    margin: 38px 0;
}


/* buttonAnimation */

.button1:hover,
.button2:hover {
    filter: brightness(130%);
}




/* access */

.access {
    margin-bottom: 80px;
    background-color: #EFEFEF;
    padding: 50px 0 50px;
}

/* .access::after{
} */

.access p img {
    max-width: 100%;
    height: auto;
}

.access p {
    text-align: center;
}

/* バナースライダー-------------------------------- */

.sliderArea {
    margin-bottom: 160px;
}

.sliderArea li img {
    max-width: 50vw;
    /* margin-right: 100px; */
}

@media(1220px > width > 768px) {
    .experienceimg {
        padding-left: 16px;
    }
}


/* レスポンシブデザイン */

@media (width >=768px) {
    header {
        height: 110vh;
        margin-bottom: 150px;
        background-image: url(../images/top/top_pc.jpg);
        background-position: center top;
    }

    


    header div {
        background-color: #F2D994;
        display: flex;
        padding: 1rem 1rem 1rem 3rem;
        justify-content: space-between;
        align-items: flex-end;
    }

    main h1,
    .Mohave {
        font-size: 64px;
        margin-bottom: 2rem;
    }

    main h2.UDGothic,
    main h3 .UDGothic,
    main .UDGothicWeb {
        font-size: 32px;
    }

    .onlyMob {
        display: none;
    }

    .OtaniSec p {
        line-height: 210%;
    }

    .mapbg {
        background-size: 482px auto;
        height: 350px;
        display: grid;
    }

    .Otanimap {
        margin-bottom: 0%;
        align-self: flex-end;
    }

    .OtaniSec {
        margin-bottom: 200px;
    }

    /* about */
    .aboutDetails section {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        align-items: center;
        max-width: 1040px;
        margin: 0 auto 100px;
    }

    .aboutDetails section h3 {
        grid-column: 2/3;
        grid-row: 1/2;
        text-align: left;
        margin-left: 130px;
    }

    .aboutDetails section .UDGothic {
        grid-column: 2/3;
        grid-row: 2/3;
        text-align: left;
        margin-left: 130px;
    }

    .aboutDetails section .aboutImg {
        grid-column: 1/2;
        grid-row: 1/4;
        align-self: center;
    }

    .aboutDetails section .aboutText {
        grid-column: 2/3;
        grid-row: 3/4;
        margin-left: 130px;
    }

    .aboutDetails section .aboutImg img {
        margin-bottom: 0px;
    }

    .aboutDetails section.food {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
        max-width: 1040px;
        margin: 0 auto 100px;
    }

    .aboutDetails section.food h3 {
        grid-column: 1/2;
        grid-row: 1/2;
        text-align: right;
        margin-right: 130px;
    }

    .aboutDetails section.food .UDGothic {
        grid-column: 1/2;
        grid-row: 2/3;
        text-align: right;
        margin-right: 130px;
    }

    .aboutDetails section.food .aboutImg {
        grid-column: 2/3;
        grid-row: 1/4;
        align-self: center;
    }

    .aboutDetails section.food .aboutText {
        grid-column: 1/2;
        grid-row: 3/4;
        margin-right: 130px;
        margin-left: 0;
    }

    /* life&work */
    .lifeWork {
        max-width: 1200px;
        margin: 0 auto 200px;
    }

    .lifeWork h2 {
        margin-bottom: 90px;
    }

    .lifeWorkDetail .lifeWorkimg img {
        max-width: 254px;
        height: 242px;
    }

    .lifeWork div.lifeWorkWrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .lifeWorkDetail {
        flex-basis: 360px;
    }

    .button1 {
        font-size: 36px;
        width: 460px;
        padding: 30px 0;
    }

    /* experience */
    .experience {
        padding: 70px 0;
    }

    .experience h1 {
        margin-bottom: 2rem;
    }

    .experience h2 {
        margin-bottom: 90px;
    }

    .experience .ExWrap {
        display: grid;
        grid-template-columns: 2fr 3fr;
        max-width: 1200px;
        margin: 0 auto;
    }
    /* .experienceimg {
        padding-left: 16px;
    } */

    .ExText, .detailButton {
        padding: 0 16px;
    }

    .experience .ExWrap .experienceimg {
        grid-column: 1/2;
        grid-row: 1/3;
    }

    .experience .ExWrap .experienceimg img {
        margin-bottom: 0;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    .experience .ExWrap .ExText {
        grid-column: 2/3;
        grid-row: 1/2;
        /* text-align: center; */
        max-width: 514px;
        margin: 0 auto;
        align-self: flex-end;
        font-size: 24px;
        line-height: 2rem;
    }

    .experience .ExWrap .ExText br {
        display: inline;
    }

    .experience .ExWrap .button2 {
        grid-column: 2/3;
        grid-row: 2/3;
        font-size: 40px;
        width: 576px;
        max-width: 100%;
        padding: 35px 0;
    }

    .experience .ExWrap .detailButton {
        align-self: center;
    }

    /* バナースライダー-------------------------- */

    /* .sliderArea {
        margin-bottom: 180px;
    } */

    .sliderArea li {
        max-width: 300px;
    }


}

/* .ExText */