/*
Theme Name: THEME2
Author: Your Name
Description: A minimal theme based on the provided design.
Version: 1.0
*/
@charset "UTF-8";

:root {
    /* ===== Font Sizes ===== */
    --font-xs: clamp(0.75rem, 0.3vw, 0.875rem);
    --font-sm: clamp(0.875rem, 1.05vw, 1rem);
    --font-base: clamp(1rem, 1.2vw, 1.125rem);
    --font-md: clamp(1.125rem, 1.4vw, 1.25rem);
    --font-lg: clamp(1.25rem, 1.8vw, 1.5rem);
    --font-xl: clamp(1.5rem, 2.2vw, 2rem);
    --font-xxl: clamp(2rem, 4vw, 3rem);
    --font-4xl: clamp(3rem, 7vw, 7srem);

    /* ===== Spacing / Margin / Padding ===== */
    --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-sm: clamp(0.5rem, 1vw, 1rem);
    --space-md: clamp(1rem, 2vw, 2rem);
    --space-lg: clamp(2rem, 4vw, 4rem);
    --space-xl: clamp(4rem, 6vw, 6rem);

    /* ===== Layout Sizes ===== */
    --container-width: 1200px;
    --sidebar-width: clamp(140px, 10vw, 200px);
    --gutter: clamp(1rem, 2vw, 2rem);

    /* ===== Line Height ===== */
    --line-height-base: 1.7;
    --line-height-tight: 1.4;
    --line-height-loose: 1.9;

    /* ===== Border Radius ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* ===== Transition ===== */
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s ease;

    /* ===== width ===== */
    --content-min-width: 1000px;
    --content-preferred-width: calc(70vw + 10rem);
    --content-max-width: 1800px;
    --content-max-width-auto: auto;

    /* ===== color ===== */
    --Mcolor: #d2001c;
    --accent: #d2001c;
    --accent-hover: #6e1414;
    --accent-light: #C41E3A;
    --bg-cream: #f5f0e8;
    --bg-warm: #eee8dc;

}

/* --- 基本的なリセットと全体設定 --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    overflow-x: hidden;
    background-color: var(--bg-cream);
}

a {
    text-decoration: none;
    color: #111;
}

p {
    line-height: 2rem;
}

ul {
    list-style: none;
    text-align: left;
}

/* パンくずリスト */
.breadcrumb {
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    color: #666;
    padding-left: 2rem;
    text-align: left;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
}

.breadcrumb span {
    color: #999;
}

.smt {
    display: none;
}

@media (max-width: 767px) {
    .smt {
        display: block;
    }
}

/*

TOPpage

*/

/* Header */
.header {
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 100;
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 64%, transparent 100%);
    transition: padding 0.3s ease, background 0.3s ease;
}

.header-scrolled {
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-scrolled .logo img {
    max-height: 50px;
    transition: max-height 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: auto;
    max-height: 100px;
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.logo img {
    max-height: 77px;
    height: auto;
    width: auto;
    display: block;
}

.branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-name h1 a {
    font-size: 1.2rem;
    margin: 0;
    text-decoration: none;
    mix-blend-mode: difference;
    color: #fff;
}

/* 共通：メニュー横並び用 */
.main-menu {
    display: flex;
    gap: 3.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* PC表示のみ */
@media (min-width: 768px) {
    .desktop-menu {
        display: block;
        background-color: rgba(255, 255, 255, 0.38);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 3rem;
        border-radius: 2rem;
        border: 1px solid rgba(255, 255, 255, .3);
    }

    .menu-toggle,
    .mobile-menu,
    .menu-overlay {
        display: none;
    }

    .nav {
        justify-content: space-between;
        align-items: center;
    }
}

/* スマホ表示のみ */

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 4px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 30vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 40px 40px;
    opacity: 0;
    transform: translateX(20px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 999;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    pointer-events: none;
}


.mobile-menu.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}


.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 30px;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.mobile-menu a:hover {
    color: #666;
}

.mobile-menu .menu-section {
    margin-bottom: 40px;
}

.mobile-menu .menu-section h3 {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* button */
.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--accent);
    border: 2px solid var(--accent);
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    z-index: 0;
    transition: left 0.4s ease;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #fff;
}

.btn span {
    position: relative;
    z-index: 1;
}

/* fadein */
/* 最初は非表示＋下方向にずらす */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    height: 100vh;
    max-height: 1000px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.5) 1px, transparent 1px);
    background-size: 3px 3px;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-mask {
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 101%;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.hero-mask svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-family: '游明朝', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: 0.08em;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: '游明朝', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    letter-spacing: 0.12em;
    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.2);
}

