@charset "UTF-8";

/* ここから 初期設定 */

body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    letter-spacing: 1px;
}

main {
    max-width: 1000px;
    padding: 0 40px;
    margin: 0 auto;
}

input,
button,
textarea,
select {
    -webkit-appearance: none;
    appearance: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ここから　profile　〜　planのトップ共通設定 */

.top {
    position: relative;
    height: 100vh;
}

.backimg,
.backimg_qa,
.backimg_anniversary,
.backimg_shichigosan,
.backimg_profilephoto,
.backimg_newborn {
    position: absolute;
    width: calc(100% - 180px);
    height: calc(100% - 200px);
    top: 170px;
    left: 90px;
    display: block;
    background: url(../img/profile-img.jpg) no-repeat center center/cover;
}

.backimg_qa {
    background: url(../img/slide_img06.jpg) no-repeat center center/cover;
}

.backimg_anniversary {
    background: url(../img/anniversary-img.jpg) no-repeat center center/cover;
}

.backimg_shichigosan {
    background: url(../img/shichigosan-img.jpg) no-repeat center bottom/cover;
}

.backimg_newborn {
    background: url(../img/newborn-img.jpg) no-repeat center center/cover;
}

.backimg_profilephoto {
    background: url(../img/profilephoto-img.jpg) no-repeat center center/cover;
}

.top h2 {
    position: absolute;
    top: 100px;
    left: 90px;
    font-family: "baskerville-urw", serif;
    font-size: 60px;
    color: #434242;
    letter-spacing: 2px;
}

.qa h2 {
    top: 90px;
}

/* ここまで　profile　〜　planのトップ共通設定 */



/* ここまで 初期設定　　　ーーーーーー　　　ここから ヘッダーのロゴ設定 */

.header_wrap {
    background: #fff;
    height: 5rem;
    box-shadow: 0px 3px 3px #00000016;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo h1 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: .5px;
}

.logo a {
    display: flex;
    position: fixed;
    align-items: center;
    top: 15px;
    left: 30px;
    transition: opacity 0.3s ease;
}

.logo a:hover,
footer a:hover {
    opacity: .5;
}

.logo img {
    width: 95px;
    padding-right: 15px;
}

/* ここまで ヘッダーのロゴ設定　　　ーーーーーー　　　ここから グローバルメニュー設定 */

.menu-list {
    position: fixed;
    display: flex;
    top: 32px;
    right: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 18px;
    font-style: normal;
}

.nav-menu a {
    transition: opacity 0.5s ease;
    display: block;
}

.nav-menu a:hover {
    opacity: .5;
}

.menu-item {
    margin: 0 .7em;
    position: relative;
}

.drop-menu {
    padding-bottom: 27px;
}

.drop-menu-list {
    background-color: #FAF9F6;
    left: -152.5px;
    position: absolute;
    top: 100%;
    width: max-content;
    z-index: 1000;
    border-bottom-left-radius: 20px;
    box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.1);
}

.menu_drop {
    transition: opacity 0.5s ease;
    cursor: pointer;
    position: relative;
}

.menu_drop:hover {
    opacity: .5;
}

.menu_drop::after {
    content: '';
    display: inline-block;
    border-right: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    -webkit-transform: rotate(90deg);
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    position: absolute;
    top: 9px;
    margin-left: 4px;
}

.drop-menu-list {
    display: none;
}

.drop-menu-item {
    font-size: 16px;
    border-bottom: 1px solid #c8c8c845;
}

.drop-menu-item:last-child {
    border-bottom: none;
}

.drop-menu-item a {
    padding: 20px 28px;
}

/* ここまで グローバルメニュー設定　　　ーーーーーー　　　ここから サブナビゲーションロゴ設定 */

header .subnav {
    display: block;
    text-align: center;
    position: absolute;
    right: 0;
    top: 5rem;
    opacity: .9;
}

header .subnav a:hover {
    opacity: .7;
}

header .subnav .wrap {
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
}

header .subnav .sub_btn {
    color: #7E7E7E;
    border-radius: 0 0 0 0;
    display: block;
    background-color: #F5F5F5;
    width: 100px;
    height: 100px;
    text-align: center;
    padding-top: 9px;
    font-size: 11px;
    line-height: 1.4;
    opacity: 1;
    transition: 0.5s;
}

header .subnav .sub_btn.sub_contact {
    color: #fff;
    background-color: #B8CD9D;
    padding-top: 13px;
}

