/*
style.css
----------------------------------------------------------- */

:root {
    --yellow: #fff6da;
    --yellow-border: #f0c674;
    --yellow-text: #7a5c00;
}

/* 基本的なスタイル設定 */
main section {
    padding: 60px 0;
}
main section h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 60px 0;
    text-align: center;
    position: relative;
}
main section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.bg-cl1 {
    background-color: #daebe2;
}
.bg-cl2 {
    background-color: #eff3f1;
}

/*
header
----------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    transition: box-shadow 0.3s ease;
}
header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}
header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
header .logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}
header .logo a:hover {
    opacity: 0.7;
}
header .logo img {
    max-height: 40px;
    width: auto;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.hamburger-menu:hover {
    background-color: rgba(var(--rgb-primary-color), 0.06);
}
.hamburger-menu span {
    display: block;
    position: absolute;
    top: 23px;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 1;
    transform: translateX(-50%) rotate(0deg);
    transition: top 0.25s ease-in-out, transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}
.hamburger-menu span:nth-child(1) { top: 16px; }
.hamburger-menu span:nth-child(2) { top: 23px; }
.hamburger-menu span:nth-child(3) { top: 30px; }

/* 開いたときのハンバーガーメニューのスタイル */
.hamburger-menu[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.6);
    border-color: var(--text);
}
.hamburger-menu[aria-expanded="true"] span {
    background: var(--text);
}
.hamburger-menu[aria-expanded="true"] span:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}
.hamburger-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-150%);
}
.hamburger-menu[aria-expanded="true"] span:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-navigation {
    display: block;
    position: fixed;
    top: 0;
    right: -20%;
    width: 20%;
    height: 100vh;
    padding-top: 80px;
    background-color: #327a5578;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}
.mobile-navigation::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url(../img/nav-bg.webp);
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    opacity: 0.5;
}
.mobile-navigation.is-active {
    transform: translateX(-100%);
}
.mobile-navigation ul {
    margin: 0;
    padding: 20px 0;
    list-style: none;
}
.mobile-navigation li {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-navigation li:first-of-type {
    border-top: 1px solid var(--border);
}
.mobile-navigation.is-active li {
    opacity: 1;
    transform: translateX(0);
}
.mobile-navigation.is-active li:nth-child(1) { transition-delay: 0.08s; }
.mobile-navigation.is-active li:nth-child(2) { transition-delay: 0.14s; }
.mobile-navigation.is-active li:nth-child(3) { transition-delay: 0.20s; }
.mobile-navigation.is-active li:nth-child(4) { transition-delay: 0.26s; }
.mobile-navigation.is-active li:nth-child(5) { transition-delay: 0.32s; }
.mobile-navigation.is-active li:nth-child(6) { transition-delay: 0.38s; }
.mobile-navigation.is-active li:nth-child(7) { transition-delay: 0.44s; }
.mobile-navigation.is-active li:nth-child(8) { transition-delay: 0.50s; }
.mobile-navigation a {
    display: block;
    padding: 15px 30px;
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.mobile-navigation a:hover,
.mobile-navigation a.active {
    background-color: #ffffff94;
    color: var(--text);
}

/* ナビゲーション表示時の背景オーバーレイ */
body.mobile-nav-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 28, 21, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}
body.mobile-nav-active.show-overlay::before {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/*
mv
----------------------------------------------------------- */
.index .mv {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background-color: var(--dark-text-color);
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mv-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.mv-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: inherit;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}
.mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--rgb-primary-color), 0.4);
    z-index: 2;
}
.mv-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 20px;
}
.mv-content h1 img {
    width: 30%;
    margin-bottom: 15px;
}
.mv-content .lead {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5em;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}
.mv-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.mv-buttons .btn-primary:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

