/* ==========================================
   Contact Page 共通
========================================== */

.contact-section {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-section .section-heading {
    margin-bottom: 28px;
}


/* ==========================================
   固定背景
========================================== */

main {
    position: relative;
    isolation: isolate;
}

/* 既存の淡い背景 */
main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("../images/haikei.png");
    background-repeat: repeat;
    background-size: 650px auto;

    opacity: 0.4;
    pointer-events: none;
}

/* 黒ロゴの固定背景 */
main::after {
    content: "";
    position: fixed;
    top: calc(50% + 50px);
    left: 50%;
    z-index: -1;

    width: 620px;
    height: 620px;

    transform: translate(-50%, -50%);

    background-image: url("../images/himawari.logo2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.045;
    pointer-events: none;
}


/* ==========================================
   Contact Hero
========================================== */

.contact-hero {
    padding: 70px 0 45px;
}

.contact-hero .content-width {
    width: 100%;
}

.contact-lead {
    margin-top: 22px;
    color: #666;
    line-height: 2.2;
}


/* ==========================================
   LINE
========================================== */

.contact-line {
    padding: 38px 0;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 44px 40px;

    background: rgba(255, 253, 248, 0.88);
    border: 1px solid #ece2cc;
    border-radius: 18px;

    backdrop-filter: blur(2px);
}

.contact-card p {
    margin-bottom: 18px;
    color: #666;
    line-height: 2.1;
}

.contact-card p:last-of-type {
    margin-bottom: 32px;
}


/* ==========================================
   SNS
========================================== */

.contact-sns {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}


/* ==========================================
   Secondary Button
========================================== */

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    min-height: 52px;
    padding: 12px 28px;

    color: #6d5b47;
    background: rgba(255, 255, 255, 0.8);

    border: 1px solid #cdb98a;
    border-radius: 999px;

    text-decoration: none;
    letter-spacing: 0.08em;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.secondary-button:hover {
    color: #fff;
    background: #b79a45;
    transform: translateY(-3px);
}


/* ==========================================
   Information
========================================== */

.contact-information {
    padding: 38px 0;
}

.info-list {
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid #ece2cc;
}

.info-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;

    padding: 25px 10px;
    border-bottom: 1px solid #ece2cc;
}

.info-item span {
    color: #b28b4d;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.info-item p {
    margin: 0;
    color: #666;
    line-height: 2;
}


/* ==========================================
   Before Contact
========================================== */

.contact-before {
    padding: 38px 0;
}

.before-list {
    max-width: 760px;
    margin: 0 auto;
}

.before-item {
    padding: 30px 0;
    border-bottom: 1px solid #ece2cc;
}

.before-item:first-child {
    border-top: 1px solid #ece2cc;
}

.before-item h3 {
    margin-bottom: 14px;
    color: #6d5b47;
    font-size: 1.25rem;
    font-weight: 500;
}

.before-item p {
    max-width: 620px;
    margin: 0 auto;
    color: #666;
    line-height: 2.1;
}


/* ==========================================
   Divider
========================================== */

.section-divider {
    width: 320px;
    height: 1px;
    margin: 0 auto;

    background: #d8c59a;
    opacity: 0.7;
}


/* ==========================================
   Closing
========================================== */

.contact-closing {
    padding: 38px 0 90px;
}

.contact-closing .closing-inner {
    max-width: 700px;
    margin: 0 auto;
}

.contact-closing .closing-message {
    margin-bottom: 35px;
    color: #666;
    font-size: 1.1rem;
    line-height: 2.3;
}