/* =========================
   基本設定
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;

    color: #333;
    background: #fff;

    overflow-x: hidden;
}


/* =========================
   固定ヘッダー
========================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 30px;

    z-index: 1000;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================
   ロゴ
========================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

.logo img {
    display: block;
    object-fit: contain;
}

.logo img:first-child {
    width: 55px;
    height: 55px;
}

.logo img:last-child {
    width: 90px;
    height: auto;
}


/* =========================
   SNSリンク
========================= */

.sns-links {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-left: auto;
    margin-right: 10px;
}

.sns-links a {
    display: block;

    width: 40px;
    height: 40px;
}

.sns-links img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================
   ハンバーガーボタン
========================= */

.hamburger {
    width: 50px;
    height: 50px;

    border: none;
    background: #fff;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 6px;

    cursor: pointer;

    z-index: 1100;
}

.hamburger span {
    display: block;

    width: 28px;
    height: 3px;

    background: #333;

    transition: 0.3s;
}


/* ハンバーガーを×にする */

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

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

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


/* =========================
   メニュー
========================= */

.menu {
    position: fixed;

    top: 80px;
    right: 0;

    width: 280px;

    background: #fff;

    transform: translateX(100%);

    transition: transform 0.3s ease;

    box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.1);

    z-index: 1050;
}

.menu.open {
    transform: translateX(0);
}

.menu ul {
    list-style: none;
}

.menu li {
    border-bottom: 1px solid #eee;
}

.menu a {
    display: block;

    padding: 20px;

    color: #333;

    text-decoration: none;

    font-size: 17px;
}

.menu a:hover {
    background: #f5f5f5;
}


/* =========================
   スライダー
========================= */

main {
    padding-top: 80px;
}

.slider {
    width: 100%;
    padding-top: 30px;
}


/* =========================
   スライダー表示部分
========================= */

.slider-window {
    position: relative;

    width: 100%;
    max-width: 1600px;

    height: 600px;

    margin: 0 auto;

    overflow: hidden;
}


/* =========================
   スライド全体
========================= */

.slides {
    position: relative;

    width: 100%;
    height: 100%;
}


/* =========================
   全画像共通
========================= */

.slide {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 800px;
    height: 480px;

    transform: translate(-50%, -50%);

    overflow: hidden;

    opacity: 0.35;

    transition:
        left 0.5s ease,
        transform 0.5s ease,
        opacity 0.5s ease;

    z-index: 1;
}


/* =========================
   画像
========================= */

.slide img {
    width: 800px;
    height: 480px;

    object-fit: cover;

    display: block;
}


/* =========================
   中央・アクティブ画像
========================= */

.slide.active {
    width: min(1000px, 80vw);
    height: min(600px, 48vw);

    left: 50%;

    opacity: 1;

    z-index: 3;
}

.slide.active img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================
   左側の画像
========================= */

.slide.prev {
    left: calc(50% - 580px);

    transform: translate(-50%, -50%);

    opacity: 0.35;

    z-index: 2;
}


/* =========================
   右側の画像
========================= */

.slide.next {
    left: calc(50% + 580px);

    transform: translate(-50%, -50%);

    opacity: 0.35;

    z-index: 2;
}


/* =========================
   左右画像サイズ
========================= */

.slide.prev,
.slide.next {
    width: 800px;
    height: 480px;

    transform: translate(-50%, -50%) scale(0.7);

    opacity: 0.35;

    z-index: 2;
}


/* =========================
   左右矢印
========================= */

.arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 70px;

    border: none;

    background: rgba(255, 255, 255, 0.85);

    color: #333;

    font-size: 32px;

    cursor: pointer;

    z-index: 10;
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

.arrow:hover {
    background: #fff;
}


/* =========================
   ドット
========================= */

.dots {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 6px;

    margin-top: 12px;

    height: 24px;
}


/* 3つの● */

.dot {
    border: none;

    background: transparent;

    color: #d0d0d0;

    font-size: 14px;

    line-height: 1;

    padding: 0;

    cursor: pointer;

    transition: color 0.3s ease;
}


/* 現在表示中の● */

.dot.active {
    color: #444;
}


/* =========================
   タブレット
========================= */

@media (max-width: 1100px) {

    .slider-window {
        height: 50vw;
        min-height: 400px;
    }

    .slide.active {
        width: 80vw;
        height: 48vw;
    }

    .slide.prev {
        left: calc(50% - 48vw);
    }

    .slide.next {
        left: calc(50% + 48vw);
    }

}