/*
sec01
----------------------------------------------------------- */
.index .sec01 {
    background-color: var(--light-bg-color);
}
.index .sec01 .white-box {
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.index .sec01 .white-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.index .sec01 .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background-color: var(--primary);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s ease;
}
.index .sec01 .icon-wrapper i {
    font-size: 2.4rem;
}
.index .sec01 .white-box:hover .icon-wrapper {
    background-color: var(--highlight);
}
.index .sec01 h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.index .sec01 p {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/*
sec02
----------------------------------------------------------- */
.index .sec02 p {
    font-size: 1.6rem;
    color: var(--medium-text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15);
}
.video-wrapper .ex-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/*
sec03
----------------------------------------------------------- */
.index .sec03 .flex {
    align-items: stretch;
}
.index .sec03 .card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.index .sec03 .card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.2);
}
.index .sec03 .white-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.index .sec03 figure {
    margin-left: -50px;
    margin-right: -50px;
    margin-top: -50px;
    overflow: hidden;
}
.index .sec03 figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
}
.index .sec03 .card-link:hover figure img {
    transform: scale(1.05);
}
.index .sec03 h4 {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 12px;
}
.index .sec03 p {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.index .sec03 .more-text {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: auto;
    padding-top: 10px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
.index .sec03 .card-link:hover .more-text {
    color: var(--highlight);
    transform: translateX(3px);
}

/*
sec04
----------------------------------------------------------- */
.index .sec04 .course-overview {
    display: flex;
    align-items: stretch;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 15px 40px -20px rgba(var(--primary-rgb), 0.4);
    overflow: hidden;
}
.index .sec04 .course-image {
    width: 48%;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
}
.index .sec04 .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out;
}
.index .sec04 .course-content {
    width: 52%;
    padding: 35px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.index .sec04 .course-content h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.3;
}
.index .sec04 .course-content h3 span {
    display: block;
    margin-top: 5px;
    color: var(--medium-text-color);
    font-size: 1.4rem;
    font-weight: normal;
}
.index .sec04 .course-content p {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 25px;
}
.index .sec04 .course-content .check-list {
    margin-bottom: 30px;
}
.index .sec04 .course-content .check-list li {
    font-size: 1.5rem;
}
.index .sec04 .course-content .btn-primary {
    align-self: flex-start;
}

/*
sec05
----------------------------------------------------------- */
.voice-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.voice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.25);
}
.voice-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.voice-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
    flex-shrink: 0;
}
.voice-info h4 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.voice-info .voice-meta {
    font-size: 1.3rem;
    color: var(--light-text-color);
}
.voice-card > p {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    padding-left: 10px;
    padding-right: 10px;
}

/*
sec06
----------------------------------------------------------- */
.news-list {
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}
.news-list > a {
    border-bottom: 1px solid var(--border);
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-item {
    display: flex;
    align-items: baseline;
    padding: 25px 15px;
    transition: background-color 0.3s ease;
}
.news-list > a:hover .news-item {
    background-color: var(--light-bg-color);
}
.news-meta {
    display: flex;
    align-items: baseline;
    margin-right: 20px;
    flex-shrink: 0;
    min-width: 220px;
}
.news-meta time {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    font-weight: 500;
    width: 50%;
}
.news-category {
    display: block;
    text-align: center;
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--white);
    font-size: 1.2rem;
    text-transform: uppercase;
    background: var(--primary);
    width: 50%;
}
.news-title {
    flex-grow: 1;
}
.news-title a {
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}
.news-title a:hover {
    color: var(--primary);
}

/*
sec07
----------------------------------------------------------- */
.index .sec07 .flex.col-2 > .white-box {
    display: flex;
    flex-direction: column;
}
.index .sec07 .white-box h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}
.index .sec07 .course-history {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.index .sec07 .course-history li {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 4px;
    border-left: 4px solid var(--secondary);
}
.index .sec07 .course-history li:last-child {
    margin-bottom: 0;
}
.index .sec07 .course-history h4 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.index .sec07 .course-history p {
    font-size: 1.4rem;
    color: var(--medium-text-color);
    margin-bottom: 5px;
    line-height: 1.6;
}
.index .sec07 .course-history .course-desc {
    color: var(--light-text-color);
    font-size: 1.3rem;
    margin-top: 10px;
}

/* 就職実績・サポート体制側のスタイル */
.index .sec07 .career-support-image {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}
.index .sec07 .career-support-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.index .sec07 .white-box > p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--medium-text-color);
    flex-grow: 1;
}
.index .sec07 .btn-primary {
    margin-top: auto;
    align-self: flex-start;
}

