/* Base Styles */
/* body の基本設定は common.css を使用 */
body {
    text-align: center;  /* TOPページ専用：中央揃え */
}



/* Main Section */
.main {
    margin: 0 auto;
    width: 100%;
    background-color: #EDEDEA;
}

/* Main Section - レスポンシブ */
@media (min-width: 501px) {
    .main {
        max-width: 390px;
    }
}

/* Main Visual */
.main-visual {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.main-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.main-bottom {
    padding: 0 30px;
    position: relative;
    margin-bottom: -100px;
    top: -130px;
}

.main-bottom a img {
    margin: 20px 0;
}

.main-content {
    width: 100%;
    background-color: #ffffff;
    margin: 0 auto;
    padding: 16px 24px;
    margin-bottom: 32px;
}

.main-content p {
    font-weight: 400;
}

.main-content img {
    width:178px;
    margin-bottom: 20px;
    color: #000000;
}

/* Fixed Bottom CTAとCTAスタイルはcommon.cssで統一管理 */

.main-subtitle-box {
    background-color: #4A3326;
    padding: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.main-subtitle {
    font-family: "游明朝体", "Yu Mincho", "YuMincho", serif;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 300 !important;
    line-height: 1.5;
}

/* Main Buttons */
.main-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 18px;
}

.main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.button-text {
    flex: 1;
    text-align: center;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}

.course-button .button-text::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    position: relative;
    margin-left: 10px;
}

.course-button .button-text::after {
    border-left: 2px solid #333333;
    border-bottom: 2px solid #333333;
    transform: rotate(-45deg);
    margin-bottom: 5px;
}

.course-button {
    background-color: #EDEDEA;
    color: #333333;
    border: 1px solid #cccccc;
}

.course-button:hover {
    background-color: #333333;
    color: #ffffff;
}

.course-button:hover .button-text::after {
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* Notice Section */
.notice {
    padding: 30px 15px 15px 15px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    background-color: #4A3326;
}

/* Notice Section - レスポンシブ */
@media (min-width: 501px) {
    .notice {
        max-width: 390px;
    }
}

.notice-content {
    width: 100%;
}

.notice-title {
    margin-bottom: 20px;
    color: #ffffff;
}

.notice-sub-title {
    margin-bottom: 20px;
    color: #ffffff;
}

.notice-description {
    margin-bottom: 30px;
    color: #ffffff;
    text-align: left;
    font-weight: 200 !important;
    font-size: 0.93rem !important;
    letter-spacing: 0.1em !important;
}

/* Notice Cards */
.notice-card {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 15px;
    text-align: left;
}

.notice-card h3 {
    font-weight: 900;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 15px;
}

.notice-card p {
    margin-bottom: 15px;
    font-size: 0.96rem;
    letter-spacing: 0.05em;
}

.notice-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
}

/* Line Section */
.line {
    padding: 30px 15px 30px 15px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    background-color: #EDEDEA;
}

.main-text ,.body16 {
    font-weight: 400;
}

/* Line Section - レスポンシブ */
@media (min-width: 501px) {
    .line {
        max-width: 390px;
    }
}

.line-title {
    font-weight: bold;
    color: #B10100;
    margin-bottom: 20px;
}

.line img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.line > a {
    display: block;
    width: 100%;
}

.line > a img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.line-card {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin: 20px 0;
    padding: 0;
    text-align: left;
    overflow: hidden;
    width: 100%;
}

.line-card-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 800;
    color: #B10100;
    margin: 0 auto 15px auto;
}

.line-card-title1 {
    width: 80%;
}

.line-card-title2 {
    width: 70%;
}

