/* Reset and Base Styles */
html {
    scroll-behavior: smooth;
}

/* アンカーリンク先：見出し上のマージンも含めてブロック先頭が表示されるよう、stickyヘッダー分の余白を確保 */
[id="about"],
[id="learn"],
[id="instructors"],
[id="online"],
[id="faq"] {
    scroll-margin-top: 80px;
}

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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background-color: #fff;
    padding: 20px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    max-width: none;
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 65px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav a:hover {
    color: #c41e3a;
}

.nav a.nav-apply {
    color: #fff;
}

.nav a.nav-apply:hover {
    color: #fff;
}

.nav-apply {
    background-color: #4caf50;
    color: #fff;
    padding: 9px 20px;
    border-radius: 4px;
    border: none;
    display: inline-flex;
    align-items: center;
    height: auto;
    line-height: 1;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-apply:hover {
    background-color: #45a049;
    color: #fff;
}

.nav-login {
    border: 1px solid #ccc;
    padding: 9px 20px;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    height: auto;
    line-height: 1;
}

.nav .nav-apply + .nav-login {
    margin-left: -24px;
}

.nav-login:hover {
    border-color: #999;
    background-color: #f5f5f5;
    color: #333;
}

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

.mobile-break {
    display: none;
}

/* Hero Section */
.su {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.su-image {
    width: 100%;
    height: 100%;
    background-image: url('images/su.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    position: relative;
}

.su-image::before {
    display: none;
}

.su-image::after {
    display: none;
}

.su-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.su-subtitle {
    font-size: 31px;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: normal;
    margin: 10px 0 20px 0;
    color: #fff;
    line-height: 1.6;
    letter-spacing: normal;
}

.su-title {
    font-size: 120px;
    font-weight: normal;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.su-title::after {
    content: "®";
    position: absolute;
    top: 10px;
    right: -15px;
    font-size: 28px;
    font-weight: normal;
    vertical-align: top;
    line-height: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 75px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #4caf50;
    color: #fff;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 20px 60px;
    font-size: 18px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.red-title {
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: normal;
    color: #c41e3a;
    position: relative;
    display: block;
    margin-top: -5px;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

.red-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #c41e3a;
}

.mincho-bold {
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: bold;
}

.about-title {
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: normal;
    color: #c41e3a;
    position: relative;
    display: inline-block;
    margin-top: -5px;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

.about-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #c41e3a;
}

/* About Section */
.about-section {
    background-color: #fff;
    padding-top: 60px;
    padding-bottom: 50px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-content-with-image {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 20px auto 0;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.about-text p {
    margin-bottom: 30px;
}

sup {
    vertical-align: super;
    position: relative;
    top: 0px;
    left: 1px;
}

.highlight-text {
    color: #c41e3a;
    font-weight: bold;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 50% 0 50% 50%;
    overflow: hidden;
    margin: -30px 0 0;
}

/* Learn Section */
.learn-section {
    background-color: #EDE9DF;
}

.learn-section-title {
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: bold;
}

.learn-section-image {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    overflow: hidden;
    background-color: #f0f0f0;
}

.learn-section-image img {
    width: 100%;
    height: auto;
    display: block;
}

.learn-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.learn-item-new {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.learn-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
    gap: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    order: 1;
}

.learn-number-large {
    font-size: 72px;
    font-weight: bold;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    color: #c41e3a;
    line-height: 1;
    flex-shrink: 0;
}

.learn-title-wrapper {
    flex: 1;
    position: relative;
}

.learn-item-title-new {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.learn-title-line {
    display: none;
}

.learn-image-large {
    width: 100%;
    margin: 20px 0 30px 0;
    overflow: hidden;
    background-color: #f0f0f0;
    order: 2;
}

.learn-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.learn-item-text-new {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    order: 3;
}

/* Status Section */
.outlook-section {
    background-color: #fff;
}

.outlook-content {
    display: grid;
    grid-template-columns: 33fr 63fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.outlook-text > p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.outlook-text sup {
    font-size: 80%;
    vertical-align: super;
    position: relative;
    top: -2px;
}

.outlook-notes {
    margin-top: 30px;
}

.outlook-notes .outlook-note,
.outlook-note {
    font-size: 12.8px !important;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.outlook-text .outlook-notes p,
.outlook-text .outlook-notes .outlook-note {
    font-size: 12.8px !important;
}

.outlook-image {
    width: 100%;
}

.outlook-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: #f0f0f0;
}

/* Instructors Section */
.reason-section {
    background-color: #fff;
    position: relative;
    padding: 60px 0 0px;
}

.reason-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.reason-section .container {
    position: relative;
    z-index: 1;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 40px;
}

.reason-item {
    padding: 40px 30px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.reason-item:nth-child(3n) {
    border-right: none;
}

.reason-item:nth-child(n+4) {
    border-bottom: none;
}

.reason-image {
    width: 100%;
    height: auto;
    margin: 0 auto 25px;
    background-color: #f0f0f0;
}

.reason-image img {
    width: 100%;
    height: auto;
    display: block;
}

.reason-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #B30120;
    text-align: center;
}

.reason-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: left;
}

.instructor-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.instructor-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    max-width: 300px;
    margin: 0 auto;
}

/* Certification Section */
.certification-section {
    background-color: #F0ECE4;
    position: relative;
}

.certification-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 27px; /* 14px margin + 5px line + 7px margin + 1px line */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0,
        rgba(0,0,0,0) 14px,
        #E2DCC9 14px,
        #E2DCC9 19px,
        rgba(0,0,0,0) 19px,
        rgba(0,0,0,0) 26px,
        #E3CCBC 26px,
        #E3CCBC 27px
    );
    z-index: 1;
}

.certification-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 27px; /* 1px line + 7px margin + 5px line + 14px margin */
    background: linear-gradient(
        to bottom,
        #E3CCBC 0,
        #E3CCBC 1px,
        rgba(0,0,0,0) 1px,
        rgba(0,0,0,0) 8px,
        #E2DCC9 8px,
        #E2DCC9 13px,
        rgba(0,0,0,0) 13px,
        rgba(0,0,0,0) 27px
    );
    z-index: 1;
}

.certification-section .container {
    position: relative;
    z-index: 1;
}

/* Certification Heading */
.certification-heading {
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 600px;
}

.certification-heading::before {
    content: "";
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 60px;
    background-image: url('images/certification-bg.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    z-index: 0;
}

.certification-heading::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 90px;
    background-image: url('images/certification-bg.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    transform: scaleX(-1);
    z-index: 0;
}

.certification-title {
    font-size: 48px;
    font-weight: bold;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    color: #6A3E2D;
    margin: 0;
    padding: 0 70px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    z-index: 1;
}

.certification-title::before {
    content: "";
    position: absolute;
    left: -72px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 88px;
    background-image: url('images/certification-decoration.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.certification-title::after {
    content: "";
    position: absolute;
    right: -72px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 44px;
    height: 88px;
    background-image: url('images/certification-decoration.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.certification-subtitle {
    text-align: center;
    font-size: 16px;
    color: #5F5E5C;
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: normal;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
    position: relative;
    z-index: 1;
}

.certification-content {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 70px;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.certification-image {
    width: 100%;
}

.certification-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.certification-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.certification-note {
    font-size: 90% !important;
    color: #666;
    margin-top: 30px;
}

/* Media Section */
.media-section {
    background-color: #fff;
}

.media-heading {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
}

.media-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.media-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.media-logo-item {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* ロゴ画像が1つにまとめられている場合のスタイル */
.media-logos-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Promotion Banner Section */
.promotion-banner-section {
    background-color: #F7F9FA;
    padding: 0;
    width: 100%;
}

.promotion-banner-container {
    display: grid;
    grid-template-columns: 63% 37%;
    width: 100%;
    margin: 0;
    min-height: 4４0px;
    gap: 0;
    overflow: hidden;
    border-collapse: collapse;
}

.promotion-banner-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-right: none;
    outline: none;
}

.promotion-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.promotion-banner-content {
    background-color: #F7F9FA;
    padding: 60px 15% 60px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 90%;
    margin-left: 0;
    border: none;
    border-left: none;
    outline: none;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.promotion-banner-title {
    font-size: 72px;
    font-weight: 500;
    color: #8B0000;
    margin: 0 0 0 0;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    line-height: 1.2;
}

.promotion-reg {
    font-size: 28px;
    vertical-align: super;
    font-weight: 100;
    line-height: 1;
    position: relative;
    top: -16px;
}

.promotion-banner-subtitle {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.2;
    white-space: nowrap;
}

.promotion-course-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 0 0;
    white-space: nowrap;
}

.promotion-badge {
    background-color: #D92D16;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    line-height:1
}

.promotion-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
}

.price-original {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-decoration: line-through;
    white-space: nowrap;
    line-height: 1;
}

.price-arrow {
    font-size: 20px;
    color: #ff6600;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

.price-discounted {
    font-size: 24px;
    font-weight: bold;
    color: #D92D16;
    white-space: nowrap;
    line-height: 1;
}

.promotion-btn {
    width: fit-content;
    padding: 15px 100px;
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 120px;
    background-color: #4caf50;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 0 rgba(60, 140, 64, 0.8);
    border: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.promotion-btn:hover {
    background-color: #45a049;
    box-shadow: 0 4px 0 rgba(60, 140, 64, 0.9);
    transform: translateY(1px);
}

/* Red Block Section */
.red-block-section {
    background-color: #B30120;
    padding: 0;
    position: relative;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.red-block-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background-image: url('images/sushi-emblem.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.red-block-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.red-block-text {
    color: #fff;
    font-size: 29px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: normal;
}

/* Course Introduction Section */
.course-intro-section {
    background-color: #fff;
    padding: 50px 0 0 0;
}

.course-intro-title {
    font-size: 36px;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: normal;
    color: #B30120;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.course-intro-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #6A3E2D;
}

.course-intro-card {
    background-color: #EDE9DF;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 45% 55%;
    grid-template-rows: auto auto auto auto auto auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    gap: 0;
}

.course-intro-card .course-intro-left { grid-column: 1; grid-row: 1; }
.course-intro-card .course-intro-right { grid-column: 2; grid-row: 1; }
.course-intro-card .practical-course-in-card { grid-column: 1 / -1; grid-row: 2; }
.course-intro-card .course-content-block { grid-column: 1 / -1; grid-row: 3; }
.course-intro-card .practical-course-in-card:nth-child(5) { grid-row: 4; }
.course-intro-card .course-content-block:nth-child(6) { grid-row: 5; }
.course-intro-card .course-content-apply-wrap { grid-column: 1 / -1; grid-row: 6; }

.course-intro-left {
    background-color: #A50011;
    padding: 20px 20px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.course-intro-main-block {
    width: 100%;
    background-color: #7A000C;
    padding: 12px 20px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.course-intro-main-block .course-intro-description,
.course-intro-main-block .course-intro-price {
    width: 100%;
}

.course-intro-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
}

.course-intro-logo-img {
    height: 65px;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.course-intro-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.course-intro-university-name {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    line-height: 1.2;
}

.course-intro-university-en {
    font-size: 11px;
    color: #fff;
    margin: 0;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
    letter-spacing: 0.15em;
}

/* 吹き出しの下の余白：親の gap 25px ＋ この margin-bottom で決まります（例: -20px で約5px、0 で25px） */
.course-intro-motivation-boxes {
    margin-bottom: -5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.motivation-box {
    background-color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}

.motivation-box::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

.course-intro-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.course-intro-course-block {
    width: 100%;
    padding: 8px 0 0 0;
    border-top: 1px solid #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.course-intro-text-small {
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.course-intro-text-large {
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    margin: 0;
}

.course-intro-course-name {
    font-size: 44px;
    color: #fff;
    margin: 0;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    line-height: 1;
}

.course-intro-course-subname {
    font-size: 32px;
    font-weight: normal;
    color: #fff;
    margin: 0 0 5px 0;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    line-height: 1;
}

.course-reg {
    font-size: 0.5em;
    vertical-align: super;
    font-weight: normal;
    position: relative;
    top: -2px;
}

.course-intro-price {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    padding: 10px 0 12px 0;
    border-top: 1px solid #fff;
    box-sizing: border-box;
}

.course-price-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    flex-shrink: 0;
    min-width: 0;
    margin-right: 8px;
}

.course-price-badge {
    background-color: #D82D17;
    border: none;
    color: #fff;
    padding: 5px 5px;
    line-height: 1;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
}

.course-price-original-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
}

.course-price-original-num {
    font-size: 18px;
    font-weight: normal;
    text-decoration: line-through;
}

.course-price-original-unit {
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    white-space: nowrap;
}

.course-price-arrow {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
    margin: 0 2px;
}

.course-price-discounted-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #fff;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
}

.course-price-discounted-num {
    font-size: 38px;
    line-height: 1;
}

.course-price-discounted-unit {
    font-size: 14px;
    font-weight: normal;
    vertical-align: baseline;
    white-space: nowrap;
}

/* 実技講座・理論講座・資格取得：行間・セル内余白は約10pxで統一、3行の高さを揃える */
/* メインブロック（価格）との間の余白を3pxにする */
.course-intro-details {
    margin-top: -10px;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 4px;
    width: 100%;
    align-self: stretch;
    text-align: left;
}

.course-detail-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.course-detail-row > * {
    box-sizing: border-box;
}

.course-detail-tag {
    background-color: #7A000C;
    border: none;
    color: #fff;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: bold;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    white-space: nowrap;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-detail-title-box {
    background-color: #FEF84F;
    color: #B70928;
    padding: 3px 5px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    border-radius: 0;
    flex: 0 0 130px;
    width: 130px;
    max-width: 130px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-wrap: break-word;
    word-break: normal;
}

.course-detail-desc {
    font-size: 13px;
    color: #fff;
    margin: 0;
    padding: 5px 10px;
    line-height: 1.5;
    flex: 1 1 0%;
    min-width: 0;
    width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: stretch;
    overflow-wrap: break-word;
    word-break: normal;
}

/* 実技・理論・資格のブロックと総監修バーの間の余白を20pxに */
.course-intro-supervision {
    margin-top: -5px;
    margin-bottom: 0;
    margin-left: -20px;
    margin-right: -20px;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.25);
    width: calc(100% + 40px);
    align-self: stretch;
    text-align: center;
    box-sizing: border-box;
}

.course-supervision-text {
    font-size: 14px;
    color: #fff;
    margin: 0;
    opacity: 0.95;
}

.course-intro-right {
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 0;
}

.course-intro-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position:100% center;
    display: block;
}

/* 実技講座 詳細セクション */
/* 実技講座：course-intro-card 内で course-intro-right の下に表示 */
.practical-course-in-card {
    padding: 32px 0 0;
    background-color: transparent;
    width: 100%;
}

.practical-course-banner {
    background-color: #8E1616;
    color: #fff;
    padding: 5px 20px 3px;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.2;
    border-radius: 0;
}

/* 左：3画像 / 右：紹介文＋POINT.1〜3 */
.practical-course-body {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
}

.practical-course-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.practical-course-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    background-color: #f0f0f0;
}

.practical-course-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.practical-course-right {
    min-width: 0;
}

.practical-course-intro {
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px 0;
}

.practical-course-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.practical-course-point {
    display: block;
}

.practical-course-point-heading {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.5;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 8px;
}

.practical-course-point-num {
    color: #c41e3a;
    font-size: 30px;
    margin-right: 0;
    font-family: inherit;
}

.practical-course-point-label {
    font-size: 0.55em;
    vertical-align: baseline;
}

.practical-course-point-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

@media (max-width: 768px) {
    .practical-course-body {
        grid-template-columns: 1fr;
    }
    .practical-course-images {
        order: 1;
    }
    .practical-course-right {
        order: 2;
    }
}

/* 実技講座の内容ブロック（左上ロゴ + 左画像+右講座一覧を1つのブロックとして表示） */
.course-content-block {
    padding: 40px 40px 40px;
    margin: 30px 0;
    background-color: #FDF7E5;
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: min-content 1fr;
    gap: 0 40px;
    align-items: start;
}

.course-content-block .course-content-logo { grid-column: 1; grid-row: 1; }
.course-content-block .course-content-images { grid-column: 1; grid-row: 2; }
.course-content-block .course-content-right { grid-column: 2; grid-row: 1 / -1; }

.course-content-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.course-content-logo-img {
    height: 56px;
    width: auto;
    display: block;
    vertical-align: bottom;
}

.course-content-images {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 0;
}

.course-content-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    position: relative;
}

.course-content-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.course-content-caption {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    margin: 8px 0 0;
    text-align: left;
    color: #333;
    background: transparent;
}

.course-content-right {
    min-width: 0;
    background-color: transparent;
    padding: 0;
}

.course-content-title {
    font-size: 18px;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: bold;
    color: #C20213;
    margin: 0 0 20px 0;
    padding: 0 0 8px 0;
    text-align: center;
    border-bottom: 1px solid #333;
    border-top: 1px solid #333;
    padding-top: 8px;
    padding-bottom: 8px;
}

.course-content-lessons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin-bottom: 24px;
}

.course-lesson-col {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.course-lesson-col li {
    margin: 0 0 8px;
    padding: 0;
}

.course-content-qualification {
    background-color: transparent;
    border: 1px solid #333;
    padding: 16px 20px;
    border-radius: 0;
}

.course-content-qualification + .course-content-title {
    margin-top: 40px;
}

.course-qualification-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 6px 0;
    text-align: center;
}

.course-qualification-name {
    font-size: 14px;
    color: #333;
    text-align: center;
}

.course-qualification-note {
    font-size: 12px;
    margin: 0;
    text-align: center;
}

/* 講座2：階層リスト（第N課の下にサブ項目）・この段落だけ余白を詰める */
.course-content-lessons:has(+ .course-content-title) {
    margin-bottom: 10px;
}
.course-content-lessons + .course-content-title {
    margin-bottom: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.course-content-lessons--nested {
    margin-bottom: 12px;
}
.course-content-lessons--nested .course-lesson-col li {
    margin-bottom: 2px;
}
.course-content-lessons--nested .course-lesson-col li ul {
    list-style: none;
    margin: 2px 0 4px 0.4em;
    padding: 0;
    font-size: 12px;
    color: #333;
}
.course-content-lessons--nested .course-lesson-col li ul li {
    margin: 1px 0;
}

/* 特別付録ボックス（講座2のみ） */
.course-content-appendix {
    background-color: rgba(0, 0, 0, 0.06);
    border: 1px solid #333;
    padding: 12px 20px;
    border-radius: 0;
    margin-top: 12px;
}
.course-content-appendix-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    text-align: center;
}
.course-content-appendix-item {
    font-size: 13px;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.5;
}
.course-content-appendix-item:last-child {
    margin-bottom: 0;
}

/* 申し込むボタン（course-content-blockの下） */
.course-content-apply-wrap {
    text-align: center;
    padding-top: 24px;
}
.course-content-apply-btn {
    display: inline-block;
    width: 510px;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #5CB85C;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 999px;
    text-align: center;
    box-shadow: 0 3px 0 #0A8A28;
    transition: background-color 0.2s, box-shadow 0.2s;
}
.course-content-apply-btn:hover {
    background-color: #4cae4c;
    box-shadow: 0 3px 0 #0A8A28;
}

/* よくある質問（外側100%・グレー / 内側は白・実寸仕様・幅は最大値） */
.faq-outer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background-color: #F7F7F7;
    margin-top: 60px;
    padding: 60px 0 60px;
}
.faq-section {
    max-width: 1080px;
    margin: 0 auto;
}
.faq-title {
    font-size: 40px;
    font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    font-weight: normal;
    color: #6A3E2D;
    text-align: center;
    margin: 0 0 30px 0;
    padding: 0;
    position: relative;
    display: inline-block;
    width: 100%;
}
.faq-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #6A3E2D;
}
.faq-category {
    margin-top: 40px;
}
.faq-category:first-of-type {
    margin-top: 48px;
}
.faq-category-title {
    font-size: 24px;
    font-weight: normal;
    color: #6A3E2D;
    text-align: center;
    margin: 0 0 15px 0;
    padding: 0;
}
.faq-category-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #6A3E2D;
    margin: 0 auto;
}
.faq-list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}
.faq-item {
    margin: 0;
    padding: 0;
    border: none;
}
.faq-question-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0 5px;
    cursor: pointer;
}
.faq-question {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}
.faq-q {
    font-size: 27px;
    font-weight: bold;
    color: #6A3E2D;
    margin-right: 10px;
}
.faq-toggle {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.faq-toggle::after {
    font-size: 55px;
    font-weight: 100;
    content: '+';
    color: #9DABB2;
}
.faq-toggle:hover {
    color: #999;
}
.faq-item.is-open .faq-toggle::after {
    content: '−';
}
.faq-item.is-open .faq-toggle {
    color: #999;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 30px;
    background-color: #FDF7E5;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-answer {
    max-height: 1500px;
    opacity: 1;
    padding: 20px 30px 20px;
}
.faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .course-content-block {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .course-content-block .course-content-logo { grid-column: 1; grid-row: 1; }
    .course-content-block .course-content-images { grid-column: 1; grid-row: 2; }
    .course-content-block .course-content-right { grid-column: 1; grid-row: 3; }
    .course-content-apply-btn {
        width: 80%;
    }
}

/* Online Section */
.online-section {
    background-color: #fff;
    padding: 80px 0;
}

.online-container {
    background-color: #F7F7F7;
    border-radius: 12px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.online-subsection {
    margin-bottom: 60px;
}

.online-subsection:last-of-type {
    margin-bottom: 40px;
}

.online-subsection-banner {
    background-color: #c41e3a;
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 4px;
}

/* Practice Blocks */
.practice-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.practice-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
}

.practice-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.practice-image img {
    width: 100%;
    height: auto;
    display: block;
}

.practice-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.practice-text p {
    margin: 0;
}

/* Learn Content */
.learn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.learn-logo {
    margin-bottom: 10px;
}

.learn-logo-image {
    height: 40px;
    width: auto;
}

.skill-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.skill-chart {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    color: #999;
    font-size: 14px;
}

.learn-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.learn-list-column {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
}

.learn-list-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #c41e3a;
    padding-bottom: 8px;
}

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

.learn-list-items li {
    font-size: 14px;
    line-height: 2;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.learn-list-items li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* Experience Blocks */
.experience-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.experience-block {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
}

.experience-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.experience-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.experience-text p {
    margin: 0;
}

/* Course Info Table */
.course-info-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.course-table tr {
    border-bottom: 1px solid #e0e0e0;
}

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

.course-table td {
    padding: 15px 20px;
    font-size: 14px;
}

.course-table td:first-child {
    font-weight: bold;
    color: #333;
    width: 40%;
}

.course-table td:last-child {
    text-align: right;
    color: #666;
}

/* Online CTA */
.online-cta {
    text-align: center;
    margin-top: 40px;
}

.online-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.online-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.online-text p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.online-video {
    position: relative;
}

.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-player img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #c41e3a;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.online-description {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.online-features {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.online-feature {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.feature-large {
    grid-row: span 2;
}

.feature-number {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.feature-image {
    width: 100%;
    margin-bottom: 15px;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.online-feature p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.online-price {
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.price-old {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.price-new {
    font-size: 48px;
    font-weight: bold;
    color: #c41e3a;
    margin-bottom: 30px;
}

.price-tax {
    font-size: 70%;
}

/* Footer Red */
.footer-red {
    background-color: #8b0000;
    padding: 60px 0;
    text-align: center;
}

.footer-red-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-emblem {
    color: #fff;
}

.emblem-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.emblem-text {
    font-size: 16px;
    line-height: 1.8;
}

/* Footer Dark */
.footer-dark {
    background-color: #2c2c2c;
    padding: 60px 0 0;
    color: #fff;
}

.footer-dark-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo .logo-image {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-self: end;
    margin-left: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column a.footer-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
}

.footer-column a.footer-login-btn:hover {
    border-color: #fff;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #444;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background-color: #2c2c2c;
}

.footer-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Footer Page Top Link */
.footer-page-top {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background-color: #555555;
    padding: 14px 40px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-page-top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s, opacity 0.3s;
}

.footer-page-top-link:hover {
    color: #fff;
    opacity: 0.9;
}

.footer-page-top-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    color: #fff;
    flex-shrink: 0;
}

.footer-page-top-icon svg {
    display: block;
}

.footer-page-top-text {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        gap: 15px;
    }
    
    .nav a {
        font-size: 12px;
    }
    
    .su-title {
        font-size: 80px;
    }
    
    .su-title::after {
        font-size: 24px;
        top: 10px;
        right: -10px;
    }
    
    .course-intro-card {
        grid-template-columns: 1fr;
    }
    
    .course-intro-right {
        min-height: 400px;
    }
    
    .outlook-content,
    .certification-content,
    .online-header,
    .about-content-with-image,
    .promotion-banner-container {
        grid-template-columns: 1fr;
    }
    
    .online-features {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-row: span 1;
    }
    
    .online-container {
        padding: 40px 20px;
    }
    
    .practice-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .practice-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .skill-charts {
        grid-template-columns: 1fr;
    }
    
    .learn-lists {
        grid-template-columns: 1fr;
    }
    
    .experience-blocks {
        grid-template-columns: 1fr;
    }
    
    .footer-dark-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .learn-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .learn-item-new {
        padding: 0;
    }
    
    .learn-number-large {
        font-size: 56px;
        font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
    }
    
    .learn-item-title-new {
        font-size: 20px;
    }
}

@media (min-width: 769px) {
    .header {
        padding: 20px 50px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 5px 10px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .nav {
        display: none;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .hamburger-icon {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 32px;
    }
    
    .hamburger-icon span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: all 0.3s;
    }
    
    .mobile-break {
        display: inline;
    }
    
    /* スマートフォン: ページTOPへを中央揃え・上付き */
    .footer-page-top {
        justify-content: center;
        padding: 20px 20px 28px;
    }
    
    .su {
        height: 70vh;
        min-height: 400px;
    }
    
    .su-image {
        background-position: 70% calc(50% - 0px);
        background-size: cover;
    }
    
    .su-overlay {
        top: 0;
        left: 0;
        transform: none;
        align-items: center;
        padding: 0 20px;
        width: 100%;
        height: 100%;
        justify-content: flex-start;
        flex-direction: column;
        position: absolute;
    }
    
    .su-subtitle {
        font-size: 21px;
        margin: 150px 0 0 30px;
        text-align: center;
        align-self: center;
        line-height: 1.2;
        width: 100%;
        padding-top: 0;
        flex-shrink: 0;
    }
    
    .su-title {
        font-size: 65px;
        margin: 10px 0 40px 0;
        text-align: center;
        width: 100%;
        flex-shrink: 0;
    }
    
    .su-title::after {
        font-size: 18px;
        top: 5px;
        right: -12px;
    }
    
    .btn-primary {
        border-radius: 6px;
        padding: 10px 75px;
        font-size: inherit;
        margin: 0;
        flex-shrink: 0;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-content-with-image {
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 300px;
    }
    
    .reason-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-item {
        border-right: none;
    }
    
    .media-logos {
        flex-direction: column;
    }
    
    .course-intro-title {
        font-size: 28px;
    }
    
    .course-intro-card {
        grid-template-columns: 1fr;
        padding: 30px 15px;
    }
    
    .course-intro-card .course-intro-left { 
        grid-column: 1; 
        grid-row: 1; 
    }
    
    .course-intro-card .course-intro-right { 
        grid-column: 1; 
        grid-row: 2; 
    }
    
    .course-intro-card .practical-course-in-card { 
        grid-column: 1; 
        grid-row: 3; 
    }
    
    .course-intro-card .course-content-block { 
        grid-column: 1; 
        grid-row: 4; 
    }
    
    .course-intro-card .practical-course-in-card:nth-child(5) { 
        grid-row: 5; 
    }
    
    .course-intro-card .course-content-block:nth-child(6) { 
        grid-row: 6; 
    }
    
    .course-intro-card .course-content-apply-wrap { 
        grid-column: 1; 
        grid-row: 7; 
    }
    
    .course-intro-left {
        padding: 40px 30px;
    }
    
    .course-intro-right {
        width: 100%;
    }
    
    .course-intro-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .course-intro-university-name {
        font-size: 28px;
    }
    
    .course-intro-course-name {
        font-size: 18px;
    }
    
    .course-intro-course-subname {
        font-size: 30px;
    }
    
    .course-price-discounted-num {
        font-size: 36px;
    }
    
    .motivation-box {
        font-size: 12px;
        padding: 5px 14px;
    }
    
    .motivation-box::after {
        border-left-width: 6px;
        border-right-width: 6px;
        border-top-width: 6px;
        bottom: -6px;
    }
    
    .promotion-banner-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .promotion-banner-image {
        min-height: 300px;
    }
    
    .promotion-banner-content {
        padding: 40px 20px;
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding-left: 5%;
    }
    
    .red-block-section {
        height: 280px;
    }
    
    .red-block-text {
        font-size: 24px;
    }
    
    .online-container {
        padding: 30px 15px;
    }
    
    .online-subsection-banner {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .practice-block {
        grid-template-columns: 1fr;
    }
    
    .skill-charts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .learn-lists {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promotion-banner-title {
        font-size: 36px;
    }
    
    .certification-heading {
        padding: 30px 15px;
    }
    
    .certification-title {
        font-size: 36px;
        padding: 0 50px;
    }
    
    .certification-title::before,
    .certification-title::after {
        width: 32px;
        height: 64px;
        left: -52px;
        right: -52px;
    }
    
    .certification-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .su-title {
        font-size: 48px;
    }
    
    .su-title::after {
        font-size: 30px;
        top: 8px;
        right: 14px;
    }
    
    .btn {
        padding: 10px 30px;
        font-size: 18px;
    }
    
    .btn-large {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    .price-new {
        font-size: 36px;
    }
    
    .learn-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .learn-item-new {
        padding: 0;
        margin-bottom: 0;
    }

    .learn-header {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        border-bottom: none;
        padding-bottom: 8px;
    }

    .learn-number-large {
        font-size: 56px;
        font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', 'MS Mincho', serif;
        padding-right: 16px;
        border-right: 2px solid #c41e3a;
    }

    .learn-item-title-new {
        font-size: 20px;
    }
    
    .learn-item-text-new {
        font-size: 14px;
    }
    
    .certification-heading {
        padding: 25px 10px;
    }
    
    .certification-title {
        font-size: 28px;
        padding: 0 40px;
    }
    
    .certification-title::before,
    .certification-title::after {
        width: 24px;
        height: 48px;
        left: -44px;
        right: -44px;
    }
    
    .certification-subtitle {
        font-size: 14px;
        margin-top: 8px;
    }
    
    .promotion-banner-title {
        font-size: 40px;
    }
    
    .promotion-reg {
        font-size: 20px;
    }
    
    .promotion-banner-content {
        padding: 40px 20px;
        max-width: 100%;
    }
    
    .promotion-course-title {
        font-size: 20px;
    }
    
    .price-discounted {
        font-size: 20px;
    }
    
    .promotion-btn {
        padding: 12px 40px;
        font-size: 16px;
    }
    
    .red-block-section {
        height: 240px;
    }
    
    .red-block-text {
        font-size: 20px;
    }
    
    .course-intro-title {
        font-size: 24px;
    }
    
    .course-intro-left {
        padding: 30px 20px;
    }
    
    .course-intro-university-name {
        font-size: 24px;
    }
    
    .course-intro-course-name {
        font-size: 18px;
    }
    
    .course-intro-course-subname {
        font-size: 26px;
    }
    
    .course-price-discounted-num {
        font-size: 32px;
    }
    
    .motivation-box {
        font-size: 11px;
        padding: 4px 8px;
    }

    .course-intro-main-block {
        padding: 12px 10px 0;
    }
    
    .motivation-box::after {
        border-left-width: 6px;
        border-right-width: 6px;
        border-top-width: 6px;
        bottom: -6px;
    }
    
    .course-detail-title-box {
        font-size: 12px;
    }
    
    .course-detail-desc {
        font-size: 11px;
    }

    .reason-item {
        padding: 0px 5px 20px;
    }

    .reason-image {
        width: 100%;
        height: auto;
        margin: 0 auto 5px;
        background-color: #f0f0f0;
    }

    .section {
        padding: 30px 0 0;
    }

    .faq-section {
        padding: 0 10px;
    }

    .reason-item {
        border-bottom: 1px solid #e0e0e0 !important;
    }

    .reason-item:last-child {
        border-bottom: none !important;
    }

    .certification-heading::before {
        left: 40px;
    }

    .certification-heading::after {
        right: -10px;
    }

    .certification-heading {
        padding-top: 10px;
        margin-bottom: 15px;
    }

    .certification-section {
        padding-bottom: 15px;
    }

    .certification-text {
        padding: 0 5px;
    }

    .container {
        padding: 0 5px;
    }

    .learn-item-text-new {
        margin-bottom: 15px;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .su-title::after {
        font-size: 18px;
        top: 5px;
        right: 49px;
    }

    .course-content-block {
        padding: 20px 8px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .course-content-block .course-content-right {
        grid-column: 1;
        grid-row: auto;
    }

    .footer-dark {
        padding: 20px 0 0;
    }

    .footer-dark-content {
        margin-bottom: 20px;
    }

    .certification-section {
        padding-top: 30px;
        padding-bottom: 15px;
    }

    .certification-content {
        gap: 20px;
    }

    .certification-image img {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    .certification-text {
        margin-bottom: 0;
    }

    .btn {
        padding: 12px 55px;
    }

    .learn-list {
        padding: 0 0 30px;
    }

    .footer-dark-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        justify-self: center;
        margin-left: 0;
    }

    .footer-column {
        align-items: center;
        gap: 20px;
    }

    .footer-column a {
        line-height: 1.4;
    }
}

/* 蛍光マーカー */
.marker-yellow {
    background: linear-gradient(transparent 60%, #fff799 60%);
    padding: 0 2px;
}