/*
sec08
----------------------------------------------------------- */
.media-card {
    padding: 0;
    display: flex;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.media-card:hover {
    transform: translateY(-8px);
}
.media-card .card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.media-card:hover .card-link {
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15);
}
.media-card figure {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    height: 200px;
    overflow: hidden;
}
.media-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
}
.media-card:hover figure img {
    transform: scale(1.08);
}
.media-card-content-wrapper {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.media-category {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background-color: rgba(var(--rgb-accent-color), 0.1);
    border-radius: 4px;
    color: var(--highlight);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.media-card h3 {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}
.media-excerpt {
    font-size: 1.4rem;
    color: var(--medium-text-color);
    line-height: 1.65;
    margin-bottom: 15px;
    flex-grow: 1;
}
.media-date {
    font-size: 1.3rem;
    color: var(--light-text-color);
    margin-top: auto;
    align-self: flex-start;
}

/*
sec09
----------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    padding: 25px;
    cursor: pointer;
}
.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.7rem;
    font-weight: 600;
    text-align: left;
    transition: color 0.2s ease;
    position: relative;
}
.faq-item:hover .faq-question {
    color: var(--primary);
}
.faq-question span:first-child {
    flex-grow: 1;
    line-height: 1.4;
}
.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--dark-text-color);
    transition: background-color 0.2s ease, transform 0.3s ease-out;
    height: 2px;
    left: 50%;
    top: 50%;
    transform-origin: center center;
}
.faq-question:hover .faq-icon::before,
.faq-question:hover .faq-icon::after {
    background-color: var(--primary);
}
.faq-icon::after {
    width: 16px;
    transform: translate(-50%, -50%);
}
.faq-icon::before {
    width: 16px;
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.open .faq-question .faq-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.faq-answer {
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease-out,
                padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    opacity: 1;
}
.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
}
.faq-answer a:hover {
    color: var(--highlight);
    text-decoration: none;
}

/*
Footer
----------------------------------------------------------- */
footer {
    background-color: var(--dark-text-color);
    color: #BDC3C7;
    font-size: 1.4rem;
    padding: 60px 0 40px 0;
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}
footer .footer-address {
    width: 400px !important;
}
footer .footer-address h4 {
    width: 60%;
    margin-bottom: 15px;
}
footer .footer-address h4 a {
    display: inline-block;
    transition: opacity 0.3s ease;
}
footer .footer-address h4 a:hover {
    opacity: 0.7;
}
footer .footer-links { 
    width: calc((100% - var(--grid-gap)) - 400px) !important;
}
footer .flex.col-3 > * { 
     width: calc((100% - var(--grid-gap, 30px) * 2) / 3);
}
footer .footer-widget {
    flex: 1 1 200px;
    min-width: 200px;
    margin-bottom: 30px;
}
footer .footer-widget h4 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
}
footer .footer-widget h4 img {
    max-width: 160px;
    margin: 0 auto;
}
footer .footer-widget p {
    color: #ECF0F1;
    line-height: 1.6;
    margin-bottom: 10px;
}
footer .footer-widget p:last-child {
    margin-bottom: 0;
}
footer .footer-widget ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
footer .footer-widget ul li {
    margin-bottom: 10px;
}
footer .footer-widget ul li:last-child {
    margin-bottom: 0;
}
footer .footer-widget ul li a {
    color: #ECF0F1;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
footer .footer-widget ul li a:hover {
    color: var(--white);
    padding-left: 5px;
    text-decoration: underline;
}
footer .copy {
    width: 100%;
    padding-top: 30px;
    margin-top: 20px;
    border-top: 1px solid #34495E;
    color: #95A5A6;
    font-size: 1.3rem;
    text-align: center;
}

/*
Common Page Header (PC/Default)
----------------------------------------------------------- */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--rgb-primary-color), 0.6);
    z-index: 2;
}
.page-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}
.page-header-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.page-header-lead {
    font-size: 1.6rem;
    opacity: 0.95;
    font-weight: 500;
    margin-top: 15px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/*
Course Detail Page (PC/Default specific styles beyond common page-header)
----------------------------------------------------------- */
.skill-card {
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s ease;
}
.skill-icon i {
    font-size: 2.4rem;
}
.skill-card:hover .skill-icon {
    background-color: var(--highlight);
}
.skill-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}
.skill-card p {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.6;
}

