/* =====================================
   RESET
===================================== */

body {
    margin: 0;
    overflow-x: hidden;
    font-family:
        "ヒラギノ角ゴ ProN",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "メイリオ",
        Meiryo,
        sans-serif;
}

html {
    scroll-behavior: auto;
}

.font-en {
    font-family: "Lato", sans-serif;
    font-weight: bold;
}




/* =====================================
   HEADER
===================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9999;
}

.header-logo {
    width: 189px;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 40px;
}

.g-nav {
    margin-right: 200px;
    font-size: 1.15rem;
}

.g-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.g-nav li {
    display: flex;
    align-items: center;
}

.g-nav li:not(:last-child)::after {
    content: "|";
    margin: 0 18px;
    font-size: 0.9em;
    color: #eb5e00;
    font-weight: 300;
    opacity: .8;
}

.g-nav a {
    position: relative;
    display: inline-block;
    color: #eb5e00;
    text-decoration: none;
    overflow: hidden;
}

.g-nav a::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: #000;
    transform: translateX(-100%);
    transition: transform .35s ease;
}

.g-nav a:hover::after {
    transform: translateX(0);
}

.sns {
    display: flex;
    gap: 13px;
    padding: 0;
    list-style: none;
}

.sns img {
    width: 28px;
    height: auto;
}

.sns a:hover {
    opacity: 0.7;
}

.hamburger,
.hamburger-nav {
    display: none;
}

@media (max-width: 1300px) {

    .g-nav,
    .sns {
        display: none;
    }

    .hamburger {
        position: fixed;
        top: 40px;
        right: 40px;
        width: 42px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        z-index: 9999;
        cursor: pointer;
    }

    .hamburger span {
        height: 2px;
        background: #eb5e00;
        transition: .3s;
    }

    .hamburger.is-open span:nth-child(1) {
        transform: translateY(14px) rotate(45deg);
    }

    .hamburger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-open span:nth-child(3) {
        transform: translateY(-14px) rotate(-45deg);
    }

    .hamburger-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .95);
        z-index: 9998;
    }

    .hamburger-nav.is-open {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hamburger-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .hamburger-menu li {
        margin: 15px 0;
    }

    .hamburger-menu a {
        color: #eb5e00;
        font-size: 1.5rem;
        letter-spacing: .08em;
    }

    .hamburger-sns {
        display: flex;
        margin-top: 60px;
        padding: 0;
        list-style: none;
    }

    .hamburger-sns img {
        width: 32px;
    }
}

@media (max-width: 750px) {

    .header {
        height: 80px;
    }

    .header-logo {
        width: 140px;
    }

    .hamburger.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hamburger-menu a {
        font-size: 1.2rem;
        letter-spacing: .05em;
    }

    .hamburger-menu li {
        margin: 10px 0;
    }
}

@media (max-width: 750px) {

    .page-contact .hamburger {
        top: 30px;
        right: 20px;
        width: 27px;
        height: 20px;
    }

}

/* ========================================
   CONTACT
======================================== */

.contact {
    position: relative;
    min-height: 100vh;
    padding: 170px 0 10px;
    overflow: hidden;
}

.contact-inner {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}


/* ----------------------------------------
   CONTACT decoration
---------------------------------------- */

.contact-deco {
    position: absolute;
    top: 155px;
    left: 0;
    margin: 0;
    color: #eb5e00;
    font-size: 10rem;
    font-weight: 900;
    line-height: 0.75;
    writing-mode: vertical-rl;
}

@media (max-width: 1300px) {

    .contact-deco {
        font-size: 7.5rem;
        z-index: -1;
        opacity: 0.1;
    }
}

@media (max-width: 750px) {

    .contact-deco {
        font-size: 4.5rem;
    }

}


/* ----------------------------------------
   STEP
---------------------------------------- */

.contact-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 330px;
    margin: 0 auto 80px;
}

.contact-step__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.contact-step__label {
    position: absolute;
    top: -25px;
    color: #eb5e00;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
}