header .subnav .sub_btn.sub_contact:before {
    content: "";
    width: 40px;
    height: 40px;
    position: static;
    display: block;
    background-image: url(../img/line_icon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 40px;
    margin: 0 auto 8px;
}

header .subnav .sub_btn:nth-child(2)::before {
    content: "";
    width: 40px;
    height: 38px;
    position: static;
    display: block;
    background-image: url(../img/blog_icon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 38px;
    margin: 0 auto 8px;
}

header .subnav .sub_btn:nth-child(3)::before {
    content: "";
    width: 40px;
    height: 40px;
    position: static;
    display: block;
    background-image: url(../img/instagram_icon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 40px;
    margin: 0 auto 8px;
}

header .subnav .sub_btn:nth-child(2) {
    padding-top: 20px;
}

header .subnav .sub_btn:nth-child(3) {
    padding-top: 13px;
}

header .subnav .sub_btn:last-child {
    border-radius: 0 0 0 .5rem;
    border-top: .5px solid #7e7e7e56;
}

/* ここまで サブナビゲーションロゴ設定　　　ーーーーーー　　　ここから フッター設定 */

footer {
    text-align: center;
    box-shadow: 3px 0px 6px #00000022;
    padding: 50px 0;
    font-family: 'Quicksand', sans-serif;
    color: #434242;
}

footer a {
    transition: opacity 0.3s ease;
}

.footer_logo {
    width: 95px;
}

.follow p {
    padding-top: 30px;
    margin-bottom: 10px;
}

.follow_icon {
    padding-bottom: 30px;
}

.follow_icon img {
    width: 40px;
    margin: 0 5px;
}

.copylight {
    font-size: 14px;
}

.line_change {
    display: none;
}

@media screen and (max-width: 768px) {

    /* ここから　profile　〜　planのトップ共通設定 */

    .top {
        height: 70vh;
    }

    .backimg,
    .backimg_qa,
    .backimg_anniversary,
    .backimg_shichigosan,
    .backimg_profilephoto,
    .backimg_newborn {
        width: calc(100% - 100px);
        height: calc(100% - 150px);
        top: 150px;
        left: 50px;
    }

    .top h2 {
        top: 95px;
        left: 50px;
        font-size: 50px;
    }

    .qa h2 {
        top: 85px;
    }

    /* ここまで　profile　〜　planのトップ共通設定 */

    .line_change {
        display: block;
    }

    .sp_line_change {
        display: none;
    }

    main {
        padding: 0 25px;
        margin: 0 auto;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo a {
        top: 20px;
        left: 15px;
    }

    .logo img {
        width: 75px;
        padding-right: 10px;
    }

    .menu-list {
        top: 35px;
        right: 20px;
        font-size: 16px;
    }

    .drop-menu {
        padding-bottom: 26px;
    }

    .drop-menu-list {
        left: -160px;
        border-bottom-left-radius: 10px;
    }

    .menu_drop::after {
        top: 7px;
    }

    .drop-menu-item {
        font-size: 14px;
    }

    .drop-menu-item a {
        padding: 18px 26px;
    }

    header .subnav .wrap {
        font-size: 12px;
        line-height: 15px;
        letter-spacing: .5;
    }

    header .subnav .sub_btn {
        width: 90px;
        height: 90px;
    }

    header .subnav .sub_btn.sub_contact {
        padding-top: 11px;
    }

    header .subnav .sub_btn.sub_contact:before {
        width: 35px;
        height: 35px;
        background-size: 35px 35px;
        margin: 0 auto 7px;
    }

    header .subnav .sub_btn:nth-child(2)::before {
        width: 35px;
        height: 33px;
        background-size: 35px 33px;
        margin: 0 auto 6px;
    }

    header .subnav .sub_btn:nth-child(3)::before {
        width: 35px;
        height: 35px;
        background-size: 35px 35px;
        margin: 0 auto 6px;
    }

    header .subnav .sub_btn:nth-child(2) {
        padding-top: 20px;
    }

    header .subnav .sub_btn:nth-child(3) {
        padding-top: 11px;
    }
}

@media screen and (max-width: 430px) {

    /* ここから　profile　〜　planのトップ共通設定 */

    .top {
        height: 50vh;
    }

    .backimg,
    .backimg_qa,
    .backimg_anniversary,
    .backimg_shichigosan,
    .backimg_profilephoto,
    .backimg_newborn {
        width: calc(100% - 50px);
        left: 25px;
    }

    .top h2 {
        top: 105px;
        left: 25px;
        font-size: 40px;
    }

    .qa h2 {
        top: 95px;
    }

    /* ここまで　profile　〜　planのトップ共通設定 */

    .menu-item {
        margin: 0 .4em;
    }

    .logo h1 {
        font-size: 14px;
    }

    .logo a {
        flex-direction: column;
        top: 15px;
        left: 15px;
    }

    .logo img {
        width: 60px;
        padding-right: 5px;
    }

    header .subnav .wrap {
        font-size: 11px;
        line-height: 13px;
    }

    header .subnav .sub_btn {
        width: 80px;
        height: 80px;
    }

    header .subnav .sub_btn.sub_contact {
        padding-top: 9px;
    }

    header .subnav .sub_btn.sub_contact:before {
        margin: 0 auto 5px;
    }

    header .subnav .sub_btn:nth-child(2)::before {
        margin: 0 auto 6px;
    }

    header .subnav .sub_btn:nth-child(3)::before {
        margin: 0 auto 5px;
    }

    header .subnav .sub_btn:nth-child(2) {
        padding-top: 15px;
    }

    header .subnav .sub_btn:nth-child(3) {
        padding-top: 8px;
    }
}