/*
School Accordion (募集要項・カリキュラム アコーディオン)
----------------------------------------------------------- */
.accordion-group {
    max-width: 100%;
    margin: 0 auto;
}
.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.accordion-item:last-child {
    margin-bottom: 0;
}
.accordion-item.is-open {
    box-shadow: 0 4px 15px rgba(var(--rgb-primary-color), 0.08);
}
.accordion-item.is-recruiting {
    border-color: var(--yellow-border);
}
.accordion-header {
    display: block;
    width: 100%;
    padding: 25px 30px;
    cursor: pointer;
}
.accordion-item.is-recruiting .accordion-header {
    background-color: var(--yellow);
}
.accordion-item.is-open .accordion-header {
    border-bottom: 1px solid var(--border);
}
.accordion-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.accordion-header-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.accordion-school-name {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
}
.accordion-recruit-badge {
    display: none;
    padding: 4px 14px;
    border-radius: 20px;
    background-color: var(--yellow-border);
    color: var(--yellow-text);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}
.accordion-item.is-recruiting .accordion-recruit-badge {
    display: inline-block;
}
.accordion-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin: 18px 0 0;
}
.accordion-summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.accordion-summary-item dt {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    font-weight: 600;
}
.accordion-summary-item dd {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}
.accordion-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--dark-text-color);
    transition: background-color 0.2s ease, transform 0.3s ease-out;
    height: 2px;
    left: 50%;
    top: 50%;
    transform-origin: center center;
}
.accordion-header:hover .accordion-icon::before,
.accordion-header:hover .accordion-icon::after {
    background-color: var(--primary);
}
.accordion-icon::after {
    width: 16px;
    transform: translate(-50%, -50%);
}
.accordion-icon::before {
    width: 16px;
    transform: translate(-50%, -50%) rotate(90deg);
}
.accordion-item.is-open .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.accordion-panel {
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-panel .white-box,
.accordion-panel .curriculum-flow {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    padding: 30px;
    margin: 0;
}
.course-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}
.course-code {
    font-size: 1.3rem;
    color: var(--medium-text-color);
    margin-bottom: 30px;
}
.course-section {
    margin-bottom: 30px;
}
.course-section h4 {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
}
.course-section p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--medium-text-color);
    margin-bottom: 10px;
}
.course-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.course-table th,
.course-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.course-table tr:last-child th,
.course-table tr:last-child td {
    border-bottom: none;
}
.course-table th {
    background-color: var(--light-bg-color);
    font-weight: 600;
    color: var(--text);
    width: 30%;
    font-size: 1.5rem;
}
.course-table td {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--medium-text-color);
}
.course-table .table-section-header {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 1.6rem;
    padding: 20px;
    font-weight: bold;
}
.course-table .table-section-header td {
    border-bottom: 1px solid var(--primary-darker);
}
.course-table .check-list {
    margin-bottom: 0;
}
.course-table .check-list li {
    margin-bottom: 8px;
    font-size: 1.4rem;
}
.course-table .note {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
    color: var(--light-text-color);
}
.course-table a {
    color: var(--primary);
    text-decoration: underline;
}
.course-table a:hover {
    text-decoration: none;
}