/* ========================= 
   スマートフォン 
========================= */
@media (max-width: 600px) {

    /* =========================
       ヘッダー
    ========================= */

    .header {
        height:65px;
        padding:0 10px;
        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    /* 左側
       ロゴ①
       児童発達支援
       放課後等デイサービス
       ロゴ②
    */

    .logo {
        display:flex;
        align-items:center;
        gap:5px;
        font-size:11px;
        line-height:1.4;
        white-space:nowrap;
    }

    .logo span {
        display:block;
        width:105px;
        text-align:left;
        white-space:normal;
        line-height:1.4;
    }

    .logo img:first-child {
        width:38px;
        height:38px;
        flex-shrink:0;
    }

    .logo img:last-child {
        width:55px;
        flex-shrink:0;
    }

    /* =========================
       SNS
       Instagram・LINE
    ========================= */

    .sns-links {
        display:flex;
        align-items:center;
        gap:5px;
        margin-right:5px;
    }

    .sns-links a {
        width:32px;
        height:32px;
    }

    .sns-links img {
        width:100%;
        height:100%;
    }

    /* =========================
       ハンバーガー
    ========================= */

    .hamburger {
        width:45px;
        height:45px;
        flex-shrink:0;
    }

    /* メニュー */
    .menu {
        top:65px;
        width:100%;
    }

    main {
        padding-top:65px;
    }

    /* =========================
       スライダー
    ========================= */

    .slider {
        padding-top:15px;
    }

    .slider-window {
        height:65vw;
        min-height:280px;
    }

    /* 中央画像 */
    .slide.active {
        width:90vw;
        height:54vw;
    }

    /* 左右画像 */
    .slide.prev,
    .slide.next {
        width:70vw;
        height:42vw;
        transform:translate(-50%, -50%) scale(0.8);
        opacity:0.35;
    }

    /* 矢印 */
    .arrow {
        width:40px;
        height:55px;
        font-size:25px;
    }

    .arrow-left {
        left:5px;
    }

    .arrow-right {
        right:5px;
    }


    /* ドット */
    .dots {
        margin-top:8px;
    }

    .dot {
        font-size:13px;
    }
}




/* =========================================
   支援プログラム
========================================= */

.support-program {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* 下の余白を 0px ↓に縮めます */
    padding: 90px 30px 0px;
}


/* -----------------------------------------
    タイトル
----------------------------------------- */

.program-title {
    width: fit-content;
    min-width: 270px;
    margin: 0 auto 80px;
    padding: 22px 55px 18px;
    background: #f8f5f2;
    text-align: center;
    position: relative; /* 基準位置にするため追加 */
}


/* 右上のめくれ効果 */
.program-title::after {
    position: absolute;
    content: '';
    border-style: solid;
    right: 0px;
    top: 0px;
    border-width: 0 20px 20px 0;
    border-color: #d8bda5 #ffffff #d8bda5; /* 全体のカラー（#d8bda5）に合わせて調整 */
    box-shadow: -1px 2px 2px rgba(0, 0, 0, 0.1);
}


.program-title span {
    display: block;

    font-family: "Caveat", "Segoe Print", cursive;
    font-size: 38px;
    line-height: 1;

    color: #d8bda5;
    margin-bottom: 5px;
}

.program-title h2 {
    font-family: "Zen Maru Gothic", sans-serif;
    margin: 0;

    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


/* -----------------------------------------
   プログラム全体
----------------------------------------- */

.program-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;

    margin-bottom: 120px;

    opacity: 0;
    transform: translateY(70px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}


/* 表示されたとき */

.program-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* -----------------------------------------
   画像
----------------------------------------- */

.program-image {
    width: 100%;
    overflow: hidden;

    border-radius: 28px;
}

.program-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 28px;

    transition: transform 0.6s ease;
}


/* 少しだけ拡大する演出 */

.program-image:hover img {
    transform: scale(1.03);
}


/* -----------------------------------------
   PC：左右交互
----------------------------------------- */

/* 01・03・05 */

.program-item:nth-of-type(2n + 1) .program-image {
    order: 1;
}

.program-item:nth-of-type(2n + 1) .program-text {
    order: 2;
}


/* 02・04 */

.program-item:nth-of-type(2n) .program-image {
    order: 2;
}

.program-item:nth-of-type(2n) .program-text {
    order: 1;
}


/* -----------------------------------------
   数字 01～05
----------------------------------------- */

.program-number {
    margin-bottom: 8px;

    font-family: "Caveat", "Segoe Print", cursive;
    font-size: 54px;
    line-height: 1;

    color: #d8bda5;
}


/* -----------------------------------------
   見出し
----------------------------------------- */

.program-text h3 {
    margin: 0 0 28px;

    font-family: "Zen Maru Gothic", sans-serif;    font-size: 27px;
    font-weight: 700;
    line-height: 1.6;

    letter-spacing: 0.08em;
}
/* 「ふわり」だけ少し大きくする */
.program-text h3 .fuwari-text {
    font-size: 1.5em;
    /* ▼ 字間を縮めるプロパティを追加 */
    letter-spacing: -0.04em; 
}


/* -----------------------------------------
   本文
----------------------------------------- */

.program-text p {
    font-family: "M PLUS Rounded 1c", sans-serif;
    transform: rotateZ(0.03deg); /* シャギー除去ここに入れます */
    margin: 0;

    font-size: 17px;
    line-height: 2.15;

    letter-spacing: 0.12em;
    text-align: left;
}


/* -----------------------------------------
   タブレット
----------------------------------------- */

@media screen and (max-width: 900px) {

    .support-program {
        padding: 70px 25px 90px;
    }

    .program-item {
        gap: 40px;
        margin-bottom: 90px;
    }

    .program-text h3 {
        font-size: 23px;
    }

    .program-text p {
        font-size: 16px;
        line-height: 2;
    }

}


/* -----------------------------------------
   スマートフォン
----------------------------------------- */

@media screen and (max-width: 600px) {

    .support-program {
        padding: 20px 20px 0px;
    }


    /* タイトル */

    .program-title {
        min-width: 220px;

        margin-bottom: 60px;

        padding: 18px 35px 15px;
    }

    .program-title span {
        font-size: 32px;
    }

    .program-title h2 {
        font-size: 22px;
    }


    /* 1項目を縦並び */

    .program-item {
        display: flex;
        flex-direction: column;

        gap: 30px;

        margin-bottom: 80px;
    }


    /* スマホでは全部
       「画像 → 文章」 */

    .program-item:nth-of-type(2n + 1) .program-image,
    .program-item:nth-of-type(2n) .program-image {
        order: 1;
    }

    .program-item:nth-of-type(2n + 1) .program-text,
    .program-item:nth-of-type(2n) .program-text {
        order: 2;
    }


    /* 画像 */

    .program-image {
        width: 100%;
        border-radius: 22px;
    }

    .program-image img {
        border-radius: 22px;
    }


    /* 数字 */

    .program-number {
        font-size: 48px;
        margin-bottom: 8px;
    }


    /* 見出し */

    .program-text h3 {
        font-size: 21px;
        line-height: 1.6;

        margin-bottom: 20px;
    }


    /* 本文 */

    .program-text p {
        font-size: 15px;
        line-height: 2;

        letter-spacing: 0.08em;
    }

}





/* =========================
   Information 
========================= */

.information {

    max-width:900px;

    margin:0 auto;

    /* 上の余白を詰めるため padding-top を小さくします */

    padding: 40px 30px 100px;

}



/* =========================
   Information 罫線
========================= */

.information .info-list {
    width:100%;
}


.information .info-item {

    display:flex;

    align-items:center;

    width:100%;

    padding:22px 0;

    border-bottom:1px solid #bdb5ac;

}


.information .info-item:first-child {

    border-top:1px solid #bdb5ac;

}


.information .info-label {

    width:220px;

    flex-shrink:0;

    padding-left:25px;

    font-family:"Zen Maru Gothic",sans-serif;

    font-weight:700;

}


.information .info-text {

    flex:1;
    font-family:"M PLUS Rounded 1c",sans-serif;
    transform: rotateZ(0.03deg); /* シャギー除去ここに入れます */

    line-height:2;

}



/* スマホ */

@media(max-width:600px){


.information .info-item {

    display:block;

    padding:20px 0;

}


.information .info-label {

    width:auto;

    margin-bottom:10px;

}


}




/* =========================
   マップ
========================= */

/* Googleマップ */
.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}





