/*
==========================================================
L Plus T CONTACT CSS 統合版
==========================================================

【このファイルの役割】
1. Header右上のCONTACTボタン
2. CONTACTページ本体
3. CONTACTページのスマホ表示

※ Headerの既存CONTACTデザインを維持
※ CONTACTページ本体のCSSを同じファイルに統合
*/

/* ==========================================================
   01. Header右上 CONTACTボタン
========================================================== */

.header-contact{
    position:absolute;
    top:0;
    right:0;
    width:500px;
    height:130px;
    background:#7e0012;
    clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);
    transform:translateX(50px);
    z-index:1001;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.header-contact > a{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    color:#fff;
    margin-top:50px;
    flex:0 0 auto;
}

/* ==========================================================
   02. Header CONTACT内 Language
========================================================== */

/*
.header-language{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-left:50px;
}

.header-language .gtranslate_wrapper{
    display:flex;
    align-items:center;
    position:relative;
    top:-14px;
}

.language-title{
    margin-bottom:8px;
    font-size:10px;
    font-weight:700;
    color:#fff;
    letter-spacing:.1em;
}
*/

.mail{
    font-size:34px;
}

.header-contact small{
    width:170px;
    font-size:clamp(9px,0.7vw,11px);
    line-height:1.3;
    white-space:normal !important;
    overflow-wrap:anywhere;
    word-break:normal;
    text-align:center;
    margin:0 auto 6px;

    font-family:"Noto Sans JP","Noto Sans",Arial,sans-serif;
    letter-spacing:0;
    word-spacing:0;
}

.header-contact strong{
    display:block;
    font-size:24px;

    font-family:"Noto Sans JP","Noto Sans",Arial,sans-serif;
    letter-spacing:0;
    word-spacing:0;
    line-height:1.2;
    word-break:normal;
    overflow-wrap:anywhere;
}

.header-contact .text{
    width:170px;
    display:flex;
    flex-direction:column;
    align-items:center;

    font-family:"Noto Sans JP","Noto Sans",Arial,sans-serif;
    letter-spacing:0;
    word-spacing:0;
}

.arrow{
    font-size:38px;
    margin-left:15px;
}

/* ==========================================================
   03. Language文字色
========================================================== */

.header-language .gt_switcher-popup_link,
.header-language .gt_switcher-popup_link span,
.header-language .gt_switcher-popup_link strong,
.header-language .gt_switcher-popup_link div{
    color:#ffffff !important;
}

.language-title{
    color:#fff !important;
}


/* ==========================================================
   04. CONTACTページ本体
========================================================== */

.contact-page {
    width:100%;
    overflow-x:hidden;

    /*
    Headerがabsolute配置のため、
    CONTACTページ本体がHeaderの下へ潜り込まないようにする。
    PC Header：130px
    */
    padding-top:130px;
    box-sizing:border-box;
}

/* ---------- CONTACT Hero ---------- */

.contact-hero {
    width:100%;
    min-height:200px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f5f5;
    text-align:center;
    box-sizing:border-box;
}

.contact-hero-inner {
    width:min(1100px,100%);
    margin:0 auto;
    padding:35px 20px;
    box-sizing:border-box;
}

.contact-hero-en {
    margin:0 0 12px;
    color:#7e0012;
    font-size:18px;
    font-weight:700;
    letter-spacing:.16em;
}

.contact-hero h1 {
    margin:0;
    color:#333;
    font-size:46px;
    line-height:1.3;
    font-weight:700;
}

.contact-hero-lead {
    margin:22px 0 0;
    color:#555;
    font-size:16px;
    line-height:1.9;
}

/* ---------- CONTACT Form Section ---------- */

.contact-section {
    width:100%;
    padding:90px 20px 110px;
    background:#fff;
    box-sizing:border-box;
}

.contact-container {
    width:min(900px,100%);
    margin:0 auto;
    box-sizing:border-box;
}

.contact-heading {
    margin-bottom:45px;
    text-align:center;
}

.contact-heading-en {
    margin:0 0 10px;
    color:#7e0012;
    font-size:15px;
    font-weight:700;
    letter-spacing:.14em;
}

.contact-heading h2 {
    margin:0;
    color:#333;
    font-size:32px;
    line-height:1.4;
    font-weight:700;
}

.contact-heading > p:last-child {
    margin:18px 0 0;
    color:#666;
    font-size:15px;
    line-height:1.8;
}

/* ---------- Contact Form 7 ---------- */