.curriculum-flow {
    max-width: 900px;
    margin: 0 auto;
}
.curriculum-phase {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(var(--rgb-primary-color), 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.curriculum-phase:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--rgb-primary-color), 0.1);
}
.phase-header {
    background: linear-gradient(135deg, var(--primary-hover-color), var(--primary));
    color: var(--white);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.phase-number {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}
.phase-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}
.phase-list {
    padding: 30px;
    margin: 0;
    list-style: none;
}
.phase-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--medium-text-color);
}
.phase-list li:before {
    font: var(--fa-font-solid);
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-size: 1.6rem;
}
.phase-list li:last-child {
    margin-bottom: 0;
}
.curriculum-note {
    font-size: 1.4rem;
    color: var(--medium-text-color);
    line-height: 1.6;
    padding: 20px;
    background-color: var(--light-bg-color);
    border-radius: 6px;
    border-left: 4px solid var(--secondary);
}

/*
Company Page (PC/Default specific styles)
----------------------------------------------------------- */
.company-info-table {
    width: 100%;
}
.info-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.info-row:last-child {
    border-bottom: none;
}
.info-label {
    flex-shrink: 0;
    width: 200px;
    font-weight: 600;
    color: var(--text);
    font-size: 1.5rem;
    padding-right: 30px;
}
.info-content {
    flex: 1;
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.7;
}
.info-content a {
    color: var(--primary);
    text-decoration: underline;
}
.info-content a:hover {
    color: var(--highlight);
    text-decoration: none;
}
.info-content .check-list {
    margin-bottom: 0;
}
.info-content .check-list li {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.philosophy-item {
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.philosophy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.philosophy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.3s ease;
}
.philosophy-icon i {
    font-size: 2.4rem;
}
.philosophy-item:hover .philosophy-icon {
    transform: scale(1.1);
}
.philosophy-item h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}
.philosophy-item p {
    color: var(--medium-text-color);
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 0;
}
.philosophy-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    text-align: left;
}
.philosophy-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--medium-text-color);
}
.philosophy-list li:before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-size: 1.2rem;
}
.philosophy-list li:last-child {
    margin-bottom: 0;
}

/*
Blog Page (Listing - PC/Default specific styles)
----------------------------------------------------------- */
.category-filter {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.filter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--medium-text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Filter animation classes for blog items */
.blog .media-card.filtered-out {
    opacity: 0.3;
    transform: scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.blog .media-card.filtered-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

/*
Contact Page (PC/Default specific styles) - white-box高さ自動調整版
----------------------------------------------------------- */
.contact-info-card {
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.3s ease;
}
.contact-icon i {
    font-size: 2.4rem;
}
.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}
.contact-info-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}
.contact-detail {
    margin-bottom: 8px;
}
.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}
.contact-link:hover {
    color: var(--highlight);
    text-decoration: underline;
}
.contact-hours {
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-top: 5px;
}

.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 50px + 20px);
    background: var(--secondary);
    z-index: 1;
}
.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.step-content {
    flex: 1;
    padding-top: 5px;
}
.step-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.step-content p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--medium-text-color);
    margin-bottom: 0;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* white-boxの高さ自動調整 */
.contact .sec03 .white-box {
    /* 固定の高さを削除して自動調整にする */
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-bottom: 15px !important; /* 余裕を持った下余白 */
}

/* Contact Form 7 基本設定 */
.wpcf7 {
    margin: 0;
    width: 100%;
    overflow: visible;
}
.wpcf7-form {
    width: 100%;
    overflow: visible;
    position: relative;
}
.form-row {
    margin-bottom: 25px;
    position: relative;
    overflow: visible;
}
.form-group {
    width: 100%;
    position: relative;
    /* エラーメッセージ用の余白を追加 */
    margin-bottom: 10px;
}
.form-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.required {
    color: #e74c3c;
    font-weight: 700;
    margin-left: 4px;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}