/* =========================
   ご利用のながれ
========================= */

.flow-area {

    max-width:900px;

    margin:auto;

    padding:80px 20px;

    box-sizing: border-box;

    background-image:url("images/flow-bg.jpg");

    background-size: cover;       /* セクション全体に画像を合わせる */
    background-position: center;  /* 画像の中央を表示する */
    background-repeat: no-repeat; /* 画像の繰り返しをなくす */

    font-family: "M PLUS Rounded 1c", sans-serif;
    transform: rotateZ(0.03deg);

}


.flow-inner {

    max-width:800px;

    margin:auto;

    background:rgba(255,255,255,0.9);

    border-radius:30px;

    padding:50px 80px;

}



.flow-title {

    text-align:center;

}


.flow-title span {

    font-family: "Caveat", "Segoe Print", cursive;

    font-size:38px;

    color:#d8bda3;

}


.flow-title h2 {

    font-family: "Zen Maru Gothic", sans-serif ;
    font-size:28px;
 
    margin-top: 0px; 
    margin-bottom: 60px; 

}



.flow-top-line {

    width:2px;

    height:45px;

    background:#333;

    margin:25px auto 70px;

}




.flow-box {

    display:flex;

    gap:40px;

    position:relative;

    margin-bottom:90px;

}



.flow-icon {

    width:100px;

    height:100px;

    background:#dcc2a8;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    color:white;

    font-size:35px;

    flex-shrink:0;

}



