@charset "UTF-8";
/*
Theme Name: G-MAX Custom Theme
Author: Custom Dev
Description: Fitness Gym LP Theme
Version: 2.3.7
*/

/* ===================================================
   1. 変数定義・リセット (Base)
   =================================================== */
:root {
    --text-color: #f4f4f4;       /* 文字色（白オフホワイト） */
    --bg-color: #111111;         /* 背景色（黒） */
    --bg-secondary: #222222;     /* 背景色（少し明るい黒） */
    --accent-color: #fbca00;     /* アクセント色（黄色） */
    --accent-text: #000000;      /* アクセント上の文字色 */
    --gradient-orange: linear-gradient(135deg, #f39c12, #d35400); 
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --content-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
ul { list-style: none; padding: 0; margin: 0; }

/* スマホのみ改行するクラス（PCでは非表示） */
.sp-br { display: none; }

/* ===================================================
   2. レイアウト共通 (Layout)
   =================================================== */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 100px 0; }
section:nth-of-type(even) { background-color: var(--bg-secondary); }

h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}
h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #fff;
    margin: 20px auto 0;
}

/* ===================================================
   3. ヘッダー (Header)
   =================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 10px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo { margin: 0; line-height: 1; }
.site-logo a { display: block; }
.site-logo img { height: 50px; width: auto; display: block; }

.site-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.site-nav a { font-size: 0.95rem; font-weight: bold; }
.site-nav a:hover { color: var(--accent-color); }

.btn-cv a {
    background: var(--accent-color);
    color: var(--accent-text);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    line-height: 1.2;
}
.btn-cv a:hover { opacity: 0.8; }

/* ハンバーガーボタン（PCでは非表示） */
.hamburger-btn { display: none; }

/* ===================================================
   4. メインビジュアル (Main Visual)
   =================================================== */
.section-mv {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    background-image: url('http://cyberne2021.xsrv.jp/g-max/wp-content/uploads/2025/12/top.png'); 
    background-size: cover;
    background-position: center;
}

/* ===================================================
   帯状キャンペーンバー (Campaign Band)
   =================================================== */
.campaign-band {
    background-color: #dddddd;
    padding: 15px 0;
    width: 100%;
}
.campaign-band-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.cb-label {
    color: #e67e22;
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.cb-content-wrapper {
    flex: 1;
    max-width: 700px;
}
.cb-link {
    background: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: 0.3s;
    color: #333;
}
.cb-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.cb-date {
    font-family: monospace, sans-serif;
    font-size: 1rem;
    margin-right: 20px;
    color: #333;
}
.cb-title {
    font-weight: bold;
    font-size: 1rem;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================================================
   5. キャンペーンセクション (Campaign)
   =================================================== */
.section-campaign {
    padding: 60px 0;
    background-color: #2c2c2c;
    background: linear-gradient(115deg, #2c2c2c 0%, #2c2c2c 50%, #ff7e00 50%, #ff7e00 62%, #2c2c2c 62%, #2c2c2c 100%);
    overflow: hidden;
    color: #fff;
}
.campaign-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--content-width); 
    margin: 0 auto;
    padding: 0 20px;
}
.campaign-left {
    text-align: left;
    z-index: 2;
    margin-left: 15%;
    max-width: 400px;
}
.campaign-sub {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}
.campaign-highlight {
    color: #ff7e00;
    font-weight: bold;
}
.campaign-logo-area h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0 0 0;
    letter-spacing: 0.05em;
    font-style: italic;
    text-shadow: none;
}
.campaign-logo-sub {
    font-size: 0.8rem;
    display: block;
    letter-spacing: 0.2em;
    opacity: 0.8;
}
.campaign-right {
    position: relative;
    z-index: 2;
}
.campaign-img-box {
    background: #fff;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: 0.3s;
    aspect-ratio: 4 / 3;
    width: 500px; 
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.campaign-img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.preparation-box {
    padding: 10px;
    color: #333;
    text-align: center;
    background: #eee;
}
.campaign-img-box:hover { transform: scale(1.02); }

/* ===================================================
   6. スタッフ紹介セクション (Staff)
   =================================================== */
.section-staff {
    background-color: #f9f9f9 !important; 
    color: #333 !important;
    padding: 80px 0;
}
.section-staff, .section-staff h2, .section-staff h3, .section-staff p, .section-staff .staff-head, .section-staff .energist-sub, .section-staff div {
    color: #333333 !important;
}
.staff-head { text-align: center; margin-bottom: 50px; }
.staff-head h2 { font-size: 1.8rem; font-weight: bold; line-height: 1.6; margin: 0; }
.num-highlight {
    color: #e67e22 !important;
    font-size: 1.5em; 
    font-weight: 900;
    margin: 0 5px;
}
.staff-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.energist-logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e67e22 !important;
    text-align: center;
    line-height: 1;
}
.energist-sub { font-size: 1rem; letter-spacing: 0.2em; }

