﻿/* スマホのみ改行 */
/* PCでは改行しない */
.br-sp { display: none; }

/* スマホだけ改行 */
@media (max-width: 768px) {
  .br-sp { display: inline; }
}



/* ===================================
   共通コンポーネント
   =================================== */

/* アイコンスタイル - センタリング修正 */
.icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    background: var(--light-green);
    border-radius: 12px;
    margin: 0 auto 20px; /* センタリング修正 */
}

.icon-large {
    width: 64px;
    height: 64px;
    font-size: 32px;
    border-radius: 16px;
    margin: 0 auto 20px; /* センタリング修正 */
}

.icon-extra-large {
    width: 96px;
    height: 96px;
    font-size: 48px;
    border-radius: 20px;
    margin: 0 auto 20px; /* センタリング修正 */
}

.icon-white {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin: 0 auto 16px; /* センタリング確保 */
}

.list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    font-size: 16px; /* 14px → 16px */
}

.list-icon.check {
    color: var(--success-green);
    background: #E8F5E9;
    border-radius: 50%;
}

.list-icon.cross {
    color: #F44336;
    background: #FFEBEE;
    border-radius: 50%;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-dark);
    margin-bottom: 72px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    display: block;
    font-size: 16px;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ボタン */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: white;
    padding: 18px 42px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(46, 139, 87, 0.3);
    margin-top: 32px;
    letter-spacing: 0.3px;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(46, 139, 87, 0.4);
}

.cta-subtext {
    margin-top: 16px;
    font-size: 16px; /* 15px → 16px */
    opacity: 0.7;
}

/* フォーム関連 */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px; /* 14px → 16px */
    color: var(--text-dark); /* ダークテキスト */
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    background: white; /* 白背景 */
    border: 2px solid var(--gray-medium); /* 明確なボーダー */
    border-radius: 12px;
    color: var(--text-dark); /* ダークテキスト */
    font-size: 16px; /* 15px → 16px */
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999; /* プレースホルダーをグレーに */
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    margin-top: 16px;
    box-shadow: 0 4px 16px rgba(46, 139, 87, 0.3);
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.4);
}

/* チェックボックス関連 */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 16px; /* 14px → 16px */
    line-height: 1.6;
    color: var(--text-dark); /* ダークテキスト */
}

.checkbox-text a {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-text a:hover {
    color: var(--dark-green);
}

/* フォーム必須項目スタイル */
.required {
    color: #e74c3c;
    margin-left: 4px;
}

.error-message {
    color: #e74c3c;
    font-size: 16px; /* 13px → 16px */
    margin-top: 4px;
}

.form-note {
    text-align: center;
    margin-top: 24px;
    color: #666; /* ダークグレー */
    font-size: 16px; /* 13px → 16px */
}

/* タブ機能 */
.equipment-tabs, .case-tabs, .simulation-tabs {
    margin: 40px 0;
}

.tab-nav, .case-tab-nav, .sim-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.tab-button, .case-tab-button, .sim-tab-button {
    padding: 12px 24px;
    background: var(--gray-medium);
    border: none;
    border-radius: 25px;
    font-size: 16px; /* 14px → 16px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.tab-button.active, .case-tab-button.active, .sim-tab-button.active {
    background: var(--primary-green);
    color: white;
}

.tab-button:hover, .case-tab-button:hover, .sim-tab-button:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.tab-content, .case-tab-content, .sim-tab-content {
    display: none;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px var(--shadow-light);
    border: 1px solid var(--gray-medium);
}

.tab-content.active, .case-tab-content.active, .sim-tab-content.active {
    display: block;
}

.tab-content h3, .case-tab-content h3, .sim-tab-content h3 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 700;
}

/* テーブル・仕様表 */
.spec-table, .detailed-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.spec-table th, .spec-table td,
.detailed-spec-table th, .detailed-spec-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 16px; /* フォントサイズを明示的に指定 */
}

.spec-table th, .detailed-spec-table th {
    background: var(--light-green);
    color: var(--text-dark);
    font-weight: 600;
    width: 30%;
}

.spec-table td, .detailed-spec-table td {
    color: var(--text-dark);
}

/* イメージプレースホルダー */
.image-placeholder {
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--primary-green);
    font-weight: 600;
    margin: 20px 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* フォントサイズを明示的に指定 */
    flex-direction: column;   /* ←これを追加 */
    align-items: center;      /* 縦並びの中央寄せ */
    justify-content: center;  /* 縦方向の中央寄せ */
}

.image-placeholder span {
  display:block;
  margin-bottom: 0.5em; /* テキストと画像の間に余白 */
}

.visual-caption {
    text-align: center;
    font-size: 16px; /* 14px → 16px */
    color: var(--text-dark);
    opacity: 0.7;
    margin-top: 8px;
    font-style: italic;
}

/* アコーディオン機能 */
.detail-toggle {
    background: var(--primary-green);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px; /* 14px → 16px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.detail-toggle:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light-green);
    border-radius: 12px;
    margin-top: 20px;
}

.detail-content.active {
    max-height: 1000px;
    padding: 30px;
}

.detail-content h4 {
    color: var(--primary-green);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-content h5 {
    color: var(--text-dark);
    font-size: 16px;
    margin: 16px 0 8px;
    font-weight: 600;
}

/* メッセージ表示 */
.form-message {
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.message-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: white;
}

.message-content i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message.success .message-content {
    color: #4CAF50;
}

.form-message.error .message-content {
    color: #F44336;
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 16px; /* フォントサイズを明示的に指定 */
}

/* パンくずナビゲーション */
.breadcrumb-container {
    background: var(--gray-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-medium);
}

.breadcrumb {
    font-size: 16px; /* 14px → 16px */
    color: var(--text-dark);
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-dark);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-dark);
    opacity: 0.7;
}