.flow-icon small {

    color:#ffffff;

    font-size:22px;

    font-family: "Caveat", "Segoe Print", cursive;

    font-weight:bold;

}



.flow-content h3 {

    font-size:24px;

    margin:0 0 15px;

}


.flow-content p {

    line-height:2;

}



/* 縦線 */

.flow-box:not(:last-child)::after {

    content:"";

    position:absolute;

    left:50px;

    top:110px;

    height:80px;

    width:2px;

    background:#dfc8af;

}




/* ========================================
   スマホ専用デザイン　支援プログラム＆インフォメーション
======================================== */

@media screen and (max-width: 768px) {

    /* --------------------------------
       共通
    -------------------------------- */

    .support-program,
    .flow-area {
        padding-left: 18px;
        padding-right: 18px;
    }


    /* --------------------------------
       セクションタイトル
    -------------------------------- */

    .program-title,
    .flow-title {
        text-align: center;
        margin-bottom: 35px;
    }

    .program-title span,
    .flow-title span {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .program-title h2,
    .flow-title h2 {
        font-size: 26px;
        margin-top: 5px;
    }


    /* =================================
       支援プログラム　スマホ
    ================================= */

    .program-item {
        display: flex;
        flex-direction: column;
        margin-bottom: 45px;
        padding: 0;
    }

    /* 画像 */
    .program-image {
        width: 100%;
        margin-bottom: 0;
    }

    .program-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 18px 18px 0 0;
    }


    /* 文章部分 */
    .program-text {
        width: 100%;
        box-sizing: border-box;
        background: #fffaf5;
        padding: 25px 22px 28px;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    }


    /* 番号 */
    .program-number {
        font-family: 'Caveat', cursive;
        font-size: 38px;
        line-height: 1;
        color: #e8a59a;
        margin-bottom: 5px;
    }


    /* 見出し */
    .program-text h3 {
        font-size: 21px;
        color: #555;
        margin: 0 0 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0d8d2;
    }


    /* 本文 */
    .program-text p {
        font-size: 14px;
        line-height: 2;
        color: #666;
        margin: 0;
    }


/* ================================= 
   Information スマホ
================================= */

.information { 
    padding-top: 25px; 
    padding-bottom: 55px; 
} 

.info-list { 
    width: 100%;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
} 

.info-item { 
    display: block; 
    margin-bottom: 0; 
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
} 

.info-label { 
    width: 100%; 
    box-sizing: border-box; 
    padding: 10px 16px; 
    background: #f3ded8; 
    color: #6b5b57; 
    font-weight: 700; 
    font-size: 14px; 
} 

.info-text { 
    width: 100%; 
    box-sizing: border-box; 
    padding: 14px 16px;  /* 上下14px、左右16pxの余白 */
    font-size: 14px; 
    line-height: 1.9; 
    color: #555; 
    background: #fff; 
}

.info-item,
.info-label,
.info-text {
    border: none !important;
}


/* Googleマップ */
.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}



/* ========================================
   スマホ専用：ご利用のながれ
   ※ 768px以下のみ変更
======================================== */