.line-card-icon {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.line-card-icon p{
    font-size: 15px;
    letter-spacing: 0.05em;
}

.line-card-title img {
    width: 20px;
    height: 35px;
    flex-shrink: 0;
    display: block;
}

.line-card-title span {
    flex: 1;
    letter-spacing: 0;
}

.line-card-line {
    width: 100%;
    overflow: hidden;
}

.line-card-line img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Course Section */
.course {
    padding: 30px 15px 30px 15px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    background-color: #4A3326;
}

/* Course Section - レスポンシブ */
@media (min-width: 501px) {
    .course {
        max-width: 390px;
    }
}

.course-title {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.course-sub-title {
    line-height: 1.3;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 20px;
}

.course > p {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 0.97rem;
    font-weight: 100;
    letter-spacing: 0.05em;
}

.course-card {
    background-color: #ffffff;
    border: 1px solid #B10100;
    overflow: hidden;
    margin-bottom: 15px;
}

.course-card-header {
    background-color: #B10100;
    color: #ffffff;
    padding: 15px 20px;
    text-align: center;
}

.course-card-header .title24 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
}

.course-card-body {
    padding: 15px;
    margin-bottom: 5px;
    text-align: left;
}

.course-card-description {
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
}

.course-card-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.course-card-text {
    color: #333333;
    margin-bottom: 17px;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
}

.course-card-link {
    display: block;
    color: #B10100;
    text-decoration: none;
    transition: opacity 0.3s;
    text-align: right;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
}

.course-card-link:hover {
    opacity: 0.7;
}

.course-card-link .button-arrow {
    margin-left: 6px;
    margin-right: 6px;
}

.course-card-fee {
    background-color:#EDEDEA;
    padding: 20px 15px;
    text-align: left;
}

.course-card-fee-title {
    font-family: "游明朝体", "Yu Mincho", "YuMincho", serif;
    line-height: 1.3;
    letter-spacing: 0.04;
    font-weight: bold;
    color: #B10100;
}

.course-card-fee-amount {
    color: #333333;
}

.course-card-fee-bold {
    font-weight: bold;
}

.course-fee-addmission {
    font-size: 12px !important;
}

.course-fee-addmission-span {
    font-size: 20px !important;
}

.course-card-fee-amount span {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    margin: 0 5px;
}

.course-card-fee-note {
    font-size: 12px;
    line-height: 1.5;
    color: #999999;
    margin-top: 10px;
}

/* 通い方 Section */
.course-schedule-card {
    background-color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.course-schedule-image {
    flex: 0 0 80px;
    width: 90px;
}

.course-schedule-image img {
    width: 90px;
    height: 100%;
    object-fit: cover;
}

.course-schedule-info {
    flex: 1;
    text-align: left;
}

.course-schedule-title {
    margin: 10px 0;
    letter-spacing: 0;
    font-weight: bold;
    color: #B10100;
}

.course-schedule-detail {
    color: #333333;
}

.course-schedule-note {
    color: #ffffff;
    margin: 20px 0 30px;
}

.course-highlight-box {
    background-color: #ffffff;
    padding: 15px;
    margin-top: 20px;
    border: #B10100 solid 1px;
}

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

/* Feature Section */
.feature {
    padding: 30px 15px 15px 15px;
    text-align: center;
    margin: 0 auto; 
    width: 100%;
    background-color: #EDEDEA;
}

/* Feature Section - レスポンシブ */
@media (min-width: 501px) {
    .feature {
        max-width: 390px;
    }
}

.feature-title {
    font-weight: bold;
    color: #B10100;
    margin-bottom: 20px;
}


.feature-card {
    background-color: #ffffff;
    padding: 25px 20px;
    margin-bottom: 8px;
    text-align: center;
}

.feature-card > p:first-child {
    background-color: #B10100;
    color: #ffffff;
    padding: 6px 10px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 300 !important;
    font-size: 0.8rem !important;  
}

.feature-card h3 {
    font-weight: bold;
    color: #333333;
    margin-bottom: 15px;
    letter-spacing: 0;
}

.feature-card > p:nth-of-type(2) {
    color: #333333;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 400 !important;
    font-size: 0.95rem !important;  
    letter-spacing: 0.05em;
}

.feature-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Graduate Section */
.graduate {
    padding: 40px 30px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    background-color: #ffffff;
}

/* Graduate Section - レスポンシブ */
@media (min-width: 501px) {
    .graduate {
        max-width: 390px;
    }
}

.graduate-title {
    font-weight: bold;
    color: #B10100;
    margin-bottom: 20px;
}

.graduate {
    position: relative;
    overflow: hidden;
}

.graduate > img {
    position: absolute;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
    top: 30%;
}

.graduate > img:hover {
    opacity: 0.7;
}

.graduate > img:first-of-type {
    left: 10px;
}

.graduate > img:nth-of-type(2) {
    right: 10px;
}

.graduate-left {
    transform: rotate(180deg);
}

#graduate-srider {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.graduate-card {
    text-align: center;
    padding: 0 20px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.graduate-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    position: relative;
}

.graduate-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.graduate-card h3 {
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
    text-align: left;
}

.graduate-card > div > p,
.graduate-card p {
    line-height: 1.8;
    letter-spacing: 0.05rem;
    color: #333333;
    text-align: left;
    font-weight: 400 !important;
    font-size: 1rem !important;
}

/* Before/After Section */
.before {
    padding: 40px 15px 20px 15px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    background-color: #4A3326;
}

/* Before/After Section - レスポンシブ */
@media (min-width: 501px) {
    .before {
        max-width: 390px;
    }
}

.before-title {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.5rem !important;
    letter-spacing: 0.05em;
}

.before-category {
    background-color: #B10100;
    color: #ffffff;
    font-weight: bold;
    padding: 12px 20px;
    text-align: center;
}

.before-comparison {
    background-color: #ffffff;
    border: 1px solid #B10100;
    padding: 25px 14px;
    margin-bottom: 15px;
    position: relative;
}

.before-section,
.after-section {
    text-align: center;
    margin-bottom: 30px;
}

.before-section:last-child,
.after-section:last-child {
    margin-bottom: 0;
}

.before-label,
.after-label {
    font-weight: bold;
    color: #B10100;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    line-height: 1.3;
}

.before-label::before,
.before-label::after,
.after-label::before,
.after-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: #B10100;
}

