@charset "UTF-8";

/* =========================
   reset
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #111;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "YuMincho",
        "MS PMincho",
        serif;
    line-height: 1.6;
    background: #f5f5f2;
}

html,
body {
    overflow-x: hidden;
}

body.is-fixed {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

input,
textarea {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================
   header
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 150px;
    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.header__logo {
    margin: 0;
    flex-shrink: 0;
}

.header__logo a {
    display: block;
}

.header__logo img {
    width: 78px;
}

.pc-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.header__navList {
    display: flex;
    align-items: center;
    gap: 58px;
}

.header__navList a {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.header__navList a:hover {
    opacity: 0.7;
}

.header__cta,
.drawer__cta,
.footer-fixed__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #76779F;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.header__cta:hover,
.drawer__cta:hover,
.footer-fixed__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* =========================
   sp nav
========================= */
.sp-nav {
    display: none;
    align-items: center;
    gap: 20px;
}

.header__cta--sp {
    min-width: 127px;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 14px;
}

.hamburger {
    position: relative;
    width: 44px;
    height: 36px;
    flex-shrink: 0;
    z-index: 1003;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 44px;
    height: 2px;
    background: #555;
    transform-origin: center;
    transition:
        transform 0.35s ease,
        opacity 0.25s ease,
        top 0.35s ease;
}

.hamburger span:nth-child(1) {
    top: 2px;
}

.hamburger span:nth-child(2) {
    top: 17px;
}

.hamburger span:nth-child(3) {
    top: 32px;
}

.hamburger.is-active span:nth-child(1) {
    top: 17px;
    transform: rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
    top: 17px;
    transform: rotate(-45deg);
}

/* =========================
   drawer
========================= */
.drawer {
    position: fixed;
    top: 0; /* ← 全画面にする */
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100vh; /* ← 全画面 */
    background: rgba(255, 255, 255, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drawer__inner {
    height: 100%;
    padding: 40px 24px 56px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    transform: translateY(12px);
    opacity: 0;
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.drawer.is-open .drawer__nav {
    transform: translateY(0);
    opacity: 1;
}

.drawer__navList {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.drawer__navList a {
    font-size: 22px;
    line-height: 1.4;
}

.drawer__cta {
    min-width: 180px;
}

.hamburger {
    position: relative;
    z-index: 1003;
}

.header__inner {
    position: relative;
    z-index: 1002;
}

body.is-fixed .header__logo,
body.is-fixed .header__cta--sp {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* =========================
   main
========================= */
.site-main {
    padding-top: 150px;
}

/* =========================
   FV
========================= */
.service-fv {
    background: #f5f5f2;
}

.service-fv__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-fv__head {
    position: relative;
    min-height: 180px;
    padding: 40px 0 30px;
}

/* 背景文字 */
.service-fv__bgText {
    position: absolute;
    left: 26%;
    top: 8px;
    transform: translateX(-50%);
    font-size: clamp(100px, 10vw, 180px);
    line-height: 1;
    color: rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    pointer-events: none;
}

/* タイトル */
.service-fv__title {
    position: absolute;
    left: 86px;
    bottom: 20px;
    margin: 0;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #333;
    z-index: 1;
}

/* =========================
   contact page
========================= */
.contactPage {
    background: #f5f5f2;
}

.contactPage__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}

/* =========================
   contact form
========================= */
.contactForm {
    width: 100%;
}

.contactForm__group {
    padding: 28px 0;
    border-top: 1px solid #cfcfcf;
}

.contactForm__label {
    display: block;
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: #333;
}

.contactForm__required {
    margin-left: 6px;
    color: #d7003a;
    font-size: 14px;
}

.contactForm__input,
.contactForm__textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    padding: 16px 18px;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.contactForm__input:focus,
.contactForm__textarea:focus {
    outline: none;
    border-color: #76779F;
    box-shadow: 0 0 0 3px rgba(118, 119, 159, 0.10);
}

.contactForm__textarea {
    min-height: 220px;
    resize: vertical;
}

.contactForm__checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contactForm__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    cursor: pointer;
}

.contactForm__check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    flex-shrink: 0;
    accent-color: #76779F;
}

.contactForm__check span {
    display: block;
    flex: 1;
}

.contactForm__group--agree {
    padding-top: 32px;
    border-bottom: none;
}

.contactForm__check--agree {
    justify-content: flex-start;
}

.contactForm__submit {
    margin-top: 48px;
    text-align: center;
}

.contactForm__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    min-height: 70px;
    padding: 16px 36px;
    border-radius: 999px;
    background: #76779F;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.08em;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.contactForm__button:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* =========================
   footer
   overview準拠 / 固定だけ解除
========================= */
.footer-reveal-spacer {
    display: none;
}

.footer-fixed {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 3;
    width: 100%;
    min-height: 560px;
    color: #fff;
    pointer-events: auto;
    overflow: hidden !important;
    opacity: 1;
    visibility: visible;
    transition: none;
}

.footer-fixed__bg {
    position: absolute;
    inset: 0;
    background: url("../image/FV.png") no-repeat center center / cover;
    transform: scale(1);
}

.footer-fixed__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgb(0 0 0 / 71%) 0%,
            rgb(0 0 0 / 71%) 50%,
            rgb(0 0 0 / 71%) 100%);
}

