/* 全体のスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

body {
    overflow-x: hidden;
    position: relative;
}

h2 {
    color: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
    h2 {
        font-size: 18px;
    }
}

/*--- 背景 ---*/
#background-animation-container {
    background-color: #FEEDC9;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1000;
}

.ani-shape {
    position: absolute;
    top: 100%;
    animation: bubblemove linear infinite, rotateShape linear infinite;
    pointer-events: none;
    user-select: none;
}

.ani-image {
    object-fit: contain;
}

/* 浮遊アニメーション：600px → 1000pxに変更してゆっくり上昇 */
/* 浮遊アニメーション：下から上へ移動（translateY使用） */
@keyframes bubblemove {
    from {
        top: 100%;
    }

    to {
        top: -1000px;
    }
}

@keyframes rotateShape {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(245, 245, 245, 0.8);
}

.header-logo {
    max-width: 110px;
    height: auto;
    object-fit: contain;
    /* 比率を保って収める */
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.menu-overlay.active {
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.menu-links a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.menu-links a:hover {
    color: #777;
}

/* 🎯 レスポンシブ対応 */
@media (max-width: 768px) {
    .header-logo {
        max-width: 75px;
    }

    .menu-links a {
        font-size: 16px;
    }
}



/* メインコンテンツ */
main {
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

section {
    margin: 0px 30px 30px 30px;
    scroll-margin-top: 80px;
    /* ヘッダーの高さに合わせて調整 */
}

/* Responsive styles */
@media (max-width: 768px) {
    main {
        padding: 5px;
    }

    section {
        margin: 0px 15px 30px 15px;
    }
}



/* トップセクション */
.top {
    margin-top: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 100px;
    padding: 40px;
}

.top-inner {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    padding: 50px;
    border-radius: 20px;
}

.top h1 {
    font-size: 42px;
    margin: 20px 0;
}

.pc-br {
    display: inline;
}

.sp-br {
    display: none;
}

/* お子様向け訪問看護ステーション */
.circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: auto -1px;
    /* ← 間隔を狭くする */
    font-weight: bold;
    color: white;
}

.circle:nth-child(1) {
    background: #AEC6CF;
}

/* パステルブルー */
.circle:nth-child(2) {
    background: #FFB347;
}

/* パステルオレンジ */
.circle:nth-child(3) {
    background: #B39EB5;
}

/* パステルパープル */
.circle:nth-child(4) {
    background: #77DD77;
}

/* パステルグリーン */
.circle:nth-child(5) {
    background: #FF6961;
}

/* パステルレッド */
.circle:nth-child(6) {
    background: #CBAACB;
}

.circle:nth-child(7) {
    background: #779ECB;
}

.circle:nth-child(8) {
    background: #F49AC2;
}

.circle:nth-child(9) {
    background: #FFB7CE;
}

.circle:nth-child(10) {
    background: #B0E0E6;
}

.circle:nth-child(11) {
    background: #E0BBE4;
}

.circle:nth-child(12) {
    background: #D5AAFF;
}

.circle:nth-child(13) {
    background: #C1E1C1;
}

.circle:nth-child(14) {
    background: #FF9AA2;
}

.circle:nth-child(15) {
    background: #A0CED9;
}


.top-usable {
    background-color: rgba(250, 190, 175, 0.8);
    border-radius: 30px;
    padding: 5px;
}

/* ふきだし */
.top-usable-p1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-weight: bold;
}

.top-usable-p1::before {
    content: "";
    width: 30px;
    height: 2px;
    transform: rotate(60deg);
    box-sizing: border-box;
    background-color: #333333;
}

.top-usable-p1::after {
    content: "";
    width: 30px;
    height: 2px;
    transform: rotate(-60deg);
    box-sizing: border-box;
    background-color: #333333;
}

.top-usable p {
    font-size: 14px;
    margin: 0;
}

/* 🎯 レスポンシブ対応 */
@media (max-width: 768px) {
    .top {
        padding: 0px;
        margin-top: 100px;
        margin-bottom: 0px;
    }

    .top h1 {
        font-size: 20px;
        margin: 10px 0 20px 0;
    }

    .top-inner {
        padding: 10px;
    }

    .top-inner p {
        font-size: 8px;
    }

    .circle {

        width: 16px;
        height: 16px;

        line-height: 16px;
    }

    .pc-br {
        display: none;
    }

    .sp-br {
        display: block;
    }

    .top-usable-p1 div {
        font-size: 10px;
    }

    .top-usable-p1 {
        padding: 6px 8px 2px 8px;
    }

    .top-usable-p1::before,
    .top-usable-p1::after {
        width: 15px;
    }

}



/* worryセクション */
.worry {
    padding: 20px;
    background-color: rgba(199, 165, 204, 0.8);
    border-radius: 20px;
}

.worry h2 {
    line-height: 1.6;
    margin: 48px 15px 48px 15px;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.underline-text {
    color: #555;
    position: relative;
    display: inline-block;
    z-index: 2;
}

.handwritten-underline {
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: -8px;
    height: 20px;
    z-index: 1;
    overflow: hidden;
}

.underline-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.underline-path {
    fill: none;
    stroke: #a01f93;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawUnderline 2s ease-out forwards;
    opacity: 0.8;
}

@keyframes drawUnderline {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.5;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
}

/* 複数の手書き風アンダーライン */
.underline-1 {
    animation-delay: 0.5s;
}

.underline-2 {
    animation-delay: 1.2s;
}

.underline-3 {
    animation-delay: 1.8s;
}

/* インタラクション効果 */
.underline-text:hover .underline-path {
    stroke: #ff5278;
    stroke-width: 4;
    animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.worry p {
    color: #3c0c37;
    font-size: 18px;
}

.worry-list {
    list-style-type: none;
    background-color: rgba(255, 255, 255, 0.8);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-repeat: no-repeat;
    margin: 40px 40px 0 40px;
    padding: 10px 80px 10px 80px;
}

.worry-list li {
    position: relative;
    padding: 25px;
    border-bottom: 1px dotted rgb(165, 137, 106);
}

/* 最後のリストだけ下線を除く */
.worry-list li:last-child {
    border-bottom: none;
}

.img-check {
    width: 24px;
    height: auto;
    position: relative;
    top: 2px;
}

.img-yokobou {
    width: 20px;
    height: auto;
}

.worry-item p {
    color: #666;
}

.worry-detail {
    color: #666;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 90%;
}


.worry-img {
    height: 100px;
    object-fit: contain;
    /* 比率を保って収める */
}


/* 🎯 レスポンシブ対応 */
@media (max-width: 768px) {
    .worry {
        padding: 3px;
    }

    .worry h2 {
        font-size: 0.8rem;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .handwritten-underline {
        bottom: -6px;
        height: 16px;
    }

    .worry p {
        font-size: 12px;
    }

    .worry-list {
        margin: 15px 15px 0 15px;
        padding: 10px;
    }

    .worry-list li {
        padding: 12px;
        font-size: 9px;
    }

    .img-check {
        width: 18px;
        height: auto;
    }

    .img-yokobou {
        width: 17px;
        height: auto;
    }

    .worry-img {
        height: 80px;
        object-fit: contain;
        /* 比率を保って収める */
    }
}

/* supportセクション */

.support {
    background-color: rgba(235, 166, 143, 0.8);
}

.support h2 {
    color: #555;
}

/* サポートボックス全体 */
.support-box {
    background-color: rgba(248, 249, 250, 0.8);
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ボックスのホバー効果 */
.support-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* ボックスの見出し */
.support-box h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #007bff;
    /* Bootstrap の青色 */
}

/* ボックスのテキスト */
.support-box p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.support-box img {
    height: 200px;
    /* 高さを統一 */
    width: auto;
    /* 幅は自動 */
    object-fit: contain;
    /* 比率を保って収める */
}

/* 🎯 レスポンシブ対応 */
@media (max-width: 768px) {
    .support-box img {
        height: 120px;
        width: auto;
        object-fit: contain;
    }

    .support h2 {
        font-size: 26px;
    }

    .support h4 {
        font-size: 1.1rem;
    }

    .support p {
        font-size: 0.9rem;
    }
}



/* 対象者 */
.target {
    background-color: rgba(222, 243, 197, 0.8);
    border-radius: 20px;
    padding: 40px;
}

.target h2 {
    color: #555;
}


.target>p {
    color: rgba(33, 137, 76, 0.8);
    margin: 20px auto;
    text-align: center;
    font-weight: bold;
    font-size: large;
}

.target-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.target-list p {
    grid-column: 1 / -1;
    background-color: rgba(249, 128, 48, 1);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0;
}

.target-list li {
    background-color: #fff;
    padding: 1rem 1rem 1rem 2.2rem;
    /* 左に余白を追加 */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.target-list li::before {
    content: "✓";
    color: #f98030;
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

/* 対象地域 */
.target-area {
    text-align: center;
}

.target-area h3 {
    margin-top: 40px;
    color: #21894c;
    text-align: center;
    font-size: 1.5rem;
}

.target-area-list {
    background-color: #21894c;
    padding: 1rem 2rem;
    /* 文字まわりの余白 */
    border-radius: 20px;
    /* 丸み */
    display: inline-block;
    /* 文字サイズに合わせるため */
    text-align: center;
}

.target-area-list p {
    color: #f5f5f5;
    font-size: 1.2rem;
}

/* 🎯 レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .target {
        padding: 20px;
    }

    .target h2 {
        margin: 10px;
        font-size: 26px;
    }

    .target>p {
        margin: 10px auto;
        font-size: 14px;
    }

    .target-list {
        grid-template-columns: 1fr;
    }

    .target-list p {
        font-size: 14px;
        padding: 0.4rem 0.5rem;
    }


    .target-list li {
        padding: 0.2rem 0.2rem 0.2rem 1.6rem;
        /* 左に余白を追加 */
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        font-size: 13px;
        line-height: 1.2;
        position: relative;
        margin-bottom: 0;
    }

    .target-list li::before {
        position: absolute;
        left: 8px;
        top: 4px;
    }

    /* 対象地域 */
    .target-area h3 {
        margin-top: 20px;
        font-size: 1.1rem;
    }

    .target-area-list {
        padding: 0.8rem 0.8rem;
    }

    .target-area-list p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

}


/* FAQ */
.faq {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 182, 193, 0.3);
    position: relative;
}

.faq h2 {
    color: #555;
    padding-bottom: 30px;
}

.faq-item {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(45deg, #ff6b9d, #4ecdc4, #45b7d1, #96ceb4) border-box;


    padding: 16px;
    margin-bottom: 16px;
}

.question,
.answer {
    display: flex;
    align-items: flex-start;
    margin-top: 8px;
}



.question p,
.answer p {
    margin-left: 10px;
}

.question p {
    font-weight: bold;

}

.img-faq {
    width: 24px;
    height: auto;
}



/* 🎯 レスポンシブ対応 */
@media screen and (max-width: 768px) {

    .faq {
        padding: 20px 10px 10px 10px;
    }

    .faq h2 {
        padding-bottom: 10px;
        font-size: 24px;
    }

    .faq-item {
        border-left: 5px solid #f85539;
        padding: 8px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .answer {
        line-height: 1.8;
        margin-top: 0;
    }

    .q-icon,
    .a-icon {
        width: 20px;
        height: 20px;
        line-height: 20px;
    }
}

/* お問い合わせ */
/* セクション全体 */
.contact-section {
    padding: 60px 20px;
    background-color: rgba(176, 214, 94, 0.8);
    text-align: center;
    border-radius: 20px;
}

.contact-section h2,
.contact-section p {
    color: #f5f5f5;
    font-weight: bold;
    margin-bottom: 30px;
}


/* TEL部分 */
.contact-section-tel {
    margin-bottom: 30px;
}

.tel-icon {
    display: inline-block;
    background-color: #f88fa1;
    color: white;
    border-radius: 50%;
    padding: 20px 20px;
    font-weight: bold;
    font-size: 1em;
    margin-right: 10px;
}

.tel-number {
    font-size: 3.5rem;
    color: white;
    vertical-align: middle;
}

/* 最初は非表示 */
.tel-link,
.tel-text {
    display: none;
}

/* ボタン部分（横並び） */
.contact-section-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* ←スマホでも折り返すように */
    margin-top: 20px;
}

.contact-section-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1em;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.contact-section-btn:hover {
    transform: translateY(-3px);
}

.contact-section-btn.mail {
    background-color: #f7941d;
}

.contact-section-btn.line {
    background-color: #2ecc71;
}

.contact-section-btn i {
    font-size: 1.2em;
    color: #f5f5f5;
}


/* スマホ：リンクを表示 */
@media screen and (max-width: 768px) {
    .contact-section {
        padding: 30px 10px;
    }

    /* .contact-section h2 {
        font-size: 20px;
    } */

    .contact-section p {
        font-size: 12px;
        text-align: left;
    }

    .contact-section h2,
    .contact-section p {
        margin-bottom: 10px;
    }

    .contact-section-buttons {
        flex-direction: column;
        /* ←縦並びにしたい場合 */
        align-items: center;
    }

    .contact-section-btn,
    .tel-link {
        width: 280px;
        /* ←ここで統一 */
        justify-content: center;
    }

    /* TEL部分 */
    .contact-section-tel {
        margin-bottom: 10px;
    }

    .tel-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #f88fa1;
        color: white;
        padding: 15px 30px;
        /* ←ボタンと同じ */
        border-radius: 30px;
        /* ←ボタンと同じ */
        font-weight: bold;
        font-size: 1em;
        /* ←ボタンと同じ */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        /* ←ボタンと同じ */
        text-decoration: none;
        gap: 10px;
        transition: transform 0.2s ease;
    }

    .tel-link:hover {
        transform: translateY(-3px);
        /* ←ボタンと同じ */
    }

    .tel-icon {
        background: none;
        padding: 0;
        margin-right: 5px;
    }

    .tel-icon i {
        font-size: 1.2em;
        /* ←ボタンのアイコンと同じ */
        color: white;
    }

    .tel-number {
        font-size: 1em;
        color: white;
    }

    .tel-text {
        display: none;
    }
}

/* PC */
@media screen and (min-width: 769px) {
    .tel-link {
        display: none;
    }

    .tel-text {
        display: inline-block;
    }
}




/* メールでのお問い合わせ */
#mail-section {
    padding: 50px 20px;
    background-color: rgba(246, 206, 237, 0.8);
    text-align: center;
    border-radius: 20px;
}

#mail-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.mail-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.mail-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.mail-form input,
.mail-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

.mail-form textarea {
    height: 150px;
    resize: vertical;
}

.mail-form button {
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #f38ada;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mail-form button:hover {
    background-color: #fc46d1;
}

#confirmationMessage {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #fc46d1;
    border-radius: 5px;
    color: #f5f5f5;
    font-weight: bold;
}

/* 🎯 レスポンシブ対応 */
@media screen and (max-width: 768px) {
    #mail-section {
        padding: 20px;
    }

    #mail-section h2 {
        font-size: 20px;
    }


    .mail-form label {
        font-size: 14px;
        font-weight: bold;
    }

    .mail-form input,
    .mail-form textarea {
        font-size: 14px;
    }

    .mail-form button {
        display: block;
        margin: 20px auto 0 auto;
    }
}

