@charset "utf=8";

.contact-btn01 {
    display: none;
}

.in-contact-btn01 {
    display: flex;
    max-width: 35.6rem;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 1rem 2.3rem;
}

.tel-btn01 {
    display: none;
}

/* 下層カバー */

.in-cover {
    position: relative;
    width: 100%;
}

.in-cover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #33322F;
    opacity: 0.35;
    z-index: 1;
}

.in-cover-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
}

.in-cover-title {
    font-size: 5rem;
    text-align: center;
    color: #fff;
    width: 100%;
    margin: 0 auto;
    font-weight: 500;
    font-family: var(--font-family01);
    letter-spacing: 0.08em;
    line-height: 1.5em;
    position: relative;
}

.in-cover-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.in-cover-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.in-cover-image {
    display: block;
    padding-top: 20.83%;
    position: relative;
}

/*-----*/

.in-title-box {
    text-align: center;
}

.in-title-deco .title01 {
    display: inline-block;
    position: relative;
    z-index: 3;
}

.in-title-deco .title01:before {
    content: "";
    display: block;
    width: 100%;
    height: 1rem;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0.5rem;
}

.in-title-deco-yellow .title01:before {
    background-color: #F6EB8C;
}

/* ボタン全体の設定 */
.in-page-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* ボタンの横幅（適宜調整してください） */
    padding: 1.3rem 1.3rem 1.3rem 4rem;
    background-color: #fff;
    /* グレーの細い枠線 */
    border-radius: 4rem;
    /* カプセル型の角丸 */
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 1px solid #D9D8D3;
    gap: 10px;
}

/* ボタン内のテキスト */
.in-page-btn p {
    font-size: 2rem;
    font-weight: 500;
    color: #595752;
    letter-spacing: 0.08em;
    flex: 1;
    font-family: var(--font-family01);
}

/* 右側の緑の円形アイコン */
.btn-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #A9CC68;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 白色の下矢印（擬似要素作成） */
.btn-arrow::before {
    content: '';
    display: block;
    width: 0.9rem;
    height: 1.1rem;


    /* 矢印の位置微調整 */
    transition: transform 0.3s ease;
    background: url(../../../../uploads/in_page_arrow.svg) no-repeat;
    margin-top: 0.2rem;
    background-size: contain;
}

/* -----------------------------------
 * ホバー（hover）時のアニメーション
 * ----------------------------------- */

/* 矢印が下にスムーズに動く処理 */
.in-page-btn:hover .btn-arrow::before {
    transform: translateY(4px);
}

/* 半円形装飾 */

