/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ローディング画面 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFF5F8 0%, #F5F1E8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    width: 90%;
    max-width: 500px;
    padding: 0 20px;
}

.loading-taxi {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: 30px;
}

.loading-taxi img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: auto;
    max-width: 120px;
    animation: taxiDrive 2.5s ease-in-out forwards;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

@keyframes taxiDrive {
    0% {
        left: 0;
    }
    100% {
        left: calc(100% - 120px);
    }
}

.loading-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(212, 143, 177, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #E8B4C8 0%, #D48FB1 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s ease;
}

.loading-text {
    font-family: 'Shippori Mincho', serif;
    font-size: 32px;
    font-weight: 600;
    color: #D48FB1;
    letter-spacing: 0.05em;
}

/* ヘッダー */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
}

/* ハンバーガーメニュー（常に表示） */
.menu-toggle {
    display: inline-block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    width: 50px;
    height: 50px;
    position: relative;
    transition: all 0.3s;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* ハンバーガーメニューの3本線 */
.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #D48FB1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background-color: #D48FB1;
    position: absolute;
    left: 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle span::before {
    top: -9px;
}

.menu-toggle span::after {
    bottom: -9px;
}

/* メニューが開いている時のアニメーション */
.menu-toggle.active span {
    background-color: transparent;
}

.menu-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.menu-toggle:hover span,
.menu-toggle:hover span::before,
.menu-toggle:hover span::after {
    background-color: #B86A8F;
}

/* ナビゲーション（デフォルト非表示） */
nav {
    display: none;
    width: 100%;
    margin-top: 15px;
}

nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

nav li {
    border-bottom: 1px solid #f0f0f0;
}

nav li:last-child {
    border-bottom: none;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s;
}

nav a:hover {
    background-color: #FFF5F8;
    color: #D48FB1;
    padding-left: 30px;
}

/* メインビジュアル */
.hero {
    background: #F5F1E8;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-container {
    max-width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

/* 上半分：縦書きテキストエリア */
.hero-text-wrapper {
    height: 45vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 20px;
    position: relative;
}

.hero-left-text {
    display: contents;
}

.hero-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Shippori Mincho', serif;
    font-size: 18px;
    line-height: 2.2;
    color: #555;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-main-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin-left: 40px;
}

.hero-main-title h1 {
    font-family: 'Shippori Mincho', serif;
    font-size: 70px;
    font-weight: 700;
    color: #D48FB1;
    letter-spacing: 0.15em;
    line-height: 1.6;
}

/* 下半分：スライダーエリア */
.hero-slider-wrapper {
    height: 45vh;
    overflow: hidden;
    position: relative;
}

.hero-slider {
    display: flex;
    gap: 30px;
    animation: slide 20s linear infinite;
    width: fit-content;
}

.hero-slide {
    flex-shrink: 0;
    width: 400px;
    height: 40vh;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* CTAボタンエリア */
.hero-cta-bottom {
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.btn-phone {
    display: inline-block;
    background-color: #D48FB1;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.3);
}

.btn-phone:hover {
    background-color: #B86A8F;
    transform: translateY(-2px);
}

.btn-contact {
    display: inline-block;
    background-color: #fff;
    color: #D48FB1;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #D48FB1;
}

.btn-contact:hover {
    background-color: #D48FB1;
    color: #fff;
}

.btn-primary {
    display: inline-block;
    background-color: #D48FB1;
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.3);
}

.btn-primary:hover {
    background-color: #B86A8F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.4);
}

/* セクション共通 */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #D48FB1;
    margin: 20px auto 0;
}

/* Shippori Mincho フォント用のセクションタイトル */
.section-title-mincho {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
}

.section-title-mincho::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #D48FB1;
    margin: 20px auto 0;
}