@media screen and (max-width: 768px) {

    /* --------------------------------
        ご利用のながれ 全体
    -------------------------------- */

    .flow-area {
        padding: 40px 18px 70px;
        background: #fffaf7;
        box-sizing: border-box;
    }

    .flow-inner {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-sizing: border-box;
    }


    /* --------------------------------
        タイトル
    -------------------------------- */

    .flow-title {
        text-align: center;
        margin: 0 0 40px;
    }

    .flow-title span {
        display: block;
        margin: 0 0 5px;
        font-family: "Caveat", "Segoe Print", cursive;
        font-size: 28px;
        font-weight: 500;
        line-height: 1;
        color: #e7a59b;
        letter-spacing: 1px;
    }

    .flow-title h2 {
        margin: 0;
        font-family: "Zen Maru Gothic", sans-serif;
        font-size: 27px;
        font-weight: 700;
        line-height: 1.5;
        color: #555;
        letter-spacing: 2px;
    }

    /* --------------------------------
       STEPタイトル
    -------------------------------- */

    .flow-content h3 {
        margin: 0 0 13px;

        text-align: center;

        font-family: "Zen Maru Gothic", sans-serif;

        font-size: 20px;
        font-weight: 700;

        line-height: 1.5;

        color: #555;

        letter-spacing: 1px;
    }


    /* --------------------------------
       STEP本文
    -------------------------------- */

    .flow-content p {
        margin: 0;
        font-family: "M PLUS Rounded 1c", sans-serif;
        transform: rotateZ(0.03deg); /* シャギー除去ここに入れます */
        font-size: 14px;

        line-height: 2;

        color: #666;

        letter-spacing: 0.3px;

        text-align: left;
    }

    /* --------------------------------
       STEP間の縦線はスマホでは非表示
    -------------------------------- */

    .flow-box:not(:last-child)::after {
        display: none;
    }



    /* --------------------------------
        STEPカード
    -------------------------------- */

.flow-box {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 0 25px;
        padding: 25px 20px 28px; /* ← 上側のパディングを少し広げるとスッキリします */
        background: #fff;
        border: none;
        border-radius: 24px;
        box-sizing: border-box;
        box-shadow: 0 5px 18px rgba(180, 140, 120, 0.10);
        overflow: visible;
    }


/* --------------------------------
        要素の並び順（order）の調整
        HTMLの構造に関係なく、この順番で表示されます
    -------------------------------- */

    /* 1番目：STEP番号（small）を最上部に */
    .flow-icon small {
        order: 1;
        position: static;
        display: inline-block;
        margin: 0 auto 12px; /* 番号とアイコンの間隔 */
        min-width: 62px;
        height: 25px;
        padding: 0 10px;
        background: #e7a59b;
        color: #fff;
        border-radius: 20px;
        font-family: "Caveat", "Segoe Print", cursive;
        font-size: 15px;
        font-weight: 500;
        line-height: 25px;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        box-shadow: 0 3px 8px rgba(200, 130, 120, 0.15);
    }

    /* 2番目：アイコン */
    .flow-icon {
        order: 2;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 78px;
        height: 78px;
        margin: 0 auto 18px; /* アイコンとタイトル（h3）の間隔 */
        padding: 0;
        background: #fff1ed;
        border-radius: 50%;
        box-sizing: border-box;
        font-size: 34px;
        line-height: 1;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(220, 150, 140, 0.12);
    }

    /* 3番目：テキストエリア（h3 と p が入っている親要素を想定） */
    .flow-content {
        order: 3;
        width: 100%; /* 幅をしっかり合わせる場合 */
    }

}

    /* --------------------------------
        カード下部のアクセント
    -------------------------------- */

    .flow-box::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -1px;
        transform: translateX(-50%);
        width: 55px;
        height: 5px;
        background: #f3b7ad;
        border-radius: 10px 10px 0 0;
    }


    /* --------------------------------
        STEP01〜05
        下部アクセントの色
    -------------------------------- */

    /* STEP1 */
    .flow-box:nth-of-type(1)::before {
        background: #e7a59b;
    }

    /* STEP2 */
    .flow-box:nth-of-type(2)::before {
        background: #e7b36d;
    }

    /* STEP3 */
    .flow-box:nth-of-type(3)::before {
        background: #9abd82;
    }

    /* STEP4 */
    .flow-box:nth-of-type(4)::before {
        background: #8db5d6;
    }

    /* STEP5 */
    .flow-box:nth-of-type(5)::before {
        background: #ad8fc4;
    }


    /* --------------------------------
        アイコン
    -------------------------------- */

    .flow-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 78px;
        height: 78px;
        margin: 28px auto 17px; /* 上部マージンを少し調整 */
        padding: 0;
        background: #fff1ed;
        border-radius: 50%;
        box-sizing: border-box;
        font-size: 34px;
        line-height: 1;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(220, 150, 140, 0.12);
    }


    /* --------------------------------
        Step1〜Step5（枠内に移動）
    -------------------------------- */

    .flow-icon small {
        position: static; /* 絶対配置を解除 */
        display: inline-block;
        margin: 0 auto 8px; /* アイコンの上の位置に配置 */
        min-width: 62px;
        height: 25px;
        padding: 0 10px;
        background: #e7a59b;
        color: #fff;
        border-radius: 20px;
        font-family: "Caveat", "Segoe Print", cursive;
        font-size: 15px;
        font-weight: 500;
        line-height: 25px;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        box-shadow: 0 3px 8px rgba(200, 130, 120, 0.15);
    }
    
    /* アイコン要素の親構造に合わせて並び順を変更（HTMLの構造上、iconの中にあるためFlexで順番を制御） */
    .flow-box {
        display: flex;
        flex-direction: column;
    }
    
    .flow-icon {
        order: 2; /* アイコンを2番目に */
    }

    /* STEP番号をアイコンより上に表示させるためのHTML構造擬似変更（flex orderを使用） */
    /* ※HTMLを書き換えずにCSSだけで順番を変えるため、flow-box内で並び替えます */
    
    .flow-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* 枠内上部にStep表示を移動させるため、flexで再配置 */
    /* HTMLの構造：flow-box > flow-icon(中身: small, 絵文字), flow-content */
    /* これを CSS grid や flex order で制御するか、small要素をabsoluteから静的配置にする場合、
       HTML内の並び順が「icon」→「content」のため、アイコンの上に小要素を出すにはCSSのorderが便利です。 */
}


