/* ===== YouTube動画埋め込み ===== */
.video-wrap {
    max-width: 760px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    position: relative;
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-wrap.video-facade {
    cursor: pointer;
    background: #000;
}

.video-wrap.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(200, 0, 0, 0.88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    padding-left: 5px;
    pointer-events: none;
    transition: background 0.2s, transform 0.15s;
}

.video-wrap.video-facade:hover .video-play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== Page Hero (subpages) ===== */
.page-hero {
    padding: 140px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero-care {
    background:
        linear-gradient(135deg, rgba(28,49,117,0.82) 0%, rgba(90,176,48,0.78) 100%),
        url('images/hero-bg.jpg') center/cover no-repeat;
}

.page-hero-ict {
    background:
        linear-gradient(135deg, rgba(28,49,117,0.88) 0%, rgba(45,125,210,0.85) 100%),
        url('images/ict-hero.jpg') center/cover no-repeat;
}

.page-hero-seminar {
    background:
        linear-gradient(135deg, rgba(28,49,117,0.78) 0%, rgba(180,100,20,0.82) 100%),
        url('images/seminar-photo.jpg') center/cover no-repeat;
}

.page-hero-contact {
    background: linear-gradient(135deg, #1C3175 0%, #3a6fd8 100%);
}

.page-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 2;
}

/* ===== Privacy page title ===== */
.page-title-bar {
    background: var(--bg-light);
    padding: 100px 0 32px;
    border-bottom: 1px solid #e0e0e0;
}

.page-title-bar h1 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--navy);
}

/* ===== Scene grid ===== */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 52px;
}

.scene-item {
    background: white;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.scene-item img {
    width: 100%;
    max-width: 160px;
    margin: 0 auto 16px;
    border-radius: 8px;
    object-fit: contain;
}

.scene-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.5;
}

.scene-item p {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.8;
}

/* ===== Value section ===== */
.value-wrap {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

.value-wrap-ict {
    grid-template-columns: 1fr 380px;
}

.value-image img {
    width: 100%;
    border-radius: var(--radius);
}

.value-text h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.value-subtitle {
    color: var(--text-mute);
    margin-bottom: 20px;
    font-size: 14px;
}

.value-text > p:not(.value-subtitle) {
    margin-bottom: 24px;
    line-height: 1.9;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-list li {
    padding-left: 26px;
    position: relative;
    line-height: 1.7;
    font-size: 14.5px;
}

.value-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ===== Support grid (4 columns) ===== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.support-item {
    background: white;
    border-radius: var(--radius);
    padding: 24px 18px;
    box-shadow: var(--shadow);
    text-align: center;
}

.support-item img {
    width: 100%;
    max-width: 110px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.support-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.5;
}

.support-item p {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.7;
}

/* ===== Target grid ===== */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 52px;
}

.target-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--care);
}

.target-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.target-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.target-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.target-card ul li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-mute);
}

.target-card ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--green);
}

/* ===== Flow section ===== */
.flow-wrap {
    max-width: 760px;
    margin: 52px auto 0;
}

.flow-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.flow-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 6px;
}

.flow-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.5;
}

.flow-content p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.85;
}

/* ===== Menu grid (seminar) ===== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.menu-item {
    background: white;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--seminar);
    position: relative;
}

.menu-num {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: var(--seminar);
}

.menu-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.5;
}

.menu-item p {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.85;
}

/* ===== Info boxes ===== */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.info-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px 24px;
    border-top: 3px solid var(--seminar);
}

.info-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.info-box p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.8;
}

/* ===== CTA variants ===== */
.cta-ict {
    background: linear-gradient(135deg, #1C3175 0%, #2D7DD2 100%);
}

.cta-seminar {
    background: linear-gradient(135deg, #5a3a00 0%, #c07800 100%);
}

/* ===== Contact form ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group > label:first-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid #dde0e8;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(28,49,117,0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.required {
    color: #d93025;
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

.optional {
    color: var(--text-mute);
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 16px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text);
    font-weight: 400;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--navy);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.form-note {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.8;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 14px 16px;
}

/* Contact info sidebar */
.contact-info {
    background: var(--navy);
    color: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    position: sticky;
    top: 88px;
}

.contact-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item .label {
    font-size: 11px;
    opacity: 0.55;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-info-item .value {
    font-size: 14px;
    line-height: 1.75;
}

/* Form success */
.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--green);
    color: white;
    font-size: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.form-success p {
    color: var(--text-mute);
    line-height: 2;
}

/* ===== Privacy content ===== */
.privacy-content {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-intro {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 48px;
    line-height: 1.9;
    font-size: 14.5px;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid var(--green);
}

.privacy-section p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 12px;
}

.privacy-section ul {
    list-style: disc;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.privacy-section ul li {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-mute);
}

.privacy-meta {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 2;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .scene-grid { grid-template-columns: 1fr 1fr; }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .value-wrap,
    .value-wrap-ict { grid-template-columns: 1fr; }
    .value-wrap-ict .value-image { order: -1; }
    .value-image { max-width: 380px; margin: 0 auto; }
    .target-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .contact-info { position: static; }
    .info-boxes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .scene-grid { grid-template-columns: 1fr; }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .menu-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 120px 24px 60px; }
}