.contact-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #eb5e00;
    border-radius: 50%;
    color: #eb5e00;
    font-size: 0.75rem;
    font-weight: 400;
}

.contact-step__item.is-current .contact-step__number {
    background-color: #eb5e00;
    color: #fff;
}

.contact-step__line {
    width: 85px;
    height: 1px;
    background-color: #eb5e00;
}


/* ----------------------------------------
   FORM
---------------------------------------- */

.contact-form {
    width: 100%;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: center;
    margin-bottom: 28px;
    gap: 15px;
}

.contact-form__row label {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-form__row label span {
    font-size: 1.2rem;
    color: #eb5e00;
}

.contact-form__row label em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    background-color: #eb5e00;
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    line-height: 1;
}

.contact-form__row input,
.contact-form__row textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    background-color: #f1f1f1;
    color: #333;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.contact-form__row input {
    height: 68px;
    padding: 0 15px;
}

.contact-form__row textarea {
    height: 300px;
    padding: 15px;
    resize: vertical;
}

.contact-form__row input:focus,
.contact-form__row textarea:focus {
    outline: 1px solid #eb5e00;
}


/* 郵便番号 */
.contact-form__row--zip input {
    width: 300px;
}

.email-input {
    position: relative;
}

.email-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 5px 0 0;
    padding: 0;
    background: #fff;
    border: 1px solid #eb5e00;
    list-style: none;
    z-index: 10;
}

.email-suggestions.is-active {
    display: block;
}

.email-suggestions li {
    padding: 10px 15px;
    color: #eb5e00;
    cursor: pointer;
}

.email-suggestions li:hover {
    background-color: #eb5e00;
    color: #fff;
}

@media (max-width: 750px) {

    .contact-form__row {
        grid-template-columns: none;
        gap: 0;
    }

    .contact-form__row label {
        margin-bottom: 10px;
    }

    .contact-form__row label span {
        font-size: 1rem;
    }

    .contact-form__row label em {
        font-size: 0.7rem;
    }

    .contact-form__row input {
        height: 50px;
    }

    .contact-form__row--zip input {
        width: 260px;
    }

}


/* ----------------------------------------
   PRIVACY
---------------------------------------- */

.contact-privacy {
    margin-top: 95px;
    padding-top: 95px;
    border-top: 1px solid #000;
}

.contact-privacy__text {
    padding: 30px 40px;
    background-color: #b2b2b2;
    color: #fff;
    line-height: 1.8;
    height: 200px;
    box-sizing: border-box;
    overflow-y: auto;

    /* Safari対策 */
    scrollbar-gutter: stable;
}

.contact-privacy__text p {
    margin: 0 0 25px;
}

.contact-privacy__text p:last-child {
    margin-bottom: 0;
}

.contact-privacy__text h2 {
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 750px) {

    .contact-privacy {
        margin-top: 55px;
        padding-top: 55px;
    }

    .contact-privacy__text {
        padding: 20px;
        height: 160px;
    }

    .contact-privacy__text p,
    .contact-privacy__text h2 {
        font-size: 0.9rem;
    }

}

.contact-privacy__text::-webkit-scrollbar {
    width: 12px;
}

.contact-privacy__text::-webkit-scrollbar-track {
    background: transparent;
}

.contact-privacy__text::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 10px;
}


/* ----------------------------------------
   AGREEMENT
---------------------------------------- */

.contact-agreement {
    margin: 45px 0;
    text-align: center;
    color: #eb5e00;
}

.contact-agreement p {
    margin: 0 0 35px;
}

.contact-agreement__check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1.4rem;
}

.contact-agreement__check input {
    appearance: none;
    position: relative;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid #eb5e00;
    background-color: #fff;
    cursor: pointer;
}

.contact-agreement__check input:checked::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    left: 4px;
    top: 1px;
    border-right: 2px solid #eb5e00;
    border-bottom: 2px solid #eb5e00;
    transform: rotate(45deg);
}

@media (max-width: 750px) {

    .contact-agreement {
        margin: 30px 0;
    }

    .contact-agreement p {
        font-size: 0.9rem;
    }

    .contact-agreement__check {
        font-size: 1.2rem;
    }

}

