/* ===================================
   リセット・基本設定
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2D7D6F;
    --primary-dark: #1F5C52;
    --primary-light: #E8F5F2;
    --secondary: #E67E22;
    --secondary-light: #FEF3E8;
    --text: #333333;
    --text-light: #666666;
    --bg: #FAFBFC;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-apply {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.btn-apply::after {
    display: none;
}

.btn-apply:hover {
    background: #D35400;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    padding: 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list a {
    display: block;
    padding: 15px 10px;
    font-weight: 500;
}

.btn-apply-mobile {
    display: block;
    background: var(--secondary);
    color: var(--white) !important;
    text-align: center;
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 10px;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--white);
}

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===================================
   募集中バナー
   =================================== */
.recruitment-banner {
    background: var(--secondary-light);
    padding: 20px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.banner-badge {
    background: var(--secondary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.banner-period {
    font-size: 0.9rem;
    color: var(--text-light);
}

.banner-btn {
    background: var(--secondary);
    color: var(--white);
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 50px;
    transition: background 0.3s;
}

.banner-btn:hover {
    background: #D35400;
}

/* ===================================
   セクション共通
   =================================== */
.section-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 48px;
}

.section-title .highlight {
    color: var(--primary);
}

/* ===================================
   特徴セクション
   =================================== */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--text);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   訓練情報セクション
   =================================== */
.training-info {
    padding: 80px 0;
    background: var(--bg);
}

.training-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.training-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px 40px;
}

.training-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.training-name {
    font-size: 1.4rem;
    font-weight: 700;
}

.training-details {
    padding: 30px 40px;
}

.training-item {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.training-item:last-child {
    border-bottom: none;
}

.training-label {
    width: 120px;
    flex-shrink: 0;
    font-weight: 500;
    color: var(--text-light);
}

.training-value {
    flex: 1;
    font-weight: 500;
}

.training-btn {
    display: block;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    padding: 20px;
    transition: background 0.3s;
}

.training-btn:hover {
    background: var(--primary-dark);
}

/* ===================================
   実績セクション
   =================================== */
.results {
    padding: 80px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.result-card {
    background: var(--bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.result-label {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.result-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.result-numbers {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.result-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.result-num.success {
    color: var(--primary);
}

.result-arrow {
    color: var(--text-light);
}

.results-note {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

.results-note strong {
    color: var(--primary);
    font-size: 1.5rem;
}

/* ===================================
   CTAセクション
   =================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn.primary {
    background: var(--secondary);
    color: var(--white);
}

.cta-btn.secondary {
    background: var(--white);
    color: var(--primary);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: #2C3E50;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-company {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-address,
.footer-tel {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   ページヘッダー
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    margin-top: 70px;
    text-align: center;
}

.page-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* ===================================
   メインコンテンツ
   =================================== */
.main-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
}

.title-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
}

.title-icon.recruiting {
    background: var(--secondary);
}

/* ===================================
   開講情報テーブル
   =================================== */
.class-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.class-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 24px 30px;
}

.class-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.class-name {
    font-size: 1.3rem;
}

.class-table {
    width: 100%;
    border-collapse: collapse;
}

.class-table th,
.class-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.class-table th {
    width: 180px;
    background: var(--bg);
    font-weight: 500;
    color: var(--text);
}

.class-table td {
    background: var(--white);
}

.fee-box {
    background: var(--secondary-light);
    padding: 16px;
    border-radius: var(--radius);
}

.fee-total {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.fee-total strong {
    font-size: 1.4rem;
    color: var(--secondary);
}

.fee-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.fee-note {
    font-size: 0.85rem;
    color: var(--secondary);
}

.publisher {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

.notes-list {
    list-style: decimal;
    padding-left: 20px;
}

.notes-list li {
    margin-bottom: 12px;
}

.message-cell {
    font-style: italic;
    color: var(--primary-dark);
}

.curriculum-list {
    list-style: decimal;
    padding-left: 20px;
}

.curriculum-list li {
    margin-bottom: 8px;
}

.evaluation-box {
    background: var(--bg);
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 16px;
}

.evaluation-box ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0;
}

.instructor-list li,
.record-list li {
    margin-bottom: 4px;
}

.contact-tel {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 12px 0;
}

.contact-tel a {
    color: var(--primary);
}

.contact-btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #D35400;
}

/* ===================================
   企業概要テーブル
   =================================== */
.info-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 200px;
    background: var(--bg);
    font-weight: 500;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.business-list li,
.philosophy-list li {
    margin-bottom: 4px;
}

.philosophy-list li::before {
    content: '・';
    color: var(--primary);
}

.link-btn {
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

.link-btn:hover {
    color: var(--primary-dark);
}

/* ===================================
   科目免除ボックス
   =================================== */
.info-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.info-box p {
    margin-bottom: 8px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--primary);
}

/* ===================================
   アクセス
   =================================== */
.access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.access-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.access-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.access-name {
    font-weight: 500;
    margin-bottom: 8px;
}

.access-address {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.access-tel {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
}

/* ===================================
   フォームページ
   =================================== */
.form-intro {
    text-align: center;
    margin-bottom: 40px;
}

.form-intro p {
    margin-bottom: 8px;
}

.form-tel {
    margin-top: 16px;
}

.form-tel a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.form-tel-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-label.required::after {
    content: '必須';
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.radio-group {
    display: flex;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-submit {
    margin-top: 32px;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.form-note {
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
}

.form-note h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.form-note p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===================================
   送信完了ページ
   =================================== */
.thanks-page {
    min-height: calc(100vh - 70px - 200px);
    display: flex;
    align-items: center;
    padding: 100px 0;
    margin-top: 70px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    color: var(--primary);
    margin-bottom: 24px;
}

.thanks-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2rem;
    margin-bottom: 24px;
}

.thanks-message {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 2;
}

.thanks-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.thanks-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.thanks-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .class-table th,
    .class-table td {
        display: block;
        width: 100%;
    }
    
    .class-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }
    
    .class-table td {
        padding-top: 0;
    }
    
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    
    .info-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }
    
    .info-table td {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .banner-content {
        justify-content: center;
        text-align: center;
    }
    
    .banner-text {
        flex: auto;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .training-header,
    .training-details {
        padding: 20px;
    }
    
    .training-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .training-label {
        width: auto;
    }
}
