/* ==================================

    Guide -  バス利用案内

================================== */

.fare-container {
    max-width: 900px;
    margin: 0 auto;
}

.fare-header {
    background: #f0f0f0;      /* 灰色背景 */
    border-radius: 16px 16px 0 0; /* 左上・右上のみ角丸 */
    padding: 16px;
    font-weight: 600;
    font-size: 3.2rem;
    color: #5E5E5E;
    text-align: center;
}

@media (max-width: 1024px) {

    .fare-container {
        width: calc(100% - 32px);
        margin: 0 auto;
    }

    .fare-header {
        font-size: 2.4rem;
    }

}

@media (max-width: 768px) {

    .fare-container {
        width: calc(100% - 32px);
        margin: 0 auto;
    }

    .fare-header {
        font-size: 2.4rem;
    }

}


.boxes {
    display: flex;
    max-width: 900px;
    margin: 0 auto 32px;
}

/* ===== スマホ時は1列表示 ===== */
@media (max-width: 768px) {
    .boxes {
        display: flex;
        flex-direction: column;
        gap: 16px; /* ボックス間の余白 */
    }
}

.fare-container .box {
    flex: 1;
    padding: 16px;

}

.box-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.8rem;
    background-color: #ff1a56;
    border-radius: 32px;
    color: #FFFFFF;
}

.box-title span {
    font-size: 2.0rem;
    padding-left: 8px;
}

.types {
    display: flex;
    gap: 12px;
}

.type {
    flex: 1;
    text-align: center;
}

.under .typesb {
    text-align: center;
    font-size: 1.8rem;
    color: #5E5E5E;
}

.type-label {
    border-bottom: 2px solid #ff1a56; /* 下ボーダー */
    font-size: 2.0rem;
    font-weight: 600;
    color: #ff1a56;
}

.type-label span {
    display: block;
    font-size: 1.8rem;
}

.type-price {
    font-weight: 600;
    color: #5E5E5E;
}

.fare-container .top .box:nth-of-type(1) {
    background-color: #ffe1ea;
}

.fare-container .top .box:nth-of-type(2) {
    background-color: #eeffe3;
}

.fare-container .under .box:nth-of-type(1) {
    background-color: #e3eeff;
}

.fare-container .under .box:nth-of-type(2) {
    background-color: #fff4e6;
}

.fare-container .under .box:nth-of-type(3) {
    background-color: #ede9ff;
}

.fare-section {
    max-width: 900px;
    margin: 40px auto;
}

.fare-heading {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.fare-description-wrapper {
    text-align: center;
    margin-bottom: 32px;
}

.fare-description-wrapper2 {
    text-align: center;
    margin-bottom: 96px;
    margin-top: 64px;
}

.fare-description {
    display: inline-block;
    font-size: 2.0rem;
    border-bottom: 2px solid #ff1a56; /* 太さや色を調整 */
    margin-bottom: 8px;
}

.fare-description .highlight {
    font-size: 2.4rem;
    color: #ff1a56; /* 強調部分赤 */
    font-weight: bold;
}

.fare-details {
    display: flex;
    gap: 20px;
    font-size: 2.0rem;
}

.fare-details p:nth-of-type(1) {
    white-space: nowrap;
}

.fare-details span {
    display: block;
    font-size: 1.8rem;
}



@media (max-width: 768px) {

    .fare-section {
        width: calc(100% - 24px);
        margin: 0 auto;
    }

    .fare-description-wrapper {
        width: calc(100% - 24px);
        margin: 0 auto;
    }

    .fare-description {
        font-size: 1.6rem;
    }

    .fare-description .highlight {
        font-size: 2.0rem;
    }

    .fare-details {
        display: block;
        font-size: 1.6rem;
    }

    .fare-details span {
        font-size: 1.6rem;
    }

    .fare-description-wrapper2 {
        text-align: left;
    }

    .fare-description-wrapper2 .fare-description {
        border-bottom: none;
    }

    .tab-break {
        display: block;
    }

}


/* ==================================
    Flow -  ご利用の流れ
================================== */

.flow-wrapper {
    width: 900px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 1024px) {

    .flow-wrapper {
        width: calc(100% - 32px);
    }

}

@media (max-width: 768px) {

    .flow-wrapper {
        width: calc(100% - 32px);
    }

}


.flow-text-wrapper {
    margin: 64px auto;
}

.flow-box {
    flex: 1;
    align-items: flex-start;
    margin-bottom: 64px;
}

/* No */
.flow-no-box {
    position: relative;
    width: 20%;
    height: auto;
    border-radius: 50%;
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
    background-color: #f6ae2d;
    color: #FFFFFF;
    z-index: -1;
}

/* テキスト */
.flow-text-box {
    width: 80%;
}

/* 高さ可変 */
.box-1x1:before {
    content: "";
    display: block;
    padding-top: 100%;
}

/* 縦横中央配置 */
.inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
    font-size: 3.2rem;
    font-weight: bold;
}

.line-box {
    margin-left: -24px;
}

.flow-title {
    width: 100%;
    text-align: left;
    vertical-align: middle;
    font-size: 2.8rem;
    border-bottom: 1px solid #5E5E5E;
    padding-left: 40px;
    color: #5E5E5E;
    margin-top: 16px;
    font-weight: 500;
}

.flow-text {
    text-align: left;
    font-size: 2.0rem;
    padding: 8px 0 0 40px;
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {

    .flow-no-box {
        width: 30%;
    }

    .flow-text-box {
        width: 70%;
    }

    .flow-title {
        font-size: 2.0rem;
    }

    .flow-text {
        padding: 8px 0 0 32px;
        font-size: 1.6rem;
    }

}

.flex-start-baseline {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
    align-items: start;
}

h3 {
    /*font-family: "M PLUS Rounded 1c", sans-serif;*/
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 3.0rem;
    letter-spacing: 0.5em;
    text-align: center;
    padding-left: 0.5em; /* 左端は補正 */
    padding-top: 40px;
    display: inline-block; /* テキスト幅に合わせる */
    position: relative;
    padding-bottom: 5px;  /* 線とテキスト間の余白 */
}

h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;                  /* 左端を50%にして中央寄せ */
    width: 50%;                  /* 線の長さを50%に調整 */
    border-bottom: 8px double #F6AE2D;
    transform: translateX(-50%); /* 線を中央に寄せる */
}

.item-bus-box {
    width: 120px;
    margin: 80px auto;
}



/*--- ご利用用途 背景画像 ---*/
.use-wrapper {
    background-image: url('../img/bg-guide.jpg'); /* ←背景画像 */
    background-size: cover;
    background-position: center;
}

/*--- ご利用用途 インナーボックス ---*/
.use-inner-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
}

/*--- グリッド ---*/
.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

/*--- グリッドボックス ---*/
.use-box {
    background-color: #FFFFFF;
    padding: 24px;
}

/*--- タイトル ---*/
h4.use-box-title {
    border-left: 10px solid #ff1a56;
    padding-left: 16px;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #5E5E5E;
}

h4.lines {
    font-size: 2.0rem;
    line-height: 1.4;
}

/*--- 説明文 ---*/
.use-box-text {
    margin-top: 32px;
    color: #5E5E5E;
    font-size: 1.8rem;
    line-height: 1.8;
}

@media (max-width: 1024px) {

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    /*--- スマホは1列 ---*/
    .grid {
        grid-template-columns: 1fr;
    }
}