.gym-tag {
    background: #fff;
    border: 2px solid #ccc;
    padding: 10px 25px;
    text-align: center;
    margin-left: 40px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 240px;
}
.gym-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #333 !important;
    line-height: 1.2;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.gym-x {
    font-size: 1.4rem;
    color: #fbca00 !important;
    line-height: 1;
    margin: 5px 0;
    font-weight: 400;
}

.staff-sub-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 40px;
}
.staff-sub-title::after { display: none; }

/* ▼ アンダーラインアニメーション用の設定 ▼ */
.marker-text {
    display: inline;
    /* 下線（オレンジ色）を背景画像として設定 */
    background-image: linear-gradient(transparent 90%, #e67e22 90%);
    background-repeat: no-repeat;
    background-size: 0% 100%; /* 初期状態は幅0 */
    transition: background-size 1.2s ease 0.5s; /* 0.5秒待ってから1.2秒かけて伸びる */
}
/* 親要素（h3）に .active がついたら（画面に入ったら）伸びる */
.fade-up.active .marker-text {
    background-size: 100% 100%;
}

.staff-msg {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    text-align: left;
    margin: 0 auto 60px;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.staff-msg::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}
.staff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.staff-item {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.staff-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3; 
}
.section-staff .staff-name-label {
    background: #333;
    color: #fff !important; 
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}
.section-staff .staff-name-label span { color: #fff !important; }
.staff-role { font-size: 0.85rem; opacity: 0.9; }

/* ===================================================
   7. ABOUT詳細セクション (About New)
   =================================================== */
.section-about-new {
    background-image: url('http://cyberne2021.xsrv.jp/g-max/wp-content/uploads/2025/12/24533002.png');
    background-size: cover;
    background-position: center;
    background-color: #111;
    color: #fff;
    padding: 100px 0;
}
.about-head h3 {
    text-align: left;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-head h3::after { display: none; }
.about-sub-en {
    display: block;
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 60px;
}
.about-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.about-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}
.about-text-area {
    flex: 1;
    position: relative;
    z-index: 2;
}
.about-num {
    font-size: 5rem;
    font-weight: 900;
    color: #e67e22;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}
.about-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}
.about-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 10px;
}
.bg-decoration {
    font-family: "Brush Script MT", cursive;
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    bottom: -30px;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
.about-img-area {
    flex: 1;
    position: relative;
    z-index: 2;
}
.about-img-area img {
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 100%;
    height: auto;
}

/* ===================================================
   10. マシン紹介セクション (Machine)
   =================================================== */
.section-machine {
    background-color: #fff !important; 
    color: #333 !important;
    padding: 80px 0;
}
.machine-head {
    position: relative;
    margin-bottom: 40px;
}
.machine-head h3 {
    text-align: left;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: #333 !important;
}
.machine-head h3::after { display: none; }
.machine-cursive {
    font-family: "Brush Script MT", cursive;
    font-size: 4rem;
    color: #e67e22;
    position: absolute;
    top: 5px;
    left: 80px;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}
.machine-sub {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
    position: relative;
    z-index: 1;
}
.machine-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #666 !important;
}
.machine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.machine-item {
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: stretch;
    transition: 0.3s;
}
.machine-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.machine-img {
    width: 40%;
    position: relative;
    overflow: hidden;
}
.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.machine-txt {
    width: 60%;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.machine-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333 !important;
}
.machine-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.machine-link {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.9rem;
    color: #666 !important;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.machine-link:hover { color: #e67e22 !important; }

/* ===================================================
   11. アメニティセクション (Amenity)
   =================================================== */
.section-amenity {
    background-color: #e6e6e6 !important; 
    color: #333 !important;
    padding: 80px 0;
}
.amenity-head { text-align: center; margin-bottom: 60px; }
.amenity-head h3 {
    font-size: 3rem;
    font-weight: bold;
    color: #555 !important;
    line-height: 1;
    margin-bottom: 10px;
}
.amenity-head h3::after { display: none; }
.amenity-head span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #666 !important;
    display: block;
}
.amenity-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 40px 60px; 
    max-width: 1000px;
    margin: 0 auto;
}
.amenity-item {
    width: 280px; 
    text-align: center;
    color: #333 !important;
}
.amenity-icon-box {
    background: #fff;
    width: 100%;
    aspect-ratio: 1 / 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.amenity-icon-box img {
    width: 60%;
    height: auto;
    object-fit: contain;
}
.amenity-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333 !important;
}
.amenity-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666 !important;
}