.footer-fixed__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 40px 60px;
    pointer-events: auto;
}

.footer-fixed__grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr;
    grid-template-areas:
        "info nav"
        "info cta";
    column-gap: 60px;
    row-gap: 36px;
    align-items: start;
}

.footer-fixed__info {
    position: relative;
    padding-right: 40px;
}

.footer-fixed__info::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.footer-fixed__company {
    margin: 0 0 28px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-fixed__address,
.footer-fixed__tel,
.footer-fixed__fax,
.footer-fixed__copy {
    margin: 0;
    font-size: 13px;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.92);
}

.footer-fixed__copy {
    margin-top: 36px;
    font-size: 11px;
}

.footer-fixed__nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 40px;
}

.footer-fixed__navTitle {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 1.4;
}

.footer-fixed__navList {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-fixed__navList a {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    transition: opacity 0.3s ease;
}

.footer-fixed__navList li {
    position: relative;
    padding-left: 16px;
}

.footer-fixed__navList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
}

.footer-fixed__navList a:hover,
.footer-fixed__navTitle a:hover {
    opacity: 0.7;
}

.footer-fixed__ctaWrap {
    grid-area: cta;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: auto;
    padding-top: 0;
}

/* =========================
   responsive
========================= */
@media screen and (max-width: 1200px) {
    .footer-fixed__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-fixed__ctaWrap {
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .header {
        height: 80px !important;
    }

    .header__inner {
        position: relative;
    z-index: 1002;
    }

    .header__logo img {
        width: 56px;
    }

    .pc-nav {
        display: none;
    }

    .sp-nav {
        display: flex;
    }

    .drawer {
    top: 0;
    height: 100vh;
    }

    .site-main {
        padding-top: 80px;
    }

    .service-fv__head {
        padding: 72px 20px 24px;
    }

    .service-fv__bgText {
        left: 38%;
        top: 8px;
        font-size: 72px;
    }

    .service-fv__title {
        font-size: 24px;
    }

    .contactPage__inner {
        padding: 24px 20px 80px;
    }

    .contactForm__group {
        padding: 20px 0;
    }

    .contactForm__label {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .contactForm__input,
    .contactForm__textarea {
        font-size: 15px;
        padding: 12px;
    }

    .contactForm__textarea {
        min-height: 180px;
    }

    .contactForm__button {
        width: 100%;
        min-width: 0;
        min-height: 60px;
        font-size: 16px;
    }

    .footer-fixed {
        width: 100%;
        min-height: auto;
        height: auto;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .footer-fixed__inner {
        position: relative;
        z-index: 1;
        padding: 48px 24px 28px;
    }

    .footer-fixed__grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-fixed__nav {
        order: 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-fixed__navCol {
        width: 100%;
    }

    .footer-fixed__navTitle {
        margin: 0 0 18px;
        font-size: 21px;
        line-height: 1.4;
    }

    .footer-fixed__navList {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 28px;
    }

    .footer-fixed__navList li {
        padding-left: 24px;
    }

    .footer-fixed__navList li::before {
        width: 14px;
    }

    .footer-fixed__navList a {
        font-size: 16px;
        line-height: 1.8;
    }

    .footer-fixed__ctaWrap {
        order: 2;
        display: block;
        margin-top: 34px;
        padding-top: 0;
        max-width: 330px;
        width: 100%;
    }

    .footer-fixed__cta {
        display: flex;
        width: 100%;
        max-width: 330px;
        min-height: 62px;
        font-size: 20px;
    }

    .footer-fixed__info {
        order: 3;
        position: relative;
        margin-top: 60px;
        padding-top: 54px;
        padding-right: 0;
    }

    .footer-fixed__info::after {
        top: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 1px;
    }

    .footer-fixed__company {
        margin: 0 0 26px;
        font-size: 24px;
        line-height: 1.5;
    }

    .footer-fixed__address,
    .footer-fixed__tel,
    .footer-fixed__fax,
    .footer-fixed__copy {
        font-size: 16px;
        line-height: 2;
    }

    .footer-fixed__copy {
        margin-top: 36px;
        font-size: 14px;
        line-height: 1.8;
    }

    .service-fv__inner {
        padding: 0 20px;
    }

    .service-fv__head {
        min-height: 120px;
        padding: 22px 0 18px;
    }

    .service-fv__bgText {
        left: 34%;
        top: 8px;
        font-size: 72px;
    }

    .service-fv__title {
        left: 11px;
        bottom: 32px;
        font-size: 24px;
    }
}

footer {
    position: relative;
    z-index: 10;
}

footer a {
    position: relative;
    z-index: 11;
}



/* =========================
   Confirmページ専用
========================= */

.confirmPage__inner {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.confirmForm {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}


.confirmForm__group {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.confirmForm__group:last-child {
    border-bottom: none;
}


.confirmForm__label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.05em;
}


.confirmForm__value {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    word-break: break-word;
}

.confirmForm__value--textarea {
    white-space: pre-wrap;
}


.confirmForm__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.confirmForm__button {
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.confirmForm__button--back {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}

.confirmForm__button--back:hover {
    background: #f5f5f5;
}

.confirmForm__button--submit {
    background: #333;
    color: #fff;
}

.confirmForm__button--submit:hover {
    background: #76779f;
}

/* =========================
   エラー
========================= */

.confirmForm__error {
    color: #d7003a;
    font-size: 14px;
    line-height: 1.6;
}

.confirmForm__error a {
    display: inline-block;
    margin-top: 12px;
    text-decoration: underline;
    color: #cb1b5d;
}


@media (max-width: 768px) {

    .confirmForm {
        padding: 32px 20px;
    }

    .confirmForm__group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .confirmForm__label {
        font-size: 13px;
    }

    .confirmForm__value {
        font-size: 14px;
    }

    .confirmForm__actions {
        flex-direction: column;
    }

    .confirmForm__button {
        width: 100%;
    }
}

/* =========================
   Thanksページ専用
========================= */

.thanksPage__inner {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

/* ボックス */
.thanksBox {
    background: #fff;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* アイコン */
.thanksBox__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #cb1b5d;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* タイトル */
.thanksBox__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

/* テキスト */
.thanksBox__text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

/* 補足 */
.thanksBox__info {
    font-size: 13px;
    color: #888;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ボタン */
.thanksBox__btnWrap {
    display: flex;
    justify-content: center;
}

.thanksBox__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 999px;
    background: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.thanksBox__button:hover {
    background: #76779f;
}



@media (max-width: 768px) {

    .thanksBox {
        padding: 40px 24px;
    }

    .thanksBox__title {
        font-size: 18px;
    }

    .thanksBox__text {
        font-size: 14px;
    }
}