/* Basic Reset & Common Settings */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    /* h2未満のコンテンツの基本フォントをゴシック体にする */
    color: #333333;
    background-color: #ffffff;

}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Header */
.header {
    background-image: url(../img/head-back.png);
    background-size: cover;
    background-position: center;
}

.header__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 50px 10px 10px 10px;
}

.header__top {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.header__logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__logo-link img {
    height: 70px;
}

.header__logo-text {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    /* ヘッダーロゴテキストを明朝体に戻す */
}

.header__nav ul {
    display: flex;
    gap: 45px;
    padding-top: 5px;
}

.header__nav a {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Serif JP', serif;
    /* ヘッダーメニューを明朝体に戻す */
}

.nav-arrow {
    font-size: 12px;
    color: #006837;
    margin-left: 4px;
}


/* Main Visual */
.main-visual {
    background-image: url(../img/mv-bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 0;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #FAE7C8, #AB850F, #FAE95B,
            #AB850F) 1
}

.main-visual__inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.main-visual__inner img {
    width: 100%;
}

.main-visual__note {
    position: absolute;
    bottom: -20px;
    right: 10px;
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Content Section
-------------------------------------------------- */
.content-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 500;
    color: #333333;
    border-left: 6px solid #006837;
    padding: 0 15px;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    /* H2タグを明朝体に戻す */
}

.section-body p {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1em;
}

.button-area {
    font-size: .9em;
    line-height: 1.7em;
}

.button-area p {
    margin-bottom: 0.1em;
}

.button-area a {
    display: inline-block;
    height: 30px;
    margin: 25px 0;
}

.button-area img {
    max-height: 100%;
}

.section-notes {
    font-size: 12px;
    color: #555;
}

.section-notes p {
    margin-bottom: 0.5em;
}

/* ★修正点1: 日頃よりご愛顧いただいているお客様に、心からの感謝を込めて */
.concept-intro-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2em;
    line-height: 2;
    margin-bottom: 1em;
}

.concept-intro-text strong {
    font-weight: 600;
}


/* Service Section Layout
-------------------------------------------------- */
.service-layout {
    display: flex;
    gap: 15px;
}

.service-text {
    flex: 1;
}

.service-images {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
}

.service-images p {
    font-size: 10px;
    line-height: 1;
    text-align: right;
}

.service-images img {
    width: 100%;
}

.service-item {
    margin-bottom: 1em;
}

.service-item__title {
    font-size: 18px;
    font-weight: 500;
    /* margin-bottom: 0.2em; */
    display: flex;
    /* ★修正点2: inline-blockからflexに変更し、align-itemsで縦方向の位置を制御 */
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    /* h3はゴシック体のまま */
    color: #007337;
}

.service-item__title::before {
    content: '●';
    color: #99C7AF;
    margin-right: 0.1em;
    font-size: 1em;
}

.service-item p {
    margin-bottom: 0.01em;
    line-height: 1.5;
    padding-left: 1.2em;
}

/* 駐車場情報の親pタグに緑色を適用し、子spanで黒に戻す */
.service-item:first-of-type p:nth-of-type(1),
.service-item:first-of-type p:nth-of-type(3) {
    font-weight: 400;
    color: #007337;
    /* 親のpタグに緑色を適用 */
}

/* 新しいクラス`note-time`で色を黒、フォントサイズを小さくする */
.note-time {
    color: #333333;
    font-weight: 300;
    font-size: 0.8em;
    /* 親のフォントサイズに対して小さくする */
}

/* 新しいクラス`text-normal`で色を黒に戻す */
.text-normal {
    color: #333333;
    /* デフォルトのテキスト色（黒） */
}


.service-item__desc {
    padding-left: 1.2em;
}

.service-item__note {
    font-weight: 300;
    color: #333333;
    margin-left: 0.5em;
    white-space: wrap;

}

.service-item__note-inline {
    font-size: 0.8em;
    font-weight: 300;
    color: #333333;
    margin-left: 0.5em;
    white-space: wrap;
}

.con-note {
    font-size: 0.5em;
    color: #007337;
    vertical-align: top;

}


/* Member Section Layout
-------------------------------------------------- */
.member-intro,
.member-outro {
    margin-bottom: 2em;
}

.member-category {
    margin-bottom: .5em;
}

.member-category__title {
    /* 以前のスタイルを維持（お客様の変更） */
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background-color: #006837;
    padding: 2px 10px;
    border-radius: 3px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 10px;
}

.member-category__content {
    padding: 0 10px;
}

.member-category__content>p {
    font-size: 1.1em;
    font-weight: 700;
    color: #006837;
    margin-bottom: .5em;
}

.member-category__notes {
    font-weight: 300;
    font-size: 0.9em;
    list-style-type: none;
    padding-left: 0;
}

.member-category__notes li {
    margin-bottom: 0.2em;
}

/* ★修正点3: （*1）（*2）のフォントサイズを小さく */
.small-note-text {
    font-size: 0.4em;
    vertical-align: top;
    font-weight: normal;
    white-space: nowrap;
}


/* Usage Section Layout
-------------------------------------------------- */
.usage-steps-wrapper {
    max-width: 1000px;
    margin: 10px auto;
    border-top: 1px solid #555555;
}

.usage-step-item {
    display: flex;
    align-items: center;
    /* padding-bottom: 10px; */
    position: relative;
}

/* .usage-step-item:not(:last-child) のボーダーは .usage-step-right に移動 */

.usage-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 90px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 11px solid #99C7AF;
    transform: translateX(-50%);
}