.before-label::before,
.after-label::before {
    right: calc(100% + 10px);
}

.before-label::after,
.after-label::after {
    left: calc(100% + 10px);
}

.before-image,
.after-image {
    width: 100%;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.before-subtitle,
.after-subtitle {
    text-align: left;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
    letter-spacing: 0;
    font-size: 20px;
}

.before-description,
.after-description {
    color: #333333;
    text-align: left;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.054em;
}

.before-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    color: #4A3326;
    position: relative;
}

.before-arrow::before {
    content: '';
    position: absolute;
    left: -5%;
    right: 49.1%;
    height: 1px;
    background-color: #4A3326;
    margin-right: 20px;
}

.before-arrow::after {
    content: '';
    position: absolute;
    left: 49.1%;
    right: -5%;
    height: 1px;
    background-color: #4A3326;
    margin-left: 20px;
}

.before-center-arrow::after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    position: relative;
    top: 3px;
}

.before-center-arrow::after {
    border-left: 1px solid #4A3326;
    border-bottom: 1px solid #4A3326;
    transform: rotate(-45deg);
}

.before-arrow span {
    flex: 0;
}

/* Support Section */
.support {
    padding: 30px 15px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    background-color: #EDEDEA;
}

/* Support Section - レスポンシブ */
@media (min-width: 501px) {
    .support {
        max-width: 390px;
    }
}

.support-title {
    font-weight: bold;
    color: #B10100;
    margin-bottom: 20px;
}

.support-card {
    background-color: #ffffff;
    padding: 15px 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    text-align: left;
}

.support > div:last-child {
    margin-bottom: 0;
}

.support-icon {
    flex-shrink: 0;
    align-self: flex-start;
}

.support-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

.support-content h3 {
    font-weight: bold;
    color: #333333;
    margin-top: 5px;
    margin-bottom: 10px;
    padding-top: 0;
    letter-spacing: 0;
    font-weight: bold;
    color: #333333;
    line-height: 1.4;
    font-size: 1.3rem !important;
}

.support-content {
    flex: 1;
}

.support-content p {
    line-height: 1.8;
    color: #333333;
    margin-bottom: 8px;
}

.support-content p:last-child {
    margin-bottom: 0;
    font-size: 0.99rem;
    letter-spacing: 0.025em;
    line-height: 1.5;
}

.support-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-content li {
    color: #333333;
    padding-left: 1em;
    text-indent: -1em;
    margin-bottom: 3px;
    font-size: 1rem !important;
}

.support-content li::before {
    content: '・';
}


/* CTAバナー */
.cta-banner {
    width: 100%;
    height: 129px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.cta-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