/* =================================
   Q&A
   ================================= */
.qa-area {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  font-family: "M PLUS Rounded 1c", sans-serif;
  transform: rotateZ(0.03deg); /* シャギー除去 */
}

.qa {
  margin-bottom: 4px;
  border-bottom: 1px solid #fff;
}

.qa summary {
  padding: 12px 15px;
  background: #e0ffe9;
  color: #808080;
  font-weight: bold;
  cursor: pointer;
}

.qa .answer {
  padding: 12px 15px;
}

/* スマホ */
@media (max-width: 600px) {
  .qa summary,
  .qa .answer {
    padding: 10px 12px;
    font-size: 14px;
  }
}


/* =================================
   固定お問い合わせボタン
   ================================= */

.fixed-contact-banner {

  position: fixed;

  right: 30px;
  bottom: 30px;

  z-index: 9999;

  display: flex;

  flex-direction: column;

  gap: 12px;

}


/* ボタン共通 */

.contact-banner {

  width: 260px;

  min-height: 60px;


  display: flex;

  align-items: center;

  justify-content: center;


  gap: 8px;


  color: #fff;

  text-decoration: none;


  border-radius: 50px;


  box-shadow: 0 5px 15px rgba(0,0,0,0.15);


  transition: 0.3s;

}


/* 電話 */

.phone-banner {

  background: #49a942;

}


/* お問い合わせ */

.form-banner {

  background: #ef6c00;

}



/* アイコン */

.banner-icon {

  font-size: 25px;

  display: flex;

  align-items: center;

  justify-content: center;

}



/* お問い合わせ文字 */

.form-banner .banner-text {

  font-family: "Zen Maru Gothic", sans-serif;

  font-size: 22px;

  font-weight: 700;

  text-align: center;

  letter-spacing: 1px;

}



/* 電話番号 */

.phone-number {

  font-family: sans-serif;

  font-size: 22px;

  font-weight: bold;

  letter-spacing: 1px;

  display: inline-block;

}



/* 電話アイコン位置調整 */

.phone-banner .banner-icon {

  margin-right: -3px;

}



/* ホバー */

.contact-banner:hover {

  transform: translateY(-5px);

  opacity:0.9;

}



/* =================================
   固定お問い合わせボタン   スマホ
   ================================= */

@media screen and (max-width:767px){


.fixed-contact-banner {

  right: 15px;

  bottom: 20px;

  gap: 10px;

}



/* スマホは丸ボタン */

.phone-banner,
.form-banner {


  width: 60px;

  height: 60px;

  min-height: 60px;


  border-radius: 50%;


  padding: 0;


  display: flex;

  justify-content: center;

  align-items: center;


}



/* スマホは文字非表示 */

.phone-banner .banner-text,
.form-banner .banner-text {

  display: none;

}



/* アイコン */

.banner-icon {

  font-size: 28px;

}



/* お問い合わせ丸 */

.form-banner {

  background: #ef6c00;

}



/* 電話丸 */

.phone-banner {

  background: #49a942;

}
}