.usage-step-left {
    display: flex;
    align-items: center;
    width: 200px;
    flex-shrink: 0;
    /* padding-top: 5px; */
}

.usage-step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #006837;
    color: #ffffff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    margin-right: 15px;
}

.usage-step-title {
    font-size: 28px;
    font-weight: 400;
    color: #006837;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}

.usage-step-right {
    flex-grow: 1;
    align-items: center;
    padding-left: 20px;
    border-bottom: 1px solid #555555;
}

.usage-step-desc {
    display: flex;
    align-items: center;
    line-height: 1.8;
    height: 5em;
    margin-bottom: 0;
    padding: 10px 0;
}

.usage-footer {
    text-align: left;
    margin-top: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #555555;
}


/* Terms Section Layout
-------------------------------------------------- */
#terms p,
#terms li {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 0.6em;
}

.terms-guidelines {
    margin-bottom: 1.5em;
    padding-left: 1.4em;
}

.terms-guidelines li {
    position: relative;
}

.terms-guidelines li::before {
    content: '●';
    color: #99C7AF;
    position: absolute;
    left: -1.4em;
    font-size: 1em;
}

.terms-intro-text {
    margin-bottom: 1.5em;
}

.terms-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1em;
    font-family: 'Noto Sans JP', sans-serif;
}

.terms-sub-intro {
    margin-bottom: 1em;
}

.terms-text {
    margin-bottom: 1.5em;
}

.terms-sub-title {
    font-weight: 300;
    font-size: 16px;
    margin-top: 1.5em;
    margin-bottom: .5em;
}

.terms-rules-list {
    margin-bottom: 1em;
    padding-left: 0;
    list-style: none;
}

.terms-rules-list li {
    position: relative;
    margin-bottom: 0.6em;
    padding-left: 1em;
    text-indent: -1em;
}

.terms-note-text,
.terms-caution-text {
    margin-bottom: 1em;
    font-size: 12px;
}

.terms-small-note {
    font-size: 0.9em;
    color: #555;
}

.terms-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2em;
}

.terms-button-heading {
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    margin-bottom: 1em;
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Access Section (フロアマップ) */
#access {
    margin-top: 40px;
}

.map-item {
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
    margin-top: 80px;
}

.map-title {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
}

.map-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.map-content img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.map-info p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 1em;
}

