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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* ロゴ画像 */
.logo-image {
    text-align: center;
    padding: 20px;
    background: #fff;
}

.logo-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* ヘッダー */
.header {
    background: #fff;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.logo-joyfit {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    font-style: italic;
    letter-spacing: -1px;
}

.logo-24 {
    font-size: 24px;
    font-weight: bold;
    color: #C10030;
    font-style: italic;
}

.logo-location {
    font-size: 18px;
    font-weight: bold;
    color: #C10030;
    margin-left: 5px;
}

/* キャンペーンバナー */
.campaign-banner {
    background: #C10030;
    padding: 10px 20px 15px;
    text-align: center;
}

@media (min-width: 768px) {
    .campaign-banner {
        padding: 25px 20px 15px;
    }
}

.campaign-title {
    color: #fff;
    font-size: clamp(24px, 5vw, 48px);
    font-weight: bold;
    margin-bottom: 5px;
}

/* キャンペーン画像上のテキストエリア */
.campaign-text-area {
    background: #fff;
    text-align: center;
    padding: 30px 20px 10px;
    margin-top: 12px;
}

@media (max-width: 767px) {
    .campaign-text-area {
        display: none;
    }
}

.campaign-text {
    font-size: clamp(18px, 4vw, 32px);
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

.highlight-yellow {
    background: linear-gradient(transparent 60%, #FFE500 60%);
    padding: 0 2px;
}

.campaign-image-sp {
    background: #fff;
    text-align: center;
    padding: 20px;
}

.campaign-image-sp img {
    max-width: 100%;
    height: auto;
}

/* PC版のみ表示 */
.pc-only {
    display: none;
}

/* SP版のみ表示 */
.sp-only {
    display: block;
}

@media (min-width: 768px) {
    .pc-only {
        display: block;
    }
    
    .sp-only {
        display: none;
    }
    
    .campaign-image-sp {
        display: none;
    }
}

.campaign-date {
    color: #fff;
    font-size: clamp(14px, 3vw, 28px);
    font-weight: bold;
}

/* 価格セクション */
.price-section {
    background: #fff;
    padding: 25px 20px;
    text-align: center;
}

.price-section.monthly-fee {
    margin-top: 42px;
    padding-top: 0;
    padding-bottom: 25px;
}

/* 0円と月会費見出しのあいだの「＋」 */
.price-plus-sign {
    font-size: clamp(56px, 14vw, 120px);
    font-weight: 900;
    color: #000;
    line-height: 1;
    text-align: center;
    margin: -22px 0 6px;
    letter-spacing: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 各月500円だけを画面中央に。吹き出しは price-center 基準で右外へ absolute */
.monthly-fee-price-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.monthly-fee-price-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.price-badge {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.price-label {
    display: inline-block;
    color: #C10030;
    padding: 0px 15px 8px;
    font-size: clamp(20px, 5vw, 48px);
    font-weight: bold;
    position: relative;
}

@media (min-width: 480px) {
    .price-label {
        padding: 0px 25px 8px;
    }
}

.price-note {
    display: block;
    font-size: 10px;
    color: #666;
    margin-top: -11px;
    text-align: center;
}

.monthly-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.monthly-badge .price-label {
    white-space: nowrap;
}

.price-note-side {
    font-size: 10px;
    color: #666;
    text-align: left;
    line-height: 1.4;
}

/* 月会費セクション新レイアウト */
.price-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.price-label-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-note-below {
    display: block;
    font-size: 10px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    margin-top: 0;
}

.price-label + .price-note-below {
    margin-top: -5px;
}

.price-note-below + .price-note-below {
    margin-top: 6px;
}

@media (min-width: 768px) {
    .price-note-below {
        font-size: 16px;
    }
}

.price-months-text {
    display: inline-block;
    font-size: clamp(17px, 4vw, 36px);
    font-weight: bold;
    color: #C10030;
    text-align: center;
    margin-bottom: 0px;
    border: 2px solid #C10030;
    border-radius: 999px;
    padding: 4px 18px 6px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: -10px;
}

/* 吹き出し */
.speech-bubble {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    border: 6px solid #C10030;
    position: relative;
    margin-top: 15px;
    margin-bottom: 25px;
    max-width: calc(100% - 40px);
    text-align: center;
}

/* .speech-bubble は付けない（共通の padding が付き紫が太くなるのを防ぐ） */
/* 広い時は最大177px。幅が狭いほど円・文字・枠線まとめて縮小（vw を抑えめに） */
.speech-bubble--monthly-fee-april {
    position: absolute;
    left: 100%;
    right: auto;
    top: 0;
    /* 親の右端＝円の中心。狭いときは上方向オフセットも少しだけ */
    transform: translate(-50%, clamp(-8px, -1.2vw, -15px));
    margin: 0;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    width: clamp(72px, 17vw, 177px);
    height: clamp(72px, 17vw, 177px);
    min-width: 0;
    min-height: 0;
    max-width: 177px;
    max-height: 177px;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    font-size: clamp(12px, 1.65vw + 8px, 32px);
    border: clamp(2px, 0.28vw, 4px) solid #C10030;
    border-radius: 50%;
    line-height: 1.08;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* 改行はHTMLの<br>のみ（自動折り返しで行が増減しないよう抑制） */
    white-space: pre-line;
    word-break: keep-all;
    overflow-wrap: normal;
    letter-spacing: -0.06em;
}

/* 右上配置のため、吹き出しの矢印を右寄せ */
.speech-bubble--monthly-fee-april::before,
.speech-bubble--monthly-fee-april::after {
    display: none;
}

@media (min-width: 768px) {
    .speech-bubble {
        padding: 15px 25px;
    }
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #C10030 transparent transparent transparent;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.speech-bubble .price-label {
    color: #C10030;
}

.speech-bubble .price-note-side {
    color: #666;
}

.speech-bubble .price-months {
    color: #333;
    margin-top: 10px;
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 2px solid #C10030;
}

.price-months {
    font-size: clamp(16px, 4vw, 24px);
    color: #333;
    margin-top: -20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.price-arrow-down {
    text-align: center;
    font-size: clamp(20px, 4vw, 40px);
    color: #333;
    margin: 0 0 -10px 0;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 20px;
}

.monthly-fee .price-main {
    margin-bottom: 25px;
}

.section-divider {
    position: relative;
    text-align: center;
    margin: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #C10030;
}

.divider-plus {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C10030;
    color: #fff;
    font-size: clamp(20px, 4vw, 32px);
    font-weight: bold;
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    border: 3px solid #C10030;
    border-radius: 50%;
}

.price-each {
    font-size: clamp(22px, 5vw, 50px);
    font-weight: bold;
    color: #C10030;
    margin-right: 5px;
}

.price-arrow {
    font-size: clamp(22px, 5vw, 50px);
    font-weight: bold;
    color: #333;
    margin-right: 5px;
    position: relative;
    top: -15px;
}

.plus-symbol {
    font-size: clamp(28px, 6vw, 60px);
    font-weight: bold;
    color: #333;
    text-align: center;
    position: relative;
    top: -15px;
    left: -5px;
}

/* 入会金＋登録事務手数料 横並びレイアウト */
.fee-section {
    padding: 25px 20px;
}

.fee-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: -20px;
}


.fee-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.fee-labels .price-badge {
    margin-bottom: 0;
}

.plus-symbol-vertical {
    font-size: clamp(18px, 4vw, 40px);
    font-weight: bold;
    color: #333;
    margin: 10px 0 -5px 0;
    line-height: 1;
}

.fee-arrow {
    font-size: clamp(18px, 4vw, 40px);
    font-weight: bold;
    color: #333;
}

.fee-price {
    display: flex;
    align-items: baseline;
}

.option-months {
    font-size: clamp(22px, 5vw, 50px);
    font-weight: bold;
    color: #C10030;
    margin-right: 5px;
}

.price-amount {
    font-size: clamp(72px, 15vw, 180px);
    font-weight: bold;
    color: #C10030;
    line-height: 1;
    font-family: "Arial Black", sans-serif;
}

.price-yen {
    font-size: clamp(28px, 6vw, 72px);
    font-weight: bold;
    color: #C10030;
}

.price-tax {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.price-description {
    margin-top: 15px;
}

.price-highlight {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    line-height: 1.8;
}

/* さらに！バッジ */
.additional-badge {
    text-align: center;
    padding: 25px 0;
}

.additional-badge span {
    display: inline-block;
    background: #C10030;
    color: #fff;
    padding: 8px 30px;
    font-size: clamp(16px, 3vw, 32px);
    font-weight: bold;
    border-radius: 25px;
}

/* オプションサービスセクション */
.options-section {
    background: #fff;
    padding: 20px;
    text-align: center;
}

.options-title {
    font-size: clamp(22px, 5vw, 50px);
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.options-month {
    color: #C10030;
    font-size: 28px;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.option-item {
    border: 2px solid #C10030;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 0 30px;
}

.option-name {
    font-size: 18px;
    font-weight: bold;
    color: #C10030;
    margin-bottom: 5px;
}

.option-price {
    font-size: 12px;
    color: #666;
}

/* 0円表示 */
.free-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 20px 0 8px;
}

.free-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.free-price--no-months {
    flex-direction: column;
    align-items: center;
}

.free-price--no-months .arrow {
    top: -8px;
    line-height: 1;
    margin-right: 0;
    margin-bottom: -10px; /* 0円の見た目間隔を詰める */
}

.arrow {
    font-size: clamp(22px, 5vw, 50px);
    font-weight: bold;
    color: #333;
    position: relative;
    top: -15px;
    margin-right: 5px;
}

.zero {
    font-size: clamp(72px, 15vw, 180px);
    font-weight: bold;
    color: #C10030;
    line-height: 1;
    font-family: "Arial Black", sans-serif;
}

.yen-big {
    font-size: clamp(28px, 6vw, 72px);
    font-weight: bold;
    color: #C10030;
    margin-left: 5px;
}

/* お手続き前の確認事項 */
.notice-section {
    background: #fff;
    padding: 25px 20px;
}

.notice-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.notice-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.notice-content p {
    margin-bottom: 8px;
}

/* CTAセクション */
.cta-section {
    padding: 25px 20px;
    text-align: center;
    background: #fff;
}

.cta-button {
    display: inline-block;
    border: 2px solid #333;
    color: #333;
    padding: 15px 50px;
    font-size: clamp(16px, 3vw, 32px);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #333;
    color: #fff;
}

/* 注意事項（注釈） */
.terms-section {
    background: #fff;
    padding: 20px;
    margin-top: -16px;
}

.terms-list {
    font-size: 10px;
    color: #666;
    line-height: 1.8;
    padding-left: 15px;
}

.terms-list li {
    margin-bottom: 5px;
}

.terms-list li::marker {
    color: #C10030;
}

/* 入会手続きリンク */
.entry-link-section {
    background: #fff;
    padding: 20px;
    text-align: center;
}

.entry-label {
    font-size: 14px;
    font-weight: bold;
    color: #C10030;
    text-decoration: underline;
}

/* 店舗情報 */
.store-section {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #C10030;
}

.store-logo {
    text-align: center;
    margin-bottom: 25px;
}

.store-logo img {
    max-width: 250px;
    height: auto;
}

.store-joyfit {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    font-style: italic;
}

.store-24 {
    font-size: 28px;
    font-weight: bold;
    color: #C10030;
    font-style: italic;
}

.store-name {
    font-size: 22px;
    font-weight: bold;
    color: #C10030;
    margin-left: 8px;
}

.store-info-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.store-info {
    margin-bottom: 0;
    flex: 1;
}

.parking-image {
    flex-shrink: 0;
    margin-left: -110px;
}

.parking-image.sp-only {
    margin-left: 0;
    margin-top: 15px;
    text-align: center;
}

.parking-image.sp-only img {
    max-width: 312px;
}

.parking-image img {
    max-width: 208px;
    height: auto;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
    text-align: left;
    font-size: 13px;
    align-items: stretch;
}

.info-label {
    background: #C10030;
    color: #fff;
    padding: 5px 10px;
    min-width: 70px;
    width: 70px;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-value {
    padding: 5px 10px;
    flex: 1;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
}

/* 店舗画像 */
.store-image {
    margin-bottom: 25px;
}

.store-photo {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                linear-gradient(135deg, #333 0%, #666 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
}

.photo-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

/* マップボタン */
.map-button {
    display: inline-block;
    border: 2px solid #333;
    color: #333;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.map-button:hover {
    background: #333;
    color: #fff;
}

/* 地図上の画像 */
.map-image {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.map-image img {
    max-width: 20%;
    height: auto;
}

/* マップコンテナ */
.map-container {
    width: calc(100% - 40px);
    margin: 20px 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

/* レスポンシブ */
@media (min-width: 481px) {
    .container {
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
}

/* レスポンシブ - PC */
@media (min-width: 768px) {
    .logo-image img {
        max-width: 600px;
    }

    .store-logo img {
        max-width: 375px;
    }

    .option-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .option-item {
        flex: 0 0 auto;
        width: 520px;
        max-width: 520px;
        padding: 20px;
    }

    .option-name {
        font-size: 28px;
    }

    .option-price {
        font-size: 16px;
    }

    .price-note {
        font-size: 16px;
    }

    .price-note-side {
        font-size: 16px;
    }

    .price-tax {
        font-size: 16px;
    }

    .notice-content {
        font-size: 22px;
    }

    .terms-list {
        font-size: 16px;
    }

    .price-months {
        font-size: 30px;
    }

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

    .notice-section {
        padding: 35px 40px;
    }

    .map-container {
        max-width: 800px;
        margin: 20px auto 0;
    }

    .notice-section {
        text-align: center;
    }

    .notice-content {
        display: inline-block;
        text-align: left;
    }

    .store-info-wrapper {
        max-width: 800px;
        margin: 0 auto 25px;
    }
    
    .store-info {
        max-width: 600px;
        margin: 0;
    }

    .info-row {
        font-size: 16px;
    }

    .info-label {
        font-size: 14px;
        min-width: 100px;
        width: 100px;
    }

    .info-value {
        font-size: 15px;
    }

    .terms-section {
        padding: 30px 40px;
    }

    .terms-section {
        text-align: center;
    }

    .terms-list {
        display: inline-block;
        text-align: left;
    }
    
    .parking-image.pc-only img {
        max-width: 291px;
    }
}