.form-control::placeholder {
    color: var(--light-text-color);
}
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
/* チェックボックス専用 */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.terms-agreement {
    display: flex;
    align-items: center;
    justify-content: center;
}
.terms-agreement .wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: center;
}
.terms-agreement .wpcf7-list-item label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--medium-text-color);
    margin: 0 !important;
}
.terms-agreement input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid var(--primary) !important;
    border-radius: 3px !important;
    background: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    flex-shrink: 0;
}
.terms-agreement input[type="checkbox"]:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.terms-agreement input[type="checkbox"]:checked::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 4px !important;
    height: 8px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    display: block !important;
}
.terms-agreement a {
    color: var(--primary);
    text-decoration: underline;
}
.terms-agreement a:hover {
    color: var(--highlight);
    text-decoration: none;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    clear: both;
}
.form-submit .btn-lg {
    min-width: 200px;
}
/* Contact Form 7 バリデーションメッセージ */
.wpcf7-not-valid-tip {
    color: #e74c3c !important;
    font-size: 1.3rem !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    display: block !important;
    position: static !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}
/* Contact Form 7の勝手に入るbrタグを非表示 */
.wpcf7-form br {
    display: none !important;
}
/* Contact Form 7のpタグの余白調整 */
.wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}
.wpcf7-validation-errors {
    background-color: #ffebee !important;
    border: 1px solid #e74c3c !important;
    color: #e74c3c !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 6px !important;
    font-size: 1.4rem !important;
    position: relative !important;
    clear: both !important;
}
.wpcf7-mail-sent-ok {
    background-color: #e8f5e8 !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 6px !important;
    font-size: 1.4rem !important;
    position: relative !important;
    clear: both !important;
}
/* フォーム全体のレイアウト安定化 */
.wpcf7-form > * {
    position: relative;
    z-index: 1;
}
/* Contact Form 7 のスピナー非表示 */
.wpcf7 .wpcf7-spinner {
    display: none !important;
}
/* Contact Form 7 の余計な要素の余白削除 */
.wpcf7-form .wpcf7-response-output {
    margin: 20px 0 !important;
}
/* フォームフィールドのコンテナ調整 */
.wpcf7-form-control-wrap {
    position: relative !important;
    display: block !important;
}
/* エラー時のコンテナ拡張 */
.wpcf7-form.wpcf7-validation-errors-visible {
    padding-bottom: 40px !important;
}
/* レスポンシブ対応でも同様の調整 */
@media (width < 768px) {
    .white-box {
        padding-bottom: 40px !important;
    }
    
    .form-submit {
        margin-bottom: 15px;
    }
}

/*
Learning-flow Page (PC/Default specific styles)
----------------------------------------------------------- */
.learning-flow .sec01 .white-box {
    box-shadow: 0 10px 30px rgba(var(--rgb-primary-color), 0.2);
}
.learning-timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}
.learning-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-item {
    position: relative;
    margin-bottom: -60px;
    display: flex;
    align-items: center;
}
.timeline-item:last-of-type {
    margin-bottom: 0px;
}
.timeline-item:nth-child(odd) {
    flex-direction: row;
}
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.step-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.timeline-content {
    width: 45%;
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 60px;
}
.timeline-item:nth-child(even) .timeline-content {
    padding-left: 60px;
}
.timeline-content .white-box {
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.timeline-content .white-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.timeline-content .white-box::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}
.timeline-item:nth-child(odd) .timeline-content .white-box::before {
    right: -30px;
    border-left-color: var(--white);
}
.timeline-item:nth-child(even) .timeline-content .white-box::before {
    left: -30px;
    border-right-color: var(--white);
}
.learning-flow .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}
.learning-flow .step-number {
    margin: 0;
}
.timeline-content .white-box:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.timeline-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    text-align: center;
}
.timeline-content p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--medium-text-color);
    text-align: center;
    margin-bottom: 0;
}

.support-card {
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    padding: 25px;
}
.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(var(--rgb-primary-color), 0.1);
}
.support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.3s ease;
}
.support-icon i {
    font-size: 2.4rem;
}
.support-card:hover .support-icon {
    transform: scale(1.1);
}
.support-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}
.support-card p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--medium-text-color);
    margin-bottom: 15px;
}
.support-detail {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
}
.support-detail small {
    font-size: 1.2rem;
    color: var(--light-text-color);
    font-style: italic;
}