/* バナー */
/* バナー全体 */
.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    /* スマホ用に折り返し可 */
    margin-top: 120px;
}

/* 見出し */
.banner-h3 {
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
}

/* バナー画像コンテナ */
.banner-container {
    position: relative;
    width: 50%;
    max-width: 600px;
    flex-shrink: 0;
}

.banner-img {
    width: 100%;
    display: block;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 191, 255, 0.6) 0%,
            rgba(0, 191, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 2;
    color: #333;
    font-family: sans-serif;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

.banner-text h1 {
    font-size: 2rem;
    margin: 0 0 5px 0;
}

.banner-text p {
    font-size: 0.7rem;
    margin: 0;
}

/* ------------------------
   スマホ向けレスポンシブ対応
------------------------- */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .banner-h3 {
        margin-bottom: 10px;
    }

    .banner-container {
        width: 80%;

    }

    .banner-img {
        align-items: center;
        text-align: center;
    }

    .banner-text {
        left: 20px;
        transform: translateY(-50%);
        text-align: left;
    }

    .banner-text h1 {
        font-size: 1.5rem;
    }

    .banner-text p {
        font-size: 0.4rem;
    }
}

/* フッター */
footer {
    background-color: #f5f5f5;
    padding: 20px 20px 40px 20px;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    /* 中央寄せのポイント */
}