.contact-form-area {
    width:100%;
    box-sizing:border-box;
}

.contact-form-area form {
    width:100%;
}

.contact-form-area label {
    display:block;
    width:100%;
    margin:0 0 25px;
    color:#333;
    font-size:15px;
    font-weight:700;
    line-height:1.6;
    box-sizing:border-box;
}

.contact-form-area .required {
    display:inline-block;
    margin-left:8px;
    padding:2px 7px;
    color:#fff;
    background:#7e0012;
    border-radius:3px;
    font-size:11px;
    font-weight:700;
    line-height:1.4;
    vertical-align:middle;
}

.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area input[type="tel"],
.contact-form-area textarea {
    display:block;
    width:100%;
    max-width:100%;
    margin-top:8px;
    padding:14px 16px;
    border:1px solid #ccc;
    border-radius:3px;
    background:#fff;
    color:#333;
    font-family:inherit;
    font-size:16px;
    line-height:1.6;
    box-sizing:border-box;
}

.contact-form-area textarea {
    min-height:220px;
    resize:vertical;
}

.contact-form-area input[type="submit"] {
    display:block;
    width:min(320px,100%);
    margin:35px auto 0;
    padding:16px 25px;
    border:0;
    border-radius:3px;
    background:#7e0012;
    color:#fff;
    font-family:inherit;
    font-size:16px;
    font-weight:700;
    line-height:1.5;
    cursor:pointer;
    box-sizing:border-box;
}

.contact-form-area input[type="submit"]:hover {
    opacity:.8;
}

/* ---------- Contact Form 7 メッセージ ---------- */

.contact-form-area .wpcf7-not-valid-tip {
    margin-top:5px;
    color:#7e0012;
    font-size:13px;
}

.contact-form-area .wpcf7-response-output {
    margin:25px 0 0;
    padding:12px 15px;
    font-size:14px;
    line-height:1.7;
    box-sizing:border-box;
}


/* ==========================================================
   05. CONTACTページ スマホ対応
========================================================== */

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

    /* ---------- Header CONTACT ---------- */

    .header-contact{
        width:190px;
        height:90px;
        clip-path:polygon(22% 0,100% 0,100% 100%,0 100%);
        transform:translateX(15px);
        z-index:1001;
    }

    .header-contact > a{
        margin-top:0;
        gap:5px;
    }

    .mail{
        font-size:16px;
    }

    .header-contact .text{
        width:100px;
    }

    .header-contact small{
        width:100px;
        font-size:10px;
        margin-bottom:2px;
    }

    .header-contact strong{
        font-size:10px;
    }

    .arrow{
        font-size:16px;
        margin-left:3px;
    }

    /* ---------- CONTACTページ ---------- */

    .contact-page{
        padding-top:90px;
    }

    .contact-hero{
        min-height:160px;
    }

    .contact-hero-inner{
        width:100%;
        padding:30px 20px;
    }

    .contact-hero-en{
        font-size:14px;
    }

    .contact-hero h1{
        font-size:34px;
    }

    .contact-hero-lead{
        margin-top:18px;
        font-size:14px;
        line-height:1.8;
    }

    .contact-section{
        padding:60px 15px 80px;
    }

    .contact-container{
        width:100%;
    }

    .contact-heading{
        margin-bottom:35px;
    }

    .contact-heading h2{
        font-size:26px;
    }

    .contact-heading > p:last-child{
        font-size:14px;
    }

    .contact-form-area label{
        font-size:14px;
    }

    .contact-form-area input[type="text"],
    .contact-form-area input[type="email"],
    .contact-form-area input[type="tel"],
    .contact-form-area textarea{
        width:100%;
        max-width:100%;
        font-size:16px;
    }

    .contact-form-area textarea{
        min-height:180px;
    }

    .contact-form-area input[type="submit"]{
        width:100%;
        max-width:320px;
    }
}


/* ==========================================================
   06. 480px以下
========================================================== */

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

    .header-contact{
        width:110px;
        height:80px;
        clip-path:polygon(30% 0,100% 0,100% 100%,0 100%);
        transform:translateX(10px);
    }

    .header-contact > a{
        margin-top:0;
    }

    .header-contact small{
        display:none;
    }

    .header-contact .text{
        width:auto;
    }

    .header-contact strong{
        font-size:8px;
    }

    .mail{
        font-size:13px;
    }

    .arrow{
        font-size:13px;
        margin-left:2px;
    }
}