.tool-video-card {
    overflow: hidden;
    padding: 20px;
    border-radius: 8px;
}
.tool-content h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    text-align: center;
}
.tool-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--medium-text-color);
    text-align: center;
    margin-bottom: 0;
}

/*
Features Page (PC/Default specific styles)
----------------------------------------------------------- */
.feature-detail,
.feature-reverse {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}
.feature-reverse {
    flex-direction: row-reverse;
}
.feature-image {
    flex: 0 0 45%;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.15);
}
.feature-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.2s ease-out;
}
.feature-content {
    flex: 1;
}
.feature-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.feature-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}
.feature-content h2::after {
    display: none;
}
.feature-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--medium-text-color);
    margin-bottom: 25px;
}
.feature-content .check-list {
    margin-bottom: 25px;
}
.feature-content .check-list li {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.6;
}
.feature-cta {
    margin-top: 30px;
}
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}
.cta-content p {
    font-size: 1.6rem;
    color: var(--medium-text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-buttons .btn {
    min-width: 200px;
}

/*
Privacy Page (PC/Default specific styles)
----------------------------------------------------------- */
.privacy .content-area {
    padding: 40px;
}
.privacy-article {
    margin-bottom: 30px;
}
.privacy-article:last-of-type {
    margin-bottom: 0;
}
.privacy-article h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    text-align: left;
}
.privacy-article h2::after {
    display: none;
}
.privacy-article p,
.privacy-article .styled-list li,
.privacy-article .contact-address {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--medium-text-color);
    margin-bottom: 15px;
}
.privacy-article p:last-child {
    margin-bottom: 0;
}
.privacy .styled-bullet-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.privacy .styled-bullet-list li {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--medium-text-color);
    margin-bottom: 10px;
}
.privacy .policy-date {
    line-height: 1.7;
    font-size: 1.4rem;
    color: var(--light-text-color);
    margin-top: 20px;
}
.privacy .contact-address {
    font-style: normal;
    padding: 15px;
    background-color: var(--light-bg-color);
    border-left: 4px solid var(--primary);
    margin-top: 10px;
}
.privacy .contact-address a {
    color: var(--primary);
    text-decoration: underline;
}
.privacy .contact-address a:hover {
    text-decoration: none;
}

/*
News Archive Page (PC/Default specific styles)
----------------------------------------------------------- */
.news-page .news-list-archive .news-item {
    padding: 25px 0;
    display: block;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}
.news-page .news-list-archive .news-item:hover {
    background-color: var(--light-bg-color);
}
.news-page .news-item-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}
.news-page .news-list-archive .news-meta {
    min-width: 220px;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
}
.news-page .news-list-archive .news-meta time {
    margin-right: 15px;
}
.news-page .news-list-archive .news-title {
    flex-grow: 1;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
}
.news-page .news-list-archive .news-item:hover .news-title {
    color: var(--primary);
}
.news-page .news-item-excerpt {
    font-size: 1.45rem;
    color: var(--medium-text-color);
    line-height: 1.7;
    padding-left: 0;
    margin-top: 5px;
}
.news-page .news-item-excerpt p {
    margin: 0;
}

/*
Voices Page (Listing - PC/Default specific styles)
----------------------------------------------------------- */
.voices-page .voices-grid {
    --grid-min: 400px;
    margin-bottom: 40px; /* Space before pagination or footer */
}
.voice-card-detailed-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.voice-avatar-detailed {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
    flex-shrink: 0;
}
.voice-card-detailed-info .voice-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}
.voice-card-detailed-info .voice-meta-detailed {
    display: block;
    font-size: 1.4rem;
    color: var(--medium-text-color);
    margin-bottom: 8px;
}
.voice-card-detailed-info .voice-course-taken {
    display: block;
    font-size: 1.3rem;
    color: var(--light-text-color);
}
.voice-card-detailed-info .voice-course-taken span {
    font-weight: 600;
    color: var(--medium-text-color);
}
.voice-card-detailed-body .voice-catchphrase {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}
.voice-card-detailed-body > p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--medium-text-color);
    margin-bottom: 15px;
}
.voice-card-detailed-body > p:last-child {
    margin-bottom: 0;
}
.voice-additional-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}
.voice-additional-info p {
    font-size: 1.4rem;
    color: var(--text-secondary-color);
    margin-bottom: 8px;
    line-height: 1.6;
}
.voice-additional-info p strong {
    font-weight: 600;
    color: var(--text);
    margin-right: 0.5em;
}