.section-subtitle {
    text-align: center;
    color: #D48FB1;
    margin-bottom: 50px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* サービス紹介 */
.service-intro {
    padding: 0;
}

.service-intro-bg {
    position: relative;
    background-image: url('../img/hero-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.service-intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.service-intro .container {
    position: relative;
    z-index: 2;
}

.service-intro .section-title {
    color: #333;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
}

.section-subtitle-modern {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D48FB1;
    margin-bottom: 50px;
    text-align: center;
}

.service-intro-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-intro-description p {
    font-size: 18px;
    line-height: 2.2;
    color: #444;
    font-weight: 500;
}

/* 利用の流れ */
.service-flow {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.flow-title {
    text-align: center;
    font-size: 32px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.flow-subtitle {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D48FB1;
    margin-bottom: 50px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.flow-step:hover {
    background: #FFF5F8;
    border-color: #E8B4C8;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(212, 143, 177, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8B4C8 0%, #D48FB1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    font-family: 'Shippori Mincho', serif;
}

.step-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.flow-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    color: #D48FB1;
}

.flow-arrow svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* 関連ページ（バナー形式 - 斜めレイアウト） */
.related-pages {
    background-color: #F5F1E8;
    padding: 100px 20px;
    overflow: hidden;
}

.related-banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
    min-height: 450px;
}

.related-banner {
    position: relative;
    width: 320px;
    height: 420px;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.related-banner:nth-child(1) {
    transform: rotate(-10deg) translateX(30px);
    z-index: 1;
}

.related-banner:nth-child(2) {
    transform: rotate(-5deg) translateX(15px);
    z-index: 2;
    margin: 0 -40px;
}

.related-banner:nth-child(3) {
    transform: rotate(0deg) scale(1.1);
    z-index: 3;
    margin: 0 -40px;
}

.related-banner:nth-child(4) {
    transform: rotate(5deg) translateX(-15px);
    z-index: 2;
    margin: 0 -40px;
}

.related-banner:nth-child(5) {
    transform: rotate(10deg) translateX(-30px);
    z-index: 1;
}

.related-banner:hover {
    transform: rotate(0deg) scale(1.15) translateY(-20px) !important;
    z-index: 10 !important;
    box-shadow: 0 30px 80px rgba(212, 143, 177, 0.4);
}

.banner-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: brightness(0.9);
}

.related-banner:hover .banner-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    color: #fff;
    z-index: 1;
    transition: all 0.4s;
}

.related-banner:hover .banner-overlay {
    padding-bottom: 50px;
    background: linear-gradient(to top, rgba(212, 143, 177, 0.9) 0%, rgba(212, 143, 177, 0.6) 60%, transparent 100%);
}

.banner-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.4s;
}

.related-banner:hover .banner-overlay h3 {
    transform: translateY(-5px);
}

.banner-overlay p {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #E8B4C8;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.9;
    margin-bottom: 8px;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2.2;
    display: block;
    transition: all 0.3s;
    padding: 4px 0;
}

.footer-section a:hover {
    color: #E8B4C8;
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #999;
    font-size: 14px;
}

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.fixed-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.fixed-phone {
    background-color: #D48FB1;
    color: #fff;
}

.fixed-phone:hover {
    background-color: #B86A8F;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.4);
}

.fixed-mail {
    background-color: #fff;
    color: #D48FB1;
    border: 2px solid #D48FB1;
}

.fixed-mail:hover {
    background-color: #D48FB1;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.4);
}

.fixed-btn svg {
    width: 28px;
    height: 28px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .loading-content {
        width: 85%;
        padding: 0 15px;
    }

    .loading-taxi {
        height: 80px;
        margin-bottom: 25px;
    }

    .loading-taxi img {
        height: 50px;
        max-width: 100px;
    }

    @keyframes taxiDrive {
        0% {
            left: 0;
        }
        100% {
            left: calc(100% - 100px);
        }
    }

    .loading-bar {
        height: 6px;
        margin-bottom: 18px;
    }

    .loading-text {
        font-size: 28px;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        height: auto;
    }

    .hero-text-wrapper {
        height: auto;
        display: flex;
        flex-direction: row;
        gap: 15px;
        padding: 50px 20px 40px;
        align-items: flex-end;
    }

    .hero-left-text {
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex: 1;
    }

    .hero-vertical-text {
        writing-mode: horizontal-tb;
        font-size: 13px;
        text-align: left;
        line-height: 1.9;
        color: #666;
    }

    .hero-main-title {
        writing-mode: vertical-rl;
        text-orientation: upright;
        margin-left: 0;
        flex-shrink: 0;
    }

    .hero-main-title h1 {
        font-size: 40px;
        writing-mode: vertical-rl;
        text-orientation: upright;
        letter-spacing: 0.12em;
        line-height: 1.4;
    }

    .hero-slider-wrapper {
        height: 250px;
    }

    .hero-slide {
        width: 280px;
        height: 220px;
    }

    .section-title {
        font-size: 28px;
    }

    .logo img {
        height: 40px;
    }

    .service-intro-bg {
        padding: 60px 20px;
        min-height: 400px;
    }

    .service-intro-description p {
        font-size: 16px;
        line-height: 2;
    }

    /* 利用の流れ - レスポンシブ */
    .service-flow {
        margin: 60px auto 0;
        padding: 40px 25px;
    }

    .flow-title {
        font-size: 26px;
    }

    .flow-subtitle {
        font-size: 12px;
        margin-bottom: 40px;
    }

    .flow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }

    .flow-step:hover {
        transform: translateY(-5px);
    }

    .step-number {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .step-content h4 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 15px;
    }

    .flow-arrow {
        padding: 10px 0;
    }

    .related-pages {
        padding: 60px 20px;
    }

    .related-banners {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        perspective: none;
    }

    .related-banner {
        width: 100%;
        max-width: 400px;
        height: 350px;
        margin: 0 auto !important;
    }

    .related-banner:nth-child(1),
    .related-banner:nth-child(2),
    .related-banner:nth-child(3),
    .related-banner:nth-child(4),
    .related-banner:nth-child(5) {
        transform: rotate(0deg) !important;
        z-index: 1 !important;
    }

    .related-banner:hover {
        transform: scale(1.05) translateY(-10px) !important;
    }

    .banner-overlay {
        padding: 30px 25px;
    }

    .banner-overlay h3 {
        font-size: 22px;
    }

    footer {
        padding: 40px 15px 90px; 
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        margin-bottom: 15px;
    }
    
    .footer-section p {
        line-height: 1.6;
        margin-bottom: 5px;
    }
    
    .footer-section a {
        line-height: 1.8;
        padding: 2px 0;
    }

    .fixed-cta {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .fixed-btn {
        width: 55px;
        height: 55px;
    }

    .fixed-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 400px) {
    .loading-content {
        width: 85%;
        padding: 0 10px;
    }

    .loading-taxi {
        height: 60px;
        margin-bottom: 20px;
    }

    .loading-taxi img {
        height: 40px;
        max-width: 80px;
    }

    @keyframes taxiDrive {
        0% {
            left: 0;
        }
        100% {
            left: calc(100% - 80px);
        }
    }

    .loading-bar {
        height: 6px;
        margin-bottom: 15px;
    }

    .loading-text {
        font-size: 24px;
    }

    body {
        overflow-x: hidden;
    }

    .header-container {
        padding: 12px 15px;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        width: 45px;
        height: 45px;
        padding: 12px;
    }

    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
        width: 24px;
    }

    nav a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .hero-text-wrapper {
        padding: 40px 15px 30px;
        gap: 12px;
    }

    .hero-vertical-text {
        font-size: 12px;
    }

    .hero-main-title h1 {
        font-size: 36px;
    }

    .hero-slider-wrapper {
        height: 220px;
    }

    .hero-slide {
        width: 250px;
        height: 200px;
    }

    .hero-cta-bottom {
        padding: 0 15px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .btn-phone,
    .btn-contact {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title-mincho {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .service-intro-bg {
        padding: 50px 15px;
    }

    .service-intro-description p {
        font-size: 14px;
    }

    /* 利用の流れ - 小画面対応 */
    .service-flow {
        margin: 50px auto 0;
        padding: 35px 20px;
    }

    .flow-title {
        font-size: 24px;
    }

    .flow-subtitle {
        font-size: 11px;
        margin-bottom: 35px;
    }

    .flow-step {
        padding: 20px 15px;
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-content h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .flow-arrow {
        padding: 8px 0;
    }

    .related-pages {
        padding: 50px 15px;
    }

    .related-banner {
        height: 300px;
    }

    .banner-overlay {
        padding: 25px 20px;
    }

    .banner-overlay h3 {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-section h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .footer-section p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 3px;
    }

    .footer-section a {
        font-size: 14px;
        line-height: 1.6;
        padding: 1px 0;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }

    .fixed-cta {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .fixed-btn {
        width: 50px;
        height: 50px;
    }

    .fixed-btn svg {
        width: 22px;
        height: 22px;
    }
}




/* 固定CTAレイヤー（コンテナ） */
.fixed-cta-layer {
    position: fixed;
    z-index: 9999;
    pointer-events: none; /* コンテナ自体はクリックを邪魔しない */
}

/* テキストパネル（共通） */
.cta-text-panel {
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: auto; /* 子要素はクリック可能に戻す */
    backdrop-filter: blur(5px);
}

.cta-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #D48FB1;
    letter-spacing: 0.05em;
}

.cta-message {
    font-family: 'Shippori Mincho', serif;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

/* ボタンエリア（共通） */
.cta-button-group {
    display: flex;
    gap: 12px;
    pointer-events: auto;
}

.fixed-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* ボタン色設定 */
.fixed-phone {
    background-color: #D48FB1;
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.4);
}
.fixed-phone:hover {
    background-color: #B86A8F;
    transform: translateY(-3px);
}

.fixed-mail {
    background-color: #fff;
    color: #D48FB1;
    border: 2px solid #D48FB1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.fixed-mail:hover {
    background-color: #D48FB1;
    color: #fff;
    transform: translateY(-3px);
}

.fixed-btn svg {
    width: 26px;
    height: 26px;
}


/* --- デスクトップ表示設定 --- */
@media (min-width: 769px) {
    .fixed-cta-layer {
        bottom: 30px;
        right: 30px;
        display: flex;
        align-items: center;
        gap: 20px; /* テキストとボタンの距離 */
    }

    /* PCでは吹き出しのように左側に配置 */
    .cta-text-panel {
        padding: 12px 20px;
        border-radius: 50px;
        border: 1px solid rgba(212, 143, 177, 0.3);
    }
}


/* --- スマホ表示設定（レスポンシブ） --- */
@media (max-width: 768px) {
    .fixed-cta-layer {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0; /* 高さは持たせず配置の基準点にする */
    }

    /* テキストは画面最下部にバーとして配置 */
    .cta-text-panel {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px; /* バーの高さ */
        padding-bottom: env(safe-area-inset-bottom); /* iPhone下のバー対策 */
        justify-content: flex-start; /* 左寄せ */
        padding-left: 20px;
        border-top: 1px solid rgba(212, 143, 177, 0.2);
    }
    
    .cta-date {
        font-size: 13px;
    }
    
    .cta-message {
        font-size: 14px;
    }

    /* ボタンはバーの上に浮かせる（右下配置） */
    .cta-button-group {
        position: absolute;
        bottom: 65px; /* テキストバー(50px) + マージン(15px) */
        right: 15px;
        flex-direction: column; /* 縦並びに戻す（横並びが良い場合は row に変更可） */
        gap: 10px;
    }

    /* スマホ用にボタンサイズを微調整 */
    .fixed-btn {
        width: 50px;
        height: 50px;
    }
    
    .fixed-btn svg {
        width: 22px;
        height: 22px;
    }
}