/* =================================
   PCでは電話バナーをクリック不可
   ================================= */

@media screen and (min-width:768px){

  .phone-banner {

    pointer-events: none;

    cursor: default;

  }


}

/* =========================
   Footer
========================= */

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #B2D3A5 0%,
    #dceef0 52%,
    #f5efe5 100%
  );
  color: #43575a;
}


/*    上部に少し丸みをつける
========================= */

.site-footer::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -5%;
  width: 110%;
  height: 120px;
  background: #fff;
  border-radius: 0 0 50% 50%;
}


.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 40px 35px;
}


/*    Contact
========================= */

.footer-contact {
  text-align: center;
  padding: 50px 20px 70px;
}


/*    お問い合わせタイトル
========================= */

.footer-contact h2 {
  position: relative;
  display: inline-block;

  margin: 0 0 35px;

  padding-top: 50px;
  padding-left: 30px;

  color: #3e5558;
  font-size: clamp(28px, 4vw, 42px);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.15em;

  line-height: 1.2;
}


/* Contents */

.footer-contact h2::before {
  content: "Contact";

  position: absolute;
  top: -10px;
  left: 0;

  color: #ef857d;

  font-size: 60px;
  font-weight: 400;

  font-family: "Great Vibes", cursive;
  font-style: italic;

  line-height: 1;
  white-space: nowrap;

  transform: rotate(-5deg);

  z-index: -1;
}


/*    Contact Description
========================= */

.footer-description {
  margin: 0 auto 35px;

  color: #657b7e;

  font-size: 14px;
  line-height: 2;
}


/*    Contact buttons
========================= */

.footer-contact-buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;

  max-width: 760px;
  margin: 0 auto;
}


/*    共通ボタン
========================= */

.footer-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 350px;
  min-height: 70px;

  padding: 15px 22px;

  border: 1px solid rgba(67, 87, 90, 0.2);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.65);

  color: #43575a;
  text-decoration: none;

  box-sizing: border-box;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.footer-button:hover {
  background: #fff;

  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(70, 90, 90, 0.1);
}


.button-label {
  font-size: 20px;
  font-weight: 500;
}


.button-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: #43575a;
  color: #fff;

  font-size: 16px;
}


/*    電話お問い合わせ
========================= */

.footer-tel {
  /*
   * ここを修正
   * 中身全体を枠の中央に配置
   */
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}


/*
 * 電話情報を入れているspan
 * 幅を100%にすることで
 * その中の3項目も中央揃え
 */
.footer-tel > span {
  display: block;
  width: 100%;
  text-align: center;
}


.footer-tel small {
  display: block;

  width: 100%;

  margin: 0 0 3px;

  color: #7d9193;
  font-size: 12px;
  line-height: 1.5;

  text-align: center;
}


.footer-tel strong {
  display: block;

  width: 100%;

  margin: 0;

  color: #43575a;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;

  text-align: center;
}


.footer-tel em {
  display: block;

  width: 100%;

  margin: 5px 0 0;

  color: #7d9193;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;

  text-align: center;
}


/*    Navigation
========================= */

.footer-nav {
  padding: 35px 0;
}


.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 8px 35px;

  margin: 0;
  padding: 0;

  list-style: none;
}


.footer-nav a {
  position: relative;

  color: #536a6d;

  font-size: 13px;

  text-decoration: none;

  transition: color 0.3s ease;
}


.footer-nav a::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -5px;
  left: 0;

  height: 1px;

  background: #536a6d;

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.3s ease;
}


.footer-nav a:hover {
  color: #273b3e;
}


.footer-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/*    公式アカウント
========================= */

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 25px 0 30px;

  border-bottom: 1px solid rgba(67, 87, 90, 0.15);
}


.footer-social > span {
  color: #333;

  font-size: 11px;
}


.footer-social .footer-logo {
  display: flex;
  align-items: center;

  color: #43575a;

  text-decoration: none;
}


.footer-social .footer-logo img {
  width: 22px;
  height: 22px;

  object-fit: contain;
}


/*    Bottom
========================= */

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 12px;

  padding-top: 20px;
}


.copyright {
  margin: 0;

  color: #899292;

  font-family: Arial, sans-serif;

  font-size: 10px;

  text-align: center;

  letter-spacing: 0.04em;
}


/* =========================
   フッター Mobile
========================= */

