@charset "utf-8";

#about * {
    box-sizing: border-box;
}

@media(min-width: 768px) {
    #about .main {
        max-width: none;
    }
}

/* 共通部品 */
@media(min-width: 768px) {
    p {
        font-size: 24px;
    }
    .footer__contents{
        padding-top: 16rem;
        padding-bottom: 16rem;
    }
}

/* ヘッダー */
.header {
    background-color: white;
}

@media(min-width: 768px) {
    .header {
        background-color: rgba(0, 0, 0, 0);
    }

    .header__nav {
        padding-top: 4.3rem;
        padding-right: 4.4rem;
    }
}

.header__menu-button.sp {
    background: url("../../img/common/header/header__menu-button-navy.png") center center no-repeat;
}

.header__menu-button.pc {
    background: url("../../img/common/header/header__menu-button-navy_pc.png") center center no-repeat;
    background-size: cover;
}

.pc { 
    display: none;
}

@media(min-width: 768px) {
    .sp {
        display: none;
    }

    .pc {
        display: block;
    }
    
    .header__menu-button.pc {
        padding-top: 4.5rem;
        padding-right: 4rem;
    }
}

/* 中身 */
.main {
    padding-top: 5.3rem;
}

@media(min-width: 768px) {
    .main {
        padding-top: 0;
        max-width: 940px;
        margin: 0 auto;
    }
}

/* 画像があるとこ */
#main_img {
    background-image: url('../../img/about/main.png');
    background-size: cover;
    height: 220px;
    width: 100%;
    text-align: center;
}

#main_img h2 {
    width: 180px;
    display: inline-block;
    background-color: white;
    padding: 10px;
    text-align: center;
    margin-top: 90px;
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-size: 20px;
    border-radius: 10px;
    font-weight: 700;
}

@media(min-width: 768px) {
    #main_img {
        margin: 0 auto;
        border-radius: 0 0 20px 20px;
        height: 512px;
        max-width: 94rem;
    }

    #main_img h2 {
        width: 360px;
        margin-top: 220px;
        font-size: 40px;
        padding: 20px;
        border-radius: 15px;
    }
}

/* テキストがあるとこ */
#text_wrapper {
    padding: 40px 20px 0;
}

#text_wrapper.flex-box {
    display: block;
}

#text_wrapper h2 {
    margin-bottom: 1.2rem;
    line-height: 43.2px;
    font-family: 'Noto Serif JP';
}

#text_wrapper p {
    margin-bottom: 30px;
    font-family: "Koburina Gothic StdN";
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

@media(min-width: 768px) {
    #text_wrapper {
        max-width: 94rem;
        margin: 0 auto;
    }

    #text_wrapper.flex-box {
        display: flex;
    }

    #text_wrapper h2 {
        width: 50%;
        line-height: 2;
    }
    
    #text_wrapper p {
        width: 50%;
        font-size: 1.6rem;
    }
}

/* スタッフの紹介 */
#introduce_wrapper h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    font-family: 'Noto Serif JP';
}

#introduce_wrapper > img {
    display: block;
    width: 100%;
}

#introduce_wrapper .title_wrapper {
    margin: 0 0 30px 0;
    text-align: center;
    margin-bottom: 2rem;
}

#introduce_wrapper .title_wrapper img {
    width: 8%;
    margin: 0 auto;
}

#introduce_wrapper .contents_wrapper {
    padding: 2rem 0 6rem;
    background-color: #171c61;
}

#introduce_wrapper .items-wrapper {
    padding: 0 2rem 0 2rem;
    margin: 0 auto;
    max-width: 94rem;
}

#introduce_wrapper .item-wrapper {
    padding: 1rem 1rem 2.5rem 1rem;
    background-color: white;
    border-radius: 1rem;
    width: 48%;
}

#introduce_wrapper .item-wrapper .img-box img {
    width: 100%;
}

#introduce_wrapper .item-wrapper p:nth-of-type(1) {
    padding: 1.4rem 0;
    text-align: center;
}

#introduce_wrapper .item-wrapper p:nth-of-type(2) {
    font-family: "Koburina Gothic StdN";
}

@media(min-width: 768px) {
    #introduce_wrapper .title_wrapper img {
        width: 3rem;
        margin: 0 auto;
    }

    #introduce_wrapper .title_wrapper h3 {
        font-size: 3.2rem;
    }

    #introduce_wrapper .title_wrapper {
        margin-bottom: 6rem;
    }

    #introduce_wrapper .contents_wrapper {
        padding: 8rem 0 15rem 0;
    }

    #introduce_wrapper .item-wrapper {
        padding: 2.7rem 2.7rem 4.6rem 2.7rem;
    }

    #introduce_wrapper .item-wrapper p:nth-of-type(1) {
        font-weight: normal;
        text-align: left;
        font-size: 2rem;
    }

    #introduce_wrapper .item-wrapper p:nth-of-type(2) {
        font-size: 1.6rem;
    }
}

