/* ==========================================
   全体の設定（リセット・共通設定）
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ★ ここを追加！ 画面の横揺れ・余白を絶対に許さない最強の設定 ★ */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #4a4a4a; 
    background: linear-gradient(to bottom, #edf1f2 0%, #e0e1e2 100%); 
    background-attachment: fixed;
    background-size: cover;
    line-height: 1.8;
}

/* 画像が画面サイズを突き破るのを防ぐ設定 */
img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   ヘッダー（ナビゲーション）
   ========================================== */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #1aab9b;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #1aab9b;
}

nav ul li a.btn-nav {
    background-color: #c9b11d;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
}

nav ul li a.btn-nav:hover {
    background-color: #b39d19;
    color: #ffffff;
}

/* ==========================================
   セクション共通見出し（左右余白なしフルワイド）
   ========================================== */
section {
    padding: 60px 20px;
    text-align: center;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
}

.section-sub {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #7a7a7a;
    margin-bottom: 5px;
}

h2 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

/* ==========================================
   TOP画像
   ========================================== */

#hero{
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-image{
    display: block;
    width: 100%;
    height: auto;
}

.btn-main{
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    background: rgba(0,160,233,.85);
    color: #fff;
    padding: 10px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.btn-main:hover{
    background:#0088c7;
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
}

.dec-left-1 { top: 10%; left: 5%; width: 220px; transform: rotate(-6deg); }
.dec-left-2 { bottom: -5%; left: 18%; width: 240px; transform: rotate(4deg); }
.dec-right-1 { top: 5%; right: 8%; width: 200px; transform: rotate(5deg); }
.dec-right-2 { bottom: 0%; right: 15%; width: 260px; transform: rotate(-3deg); }

.hero-dec-img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 5;
}

/* ==========================================
   2. ジムの特徴
   ========================================== */
#features {
    background-color: rgba(255, 255, 255, 0.7); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
}

.feature-block {
    width: 100%;
    max-width: 500px;
}

.feature-card h3 {
    color: #c9b11d;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
}

.features-message {
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* ==========================================
   3. 料金プラン
   ========================================== */
#price {
    background-color: rgba(255, 253, 230, 0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.price-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.price-courses {
    display: flex;
    flex-direction: column;
}

.price-card {
    padding: 20px;
    border-bottom: 1px dashed #eee;
}

.price-card:last-child {
    border-bottom: none;
}

.price-card h3 {
    background-color: #c9b11d;
    color: #ffffff;
    font-size: 1rem;
    padding: 6px 10px;
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1rem;
}

.price-amount {
    font-weight: bold;
}

/* ==========================================
   4. トレーナー紹介
   ========================================== */
#trainer {
    background-color: rgba(230, 247, 244, 0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.trainer-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trainer-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 5px solid #e6f7f4;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.trainer-info h3 {
    color: #1aab9b;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* 実績プレート */
.trainer-career {
    list-style: none;
    background-color: #e6f7f4;
    border-left: 5px solid #1aab9b;
    padding: 15px 25px;
    margin: 0 auto 25px auto;
    display: inline-block;
    text-align: left;
    border-radius: 0 10px 10px 0;
}

.trainer-career li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 1.5em;
    font-weight: bold;
}

.trainer-career li:last-child {
    margin-bottom: 0;
}

.trainer-career li::before {
    content: '★';
    color: #c9b11d;
    position: absolute;
    left: 0;
    font-size: 0.9em;
}

.trainer-message {
    text-align: left;
    font-size: 0.95rem;
    color: #555;
}

.trainer-message p {
    margin-bottom: 10px;
}

/* ==========================================
   5. 体験の流れ
   ========================================== */
#flow {
    background-color: rgba(255, 255, 255, 0.7); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.flow-list {
    list-style: none;
    padding: 20px 30px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.flow-list li {
    background-color: transparent;
    padding: 30px 10px;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px dashed #e0e0e0;
}

.flow-list li:last-child {
    border-bottom: none;
}

.step {
    display: inline-block;
    background-color: #1aab9b; 
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.flow-list h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.flow-list p {
    color: #555;
    font-size: 0.95rem;
}

/* ==========================================
   6. 予約・お問い合わせ（LINE）
   ========================================== */
#contact {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contact-links {
    margin: 30px 0;
}

.btn-line {
    display: inline-block;
    background-color: #06C755;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(6, 199, 85, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

.qr-code-area {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #eee;
}

.qr-code-area p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.qr-image {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ==========================================
   固定フッター（画面最下部の体験はこちらボタン）
   ========================================== */
.btn-fixed-wrap {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
    padding: 0 20px;
}

.btn-fixed {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(to right, #85e1e1, #6ee6e6);
    color: #ffffff;
    text-align: center;
    padding: 15px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(26, 171, 155, 0.3);
    transition: transform 0.2s;
}

.btn-fixed:active {
    transform: scale(0.98);
}

/* ==========================================
   フッター（一番下の黒い帯）
   ========================================== */
footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* ==========================================
   スマホ用の表示調整（ここではみ出しを直します！）
   ========================================== */
@media (max-width: 768px) {
    /* キャッチコピーの文字サイズをスマホに合わせて小さくする */
    #hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

   /* ヘッダーのメニューを綺麗に折り返すように調整 */
    nav ul {
        gap: 8px; /* 10pxからさらに狭くしました */
        padding: 0 5px;
    }
    nav ul li a {
        font-size: 0.75rem; /* はみ出さないようにもう少し小さくしました */
    }
    /* 左右の入場写真をスマホでは邪魔にならないよう薄く・小さくする */
    .hero-dec-img {
        opacity: 0.15;
        width: 150px;
    }
    .dec-left-1 { top: 5%; left: -5%; }
    .dec-left-2 { bottom: 5%; left: -10%; }
    .dec-right-1 { top: 10%; right: -5%; }
    .dec-right-2 { bottom: -5%; right: -10%; }
}
