@charset "utf-8";

/* ===============================================
    全体の設定
=============================================== */

body {
    padding-top: 55px;
}


/* ===============================================
    子ページ　ヘッダー
=============================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 10;
    height: 55px;
    width: 100%;
    background-color: var(--base-color);
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.2s;
}

.header-logo {
    width: calc(100% - 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hlogo {
    display: block;
    width: 80px;
}

.hlogo__link:hover {
    opacity: 0.5;
    transition: all 0.2s ease;
}


/* ===============================================
    子ページ　ハンバーガーメニュー
=============================================== */

.navbtn {
    position: fixed;
    position: relative;
    top: 0;
    right: 0;
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
}

.navbtn-line {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 20px;
    height: 1px;
    background-color: var(--base-color);
}

.navbtn,
.navbtn-line {
    display: inline-block;
    transition: all 0.2s;
}

.navbtn-line:nth-of-type(1) {
    transform: translateY(-8px);
}

.navbtn-line:nth-of-type(2) {
    transform: translateY(0);
}

.navbtn-line:nth-of-type(3) {
    transform: translateY(8px);
    width: 14px;
}

/* ---------------------------- */
/* アクティブ時 */
body.active .navbtn-line {
    transform: scaleX(0);
    background-color: var(--base-color);
}

body.active .navbtn-line:nth-of-type(1) {
    transform: translateY(0) rotate(45deg);
}

body.active .navbtn-line:nth-of-type(2) {
    opacity: 0;
}

body.active .navbtn-line:nth-of-type(3) {
    transform: translateY(0) rotate(-45deg);
    width: 20px;
}


/* ===============================================
    子ページ　NEWS・CONTACT　共通部分
=============================================== */

.child-2col {
    padding-top: 64px;
    padding-bottom: 96px;
}

.child-2col__heading {
    margin-bottom: 64px;
}

.heading-ja {
    display: block;
    font-family: var(--jp-font_2);
    font-size: var(--text_s);
    letter-spacing: 0.03em;
    margin-top: 8px;
}

.child-2col__body {
    width: 100%;
}

/* ---------------------------- */
/* 800px～ */
@media screen and (min-width:800px) {
    .child-2col {
        padding-top: 96px;
        display: flex;
        justify-content: space-between;
        max-width: 1028px;
        margin: 0 auto;
    }

    .child-2col__heading {
        max-width: 318px;
        width: 100%;
        margin-bottom: 0;
    }

    .child-2col__h1 {
        position: sticky;
        top: 96px;
    }

    /*=======min-width:800px=======*/
}


/* ===============================================
    子ページ　STATIONERY・GALLERY　共通部分
=============================================== */

/* 見出し（bgは個別cssで設定） */
.child-1col__heading {
    padding-left: 6vw;
    padding-top: 64px;
}

.child-1col__h1 {
    margin-bottom: 16px;
}

.child-1col__bg {
    height: 35vw;
    min-height: 180px;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ---------------------------- */
/* コンテンツ部分 */
.child-1col__body {
    padding-top: 64px;
    padding-bottom: 96px;
}

.child-1col__section {
    padding-top: 96px;
}

.lead-text {
    line-height: 1.9;
    letter-spacing: 0.02em;
}

.lead-text__link {
    text-decoration: none;
    color: var(--black);
    border-bottom: 1px solid var(--black);
}

.lead-text__link:hover {
    opacity: 0.5;
    transition: all 0.2s ease;
}

/* ---------------------------- */
/* 800px～ */
@media screen and (min-width:800px) {

    /* 見出し */
    .child-1col__heading {
        position: relative;
        padding-left: 0;
    }

    .child-1col__h1 {
        position: absolute;
        background-color: var(--base-color);
        padding: 12px 20px 12px 0;
        top: 41%;
        transform: translateY(50%);
        left: 4.4%;
        z-index: 1;
        margin-bottom: 0;
    }

    .child-1col__bg {
        width: 91%;
        margin-left: 9%;
        height: 300px;
        min-height: 0;
    }

    /* ---------------------------- */
    /* コンテンツ部分 */
    .child-1col__body {
        padding-bottom: 128px;
    }

    .child-1col__section {
        padding-top: 128px;
    }

    /*=======min-width:800px=======*/
}