@charset "utf-8";


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

/* 共通部品 */
@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;
    }
}

/* フォームの共通部品 */
.required {
    font-size: 10px;
    background-color: #171C61;
    color: white;
    padding: 3px 6px;
    margin-left: 5px;
    border-radius: 5px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #FFF;
    background-color: #EFF8FF;
    padding: 15px 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

input:focus,
textarea:focus,
select:focus {
    border: 1px solid #4996D1;
    outline: 0;
}

@media(min-width: 768px) {
    .required {
        font-size: 12px;
        background-color: #171C61;
        color: white;
        padding: 3px 9px;
        margin-left: 10px;
        border-radius: 5px;
    }

    input,
    textarea,
    select {
        font-size: 32px;
        padding: 20px;
    }
}

/* 中身 */
.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/contact/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 {
        border-radius: 0 0 20px 20px;
        height: 512px;
    }

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

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

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

#text_wrapper p:nth-of-type(1) {
    font-weight: 600;
}

#text_wrapper p a {
    font-family: "Koburina Gothic StdN";
    letter-spacing: 0.2rem;
}

/* フォーム */
#form_wrapper {
    padding: 40px 20px 0;
}

#form_wrapper .confirm_wrapper {
    text-align: center;
}

#form_wrapper .confirm_wrapper .confirm {
    display: inline-block;
    border: 1px solid #E0E0E0;
    padding: 15px 35px;
    border-radius: 10px;
    margin: 0 auto;
    text-decoration: none;
}

@media(min-width: 768px) {
    #form_wrapper p {
        font-size: 16px;
    }

    #form_wrapper .confirm_wrapper {
        padding: 40px;
        font-size: 16px;
    }

    #form_wrapper .confirm_wrapper .confirm {
        padding: 20px 40px;
    }

    #form_wrapper .confirm_wrapper .confirm:hover {
        background-color: #F1F1F1;
        color: #171C61;
    }
}

/* お便りに登録 */
.tf-l-header .is-no-logo {
    display: none !important;
}

.tf-l-header__wrapper {
    display: none;
}

/* 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 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%;
    }

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

    .footer .footer__contents .flex-box .img-box img {
        width: 100%;
    }
}