@media (max-width: 767px) {

  .footer-inner {
    padding: 80px 20px 25px;
  }


  .footer-contact {
    padding: 35px 10px 50px;
  }


  /* お問い合わせタイトル */

  .footer-contact h2 {
    padding-top: 40px;
    padding-left: 20px;

    font-size: 28px;
  }


  /* Contents */

  .footer-contact h2::before {
    top: -10px;
    left: 0;

    font-size: 50px;
  }


  .footer-description {
    font-size: 13px;
  }


  /*      Contact buttons
  ========================= */

  .footer-contact-buttons {
    flex-direction: column;
    align-items: center;

    gap: 15px;
  }


  .footer-button {
    width: 100%;
    max-width: 100%;
  }


  /*      電話お問い合わせ Mobile
  ========================= */

  .footer-tel {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
  }


  .footer-tel > span {
    display: block;
    width: 100%;

    text-align: center;
  }


  .footer-tel small {
    text-align: center;
  }


  .footer-tel strong {
    text-align: center;
    font-size: 24px;
  }


  .footer-tel em {
    text-align: center;
    font-size: 11px;
  }


  /*      Navigation
  ========================= */

  .footer-nav {
    padding: 30px 0;
  }


  .footer-nav ul {
    gap: 15px 25px;
  }


  .footer-nav a {
    font-size: 12px;
  }


  /*      公式アカウント
  ========================= */

  .footer-social {
    padding: 20px 0 25px;
  }


  /*      Bottom
  ========================= */

  .footer-bottom {
    display: flex;
    flex-direction: column;

    gap: 12px;

    text-align: left;
  }


  .copyright {
    text-align: center;
  }

}

















/* ==========================
   １日の活動の流れ activity.html
========================== */

.daily-flow {

    padding: 100px 20px;

}


.section-inner {

    max-width: 1000px;

    margin: 0 auto;

}


/* タイトル */

.flow-title {

    text-align: center;

    font-size: 32px;

    margin-bottom: 50px;

    font-family: "Zen Maru Gothic", sans-serif;

}


.flow-title span {

    display: block;

    font-family: "Caveat", cursive;

    font-size: 24px;

    margin-bottom: 5px;

}


/* 
   タブ
========================== */

.schedule-tabs {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 40px;

}


.schedule-tab {

    width: 180px;

    padding: 15px;

    border: none;

    border-radius: 30px;

    cursor: pointer;

    font-size: 18px;

    font-family: "Zen Maru Gothic", sans-serif;

    background: #f2f2f2;

    transition: 0.3s;

}


.schedule-tab:hover {

    transform: translateY(-3px);

}


.schedule-tab.active {

    background: #555;

    color: #fff;

}


/* 
   コンテンツ
========================== */

.schedule-content {

    display: none;

}


.schedule-content.active {

    display: block;

}


/* 
   スケジュールカード
========================== */

.schedule-card {

    display: flex;

    align-items: stretch;

    margin-bottom: 15px;

    background: #fff;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

}


/* 時間 */

.schedule-time {

    width: 160px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    font-weight: bold;

    background: #f5f5f5;

    font-family: "Zen Maru Gothic", sans-serif;

}


/* 内容 */

.schedule-detail {

    flex: 1;

    padding: 20px 30px;

}


.schedule-detail h3 {

    margin: 0 0 8px;

    font-size: 20px;

    font-family: "Zen Maru Gothic", sans-serif;

}


.schedule-detail p {

    margin: 0;

    line-height: 1.8;

    font-family: "M PLUS Rounded 1c", sans-serif;
    transform: rotateZ(0.03deg);

}


/* ==========================
   1日の活動の流れ　スマホ
========================== */

@media (max-width: 600px) {


    .daily-flow {

        padding: 70px 15px;

    }


    /* タイトル */

    .flow-title {

        font-size: 25px;

        margin-bottom: 35px;

    }


    .flow-title span {

        font-size: 20px;

    }


    /* タブ */

    .schedule-tabs {

        gap: 8px;

        margin-bottom: 25px;

    }


    .schedule-tab {

        flex: 1;

        width: auto;

        padding: 12px 5px;

        font-size: 14px;

    }


    /* カード */

    .schedule-card {

        margin-bottom: 12px;

        border-radius: 12px;

    }


    /* 時間 */

    .schedule-time {

        width: 85px;

        min-width: 85px;

        font-size: 17px;

        padding: 10px 5px;

    }


    /* 内容 */

    .schedule-detail {

        padding: 15px;

    }


    .schedule-detail h3 {

        font-size: 16px;

        margin-bottom: 5px;

    }


    .schedule-detail p {

        font-size: 13px;

        line-height: 1.6;

    }

}