section:not(.hero) {
    position: relative;
    z-index: 1;
    background: var(--bg-cream);
}

.hero-sub {
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: '游明朝', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.hero-sub-span {
    display: block;
}

/* About Section */
.about {
    padding: 10rem 0;
    background-color: #fff !important;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 4rem;
    align-items: center;
}

.about-icon {
    width: 18rem;
    height: 18rem;
    overflow: hidden;
    border-radius: 50%;
}

.about-icon img {
    width: 100%;
}

.about-text {
    line-height: 1.8;
    color: #333;
}

.lead-catch {
    font-weight: 600;
    font-size: 3rem;
    font-family: "Oswald", sans-serif;
}

/* Parallax Wood Section */
.parallax-wood {
    min-height: 60vh;
    max-height: 1400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
}

.wood-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    transform: translateZ(0);
}

.wood-text {
    position: relative;
    z-index: 2;
    color: #333;
    text-align: center;
}

.wood-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.wood-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.wood-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Leaflet Area in Wood Section */
.leaflet-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.leaflet-images {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.leaflet-images img {
    max-width: 45%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.leaflet-download {
    margin-top: 10px;
}

.btn-download {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #333;
    border: 2px solid #333;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #fff;
    color: #333;
}

@media (max-width: 767px) {
    .leaflet-images {
        flex-direction: column;
        align-items: center;
    }

    .leaflet-images img {
        max-width: 90%;
    }
}


/* Portfolio Grid */
.portfolio {
    padding: 10rem 0;
    background: #fff !important;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 60px;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 300px;
    background: linear-gradient(45deg, #4a90e2, #7b68ee);
    position: relative;
    background-size: cover;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
}

.portfolio-description {
    color: #666;
    line-height: 1.6;
}

.portfolio-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.portfolio-small {
    height: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.link-classic {
    text-align: center;
    font-weight: 600;
}

.link-classic span {
    display: inline-block;
    background: white;
    border: 1px solid var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    color: var(--accent);
    transition: all 0.3s;
    margin-top: 15px;
}

/* News */

.news-section {
    padding: 6rem 2rem 12rem;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
}

.news-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-left {
    width: 35%;
}

.news-title-en {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.news-title-ja {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 1rem;
}

.news-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.news-button {
    display: inline-block;
    background: white;
    border: 1px solid var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    color: var(--accent);
    transition: all 0.3s;
}

.news-button:hover {
    background: var(--accent);
    color: #fff;
}

.news-right {
    width: 65%;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-weight: bold;
    width: 100px;
    color: #333;
    font-size: 0.9rem;
}

.news-label {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
}

.label-info {
    background: #fdf0e8;
    color: var(--accent);
}

.label-important {
    background: #ffe6e6;
    color: #C41E3A;
}

.news-item-title {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.news-item-title:hover {
    color: var(--accent);
}

.news-page .container {}


/* Character Section */
.character-section {
    padding: 80px 0;
    background: #2a1a1a !important;
    color: white;
    text-align: center;
}

.character-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.character-icon img {
    width: 100%;
    display: block;
    height: auto;
}

.character-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 12rem 0;
    background: var(--bg-cream);
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.services-image {
    height: 752px;
    border-radius: 12px;
    background-size: cover;
}

.services-text {
    padding-top: 0;
}

.services-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.services-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

.services-list {
    display: grid;
    gap: 20px;
}

.service-item {
    padding: 20px;
    background: var(--bg-warm);
    border-radius: 8px;
}

.greeting-message h3 {
    margin-bottom: 20px;
}

.greeting-message p {
    margin-bottom: 20px;
}

/* Final Section */
.final-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 400px;
}

.final-item {
    position: relative;
    overflow: hidden;
}

.final-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.final-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.final-subtitle {
    opacity: 0.8;
}


.final-item:nth-child(1) {
    background: linear-gradient(45deg, #ff4500, #ff6b35);
}

.final-item:nth-child(2) {
    background: #333;
}

.final-item:nth-child(3) {
    background: linear-gradient(45deg, #4a90e2, #7b68ee);
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 60px 0;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin: 0 0 30px;
    background: #333;
    border-radius: 50%;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.footer-left-area {
    padding-left: 10rem;
}

.footer-right-area {
    display: flex;
    gap: 6rem;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-widget h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.footer-widget .share-icons {
    justify-content: flex-start;
}

/* Footer Sponsors */
.footer-sponsors {
    background: #1a1a1a;
    color: #ccc;
    padding: 2.5rem 2rem;
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-sponsors-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.sponsors-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 360px;
}

.sponsor-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sponsor-label {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
    letter-spacing: 0.1em;
}

.sponsor-logo-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.sponsor-logo-link:hover {
    opacity: 0.7;
}

.sponsor-logo-link img {
    max-height: 40px;
    width: auto;
}

.sponsor-name-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.sponsor-info {
    color: #ccc;
}

.sponsor-info strong {
    color: #fff;
    font-size: 1.1rem;
}

.sponsor-contact {
    font-size: 0.8rem;
}

.sponsor-contact a {
    color: #ccc;
    text-decoration: none;
}

.sponsor-contact a:hover {
    color: #fff;
}

.sponsors-right {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 1;
}

.sponsors-list {
    display: flex;
    gap: 2.5rem;
    flex: 1;
}

.sponsors-col {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sponsors-col a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.sponsors-col a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-sponsors-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .sponsors-left {
        min-width: auto;
    }

    .sponsors-right {
        flex-direction: column;
        gap: 0.8rem;
    }

    .sponsors-list {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    padding: 2rem 1rem;
    border-top: 1px solid #333;
    color: #999;
}

footer li {
    line-height: 3.4rem;
    font-size: var(--font-sm);
}


/* Parallax Effects */
.parallax-element {
    transition: transform 0.1s linear;
}

/*

TOP pageここまで

*/

/* page.php */
.page-main {
    background: var(--bg-cream);
}

.page-header-spacer {
    padding-top: 160px;
    padding-bottom: 2rem;
    text-align: center;
    background: var(--bg-cream);
}

.page-header-spacer .breadcrumb {
    text-align: center;
    padding-left: 0;
    margin-bottom: 1rem;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    letter-spacing: 0.05em;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.page-content h2,
.page-content h3 {
    margin: 3rem 0 1rem;
}

/* CONTACT */

input,
select,
textarea {
    direction: ltr;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.cf7-step-form {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 640px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Noto Sans JP', sans-serif;
}

.cf7-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cf7-step-list {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    max-width: 400px;
}

.cf7-step-list li {
    position: relative;
    font-size: 0.85rem;
    color: #999;
}

.cf7-step-list li span {
    display: inline-block;
    background: #ddd;
    color: #fff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    margin-bottom: 0.3rem;
}

.cf7-step-list li.active span {
    background: var(--accent);
}

.cf7-step-list li.active {
    color: #333;
    font-weight: bold;
}

.cf7-step-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cf7-field {
    margin-bottom: 1.5rem;
}

.cf7-label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
}

.cf7-required {
    background: var(--accent-light);
    color: #fff;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    margin-left: 0.3rem;
}

.cf7-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.cf7-button-wrap {
    text-align: center;
}

.cf7-button {
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: 0.3s;
}

.cf7-button:hover {
    background: var(--accent-hover);
}


/* page.php */
.page h2 {
    margin-bottom: 2rem;
}

/* page-service.php */
.service-section {
    padding: 5.8rem 6rem;
    margin: 0 auto;
    font-family: "Noto Sans JP", sans-serif;
}

.page-hero {
    text-align: center;
    background-color: var(--bg-cream);
    padding-bottom: 1rem;
}

.page-hero img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.page-hero h1 {
    margin: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.service-menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.8rem;
}


.service-menu-item img {
    width: 100%;
    object-fit: cover;
    max-height: 210px;
    aspect-ratio: 4 / 3;
}

.service-menu-item .text {
    font-size: var(--font-sm);
}

.menu-title {
    margin: 1rem 0;
    font-size: var(--font-md);
}

.service-freespace {
    background: #fff;
    margin-bottom: 2rem;
}

.service-faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.service-faq-item summary {
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 0;
}

.service-faq-item p {
    padding-left: 1rem;
    color: #555;
}

.service-access {
    background-color: #f8f8f8;
    padding: 6.8rem 2rem;
    text-align: center;
}

.service-access iframe {
    max-width: 100%;
    height: 300px;
    border: none;
}

.service-map {
    margin: 3rem 0;
}

/* page-company.php */
.company-page {
    font-family: "Noto Sans JP", sans-serif;
}

/* 共通セクションスタイル */
.company-section {
    padding: 5.8rem 2rem;
    margin: 0 auto;
}

.company-section-inner {
    max-width: 1000px;
    margin: auto;
}

.company-flex {
    display: flex;
    gap: 5rem;
    align-items: center;
}

/* 会社概要 */
.company-info dl {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-item {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding: 2rem 0;
}

.company-item dt {
    font-weight: bold;
    width: 160px;
    color: #333;
}

.company-item dd {
    flex: 1;
    margin: 0;
    color: #555;
}

/* 代表あいさつ */
.company-greeting {
    background-color: var(--bg-warm);
    padding: 9rem 2rem 5.8rem;
}

.company-greeting h2 {
    margin-bottom: 1rem;
}

.greeting-text {
    background: #fff;
    padding: 2rem;
    color: #333;
    border-radius: 6px;
    line-height: 1.8;
}

/* 地図セクション */
.company-map {
    background-color: #f8f8f8;
    text-align: center;
}

.company-map h2 {
    margin-bottom: 1rem;
}

.map-embed iframe {
    max-width: 100%;
    height: 300px;
    border: none;
}


/* NEWS一覧ページ */

.news-archive {
    max-width: 1000px;
    margin: 0 auto 100px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}


.pagination .page-numbers li {
    display: inline-block;
    font-size: 0.95rem;
}

.pagination .page-numbers li a {
    display: block;
    padding: 0.5em 1em;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #333;
    transition: background-color 0.2s, color 0.2s;
}

.pagination .page-numbers li a:hover {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pagination li>.current {
    font-weight: bold;
    background-color: var(--accent);
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    border: 1px solid var(--accent);
    border-radius: 30px;
    transition: background-color 0.2s, color 0.2s;
}

@media (max-width: 600px) {
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
}

@media (max-width: 1024px) {
    .service-menu-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-section {
        padding: 2.8rem 2rem;
    }
}

/* single.php */
.single-post {
    margin-top: 150px;
    text-align: left;
}

.post-layout {
    padding: 4rem 1rem;
    max-width: 860px;
    margin: auto;
}

.post-main {
    width: 100%;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.post-share {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.post-share ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.post-share li {
    margin-bottom: 0;
}

.post-share a {
    text-decoration: none;
    color: #666;
}

.share-icons {
    display: flex;
    gap: 1rem;
    padding: 0;
    list-style: none;
    margin-top: 1rem;
}

.share-icons li a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
}

.share-icons li a:hover {
    color: var(--accent);
}

.post-header {
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: .3rem;
}

.post-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.post-meta .post-date {
    margin-right: 1rem;
}

.post-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    color: #111;
}

.post-category-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.post-category-link:hover {
    text-decoration: underline;
}


.post-content img {
    padding: 1rem 0;
}

.post-nav {
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid #eee;
}

.post-nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.prev-post a,
.next-post a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.prev-post a:hover,
.next-post a:hover {
    color: #999;
}


/* Responsive */
@media (max-width: 768px) {
    .logo {
        max-height: 50px;
        margin-left: 0;
    }

    .logo img {
        max-height: 50px;
    }

    .mobile-menu {
        width: 100vw;
    }

    .nav-menu {
        display: none;
    }

    .hero-content,
    .about-content,
    .portfolio-grid,
    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 1.3rem !important;
        letter-spacing: 0;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-sub {
        font-size: .8rem;
        line-height: 1.6;
    }

    .hero-sub-span {
        font-size: 1.1rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about-icon {
        margin: auto;
    }

    .parallax-wood {
        height: 100%;
    }

    .wood-title {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .final-section {
        grid-template-columns: 1fr;
    }

    .wood-subtitle {
        font-size: .9rem;
        opacity: 0.9;
    }

    .portfolio {
        padding: 3rem 0;
    }

    .portfolio-grid {
        gap: 3rem;
        ;
    }

    .portfolio-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-content {
        padding: 15px;
    }

    .portfolio-image {
        height: 120px;
    }

    .portfolio-title {
        font-size: 1rem;
        font-weight: 600;
    }

    .portfolio-description {
        font-size: .9rem;
    }

    .services {
        padding: 3rem 0;
    }

    .services-image {
        height: 352px;
    }

    .services-title {
        font-size: 1.6rem;
    }

    .services-text {
        padding-top: 0;
    }
}

@media (max-width: 768px) {

    .desktop-menu {
        display: none;
    }

    .menu-toggle.active {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu {
        display: none;
        /* ハンバーガーで開くときにJSで display: block にする */
    }

    /* 開いてる状態はJSでクラスを付けて管理 */
    .mobile-menu.active {
        display: block;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
    }

    .service-menu-list {
        grid-template-columns: auto
    }

    .about,
    .services,
    .portfolio,
    .news-section,
    .character-section,
    .final-section {
        padding: 4rem 1.5rem;
    }

    .page-hero {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 20px;
    }

    .home .container {
        padding: 0;
    }


    .portfolio-image {
        height: auto;
        aspect-ratio: 4 / 3;
        background-size: cover;
        background-position: center;
    }

    .portfolio-item {
        border-radius: 12px;
        overflow: hidden;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .footer-left-area,
    .footer-right-area {
        padding-left: 0;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-right-area {
        gap: 2rem;
    }

    .news-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .news-left {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .news-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .news-button {
        margin-top: 1rem;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .news-right {
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.2rem 0;
    }

    .news-date {
        font-size: 0.85rem;
        width: auto;
    }

    .news-item-title {
        font-size: 1rem;
    }

    .news-label {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

}

/* 募集要項ページ */
.jbs-entry {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.9;
}

.jbs-entry .notice-top {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #d2001c;
    border: 2px solid #d2001c;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 3rem;
    background: #fdf5f5;
}

.jbs-entry h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d2001c;
    border-left: 4px solid #d2001c;
    padding: 0.3rem 0 0.3rem 0.8rem;
    margin: 2.5rem 0 1rem;
}

.jbs-entry p {
    margin: 0.5rem 0;
}

.jbs-entry .sub-note {
    font-size: 0.9rem;
    color: #666;
    padding-left: 1rem;
}

.jbs-entry .venue-access {
    font-size: 0.95rem;
    color: #555;
    padding-left: 1rem;
}

.jbs-entry .course-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.jbs-entry .course-table th,
.jbs-entry .course-table td {
    border: 1px solid #ddd;
    padding: 0.8rem 1rem;
    text-align: left;
}

.jbs-entry .course-table th {
    background: #d2001c;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.jbs-entry .course-table td {
    background: #fff;
}

.jbs-entry .course-table .price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #d2001c;
}

.jbs-entry .course-table .includes {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-top: 0.3rem;
}

.jbs-entry .btn-apply {
    display: inline-block;
    padding: 1rem 3rem;
    background: #d2001c;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s, transform 0.2s;
    margin: 1.5rem 0;
}

.jbs-entry .btn-apply:hover {
    background: #6e1414;
    transform: translateY(-2px);
}

.jbs-entry .apply-section {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: #fdf5f5;
    border-radius: 8px;
}

.jbs-entry .apply-section p {
    font-size: 0.9rem;
    color: #666;
}

.jbs-entry .info-box {
    background: #f8f4ef;
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.93rem;
    line-height: 1.9;
}

.jbs-entry .contact-box {
    text-align: center;
    margin: 3rem 0 1rem;
    padding: 2rem;
    border-top: 2px solid #d2001c;
}

.jbs-entry .contact-box .org-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.jbs-entry .contact-box a {
    color: #d2001c;
    text-decoration: none;
    font-size: 1rem;
}

.jbs-entry .contact-box a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {

    .jbs-entry .course-table th,
    .jbs-entry .course-table td {
        display: block;
        width: 100%;
    }

    .jbs-entry .course-table th {
        border-bottom: none;
    }

    .jbs-entry .course-table td {
        border-top: none;
    }
}

/* カリキュラムページ */
.curriculum-item {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e0d8ce;
}

.curriculum-item:last-of-type {
    border-bottom: none;
}

.curriculum-body {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.curriculum-photos {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.curriculum-photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 12;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.curriculum-photos img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.curriculum-text {
    flex: 1;
}

.curriculum-text p {
    margin: 0.5rem 0;
    line-height: 1.9;
    color: #444;
}

@media (max-width: 768px) {
    .curriculum-body {
        flex-direction: column;
    }

    .curriculum-photos {
        flex: none;
        width: 100%;
    }
}

/* コンサートページ */
.concert-program {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.program-part {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border-radius: 6px;
    border-left: 4px solid #d2001c;
}

.program-label {
    font-weight: bold;
    color: #d2001c;
    white-space: nowrap;
    font-size: 0.9rem;
}

.program-title {
    color: #333;
    font-size: 0.95rem;
}

.performer-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.performer-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
}

.performer-instrument {
    display: inline-block;
    background: #d2001c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.7rem;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.performer-name {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
}

.performer-en {
    font-weight: normal;
    font-size: 0.85rem;
    color: #888;
    margin-left: 0.5rem;
}

@media (max-width: 600px) {
    .performer-item {
        flex-direction: column;
        gap: 0.3rem;
    }

    .performer-en {
        display: block;
        margin-left: 0;
        margin-top: 0.1rem;
    }
}

/* 協賛セクション */
.sponsor-section {
    padding: 5rem 0;
    background: #fff !important;
    text-align: center;
}

.sponsor-heading {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.sponsor-heading-en {
    display: block;
    font-size: 0.85rem;
    color: #d2001c;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sponsor-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 3rem;
}

.sponsor-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    background: #d2001c;
    padding: 0.3rem 2rem;
    border-radius: 3px;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

/* 特別協賛 */
.sponsor-special {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0d8cc;
}

.sponsor-special-logo {
    display: block;
    max-width: 300px;
    transition: opacity 0.3s ease;
    padding: 0;
    margin: auto;
}

.sponsor-special-logo img {
    width: 74%;
    height: auto;
}

.sponsor-special-logo:hover {
    opacity: 0.7;
}

/* 協賛グリッド */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.sponsor-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.sponsor-logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.sponsor-logo-item.sponsor-wide {
    grid-column: span 2;
}

.sponsor-logo-item.sponsor-wide img {
    max-height: 60px;
}

@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sponsor-logo-item.sponsor-wide {
        grid-column: span 2;
    }

    .sponsor-logo-item img {
        max-height: 60px;
    }

    .sponsor-logo-item.sponsor-wide img {
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-logo-item.sponsor-wide {
        grid-column: span 1;
    }
}

/* トップへ戻るボタン */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d2001c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #d2001c;
}

.scroll-top:hover svg {
    stroke: #fff;
}

/* SNSセクション */
.sns-section {
    padding: 6rem 0;
    background: #fff !important;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sns-heading {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.sns-heading-en {
    display: block;
    font-size: 0.85rem;
    color: #d2001c;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.sns-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sns-link-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sns-link-item span {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.05em;
}

.sns-link-item:hover {
    transform: translateY(-3px);
}

.sns-link-item:hover img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 480px) {
    .sns-links {
        gap: 2rem;
    }

    .sns-link-item img {
        width: 40px;
        height: 40px;
    }
}

/* 講師紹介ページ */
.faculty-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
}

.faculty-item:last-of-type {
    border-bottom: none;
}

.faculty-photo {
    flex: 0 0 280px;
    width: 280px;
}

.faculty-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.faculty-body {
    flex: 1;
    min-width: 0;
}

.faculty-instrument {
    font-size: 0.95rem;
    color: #d2001c;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.faculty-name-ja {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.faculty-name-en {
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.faculty-bio p {
    font-size: 0.8rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 0.8rem;
    text-indent: 1em;
}

.faculty-bio p:last-child {
    margin-bottom: 0;
}

.section-label {
    font-size: 0.85rem;
    background: #d2001c;
    color: #fff;
    display: inline-block;
    padding: 0.15em 0.7em;
    border-radius: 2px;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .jbs-entry {
        padding: 0;
    }

    .faculty-item {
        flex-direction: column;
        gap: 1.2rem;
    }

    .faculty-photo {
        flex: none;
        width: 100%;
    }

}

@media (max-width: 600px) {
    p {
        font-size: 0.85rem;
        line-height: 1.8rem;
    }

    .lead-catch {
        font-size: 2.6rem;
    }

    .course-table thead {
        display: none;
    }

    .course-table,
    .course-table tbody,
    .course-table tr,
    .course-table td {
        display: block;
        width: 100%;
    }

    .course-table tr {
        margin-bottom: 1.2rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
    }

    .course-table td {
        display: flex;
        align-items: baseline;
        gap: 0.6em;
        padding: 0.6rem 0.8rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.92rem;
    }

    .course-table td:last-child {
        border-bottom: none;
    }

    .jbs-entry .apply-section {
        padding: 1rem;
    }
}

.jbs-news .btn-apply {
    display: inline-block;
    padding: 1rem 3rem;
    background: #d2001c;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s, transform 0.2s;
    margin: 1.5rem 0;
}

.jbs-news .btn-apply:hover {
    background: #6e1414;
    transform: translateY(-2px);
}