@charset "UTF-8";

/* ==============================================
// 全てのWEBページに適用される共通スタイル
// ============================================== */

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* 読みやすいフォントを設定 */
}

html * {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f8f8f8; /* 背景色をより明るく変更 */
    color: #333;
    /* 全体の文字色を濃いグレーに */
}

.wrapper {
    margin: 0 auto;
    max-width: 960px;
    padding: 0 15px;
}

p {
    line-height: 1.8;
}

a:link {
    color: #d25833;
}

a:visited {
    color: #d25833;
}

a:hover {
    color: #e3937a;
}

a:active {
    color: #ff6a3b;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==============================================
// ヘッダー
// ============================================== */

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    margin: 0;
}

.logo a {
    text-decoration: none;
    font-size: 1.3em; /* フォントサイズを小さく調整 */
    font-weight: bold;
    color: #3f5170; /* ロゴの色をキーカラーに合わせる */
}

.nav {
    margin-top: 20px;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav li {
    display: inline-block;
    padding: 0 15px;
}

.nav a {
    color: #555;
    text-decoration: none;
    font-weight: bold;
}

.nav a:hover {
    color: #d25833;
}

/* ==============================================
// フッター
// ============================================== */

.footer {
    background-color: #e4e4e4;
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 40px;
}

/* ==============================================
// 個別のスタイル
// ============================================== */

/* メインビジュアル */
.keyvisual {
    margin-top: 5px;
    height: 300px; /* 例: 高さ300pxに固定 */
    overflow: hidden; /* 枠からはみ出た部分を非表示に */
}

.keyvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をトリミングして枠いっぱいに表示 */
}

/* 見出しスタイル */
h2 {
    color: #3f5170;
    font-size: 28px;
    border-bottom: none;
    position: relative;
    padding: 0 0 5px 15px;
    margin: 40px 0 20px 0;
    line-height: 1.2;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5px;
    height: 25px;
    background-color: #3f5170;
}

/* 料金表のスタイル */
.price-section h2 {
    text-align: center;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.price-table th,
.price-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

.price-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.price-table img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 5px auto;
}

/* 概要表のスタイル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-table th,
.info-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.info-table th {
    background-color: #f2f2f2;
    width: 150px;
    color: #333;
    font-weight: bold;
}

/* ボタンのスタイル */
.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: wheat;
    color: black; /* 文字色を白に明示的に設定 */
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 10px;
}
.button:hover {
    background-color: #e3937a; /* マウスを重ねた時の色 */
    color: #fff; /* ホバー時も文字色を白に保つ */
}

/* YouTube, Googleフォームのレスポンシブ対応 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==============================================
// スマートフォン向けレスポンシブデザイン
// ============================================== */

@media (max-width: 767px) {
    /* ヘッダーの配置を調整 */
    .header {
        padding: 10px 0;
    }

    .nav {
        margin-top: 10px;
    }

    .nav li {
        display: block;
        padding: 5px 0;
    }

    /* メインコンテンツの調整 */
    main {
        padding: 20px 10px;
    }

    /* 料金表のレスポンシブ対応 */
    .price-table,
    .info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .price-table,
    .info-table th,
    .price-table,
    .info-table td {
        white-space: normal;
    }
}

/* ==============================================
// ご注文フォームのレイアウト
// ============================================== */

.form-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-item {
    width: 50%;
    height: 1200px; /* 必要に応じて調整してください */
}

.form-item iframe {
    width: 100%;
    height: 100%;
}

/* ==============================================
// スマートフォン向けレスポンシブデザイン
// ============================================== */

@media (max-width: 767px) {
    .form-container {
        flex-direction: column;
        gap: 40px;
    }

    .form-item {
        width: 100%;
        height: 1500px;
    }
}