.in-arch-box {
    background-color: #FFFFFF;
    max-width: 192rem;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.in-arch-box.in-arch-color-change {
    background-color: #FAF9F5;
}

.in-arch-box.in-arch-color-change img {
    filter: brightness(0) invert(1);
}


/* ==========================================================================
   沿革・タイムライン CSS (レスポンシブ & 一体化ライン対応)
   ========================================================================== */

/* 全体設定 */
.c-timeline {
    max-width: 102rem;
    width: 100%;
    margin: 0 auto;

    /* 画像のようなやわらかい背景色（不要なら削除可） */
    box-sizing: border-box;
}

/* 年ごとの1行アイテム */
.c-timeline__item {
    display: flex;
    align-items: stretch;
    /* 縦線を上下いっぱいに伸ばす */
    position: relative;
}

/* 1. 左側：年（2015年など） */
.c-timeline__year {
    width: 13rem;
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.5em;
    color: #A9CC68;
    /* 黄緑色 */
    padding-right: 1rem;
    flex-shrink: 0;
    padding-top: 2px;
}

/* 2. 中央：軸（縦線とドット） */
.c-timeline__axis {
    width: 30px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

/* 縦線（上下に途切れることなく繋がるよう絶対配置） */
.c-timeline__axis::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #CAE094;
    /* 薄い黄緑色の線 */
}

/* 最初と最後の線の長さを調整（必要に応じて） */
.c-timeline__item:first-child .c-timeline__axis::before {
    top: 1.3rem;
    /* 最初の丸の上から開始 */
}

.c-timeline__item:last-child .c-timeline__axis::before {
    bottom: calc(100% - 20px);
    /* 最後の丸の下で終了 */
}

/* ドット（丸） */
.c-timeline__dot {
    position: relative;
    z-index: 1;
    /* 線の上に重ねる */
    width: 1.8rem;
    height: 1.8rem;
    background-color: #A9CC68;
    /* 黄緑色 */
    border-radius: 50%;
    margin-top: 1.3rem;
    /* 文字の高さに合わせる */
}

/* 3. 右側：月とイベント本文 */
.c-timeline__events {
    flex-grow: 1;

    /* 年ごとの下余白 */
    padding: 0.3rem 0 4rem 3.7rem;
}

.c-timeline__item:last-child .c-timeline__events {
    padding-bottom: 0;
}

/* 月ごとのイベント */
.c-timeline__event {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
}

.c-timeline__event:last-child {
    margin-bottom: 0;
}

/* 月（8月など） */
.c-timeline__month {
    width: 4.5rem;
    color: #A9CC68;
    /* 黄緑色 */
    flex-shrink: 0;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.5em;
}

/* 本文 */
.c-timeline__content {
    flex-grow: 1;
    font-size: 1.8rem;
    line-height: 1.6;
}

.c-timeline__text {
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5em;
}

.c-timeline__text:last-child {
    margin-bottom: 0;
}


/*------*/

.com-flex-img-box01 .common-img-box01 img {
    width: 100%;
}

.com-flex-img-box01 {
    max-width: 61rem;
    width: 46.21%;
}

.com-flex-box01 .com-flex-row01:nth-child(odd) {
    flex-direction: row;
}

.com-flex-box01 .com-flex-row01:nth-child(even) {
    flex-direction: row-reverse;
}

.com-flex-number {
    font-family: var(--font-family03);
    font-weight: 600;
    font-size: 8rem;
    line-height: 1em;
    display: inline-block;
}

.com-flex-title-set01 {
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.com-flex-title-list01 {
    flex: 1;
}

.com-flex-text-box01 {
    max-width: 63rem;
    width: 47.73%;
    position: relative;
}

.com-flex-row01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6rem;
}

.com-flex-border {
    background-image: radial-gradient(circle, #B2AEA4 1px, transparent 1px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: bottom;
    height: 2px;
    margin-top: 2rem;
}

.com-flex-list-text-box01 {
    margin-top: 2rem;
}

.com-flex-list-text-box01 strong {
    font-weight: 500;
}

.com-flex-color01 .com-flex-number,
.com-flex-color01 strong {
    color: #F0959C;
}

.com-flex-color01 .common-img-box01 {
    background-color: #FFDBE4;
}

.com-flex-color02 .com-flex-number,
.com-flex-color02 strong {
    color: #F0B56E;
}

.com-flex-color02 .common-img-box01 {
    background-color: #FFE8C7;
}

.com-flex-color03 .com-flex-number,
.com-flex-color03 strong {
    color: #62C2BE;
}

.com-flex-color03 .common-img-box01 {
    background-color: #D8F2F0;
}

.com-flex-color04 .com-flex-number,
.com-flex-color04 strong {
    color: #729FDE;
}

.com-flex-color04 .common-img-box01 {
    background-color: #DCE9FB;
}


@media screen and (width <=1200px) {}

@media screen and (width <=1024px) {
    .in-cover-title {
        font-size: 4rem;
    }

    .com-flex-number {
        font-size: 6rem;
    }

    .com-flex-title-set01 {
        gap: 1.6rem;
    }
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=768px) {
    .in-cover-image {
        padding-top: 50%;
    }

    /* 1. 左側：年（2015年など） */
    .c-timeline__year {
        width: 8rem;
        font-size: 2rem;
        padding-top: 6px;
    }

    /* 3. 右側：月とイベント本文 */
    .c-timeline__events {
        padding: 0.5rem 0 2.5rem 1.4rem;
    }

    /* 月（8月など） */
    .c-timeline__month {
        font-size: 2rem;
    }

    /* 本文 */
    .c-timeline__content {
        font-size: 1.6rem;
    }

    .c-timeline__text {
        font-size: 1.6rem;
    }

    /* 月ごとのイベント */
    .c-timeline__event {
        display: block;
    }

    .com-flex-box01 .com-flex-row01:nth-child(odd) {
        flex-direction: column;
    }

    .com-flex-box01 .com-flex-row01:nth-child(even) {
        flex-direction: column;
    }

    .com-flex-img-box01 {
        max-width: 100%;
        width: 100%;
    }

    .com-flex-text-box01 {
        max-width: 100%;
        width: 100%;
        margin-top: 2rem;
    }

    .com-flex-number {
        font-size: 5rem;
    }

    .com-flex-title-set01 {
        gap: 1.6rem;
    }

    .com-flex-row01 {
        margin-top: 3rem;
    }
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */



/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=576px) {

    .in-cover-title {
        font-size: 30px;
    }

    /* .in-page-btn p {
        font-size: 1.8rem;
    } */

    .in-page-btn {
        padding: 1rem 1rem 1rem 2rem;
        height: 6rem;
    }

    .in-page-btn p {
        font-size: 1.5rem;
    }

    .btn-arrow {
        width: 2.5rem;
        height: 2.5rem;
    }

    .btn-arrow::before {
        width: 0.7rem;
        height: 0.9rem;
    }

    .com-flex-number {
        font-size: 3.5rem;
    }

    /* ==========================================
	*****
	========================================== */



}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */