/* ============================
   基本設定・変数
============================ */
:root {
    --main-color: #c80027;
    --dark-color: #333333;
    --light-gray-color: #f4f4f4;
    --dark-bg-color: #212529;
    --text-color: #333333;
}

body {
    font-family: 'Helvetica', 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'Meiryo', 'Arial', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.7;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================
   共通パーツ
============================ */
.c-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.c-section {
    padding: 80px 0;
}

.c-section-title {
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    position: relative;
    margin: 0 0 50px;
    padding-bottom: 25px;
}
.c-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: linear-gradient(to right, var(--dark-color) 50%, var(--main-color) 50%);
}

.c-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 4px;
    text-align: center;
    transition: opacity 0.3s;
}
.c-btn:hover {
    opacity: 0.8;
}
.c-btn.is-red {
    background-color: var(--main-color);
    color: #fff;
}
.c-btn.is-gray {
    background-color: var(--dark-color);
    color: #fff;
}
.c-btn-area {
    text-align: center;
    margin-top: 40px;
}

/* ============================
   ヘッダー
============================ */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    position: sticky;
	padding: 10px 4% 8px;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.header__logo img { height: 40px; }
.header__nav { display: flex; gap: 10px; }

/* ============================
   ヘッダーのレスポンシブ対応
============================ */

/* 新しいスマホ用アイコンボタンのスタイル */
.header__nav.is-mobile {
    display: none; /* まずはスマホ用を隠しておく */
    gap: 10px;
}

.c-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* 正円にする */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}
.c-icon-btn:hover {
    opacity: 0.8;
}
.c-icon-btn img {
    height: 20px; /* アイコン画像のサイズ */
    width: auto;
}

/* PC版に合わせた色設定 */
.c-icon-btn.is-gray {
    background-color: var(--dark-color); /* ★黒色に変更 */
}
.c-icon-btn.is-red {
    background-color: var(--main-color); /* ★赤色に変更 */
}


/* 画面幅が749px以下になった時の表示切り替え */
@media (max-width: 749px) {
    /* PC用のボタンを隠す */
    .header__nav.is-pc {
        display: none;
    }
    /* スマホ用のボタンを表示する */
    .header__nav.is-mobile {
        display: flex;
    }
}


/* ============================
   メインビジュアル (Hero)
============================ */

/* ヒーローセクション全体の箱の基本設定 */
.hero {
    position: relative;
}

