@import url('/common/css/root.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f6f8fb;
    font-weight: 300;
}

#wrapper {
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
}

#container {
    flex: 1;
}

/* フォームコンテナ */

.cmn-section {
    /* background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); */
    position: relative;
    overflow: hidden;
}

.cmn-section__body {
    position: relative;
    z-index: 2;
}

/* フォームセクション */
.form-section {
    padding: 60px;
    background-color: #fff;
}

.sectionTitle {
    text-align: center;
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 60px;
    position: relative;
    font-weight: 300;
    letter-spacing: 2px;
    font-family: var(--font-base);
}

.sectionTitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #EA7317 0%, #ff8a2b 100%);
}

/* フォームテーブル */
.form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 50px;
}

.form-table th,
.form-table td {
    padding: 24px 0;
    border-bottom: 1px solid #ecf0f1;
    vertical-align: top;
}

.form-table th {
    background: transparent;
    font-weight: 500;
    color: #2c3e50;
    width: 220px;
    padding-right: 30px;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.requisite {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    margin-left: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-table input[type="text"],
.form-table textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e8eaed;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafbfc;
    font-weight: 300;
}

.form-table input[type="text"]:focus,
.form-table textarea:focus {
    outline: none;
    border-color: #458237;
    background: white;
    box-shadow: 0 0 0 3px rgba(69, 130, 55, 0.1);
    transform: translateY(-1px);
}

.form-table textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* フォームアクション */
.form-action {
    text-align: center;
    padding-top: 20px;
}

.btn_check ,
.btn_send
{
    background: linear-gradient(135deg, #EA7317 0%, #ff8a2b 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(234, 115, 23, 0.3);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.btn_back
{
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(234, 115, 23, 0.3);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn_check::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transition: left 0.6s ease;
}

.btn_check:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(234, 115, 23, 0.4);
}

.btn_check:hover::before {
    left: 100%;
}

.btn_check:active {
    transform: translateY(-1px);
}
.form-message__link {
    display: flex;
    justify-content: center;
    margin: 25px 0 0;
}
.form-message__link a {
    display: inline-block;
    background-color: #EA7317;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(234, 115, 23, 0.3);
}
.form-message__link li {
    list-style: none;
}
/* レスポンシブ */
@media (max-width: 1024px) {
    .header__ {
        padding: 0 30px;
    }

    .globalNav__list {
        padding: 0 30px;
        gap: 40px;
    }

    .l-main {
        padding: 40px 30px;
    }

    .form-section {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .slideMenu {
        display: block;
    }

    .headerMenu {
        display: none;
    }

    .header__ {
        justify-content: space-between;
        padding: 0 20px;
        height: 70px;
    }

    .globalNav__list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .globalNav__list a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .l-main {
        padding: 30px 20px;
    }

    .form-section {
        padding: 30px 20px;
    }

    .sectionTitle {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .form-table th,
    .form-table td {
        padding: 20px 0;
        display: block;
        width: 100%;
    }

    .form-table th {
        padding-bottom: 8px;
        border-bottom: none;
    }

    .form-table td {
        padding-top: 0;
    }

    .footerMenu {
        /* flex-direction: column; */
        text-align: center;
        gap: 20px;
    }


    .footer__ {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 480px) {
    .siteName__icon {
        font-size: 20px;
    }

    .siteName__icon .fa-cube {
        font-size: 24px;
    }

    .sectionTitle {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .btn_check {
        width: 100%;
        max-width: 280px;
        padding: 16px 30px;
    }
}