/*
 * Theme Name: [あなたのテーマ名]
 * Author: [あなたの名前]
 * Description: [テーマの説明]
 * Version: 1.0
 */

/* ==============================
   1. 基本設定 (Base Settings)
   ============================== */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1, h2, h3 {
    font-weight: bold;
    color: #4A5568; /* 濃いめのグレー */
}

h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

/* ==============================
   2. ヘッダー & ヒーローセクション
   ============================== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/orgone-ring.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.cta-button {
    display: inline-block;
    background-color: #D97706; /* オレンジ系 */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.cta-button:hover {
    background-color: #B45309; /* 濃いオレンジ系 */
}

/* ==============================
   3. 各コンテンツセクション
   ============================== */

/* 背景色の設定 */
.gray-bg {
    background-color: #fff;
}

/* 「お悩み」セクション */
#problem ul {
    list-style-type: '✓ '; /* チェックマーク */
    padding-left: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#problem ul li {
    margin-bottom: 10px;
}

/* 「療法紹介」セクション */
.therapy-section {
    padding: 60px 0;
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1.5;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-content img, .inline-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.inline-image {
    margin-top: 20px;
}

.caption {
    font-size: 0.9em;
    color: #555;
    text-align: center;
}

/* 療法紹介セクション（縦並びバージョン） */
.therapy-section.stacked .flex-container {
    flex-direction: column; /* 要素を縦に並べる */
}

.therapy-section.stacked .text-content {
    text-align: center; /* テキストを中央揃え */
    margin-bottom: 30px; /* テキストと画像の間に余白を追加 */
}


/* 「認定証」セクション */
#certificate {
    text-align: center;
}
.certificate-image {
    max-width: 80%;
    margin: 20px auto;
    display: block;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 「写真ギャラリー」セクション */
.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;      /* 常に1列（縦並び）にする */
    gap: 20px;                       /* 写真と写真の間の余白 */
    max-width: 450px;                /* 写真の最大幅（ここでサイズ調整） */
    margin: 30px auto 0;             /* 上下の余白と、左右の自動中央揃え */
}

/* ==============================
   4. お問い合わせフォーム
   ============================== */
.contact-section {
    background-color: #4A5568;
    color: white;
    padding: 60px 0;
}

.contact-section h2 {
    color: white;
}

form {
    max-width: 600px;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

/* フォーム下のメール案内情報 */
.mail-info {
    text-align: center;
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
}

.mail-info a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}


/* ==============================
   5. フッター
   ============================== */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #eee;
    font-size: 0.9em;
}

/* ==============================
   6. コンテンツ内の画像レスポンシブ対応
   ============================== */
.container img,
.text-content img {
    max-width: 100%;
    height: auto; /* 画像の縦横比を維持 */
    display: block; /* 画像の下にできる余分な隙間をなくす */
    margin: 30px auto; /* 画像の上下に余白を追加し、中央揃えに */
    border-radius: 8px; /* これまでの画像スタイルと統一 */
}