/* 共通スタイル */
body {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ヒーローセクション・トップ用 */
.hero-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00d4aa, #00a8ff, #7b68ee);
}
.hero-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}
.instant-answers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.answer-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #00d4aa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.answer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.answer-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
}

/* セマンティックブロック・比較表 */
.semantic-block {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.semantic-block h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 3px solid #00d4aa;
    padding-bottom: 10px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
}
.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.comparison-table tr:nth-child(even) {
    background: #f8f9ff;
}

/* 治療フロー */
.treatment-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.flow-step {
    background: linear-gradient(135deg, #00d4aa 0%, #00a8ff 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}
.flow-step:hover {
    transform: scale(1.05);
}
.flow-step .step-number {
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 症状グリッド */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.symptom-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s ease;
}
.symptom-card:hover {
    transform: translateY(-5px);
}

/* コンタクト・FAQ */
.contact-section {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}
.contact-button {
    background: white;
    color: #4facfe;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 10px;
}
.contact-button:hover {
    transform: scale(1.1);
}
.faq-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.faq-answer {
    color: #555;
    line-height: 1.7;
}
.structured-data {
    display: none;
}

/* プロフィール用 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}
.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #eee url('profile-photo.jpg') center/cover no-repeat;
    border: 4px solid #00d4aa;
}
.profile-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}
.profile-sub {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-top: 8px;
    font-weight: 600;
}
.section {
    margin-bottom: 35px;
}
.section h2 {
    font-size: 1.4rem;
    color: #00a8ff;
    border-left: 6px solid #00d4aa;
    padding-left: 12px;
    margin-bottom: 15px;
}
.profile-list {
    list-style: disc inside;
    margin-bottom: 10px;
}
.message-block {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 10px;
    padding: 25px;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* 治療理念・メッセージ画像調整 */
.message-block .message-image {
    width: 400px;
    height: 314px;
    max-width: 100%;
    display: block;
    margin: 22px auto;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    background: #e0e7ef center/cover no-repeat;
}
@media (max-width: 500px) {
    .message-block .message-image {
        width: 100%;
        height: auto;
        aspect-ratio: 400/314;
        max-width: 100vw;
        object-fit: contain;
    }
}

/* 縦長治療理念画像用 */
.message-block .message-image-tall {
    width: 400px;
    height: 530px;
    max-width: 100%;
    display: block;
    margin: 22px auto;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    background: #e0e7ef center/contain no-repeat;
    aspect-ratio: 400/530;
    object-fit: contain;
}
@media (max-width: 500px) {
    .message-block .message-image-tall {
        width: 100%;
        height: auto;
        max-width: 100vw;
    }
}

/* ウィザード診断フォーム用フォーム部品 */
.step input[type="text"],
.step input[type="email"],
.step input[type="number"],
.step input[type="password"],
.step input[type="tel"],
.step select,
.step textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 10px;
    background: #f8f9fa;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.step input[type="text"]:focus,
.step input[type="email"]:focus,
.step input[type="number"]:focus,
.step input[type="password"]:focus,
.step input[type="tel"]:focus,
.step select:focus,
.step textarea:focus {
    border-color: #00a8ff;
    outline: none;
    background: #fff;
}
.step textarea {
    min-height: 60px;
    resize: vertical;
}
.step fieldset {
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 18px 10px 18px;
    margin-bottom: 18px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.step legend {
    font-size: 1.1rem;
    color: #00a8ff;
    font-weight: bold;
    padding: 0 8px;
}
.step label {
    display: block;
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 4px;
    font-weight: 500;
}
.step label[style*="margin-left"] {
    display: inline-block;
    margin-right: 10px;
}
.step input[type="radio"] {
    margin-right: 3px;
    accent-color: #00a8ff;
}

/* ウィザード進捗バー調整 */
#wizard-progress {
    margin-bottom: 20px;
}
#progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}
#progress-bar-inner {
    height: 8px;
    width: 0;
    background: linear-gradient(90deg,#00d4aa,#00a8ff,#7b68ee);
    transition: width 0.3s;
}
#progress-text {
    text-align: right;
    font-size: 0.95em;
    color: #888;
    margin-top: 4px;
}

/* ウィザードナビゲーションボタン調整 */
#wizard-form .contact-button {
    min-width: 120px;
    margin: 0 8px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .semantic-block {
        padding: 25px;
    }
}
@media (max-width: 600px) {
    .container { padding: 15px; }
    .profile-header { flex-direction: column; gap: 15px; }
    .profile-photo { width: 100px; height: 100px; }
    .step fieldset { padding: 10px 5px 5px 5px; }
    .step legend { font-size: 1rem; }
}

.kv-area {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 36px auto;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.kv-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2;
}
.kv-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.kv-copy {
    color: #fff;
    font-size: 2.1rem;
    font-weight: bold;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    letter-spacing: 0.08em;
    text-align: center;
    padding: 0 24px;
}
@media (max-width: 700px) {
    .kv-area { max-width: 100vw; border-radius: 0; }
    .kv-copy { font-size: 1.2rem; padding: 0 8px; }
}

.column-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 40px 0 20px 0;
}
.column-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
    min-height: 220px;
    border: 1.5px solid #f0f0f0;
}
.column-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    transform: translateY(-4px) scale(1.03);
}
.column-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #eee;
    display: block;
}
.column-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 18px 12px 16px 12px;
    text-align: center;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .column-list { grid-template-columns: 1fr; gap: 18px; }
    .column-title { font-size: 1rem; margin: 12px 6px 12px 6px; }
}

/* --- ヘッダー・ナビゲーション --- */
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  color: #00a8ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #764ba2;
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: 10px;
}
.burger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #00a8ff;
  border-radius: 2px;
  margin: 4px 0;
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 18px 0 10px 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.mobile-nav a {
  color: #00a8ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 12px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav.open {
  display: flex;
}
.burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: flex; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

/* 治療の流れSTEP画像 */
.step-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
@media (max-width: 600px) {
  .step-img {
    width: 80px;
    height: 80px;
  }
}

/* プロフィールセクションのテキスト色調整 */
.section, .section h2, .section ul, .section li, .section p {
  color: #2c3e50;
}

.contact-accent {
    background: linear-gradient(90deg, #00d4aa 0%, #00a8ff 100%) !important;
    color: #fff !important;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
} 