@charset "UTF-8";
body *{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.Quicksand {font-family: "Quicksand", sans-serif;}

/*フォントサイズ*/
h2 {
    font-size: 3rem;
    margin-top: 15px;
    margin-bottom: 45px;
    font-weight: bold;
    text-align: left;
}

h2 span{
    font-size:1rem;
    display: block;
    margin-top: 2%;
}

h3{
    font-size: 1rem;
}

p{
    font-size: 0.75rem;
}
/**/

#Container{
    width: 100%;
    max-width: 767px;
    margin: 0 auto;
}

main {
    width: 100%;
    position: relative;
}

.main_inner{
    padding: 20px ;
    padding-bottom: 0;
}

.pc_menu{
    display: none;
}

/*コンテンツここから*/

.contact_card {
    width: 100%;
    max-width: 700px; /* SPサイズに合わせて調整 */
    margin: 0 auto 40px; /* SP時は中央寄せ＆下に余白 */
    background: url("../svg/card_asets.svg") no-repeat center/contain;
    background-size: 100% 100%;
    aspect-ratio: 375 / 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10%;
}

.card_content {
    text-align: center;
    width: 100%;
}

.email_btn {
    /* clamp(最小値, 推奨値, 最大値) を使うと、
       画面幅に合わせて20px〜32pxの間でヌルヌル動きます */
    font-size: clamp(16px, 4vw, 24px); 
    font-weight: bold;
    display: inline-block;
    margin: 5% 0;
    /* 楕円の形を維持するための設定 */
    padding: 3% 5%;
    border: 1px solid #9F3639;
    border-radius: 50px;
    text-decoration: none;
    color: #9F3639;
}

/* リンク集（SP） */

.links_title{
    font-size: 1rem;
    margin-bottom: 5%;
}

.contact_links {
    text-align: center;
}

.link_button {
    display: flex;
    align-items: stretch; /* 中の要素の高さを揃える */
    background-color: #F0F0F0;
    width: 280px; /* デザインに合わせて調整 */
    height: 100px;
    margin: 0 auto 15px;
    text-decoration: none;
    color: #000;
    overflow: hidden; /* 角丸にする場合はこれも入れると綺麗 */
    padding: 10px;
}

.link_name {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.link_button img {
    width: 30%;  /* エリアの幅いっぱいに広げる */
    height: auto;
    display: block;
}

.card_text_top, 
.card_text_bottom {
    line-height: 1.6;
}

/**/

footer{
    height: 50px;
    text-align: center;
    line-height: 50px;
}

footer p{
    font-size: 16px;
}

@media screen and (min-width: 768px){
    #Container{
        max-width: 1024px;
    }
    h1 img{
        /*margin-bottom: 5vh;*/
        max-width: 335px;
    }
    /*address{
        padding: 0px;
        font-size: 3vw;
        line-height: 7.2rem;
    }
    .md-br{
        display: none;
    }*/

    .card_text_top, 
    .card_text_bottom {
        font-size: 16px; /* PCサイズ */
    }

    
}

@media screen and (min-width: 830px){
    .tag_title{
        display: flex;
        align-items: center;
    }

    .contact_flex_container {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* 上揃え */
        gap: 40px; /* カードとリンクの間の距離 */
        margin-bottom: 100px;
    }

    .contact_card {
        margin: 0; /* PC時は左に寄せる（Flexにお任せ） */
        max-width: 700px; /* PC版は少し大きく */
        aspect-ratio: 600 / 400; /* PC版カードの比率 */
    }

    .contact_links {
        text-align: left;
        margin-top: 20px; /* 各種リンクの文字を少し下げる微調整 */
    }


}


@media screen and (min-width: 1025px){
    #Container{
        max-width: 1920px;
    }
    
    .main_inner{
        max-width: 1240px;
        margin: 0 auto;
    }

    /*.pc_menu{
        display: block;
    }*/

    .hamburger-menu{
        display: block;
    }

    .email_btn {
        font-size: 32px; /* PC最大サイズに固定 */
        padding: 15px 40px; /* PCではボタンも少し大きく */
    }

    .contact_card{
        padding: 0;
    }

}

@media screen and (min-width: 1250px){
    .main_inner{
        padding: 0;
        padding-top: 50px;
    }
}