/* ------------------
   PC用のヒーローのスタイル
------------------ */
.hero-pc {
    /* PC用の背景画像（ブースの写真）を指定 */
    background-image: url('img/png/back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* PC用の高さを設定 */
    height: 80vh;
    max-height: 700px; /* ★高さの上限を大きくしました (500px → 700px) */
    min-height: 500px;

    /* 中の画像を中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-pc .hero__title img {
    max-width: 1100px; /* ★画像の最大幅を大きくしました (800px → 1000px) */
    width: 90%;
    height: auto;
}


/* ------------------
   スマホ用のヒーローのスタイル
------------------ */
.hero-sp {
    /* 背景画像（アセット1）を指定 */
    background-image: url('img/png/smh_back.png');
    background-size: cover;
    background-position: center;
    
    height: auto;
    padding: 15px 15px;

    /* 中の画像を中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* h1タグ（画像を囲む箱）に幅を指定 */
.hero-sp .hero__image-wrapper {
    width: 100%;
    max-width: 850px;
    text-align: center;
}

/* 画像は親の幅いっぱいに広がるように設定 */
.hero-sp .hero__image-wrapper img {
    width: 100%;
    height: auto;
}


/* ------------------
   表示の切り替え（レスポンシブ）
------------------ */

/* まずスマホ表示を基本とする（PC版を隠す） */
.hero-pc {
    display: none;
}
.hero-sp {
    display: flex; /* スマホ版を表示 */
}

/* 画面幅が750px以上になったら（PC表示になったら）、表示を逆転させる */
@media (min-width: 750px) {
    .hero-pc {
        display: flex; /* PC版を表示 */
    }
    .hero-sp {
        display: none; /* スマホ版を隠す */
    }
}



/* ============================
   特徴 (Feature)
============================ */
.feature {
    background-color: var(--light-gray-color);
}
.feature__items {
    display: grid;
    gap: 20px;
}

/* ★これが基本のスタイル（スマホ・タブレット兼用）になります */
.feature__item {
    display: flex;
    flex-direction: column; /* ★最初から縦並びにしておく */
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
/* :nth-child(even) の左右反転はPCだけにしたいので、一旦ここからは削除 */

.feature__item-image {
    width: 100%; /* 画像コンテナの幅を100%に */
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.feature__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature__item-text {
    width: 100%;
}
.feature__item-text h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: var(--main-color);
}
.feature__item-text p {
    margin: 0;
    line-height: 1.8;
}

/* ★★★ PC用のスタイルは、ここに追加します ★★★ */
/* 画面幅が1024px以上のときだけ、横並びのデザインを適用 */
@media (min-width: 750px) {
    .feature__item {
        flex-direction: row; /* 横並びに戻す */
        align-items: center;   /* 垂直方向の中央揃えに戻す */
        gap: 30px;
    }
    .feature__item:nth-child(even) {
        flex-direction: row-reverse; /* 左右反転もPCのみに適用 */
    }
}

/* ============================
   活躍シーン (Place)
============================ */
.place {
    background-color: var(--dark-bg-color);
    position: relative;
    overflow: hidden;
}
.place::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #343a40;
    transform: skewY(-5deg);
}
.place .c-inner {
    position: relative;
    z-index: 1;
}
.place__header { text-align: center; }
.c-section-title.is-white { color: #fff; }
.c-section { background-color: var(--light-gray-color); }
.c-section-title.is-white::after {
    background: linear-gradient(to right, white 50%, var(--main-color) 50%);
}
.place__description {
    color: #e9ecef;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}
.place__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.place__item { text-align: center; }
.place__item img { background-color: #6c757d; }
.place__item p {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 0;
    color: #e9ecef;
}
.place__cta {
    max-width: 800px;
    margin: 60px auto 0;
    background-color: #f8f9fa;
    border: 2px solid var(--main-color);
    padding: 20px;
    border-radius: 4px;
}
.place__cta p {
    color: var(--main-color);
    font-weight: bold;
    text-align: center;
    margin: 0;
}

/* ============================
   仕様 (Specification)
============================ */
.spec {
    background-color: #fff;
}

.spec .c-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spec__image-wrapper {
    max-width: 250px; 
    width: 100%;
    margin-bottom: 50px; 
	text-align: center; 
}

.spec .c-section-title {
    /* 仕様セクションのタイトルだけ、下の余白を多めに取ります */
    margin-bottom: 60px;
}

/* テーブル全体を囲む箱 */
.spec__table-wrapper {
    width: 100%;
    max-width: 900px; /* テーブル全体の最大幅 */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* テーブルに影を追加 */
}

/* 仕様表のスタイル */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}

/* テーブルの全てのセル（th, td）の基本スタイル */
.spec-table th,
.spec-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none; /* 最後の行の下線は消す */
}
.spec-table tr th:first-child,
.spec-table tr td:first-child {
    border-left: none; /* 一番左の列の左線は消す */
}

/* ヘッダーのセル（「2人用」「4人用」） */
.spec-table thead th {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-bottom: none;
}
.spec-table__th--dark {
    background-color: var(--dark-color);
}
.spec-table__th--red {
    background-color: var(--main-color);
}

/* 行の見出し（「型式」など） */
.spec-table tbody th {
    background-color: var(--light-gray-color);
    text-align: left;
    font-weight: bold;
	 width: 30%; /
}

/* データが入るセル */
.spec-table tbody td {
    text-align: center;
}

/* 共通スペックのセル（2列結合） */
.spec-table td[colspan="2"] {
    text-align: center;
}


/* ============================
   お問い合わせ (Contact)
============================ */
.contact { background-color: #fff; } 
.contact__form-area {
    background-color: #fff;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* ============================
   フッター & 固定ボタン
============================ */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background-color: var(--main-color);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 50;
    transition: transform 0.3s;
}
.fixed-btn:hover { transform: scale(1.05); }

.footer {
    background-color: var(--light-gray-color);
    padding: 40px 20px;
    text-align: center;
}
.footer__logo { margin-bottom: 20px; }

.footer__logo img {
    height: 40px; /* ロゴの高さを40pxに固定します */
    width: auto;  /* 横幅は縦横比を保ったまま自動で調整されます */
}

.footer__address {
    font-size: 13px;
    line-height: 1.8;
}

.footer__address {
    font-size: 13px;
    line-height: 1.8;
}

/* ============================
   レスポンシブ対応
============================ */
@media (max-width: 991px) {
    .c-section { padding: 60px 0; }
    .c-section-title { font-size: 24px; }
    

    .hero__inner { flex-direction: column; }
    .hero__text { min-width: 100%; text-align: center; }
    .hero__main-visual { margin: 0 auto; }
    .hero__catchcopy { margin-top: 40px; }
    .hero__image { order: -1; margin-bottom: 30px; }


    .place__items { grid-template-columns: 1fr; gap: 40px; }
    .place__item { max-width: 340px; width: 100%; margin: 0 auto; }
	
	@media (max-width: 600px) {
    .spec__table-wrapper {
        overflow-x: auto;  /* ★テーブルがはみ出す場合に横スクロールを許可 */
        -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかに */
    }
}
    