/* ----------------------------------------
   SUBMIT
---------------------------------------- */

.contact-submit {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.contact-submit button {
    width: 326px;
    height: 68px;
    background-color: #eb5e00;
    color: #fff;
    border: 1px solid #eb5e00;
    font-family: inherit;
    font-size: 1.8rem;
    cursor: pointer;
    letter-spacing: 0.3em;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.contact-submit button:hover {
    background: #fff;
    color: #eb5e00;
}

@media (max-width: 750px) {

    .contact-submit {
        margin-top: 55px;
    }

    .contact-submit button {
        width: 260px;
        height: 60px;
        font-size: 1.5rem;
        letter-spacing: 8;
    }
}


/* ----------------------------------------
   footer
---------------------------------------- */

footer {
    margin-top: 170px;
    text-align: center;
}

.copyright-04 {
    font-size: 0.75rem;
    font-weight: 400;
    color: #eb5e00;
}

/* ----------------------------------------
   確認画面
---------------------------------------- */

.contact-confirm {
    margin-top: 80px;
    border-top: 1px solid #000;
}

.contact-confirm__row {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    min-height: 75px;
    border-bottom: 1px solid #000;
}

.contact-confirm__row>span {
    font-size: 1rem;
    color: #eb5e00;
}

.contact-confirm__row>p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-confirm__row--message {
    align-items: start;
    padding: 25px 0;
}

.contact-confirm__row--message>p {
    white-space: normal;
}

.contact-confirm__form {
    margin-top: 70px;
}

.contact-confirm__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.contact-confirm__buttons button {
    width: 220px;
    height: 60px;
    border: 1px solid #eb5e00;
    background: #eb5e00;
    color: #fff;
    font-family: inherit;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.contact-confirm__buttons button[value="back"] {
    background: #fff;
    color: #eb5e00;
}

.contact-confirm__buttons button:hover {
    background: #fff;
    color: #eb5e00;
}

.contact-confirm__buttons button[value="back"]:hover {
    background: #eb5e00;
    color: #fff;
}

/* ----------------------------------------
   送信完了
---------------------------------------- */

.contact-complete {
    margin-top: 120px;
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.contact-complete h1 {
    margin: 0 0 40px;
    color: #eb5e00;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    line-height: 1;
}

.contact-complete p {
    margin: 0 0 10px;
    line-height: 1.8;
}

.contact-complete__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 60px;
    margin-top: 55px;
    border: 1px solid #eb5e00;
    background: #eb5e00;
    color: #fff;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.contact-complete__link:hover {
    background: #fff;
    color: #eb5e00;
}

/* ----------------------------------------
   エラー
---------------------------------------- */

.contact-error {
    margin: 40px 0;
    padding: 20px;
    border: 1px solid #eb5e00;
    color: #eb5e00;
    line-height: 1.8;
}

/* ----------------------------------------
   スマホ
---------------------------------------- */

@media (max-width: 750px) {

    /* 確認画面 */
    .contact-confirm {
        margin-top: 55px;
    }

    .contact-confirm__row {
        grid-template-columns: 100px 1fr;
        min-height: 65px;
        gap: 15px;
    }

    .contact-confirm__row>span {
        font-size: 0.85rem;
    }

    .contact-confirm__row>p {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .contact-confirm__row--message {
        padding: 20px 0;
    }

    .contact-confirm__form {
        margin-top: 50px;
    }

    .contact-confirm__buttons {
        gap: 15px;
        margin-top: 40px;
    }

    .contact-confirm__buttons button {
        width: 50%;
        height: 55px;
        font-size: 0.9rem;
    }

    /* 送信完了 */
    .contact-complete {
        margin-top: 70px;
        padding: 70px 15px;
    }

    .contact-complete h1 {
        margin-bottom: 30px;
        font-size: 3rem;
    }

    .contact-complete p {
        font-size: 0.9rem;
    }

    .contact-complete__link {
        width: 200px;
        height: 55px;
        margin-top: 40px;
        font-size: 0.9rem;
    }

}