.map-note {
    font-family: 'Noto Serif JP', serif;
    font-size: 12px;
    color: #777;
    text-align: right;
    margin-top: 30px;
}

/* Footer
-------------------------------------------------- */
.footer {
    width: 100%;
    font-family: 'Noto Sans JP';
}

.brown-bk {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg, #027337 20%, #004823 80%);
    font-family: 'Noto Serif JP', serif;
}

.ft-link {
    width: 100%;
    padding: 15px 0;
    text-align: center;
}

.ft-link-text {
    margin-top: 5px;
    color: #fff;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 1px;
    font-weight: 500;
}

.gotop {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(1, 115, 54, 0.5);
}

@media screen and (max-width: 768px) {
    .gotop {
        right: 15px;
        bottom: 15px;
    }
}

.gotop span {
    display: inline-block;
    margin-top: 7.5px;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.gotop p {
    display: block;
    text-align: center;
    width: 100%;
    color: #fff;
    line-height: 1;
    margin-top: -15px;
    font-size: 15px;
}

/* --------------------------------------------------
Responsive Styles (for screens smaller than 768px)
-------------------------------------------------- */
@media screen and (max-width: 768px) {

    /* Header */
    .header__inner {
        padding: 20px 15px;
    }

    .header__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .header__logo-link {
        flex-direction: column;
        gap: 10px;
    }

    .header__logo-link img {
        height: 60px;
    }

    .header__logo-text {
        font-size: 20px;
    }

    .header__nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header__nav a {
        font-size: 15px;
    }

    /* Main Visual */
    .main-visual__note {
        bottom: 5px;
        right: 5px;
        font-size: 7px;
        background-color: rgba(255, 255, 255, 0.7);
    }

    /* Content Section */
    .content-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .section-title {
        font-size: 20px;
        padding: 0 10px;
    }

    .section-body p {
        line-height: 1.6;
    }

    .concept-intro-text {
        font-size: 1.1em;
        line-height: 1.8;
    }

    /* Service Section */
    .service-layout {
        flex-direction: column;
        /* 横並びから縦積みに変更 */
        gap: 30px;
    }

    .service-images {
        flex: 1;
        /* flex-basisをリセット */
        order: -1;
        /* 画像をテキストの上に移動 */
    }

    .service-item__title {
        font-size: 17px;
        line-height: 1.5;
        /* タイトルが改行された場合も考慮 */
    }

    .service-item__note-inline {
        display: block;
        /* タイトルの横ではなく、下に表示 */
        margin-left: 0;
        margin-top: 5px;
        padding-left: 1.2em;
        /* インデントを他のテキストと合わせる */
    }

    /* Usage Section */
    .usage-step-item {
        flex-direction: column;
        /* 縦積みに変更 */
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .usage-step-item:not(:last-child)::after {
        /* 矢印はスマホでは不要なため非表示に */
        display: none;
    }

    .usage-step-left {
        width: 100%;
        margin-bottom: 10px;
    }

    .usage-step-right {
        width: 100%;
        padding-left: 0;
        border-bottom: none;
        /* 各ステップの間の線を削除 */
    }

    .usage-step-item:not(:last-child) .usage-step-right {
        /* 新しくステップごとの区切り線を追加 */
        border-bottom: 1px dotted #999;
        padding-bottom: 20px;
    }

    .usage-step-desc {
        height: auto;
        /* 高さを自動に */
        min-height: 3em;
        line-height: 1.6;
    }

    .usage-steps-wrapper {
        border-top: none;
        /* 全体を囲む上の線を削除 */
    }

    .usage-footer {
        border-bottom: none;
        /* 全体を囲む下の線を削除 */
    }

    /* Terms Section */
    #terms p,
    #terms li {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Access Section */
    .map-content {
        flex-direction: column;
        /* 縦積みに変更 */
        gap: 15px;
    }

    .map-content img {
        max-width: 100%;
        /* 横幅いっぱいに */
    }

    .map-info p {
        font-size: 15px;
    }

    /* Footer */


}