/* ===================================================
   12. 料金プランセクション (Price)
   =================================================== */
.section-price {
    background-color: #fff !important;
    color: #333 !important;
    padding: 80px 0;
}
.price-notice {
    color: red;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.price-container {
    display: flex;
    justify-content: center;
    gap: 40px; 
    align-items: flex-start;
}
.price-box {
    flex: 1; 
    max-width: 500px;
    background: #fff;
}
.price-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.plan-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #999;
}
.plan-table th, .plan-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #ccc;
    font-size: 0.95rem;
}
.plan-table th {
    background-color: #9e9494;
    color: #fff;
    width: 35%;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
.plan-table td {
    background-color: #fff;
    color: #333;
    font-weight: bold;
    vertical-align: middle;
}
.plan-price { font-size: 1.2rem; display: block; }
.plan-note {
    font-size: 0.8rem;
    color: #555;
    font-weight: normal;
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

/* ===================================================
   13. 入会案内セクション (Entry)
   =================================================== */
.section-entry {
    position: relative;
    background-color: #111;
    overflow: hidden;
    padding: 100px 0;
    color: #fff;
}
.section-entry::before {
    content: "G-MAX Membership";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9vw;
    font-weight: 900;
    color: #2c2c2c;
    white-space: nowrap;
    z-index: 0;
    font-family: Arial, "Helvetica Neue", sans-serif;
    line-height: 1;
    pointer-events: none;
}
.section-entry .container { position: relative; z-index: 1; }
.entry-head { margin-bottom: 40px; text-align: center; }
.entry-title { font-size: 1.8rem; font-weight: bold; margin-bottom: 10px; color: #fff !important; }
.entry-sub { font-size: 1.3rem; font-weight: bold; color: #fff !important; }
.entry-btn-area {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}
.btn-entry {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48%;
    max-width: 350px;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #e67e22; 
    transition: 0.3s;
    text-align: center;
}
.btn-entry:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-entry-trial { background-color: #222; color: #e67e22 !important; }
.btn-entry-web { background-color: #fff; color: #e67e22 !important; }

/* ===================================================
   14. アクセスセクション (Access)
   =================================================== */
.section-access {
    background-color: #fff !important;
    padding: 80px 0;
}
.access-head {
    text-align: left;
    margin-bottom: 40px;
    border-bottom: none;
}
.access-head h3 {
    text-align: left;
    font-size: 2.5rem;
    color: #333 !important;
    margin-bottom: 5px;
}
.access-head h3::after { display: none; }
.access-head span {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    display: block;
}
.access-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 60px;
}
.access-divider { display: none; }
.access-store { width: 48%; box-sizing: border-box; }
.store-header {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}
.store-name {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    color: #333;
}
.store-catch {
    text-align: center;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
    color: #e67e22;
    font-weight: bold;
}
.store-info-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.store-info-left { width: 55%; }
.access-dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0;
    font-size: 0.9rem;
    margin: 0;
    border-top: 1px solid #ccc;
}
.access-dl dt, .access-dl dd {
    border-bottom: 1px solid #ccc;
    padding: 15px 10px;
    margin: 0;
    display: flex;
    align-items: center;
}
.access-dl dt {
    font-weight: bold;
    background: #333;
    color: #fff;
    justify-content: center;
    font-size: 0.85rem;
}
.access-dl dd {
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    flex-wrap: wrap;
}
.access-dl dt:nth-of-type(1), .access-dl dd:nth-of-type(1) { min-height: 120px; }
.access-dl dt:nth-of-type(2), .access-dl dd:nth-of-type(2) { min-height: 60px; }
.access-dl dt:nth-of-type(3), .access-dl dd:nth-of-type(3) { min-height: 80px; }
.access-dl dt:nth-of-type(4), .access-dl dd:nth-of-type(4) { min-height: 60px; }
.store-images-grid {
    width: 40%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.store-img img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.map-link {
    color: #0066cc;
    font-size: 0.8rem;
    text-decoration: underline;
    display: inline-block;
    margin-top: 3px;
    width: 100%;
}
.map-link::before { content: "📍"; margin-right: 3px; }

/* ===================================================
   15. フッター (Footer)
   =================================================== */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.footer-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-logo { flex: 0 0 auto; }
.footer-logo img { max-width: 250px; height: auto; }
.footer-shop-info { display: flex; gap: 60px; }
.shop-col { text-align: left; }
.shop-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0 15px;
    line-height: 1.2;
    color: #fff !important;
}
.shop-address, .shop-tel {
    font-size: 1.1rem;
    margin: 0 0 5px;
    line-height: 1.5;
    font-weight: 500;
    color: #fff !important;
}
.shop-tel { font-weight: bold; }
.copyright {
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
    font-weight: bold;
    color: #fff !important;
}

/* ===================================================
   17. 詳細ページ (Single News)
   =================================================== */
.news-detail-page {
    background-color: #111;
    padding-top: 120px;
    padding-bottom: 100px;
}
.news-card {
    background: #fff !important;
    color: #333 !important;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.news-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    padding-bottom: 20px;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.news-date {
    color: #666 !important;
    font-weight: bold;
    font-family: monospace, sans-serif;
}
.news-label {
    background: #e67e22;
    color: #fff !important;
    font-size: 0.8rem;
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: bold;
}
.news-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: #333 !important;
}
.news-thumbnail {
    margin-bottom: 40px;
    border-radius: 5px;
    overflow: hidden;
}
.news-thumbnail img { width: 100%; height: auto; display: block; }
.news-content {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 60px;
    color: #333 !important;
}
.news-content p { margin-bottom: 1.5em; color: #333 !important; }
.news-content h2 {
    font-size: 1.8rem;
    border-left: 5px solid #e67e22;
    padding-left: 15px;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #333 !important;
    text-align: left;
}
.news-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333 !important;
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.news-content h3::after { display: none; }
.news-footer {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 40px;
}
.btn-back {
    display: inline-block;
    padding: 15px 50px;
    background: #333;
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
    font-weight: bold;
    font-size: 1rem;
}
.btn-back:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* ===================================================
   18. お問い合わせフォーム (Contact Form)
   =================================================== */
.gmax-contact-form {
    max-width: 700px;
    margin: 60px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 30px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; color: #333; font-size: 1rem; }

/* ▼▼ 修正箇所：必須マークのデザイン変更 ▼▼ */
.required {
    background: transparent; /* 背景なし */
    color: #ff0000; /* 文字色を赤に */
    font-size: 0.6rem; /* 文字サイズをさらに小さく */
    padding: 0;
    border-radius: 0;
    vertical-align: baseline;
    margin-left: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9f9f9;
    box-sizing: border-box; 
}
.form-control:focus { border-color: #e67e22; background: #fff; outline: none; }
.wpcf7-list-item { margin: 0 15px 10px 0; display: inline-block; }
.wpcf7-list-item-label { color: #333; font-weight: 500; }
.form-submit { text-align: center; margin-top: 40px; }
.wpcf7-submit {
    background: #e67e22; 
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    width: 100%;
    max-width: 400px;
}
.wpcf7-submit:hover { background: #333; color: #fff; transform: translateY(-2px); }

/* ===================================================
   16. スマホ対応 (Responsive) ＆ 追加機能
   =================================================== */
/* スマホ用固定フッター（PCでは非表示） */
.mobile-sticky-footer {
    display: none;
}

@media screen and (max-width: 768px) {
    /* --- Main Visual (スマホ用縦型画像) --- */
    .section-mv {
        background-image: url('http://cyberne2021.xsrv.jp/g-max/wp-content/uploads/2025/12/top-sp2.png');
    }

    /* --- スマホ用固定フッター設定 --- */
    body { padding-bottom: 80px; } /* フッターの高さ分だけ余白を空ける */
    
    .mobile-sticky-footer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #fff;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        justify-content: space-between;
    }
    .msf-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: bold;
        color: #333;
        border-right: 1px solid #eee;
    }
    .msf-item:last-child { border-right: none; }
    
    .msf-icon { font-size: 1.5rem; margin-bottom: 2px; line-height: 1; }
    
    /* ボタンごとの色分け */
    .msf-tel { background: #fff; color: #333; }
    .msf-trial { background: #333; color: #fff; }
    .msf-join { background: #e67e22; color: #000; }

    /* --- ハンバーガーメニュー設定 --- */
    .hamburger-btn {
        display: block; /* 表示する */
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 2000; /* メニューより手前 */
    }
    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        position: absolute;
        transition: 0.3s;
    }
    .hamburger-btn span:nth-child(1) { top: 0; }
    .hamburger-btn span:nth-child(2) { top: 11px; }
    .hamburger-btn span:nth-child(3) { bottom: 0; }

    /* ハンバーガーが開いた時（×印にする） */
    .hamburger-btn.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; }
    .hamburger-btn.open span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    /* スマホメニュー本体 */
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        opacity: 0;
        pointer-events: none; /* 閉じている時はクリック不可 */
        z-index: 1500;
    }
    .site-nav.open {
        opacity: 1;
        pointer-events: auto;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .site-nav a { font-size: 1.2rem; color: #fff; }

    /* ヘッダーレイアウト調整 */
    .header-inner { padding: 15px; }
    .site-logo img { height: 35px; }

    /* --- その他セクション調整 --- */
    h3 { font-size: 1.8rem; }
    .mv-content h2 { font-size: 2.2rem; }
    .mv-content p { font-size: 1rem; }
    .btn-primary { padding: 15px 40px; font-size: 1.1rem; }

    /* 帯状キャンペーンバー */
    .campaign-band-inner { flex-direction: column; gap: 10px; align-items: center; }
    .cb-content-wrapper { width: 100%; }
    .cb-link { padding: 10px 20px; font-size: 0.9rem; justify-content: center; }
    .cb-date { font-size: 0.9rem; margin-right: 10px; }
    .cb-title { font-size: 0.9rem; }
    
    /* Campaignセクション */
    .section-campaign {
        background: #2c2c2c;
        border-top: 5px solid #ff7e00;
        border-bottom: 5px solid #ff7e00;
    }
    .campaign-inner { flex-direction: column; text-align: center; max-width: 100%; }
    .campaign-left { text-align: center; margin-bottom: 20px; margin-left: 0; max-width: 100%; }
    .campaign-right { width: 100%; max-width: 400px; }
    .campaign-img-box { width: 100%; margin-top: 20px; }

    /* Staffセクション */
    .staff-grid { grid-template-columns: 1fr; }
    .staff-logo-area { flex-direction: column; gap: 20px; }
    .gym-tag { margin-left: 0; margin-top: 20px; width: 100%; max-width: 320px; }
    /* ★Staffセクションの文字サイズ調整 */
    .staff-head h2 { font-size: 1.0rem !important; line-height: 1.5; }
    .sp-br { display: inline; } /* 改行有効化 */

    /* ABOUT詳細セクション */
    .about-item { flex-direction: column; gap: 20px; }
    .about-text-area, .about-img-area { width: 100%; text-align: center; }
    .about-num { font-size: 3rem; }
    .bg-decoration { font-size: 2rem; bottom: -10px; right: 10px; }

    /* Machineセクション */
    .machine-grid { grid-template-columns: 1fr; }
    .machine-item { flex-direction: column; }
    .machine-img { width: 100%; height: auto; } /* autoに変更 */
    .machine-img img { height: auto; } /* autoにして比率を維持 */
    .machine-txt { width: 100%; }
    .machine-head h3 { font-size: 2.2rem; }
    .machine-cursive { font-size: 3rem; left: 20px; }

    /* Amenityセクション */
    .amenity-head h3 { font-size: 2.5rem; }
    .amenity-list { gap: 30px; }
    .amenity-item { width: 100%; max-width: 300px; }

    /* Priceセクション */
    .price-container { flex-direction: column; gap: 50px; }
    .price-box { width: 100%; max-width: 100%; }
    /* ★Priceセクションの文字サイズ調整 */
    .price-notice { font-size: 0.7rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* Entryセクション */
    .entry-btn-area { width: 100%; flex-direction: column; align-items: center; }
    .btn-entry { width: 100%; max-width: 350px; }
    /* ★追加：Entryサブタイトルのスマホ用フォントサイズ */
    .entry-sub {
        font-size: 0.85rem !important; /* スマホで1行に収まるサイズ */
        white-space: nowrap; /* 強制的に1行にする */
    }

    /* --- Accessセクション (スマホ表示崩れ修正) --- */
    .access-grid { flex-direction: column; gap: 60px; }
    .access-store { width: 100%; }
    
    .store-info-box {
        flex-direction: column; /* 画像と情報を縦並びに */
        gap: 20px;
    }
    .store-info-left { width: 100%; }
    
    .store-images-grid {
        width: 100%;
        grid-template-columns: 1fr 1fr; /* 画像は横2列維持 */
    }
    
    .store-header { min-height: auto; padding-bottom: 20px; }
    
    /* DL/DT/DDのリセット（高さ固定解除） */
    .access-dl dt, .access-dl dd { min-height: auto !important; height: auto !important; }
    .access-dl { display: block; } /* グリッド解除して通常のブロック要素に */
    .access-dl dt {
        width: 100%;
        text-align: left;
        padding: 10px;
        background: #333;
        color: #fff;
        border-bottom: none; /* デザイン調整 */
    }
    .access-dl dd {
        width: 100%;
        padding: 15px 10px;
        border-bottom: 1px solid #ccc;
        margin-bottom: 15px; /* 項目間に余白 */
    }

    /* Footerセクション */
    .footer-top { flex-direction: column; align-items: flex-start; gap: 40px; }
    .footer-logo { margin-bottom: 20px; }
    .footer-shop-info { flex-direction: column; gap: 40px; }
    .shop-name { font-size: 1.4rem; }
    .shop-address, .shop-tel { font-size: 1rem; }
    
    /* 詳細ページ */
    .news-detail-page { padding-top: 100px; }
    .news-card { padding: 30px 20px; margin: 0 10px; }
    .news-title { font-size: 1.5rem; }

    /* ★▼▼ 修正箇所：スマホ用お問い合わせボタン ▼▼ */
    .wpcf7-submit {
        width: auto !important; /* 幅を自動調整 */
        min-width: 200px;       /* 最小幅を確保 */
        font-size: 1.1rem !important; /* 文字サイズを少し控えめに */
        padding: 15px 30px !important; /* 内側の余白 */
        margin: 0 !important;   /* 左寄せ */
        display: inline-block !important; /* 左寄せのためにインラインブロック化 */
    }
    /* 親要素で左寄せを確実にする */
    .form-submit {
        text-align: left !important;
    }
}

/* ===================================================
   19. スクロールアニメーション定義 (Fade Up)
   =================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.0s ease; 
}
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}
@media screen and (max-width: 768px) {
    .fade-up {
        transform: translateY(30px);
        transition: all 0.8s ease;
    }
} 

/* ===================================================
   20. マシン一覧ページ (Machine Page List)
   =================================================== */
.page-machine {
    background-color: #fff !important; 
    color: #333 !important;            
    padding-top: 150px !important;     
    padding-bottom: 100px;
}
.machine-page-head { text-align: center; margin-bottom: 60px; }
.machine-page-head h2 {
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
    border-bottom: 3px solid #333;
    padding-bottom: 10px;
    color: #333 !important;
}
.machine-section {
    margin-bottom: 80px;
    padding: 0; 
    background: none !important;
    scroll-margin-top: 130px; 
}
.machine-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #333 !important;
    text-transform: none; 
    letter-spacing: 0.05em;
}
.machine-section h3::after { display: none; }
.machine-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}
.m-item { text-align: center; }
.m-img { margin-bottom: 15px; background: #fff; }
.m-img img { display: block; width: 100%; height: auto; }
.m-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0 0 5px;
    line-height: 1.4;
    color: #333 !important;
}
.m-count { font-size: 0.8rem; color: #666 !important; display: block; }

@media screen and (max-width: 768px) {
    .machine-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px; 
    }
    .m-name { font-size: 0.8rem; }
    .m-count { font-size: 0.7rem; }
    .machine-section h3 { font-size: 1.2rem; margin-bottom: 30px; }
}