/*
Blog Article Page (PC/Default specific styles)
----------------------------------------------------------- */
.blog-article-page .article-container {
    max-width: 900px;
    margin: 40px auto;
}
.blog-article-page .article-content {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    padding: 40px;
    margin-top: 90px;
}
.article-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 1.4rem;
    color: var(--medium-text-color);
    margin-bottom: 15px;
}
.article-category {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background-color: rgba(var(--rgb-accent-color), 0.1);
    border-radius: 4px;
    color: var(--highlight);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}
.article-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 20px;
    margin-top: 0;
}
.article-main-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 10px;
    display: block;
}
.article-body {
    font-size: 1.6rem;
    line-height: 1.9;
    color: var(--text-secondary-color);
}
.article-body::after {
    content: '';
    display: table;
    clear: both;
}
.article-body p {
    margin-bottom: 1.5em;
}
.article-body p:last-child {
    margin-bottom: 0;
}
.article-body h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--primary);
}
.article-body h2:first-child {
    margin-top: 1.5em;
}
.article-body h3 {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2em;
    margin-bottom: 0.8em;
}
.article-body ul,
.article-body ol {
    margin-bottom: 1.5em;
    padding-left: 1.8em;
}
.article-body ul li,
.article-body ol li {
    margin-bottom: 0.5em;
}
.article-body ul.styled-list {
    list-style-type: none;
    padding-left: 0;
}
.article-body ul.styled-list li {
    padding-left: 1.5em;
    position: relative;
}
.article-body ul.styled-list li::before {
    content: '❖';
    position: absolute;
    left: 0;
    color: var(--primary);
}
.article-body strong {
    font-weight: 600;
    color: var(--text);
}
.article-body a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.article-body a:hover {
    text-decoration: none;
    color: var(--highlight);
}
.article-figure {
    margin: 2em auto;
    max-width: 700px;
    text-align: center;
}
.article-figure img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.article-figure figcaption {
    display: block;
    margin-top: 0.8em;
    font-size: 1.3rem;
    color: var(--text-muted-color);
    text-align: center;
}
.article-figure.right-float {
    float: right;
    margin-left: 25px;
    margin-top: 0.5em;
    margin-bottom: 1em;
    max-width: 300px;
}
.article-figure.left-float {
    float: left;
    margin-right: 25px;
    margin-top: 0.5em;
    margin-bottom: 1em;
    max-width: 300px;
}
.clear-float {
    clear: both;
}

/* ブロックエディタ標準の画像ブロック（コード不要でここまで表現できる） */
.article-body .wp-block-image {
    margin: 2em auto;
}
.article-body .wp-block-image img {
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.article-body .wp-block-image figcaption {
    margin-top: 0.8em;
    font-size: 1.3rem;
    color: var(--text-muted-color);
    text-align: center;
}
.article-body .alignright {
    float: right;
    margin: 0.5em 0 1em 25px;
    max-width: 45%;
}
.article-body .alignleft {
    float: left;
    margin: 0.5em 25px 1em 0;
    max-width: 45%;
}
.article-body .aligncenter {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}
.article-body .alignwide {
    max-width: 1000px;
    width: 100%;
}
.article-body .alignfull {
    max-width: 100%;
    width: 100%;
}
.article-body pre[class*="language-"] {
    border-radius: 6px;
    padding: 1.5em;
    margin: 1.5em 0;
    overflow: auto;
    font-size: 1.4rem;
    background-color: #f5f2f0;
}
.article-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.article-share .share-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.btn-share {
    border-radius: 20px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.4rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-share i {
    margin-right: 8px;
    font-size: 1.2em;
}
.article-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}