.footer-logo {
    max-width: 130px;
    height: auto;
    object-fit: contain;
    /* 比率を保って収める */
}

.address {
    text-align: left;
    margin-bottom: 8px;
    line-height: 0.2;
}

.postcode {
    font-size: 12px;
}

.phone-fax {
    display: flex;
    justify-content: center;
}

.phone-fax p:first-child {
    margin-right: 20px;
}

.footer-table {
    border-collapse: collapse;
    border: none;
    margin: 0;
    line-height: 1;
}

.footer-table td {
    border: none;
    padding: 2px 8px;
}

.copyright {
    font-size: 12px;
    color: #777;
}


/* 🎯 レスポンシブ対応 */
@media screen and (max-width: 768px) {
    footer {
        padding: 20px 0px;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-inner {
        display: inline-block;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-logo {
        max-width: 100px;
        height: auto;
        object-fit: contain;
        /* 比率を保って収める */
    }

    .footer-company {
        line-height: 0.2;
    }

    .postcode {
        font-size: 10px;
    }

    .phone-fax {
        margin-bottom: 10px;
    }

    .footer-open p {
        margin-bottom: 0;
    }

    .footer-table {
        border-collapse: collapse;
        margin: 0 auto;
        table-layout: auto;
    }

    .footer-table td {
        padding: 2px 8px;
        white-space: nowrap;
    }

    .footer-table td:first-child {
        text-align: right;
    }

    .footer-table td:last-child {
        text-align: left;
    }

    .copyright {
        font-size: 10px;
        margin-top: 5px;
        margin-bottom: 0;
    }

    .social-links {
        margin-bottom: 20px;
    }
}

/* 固定お問い合わせボタン */
.contact-buttons {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.contact-button {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: all 0.3s;
}

.contact-button.line {
    background-color: #00B900;
}

.contact-button.mail {
    background-color: #F57C00;
}

.contact-button.tel {
    background-color: #0288D1;
}

.contact-button:hover {
    opacity: 0.9;
}

/* 🎯 レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-button {
        font-size: 11px;
    }
}