/* 山間屋のあゆみ */
#history_wrapper {
    padding: 4rem 2rem 0 2rem;
}

#history_wrapper h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Noto Serif JP';
}

#history_wrapper .title_wrapper {
    margin: 0 0 30px 0;
    text-align: center;
    margin-bottom: 2rem;
}

#history_wrapper .flex-box {
    display: block;
}

#history_wrapper .item_wrapper p {
    padding: 1rem 0 1.4rem 0;
    font-family: "Koburina Gothic StdN";
    letter-spacing: 0.2rem;
}

#history_wrapper .item_wrapper .img-box {
    max-width: 341px;
    height: auto;
}

#history_wrapper .item_wrapper .img-box img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

@media(max-width: 769px) {

    #history_wrapper .item_wrapper .img-box {
        width: 100%;
        max-width: none;
    }
}

@media(min-width: 768px) {
    #history_wrapper {
        max-width: 94rem;
        margin: 0 auto;
        padding-top: 11rem;
    }

    #history_wrapper h3 {
        font-size: 3.5rem;
        line-height: 1;
    }

    #history_wrapper .title_wrapper {
        margin: 0 0 3.3rem 0;
    }

    #history_wrapper .flex-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #history_wrapper .item_wrapper:nth-of-type(1) {
        margin-bottom: 4rem;
    }

    #history_wrapper .item_wrapper:nth-of-type(2) {
        margin-bottom: 4rem;
    }

    #history_wrapper .item_wrapper div {
        width: 48%;
    }

    #history_wrapper .items_wrapper .item_wrapper:nth-of-type(1) div {
        order: 2;
    }

    #history_wrapper .items_wrapper .item_wrapper:nth-of-type(3) div {
        order: 2;
    }

    #history_wrapper .item_wrapper p {
        font-size: 1.6rem;
        width: 48%;
    }

    #history_wrapper .items_wrappe .item_wrapper:nth-of-type(1) p {
        order: 1;
    }
}

/* お便りに登録
#register_wrapper {
    padding: 40px 20px 100px;
}

#register_wrapper h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Noto Serif JP';
}

#register_wrapper .title_wrapper {
    margin: 30px 0;
    text-align: center;
}

#register_wrapper .btn_wrapper {
    text-align: center;
    padding: 10px;
}

#register_wrapper .register_btn {
    background-color: #171C61;
    padding: 15px 65px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
}

@media(min-width: 768px) {
    #register_wrapper {
        margin: 0 auto;
        text-align: center;
        max-width: 94rem;
    }

    #register_wrapper h3 {
        font-size: 32px;
    }

    #register_wrapper p {
        font-size: 16px;
    }

    #register_wrapper input {
        max-width: 480px;
        margin: 30px 0;
        font-size: 16px;
    }

    #register_wrapper .btn_wrapper {
        margin-top: 10px;
    }

    #register_wrapper .register_btn {
        background-color: #171C61;
        padding: 15px 65px;
        color: white;
        border-radius: 10px;
        font-size: 16px;
    }
} */

/* footer */

.footer {
    background-color: #171c61;
    position: relative;
}

.footer__contents {
    padding-top: 4rem;
    padding-bottom: 8.4rem;
    margin: 0 auto;
    text-align: center;
}

.footer > .img-box img {
    background-color: white;
    display: block;
    width: 100%;
}

.footer .footer__contents > a img {
    width: 30%;
}

.footer ul {
    margin: 4rem 0 4rem 0;
}

.footer ul li {
    margin-bottom: 2.8rem;
}

.footer ul li a {
    color: white;
    text-decoration: none;
}

.footer ul li:last-of-type {
    margin-bottom: 0;
}

.footer .flex-box {
    justify-content: center;
}

.footer .flex-box .img-box:first-of-type {
    margin-right: 1rem;
    width: 1rem;
    height: 1.9rem;
}

.footer .flex-box .img-box:nth-of-type(2) {
    margin-left: 1rem;
    width: 2.1rem;
    height: 2.1rem;
}

.footer p {
    margin-top: 4.6rem;
    font-size: 1rem;
    color: white;
}

@media(min-width: 768px) {
    .footer__contents {
        padding-top: 4.5rem;
    }

    .footer .footer__contents > a img {
        width: 10%;
    }
}