/* Global Resets and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Font Variables and Color Palette */
:root {
    --font-noto-sans-jp: 'Noto Sans JP', sans-serif;
    --font-roboto: 'Roboto', sans-serif;

    /* Figmaからの正確な色 */
    --color-primary: #25aac5;
    /* Figmaで定義されている水色（賃貸不動産経営管理士） */
    --color-white: #ffffff;
    --color-light-blue: #f1fdff;
    /* Figmaで定義されているヘッダー背景色 */
    --color-title-bar: #25aac5;
    /* Figmaで定義されているタイトルバー背景色 */
    --color-dark-gray: #505050;
    /* Figmaで定義されているテキスト色 */
    --color-light-gray: #f7f7f7;
    --color-black: #231815;
    --color-button-border: #25aac5;
}

.sp-item {
    display: none;
}

.pc-item {
    display: block;
}

.promo-badge-pc {
    display: block;
}

.promo-badge-sp {
    display: none;
}

@media screen and (max-width: 480px) {
    .sp-item {
        display: block;
    }

    .pc-item {
        display: none;
    }
}

/* Container for the entire LP */
.lp-container {
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--color-white);
}

/* Hero Section */
.hero-section {
    padding: 0;
    position: relative;
    overflow: visible;
    /* ヒーローセクションは通常の流れに沿って配置 */
    z-index: auto;
    /* 背景画像 + 白のオーバーレイで淡く */
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url('./public/images/hero-bg.webp');
    background-size: cover;
    background-position: right 50% bottom 95%;
    /* width: 100%; */
    /* height: auto; */
    /* flex-shrink: 0; */
    /* aspect-ratio: 1451.27/968.00; */
}

/* 左端のRectangle 2150 */
.hero-section::before {
    content: "";
    position: absolute;
    top: 215px;
    left: 0;
    width: 100%;
    height: 281px;
    /* SVGの高さ */
    background-color: var(--color-light-blue);
    clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

/* hero内コンテンツ */

/* KV Container */
.kv-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 40px 30px;
    position: relative;
    z-index: 2;
}

/* KV Left */
.kv-text {
    width: 600px;
    position: relative;
}

/* KV Right */
.kv-image {
    position: absolute;
    right: -310px;
    top: -25px;
    z-index: 100;
}

/* KV Catchphrase */
.kv-catchphrase p,
.kv-catchphrase h1 {
    font-family: var(--font-noto-sans-jp);
    color: var(--color-dark-gray);
    margin: 0;
    line-height: 1.4;
    letter-spacing: 1.83px;
}

.kv-catchphrase .catchphrase-line1 {
    font-size: 42.637px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 2.132px;
}

.kv-catchphrase .catchphrase-line2 {
    font-size: 53.4px;
    font-weight: 700;
    margin-bottom: 7px;
    letter-spacing: 2.67px;
}

.catchphrase-line3,
.catchphrase-line2-small,
.catchphrase-line1-small {
    font-size: 36.613px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.831px;
}

/* Highlight within catchphrase */
.kv-catchphrase .catchphrase-line2 .highlight {
    color: var(--color-primary);
}

/* KV Promo Banner */
.kv-promo-banner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    margin-top: 53px;
    flex-wrap: nowrap;
    gap: 16px;
}

.promo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 5問免除 */
.promo-main-text {
    font-size: 47px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 2.38px;
}

.text-primary {
    color: var(--color-primary);
}

.text-dark {
    color: var(--color-dark-gray);
}

/* 受講ボタン */
.promo-button {
    color: var(--color-primary);
    border: 1px solid var(--color-button-border);
    padding: 3px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    letter-spacing: 0;
    line-height: 1.5;
    margin-top: 5px;
    cursor: pointer;
}

.promo-button:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* 合格率のバッジ */
/* コンテンツ01セクション - 賃貸不動産経営管理士とは */
.content01-section {
    background-color: var(--color-light-blue);
    width: 100%;
    padding: 24px 0 40px;
}

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

.content-flex-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.content-image {
    width: 259px;
    height: 148px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-info-image {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.content-text {
    width: 656px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin: 0;
}

.promo-badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 106px;
    height: 106px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    font-family: var(--font-noto-sans-jp);
    text-align: center;
    flex-shrink: 0;
    margin-right: 0;
}

.promo-badge-text-small {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 0.98;
}

.promo-badge-text-large {
    font-size: 31px;
    font-weight: 700;
    line-height: 0.98;
    margin-top: 0;
    letter-spacing: -0.5px;
}

.promo-badge-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.promo-badge-supplement {
    color: var(--bridge-GreenBlue, #25AAC5);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
}

/* KV Person Image */
.kv-person-image {
    max-width: 380px;
    height: auto;
    border-radius: 0;
    display: block;
    z-index: 9999 !important;
    /* 最も高い優先度で前面に表示 */
    position: relative;
}

/* KV Caption */
.kv-caption-1 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    color: var(--color-dark-gray);
    line-height: 1.8;
    letter-spacing: -0.02em;
    position: absolute;
    top: 120px;
    right: -15px;
    height: 280px;
}

.kv-caption-2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    color: var(--color-dark-gray);
    line-height: 1.8;
    letter-spacing: -0.02em;
    position: absolute;
    top: 232px;
    right: 0px;
    height: 280px;
}

.kv-caption p {
    margin: 0 0 2px;
    line-height: 1.8;
}

/* Title Bar */
.title-bar {
    background-color: var(--color-title-bar);
    color: var(--color-white);
    padding: 15px 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: auto;
    /* 通常のスタックコンテキスト内で配置 */
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    min-height: 55px;
}

.title-bar h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.title-bar-small {
    font-size: 24px;
    font-weight: 700;
}

/* Main Content Styles */
main {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 50px 0;
    background-color: var(--color-white);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-image {
    flex: 0 0 35%;
    text-align: center;
    margin-right: 30px;
}

.consultation-illust {
    max-width: 100%;
    height: auto;
}

.about-text {
    flex: 0 0 60%;
    padding-left: 20px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--color-dark-gray);
    letter-spacing: 0.01em;
}

/* Footer Styles */
footer {
    background-color: var(--color-light-gray);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: var(--color-dark-gray);
    font-size: 14px;
    line-height: 1.5;
}

/* メリットセクションのスタイル */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 30px;
}

.benefit-card {
    background-color: var(--color-bridge-white);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bridge-lightgreenblue);
    border-radius: 50%;
}

.benefit-icon img {
    width: 50%;
    height: auto;
    object-fit: contain;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-black-100);
}

.benefit-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-dark-gray);
}

/* セクションヘッダー共通スタイル */
.section-header {
    text-align: center;
    padding: 56px 0 20px;
}

.sub-section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.section-label {
    display: inline-block;
    background-color: #FFFF3D;
    color: var(--color-dark-gray);
    padding: 8px;
    margin-bottom: 20px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 180%;
    letter-spacing: 0.8px;
}

.section-title {
    color: var(--color-primary);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.6px;
    text-decoration: underline #FFFF3D 12px;
    text-underline-offset: -0.1rem;
    width: fit-content;
    display: inline-block;
}

.section-title-black {
    color: var(--color-dark-gray);
}

.section-title-2 {
    color: var(--color-dark-gray);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.2px;
}

.merit-section {
    background-color: #FFFFFF;
    padding: 32px 0;
    max-width: 960px;
    margin: 0 auto;
}

.merit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
}

.merit-card {
    display: flex;
    width: 750px;
    padding: 24px 32px;
    align-items: center;
    gap: 32px;
    border-radius: 6px;
    background: var(--bridge-white, #FFF);
    box-shadow: 0px 0px 8px -1px rgba(32, 147, 170, 0.25);
}

.merit-card-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 24px;
}

.merit-icon {
    width: 105px;
    height: auto;
}

.merit-icon-image {
    width: 105px;
    height: auto;
}

.merit-content {
    flex: 1;
}

.merit-heading {
    color: var(--color-dark-gray);
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.merit-description {
    color: var(--color-dark-gray);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* 実施機関セクション */
.implementer-section {
    background-color: var(--color-white);
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.implementer-wrapper {
    position: relative;
    width: 750px;
}

.implementer-content {
    background: var(--color-white);
    box-shadow: 0px 0px 8px -1px rgba(32, 147, 170, 0.25);
    border-radius: 0 0 6px 6px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 59px;
    gap: 10px;
}

.implementer-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-noto-sans-jp);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1.8px;
    background: var(--color-white);
    padding: 0 8px;
    line-height: 1.4;
}

.implementer-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-dark-gray);
    line-height: 1.4;
    letter-spacing: 1.6px;
    text-align: center;
    white-space: nowrap;
}

/* コピーライト */
.footer-copyright {
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 10px;
}

/* 試験についてセクション */

.exam-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.exam-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.exam-info-list {
    background-color: var(--color-light-blue);
    display: flex;
    flex-direction: column;
    max-width: 686px;
    padding: 24px 32px;
    gap: 16px;
}

.exam-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.exam-info-box {
    display: flex;
    width: 198px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
}

.exam-info-content {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    width: 410px;
    height: 34px;
}

.exam-info-content-text {
    color: var(--color-dark-gray);
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
}

.exam-note {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.question-wrapper {
    max-width: 720px;
    margin: 60px auto 0;
}

.question-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.question-image {
    flex: 0 0 auto;
    margin-right: 20px;
}

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

.question-text {
    flex: 1;
    text-align: center;
}

.question-headline {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-dark-gray);
    margin: 0;
}

.highlight-method {
    color: var(--color-primary);
}

.exemption-section {
    background-color: var(--color-light-blue);
    padding: 32px 32px;
    text-align: center;
    max-width: 750px;
    position: relative;
    margin-top: 48px;
    border-radius: 93px;
}

.exemption-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
}

.exemption-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.exemption-description {
    color: var(--color-dark-gray);
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.8px;
}

.highlight-rate {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.8px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .kv-container {
        flex-direction: column;
    }

    .kv-left,
    .kv-right {
        flex-basis: 100%;
        width: 100%;
        text-align: center;
    }

    .kv-right {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        margin-top: 30px;
    }

    /* 賃貸不動産経営管理士とはレスポンシブ対応 */
    .content-flex-row {
        flex-direction: column;
        align-items: center;
    }

    .content-image {
        width: 80%;
        max-width: 259px;
        height: auto;
        aspect-ratio: 259 / 148;
        margin-bottom: 20px;
    }

    .content-text {
        width: 100%;
        max-width: 656px;
        text-align: left;
    }

    .kv-person-image {
        margin-right: 20px;
    }

    .kv-catchphrase .catchphrase-line1 {
        font-size: 36px;
    }

    .kv-catchphrase .catchphrase-line2 {
        font-size: 40px;
    }

    .kv-catchphrase .catchphrase-line3 {
        font-size: 24px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        flex-basis: 100%;
    }

    /* メリットセクションレスポンシブ */
    .merit-label {
        font-size: 16px;
        padding: 2px 10px;
    }

    .merit-title {
        font-size: 24px;
    }

    .merit-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .merit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .merit-heading {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 30px 15px;
    }

    .kv-right {
        flex-direction: column;
        align-items: center;
    }

    .kv-caption {
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        margin-top: 15px;
    }

    .kv-caption p {
        padding-left: 0;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .promo-badge {
        width: 70px;
        height: 70px;
    }

    .promo-badge-text-small {
        font-size: 12px;
    }

    .promo-badge-text-large {
        font-size: 18px;
    }

    .promo-main-text {
        font-size: 18px;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* 5問免除講習とはセクション レスポンシブ対応 */
    .course-description-text {
        display: inline;
        margin: 0;
        text-align: left;
    }

    .lecture-merit-container {
        grid-template-columns: 1fr;
    }

    .effect-stats-container {
        flex-direction: column;
    }

    .venue-button {
        width: 100%;
    }
}

.about-training-section {
    margin-top: 56px;
    padding-bottom: 56px;
    background-color: var(--color-light-blue);
}

/* 5問免除講習とは セクション */
.exemption-course-section {
    padding: 20px 0 40px;
    max-width: 612px;
    margin: 0 auto;
}

.course-description-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.course-description-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-dark-gray);
    margin-bottom: 4px;
    letter-spacing: 1.6px;
    text-align: center;
}

/* 講習受講のメリットセクション */
.lecture-merit-section {
    padding: 32px 0 60px;
}

.lecture-merit-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.lecture-merit-card {
    width: 263px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 0px 8px -1px rgba(32, 147, 170, 0.25);
    background-color: var(--color-white);
}

.merit-card-header {
    background-color: var(--color-primary);
    padding: 16px;
    border-radius: 6px 6px 0 0;
}

.merit-card-body {
    padding: 16px;
    border-radius: 0 0 6px 6px;
}

.lecture-merit-heading {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 1.8px;
}

.lecture-merit-description {
    font-size: 16px;
    color: var(--color-dark-gray);
    line-height: 1.4;
    margin: 0;
    letter-spacing: 1.6px;
    text-align: left;
}

/* 合格率から見る講習の効果 セクション */
.effect-stats-section {
    width: 642px;
    padding: 32px 0;
    margin: 0 auto;
}

.effect-stats-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 72px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-pie-chart,
.stats-bar-chart {
    flex: 1;
    text-align: center;
}

.stats-title-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    padding: 12px;
    border-radius: 6px;
    width: fit-content;
    margin: 0 auto 24px;
}

.stats-title-polygon {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: auto;
}

.stats-title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1.6px;
    color: var(--color-white);
    width: 199px;
}

.pie-chart-container,
.bar-chart-container {
    position: relative;
    margin-top: 16px;
    text-align: center;
}

.chart-frame {
    width: 400px;
    max-width: 100%;
    height: 350px;
    border: 1px solid #0FB4C9;
    margin: 0 auto;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 480px) {
    .chart-frame {
        width: 100%;
        height: 300px;
        padding: 15px;
    }

    .bar {
        width: 60px;
    }

    .bar-value {
        font-size: 16px;
    }

    .bar-label {
        font-size: 14px;
    }

    .y-axis-labels {
        font-size: 14px;
    }

    .chart-arrow {
        width: 40px;
    }
}

/* グリッドライン */
.chart-grid {
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 80px);
    top: 20px;
    left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-line {
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
}

/* Y軸ラベル */
.y-axis-labels {
    position: absolute;
    left: 10px;
    top: 20px;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 16px;
    color: #505050;
}

/* 棒グラフコンテナ */
.bars-container {
    display: flex;
    position: absolute;
    bottom: 50px;
    left: 40px;
    width: calc(100% - 60px);
    height: calc(100% - 80px);
    justify-content: space-around;
    align-items: flex-end;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    position: relative;
}

.bar-value {
    position: absolute;
    top: -30px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bar-value-gray {
    color: #505050;
}

.bar-value-blue {
    color: #0FB4C9;
}

.bar {
    width: 80px;
    border-radius: 4px 4px 0 0;
}

.bar-gray {
    height: 125px;
    background-color: #DBDBDB;
}

.bar-blue {
    height: 180px;
    background-color: #0FB4C9;
}

.bar-label {
    margin-top: 10px;
    font-size: 16px;
    color: #505050;
    white-space: nowrap;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-bottom: 80px;
}

.chart-arrow {
    width: 60px;
    height: auto;
}

.chart-note {
    margin-top: 20px;
    font-size: 14px;
    color: #505050;
    text-align: center;
    letter-spacing: 0.5px;
}

/* 円グラフ */
.pie-chart-wrapper {
    position: relative;
    display: flex;
}

.pie-chart-left {
    position: absolute;
    top: 0;
    left: 140px;
    z-index: 0;
}

.pie-chart-right {
    position: absolute;
    top: 0;
    right: 140px;
    z-index: 0;
}

.legend-percentage-blue {
    position: absolute;
    top: 60px;
    left: 160px;
    z-index: 1;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
}

.legend-percentage-gray {
    position: absolute;
    top: 60px;
    right: 160px;
    z-index: 1;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
}

.legend-chart-source {
    position: absolute;
    bottom: -190px;
    left: 110px;
    color: var(--color-dark-gray);
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 1.2px;
}

.legend-blue-container {
    position: absolute;
    top: 0;
    left: 60px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
}

.legend-gray-container {
    position: absolute;
    top: 100px;
    right: 40px;
    color: var(--color-dark-gray);
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
}

.legend-number {
    font-size: 16px;
    color: var(--color-dark-gray);
    letter-spacing: 1.6px;
    margin-top: -4px;
}

.legend-percentage {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-gray);
    letter-spacing: 1.8px;
    margin-top: 4px;
}

.chart-source {
    display: block;
    font-size: 12px;
    color: #505050;
    margin-top: 16px;
    text-align: center;
    letter-spacing: 1.2px;
}

/* 棒グラフ */
.bar-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 200px;
    gap: 20px;
    margin-bottom: 16px;
    position: relative;
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    position: relative;
}

.bar-item-right {
    order: 1;
}

.chart-arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin-top: -100px;
    width: 60px;
}

.chart-arrow {
    width: 40px;
    height: auto;
}

.bar-item-left {
    order: 3;
}

.bar-value {
    position: absolute;
    top: -32px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-gray);
    letter-spacing: 1.0px;
}

.bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.bar-blue {
    background-color: var(--color-primary);
}

.bar-gray {
    background-color: #dbdbdb;
}

.bar-label {
    margin-top: 12px;
    font-size: 16px;
    color: var(--color-dark-gray);
    letter-spacing: 1.6px;
}

.bar-difference {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 4px;
    letter-spacing: 1.0px;
}

/* 合格率向上バナー */
.passing-rate-banner {
    background: linear-gradient(to right, #0FB4C9, #1ACFE7);
    padding: 40px 20px;
    margin: 40px 0;
    color: #fff;
}

.banner-inner {
    max-width: 960px;
    margin: 0 auto;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.banner-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-label {
    font-size: 16px;
    margin-bottom: 5px;
}

.stats-value {
    font-size: 40px;
    font-weight: 700;
}

.stats-value-blue {
    color: #fff;
}

.stats-value-gray {
    color: #DBDBDB;
}

.stats-vs {
    font-size: 20px;
    font-weight: 500;
    margin: 0 10px;
}

.banner-difference {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFF00;
}

.banner-note {
    font-size: 14px;
    opacity: 0.8;
}

@media screen and (max-width: 480px) {
    .banner-heading {
        font-size: 24px;
    }

    .stats-value {
        font-size: 32px;
    }

    .banner-difference {
        font-size: 24px;
    }
}

/* 実施機関セクション */
.test-data-table-section {
    position: relative;
    padding: 40px 0;
    background-color: var(--color-light-blue);
    width: 100%;
}

.test-data-title {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-noto-sans-jp);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    letter-spacing: 1.8px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1;
}

.test-data-container {
    position: relative;
    width: auto;
    max-width: 750px;
    height: auto;
    margin: 24px auto 0;
    padding: 24px 0;
    background-color: var(--color-white);
    border-radius: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.implementation-organizations {
    box-sizing: border-box;
    height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 59px;
    gap: 0;
}

.implementation-organizations p {
    font-family: var(--font-noto-sans-jp);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-dark-gray);
    text-align: center;
    margin: 0;
    padding: 24px 0;
    letter-spacing: 1.6px;
    white-space: pre;
}

/* 会場一覧セクション */
.venue-list-section {
    padding: 20px 0 60px;
    max-width: 960px;
    margin: 32px auto;
    padding: 0 20px;
}

.venue-accordion {
    margin-bottom: 40px;
}

.venue-area {
    margin-bottom: 10px;
}

.venue-area-header {
    background-color: var(--color-primary);
    color: white;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.venue-area-header.open {
    border-radius: 4px 4px 0 0;
}

.accordion-arrow {
    width: 16px;
    height: 16px;
    background-image: url('./public/images/arrow-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.venue-area-header.open .accordion-arrow {
    background-image: url('./public/images/arrow-up.svg');
}

.venue-area-content {
    padding: 16px;
    display: none;
}

.venue-area-header.open+.venue-area-content {
    display: block;
}

.venue-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 8px;
}

.venue-table thead th {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    border: none;
}

.venue-table th,
.venue-table td {
    padding: 8px 16px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #F0F0F0;
    font-size: 14px;
    line-height: 22.4px;
    position: relative;
}

.venue-table td:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--bridge-lightgray, #DBDBDB);
    width: 1px;
    height: 22px;
}

.venue-table th {
    font-size: 16px;
    line-height: 22.4px;
    background-color: #E6F7F9;
    color: var(--color-primary);
    position: relative;
}

.venue-table th:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--bridge-lightgray, #DBDBDB);
    width: 1px;
    height: 22px;
}

.venue-table td {
    font-size: 16px;
    line-height: 22.4px;
    color: var(--color-primary);
}

.venue-notes {
    text-align: center;
    margin: 30px 0x;
}

.venue-notes p {
    font-size: 16px;
    color: var(--color-dark-gray);
    margin-bottom: 10px;
    line-height: 140%;
    letter-spacing: 1.6px;
}

.venue-buttons {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    margin-bottom: 30px;
}

.venue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: var(--color-light-blue);
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid #25aac5;
    border-radius: 28px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 300px;
    position: relative;
    gap: 8px;
}

.venue-button:hover {
    background-color: #25aac5;
    color: white;
}

.venue-button::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2068 9L7.10342 1L1 9' stroke='%2325AAC5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
}

.venue-button:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2068 9L7.10342 1L1 9' stroke='white'/%3E%3C/svg%3E");
}

.venue-disclaimer {
    text-align: center;
    font-size: 12px;
    line-height: 140%;
    color: var(--color-dark-gray);
}

/* 賃貸不動産経営管理士の仕事セクション */
.job-description-section {
    background-color: var(--color-white);
    padding: 40px 0;
    width: 100%;
}

.job-description-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.job-description-header {
    margin-bottom: 32px;
    text-align: center;
}

.job-label {
    display: inline-block;
    background-color: #ffff3d;
    /* Figmaで指定された色 bridge/yellow */
    color: #505050;
    /* Figmaで指定された色 bridge/deepgray */
    font-size: 16px;
    font-weight: 600;
    padding: 8px;
    margin-bottom: 24px;
    letter-spacing: 0.8px;
    line-height: 1.8;
}

.job-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 32px;
    letter-spacing: 1.6px;
    text-align: center;
    text-decoration: underline #FFFF3D 12px;
    text-underline-offset: -0.1rem;
}

.job-title .highlight {
    color: #25aac5;
    /* Figmaで指定された色 bridge/GreenBlue */
}

.job-title .normal {
    color: #505050;
    /* Figmaで指定された色 bridge/deepgray */
}

.job-content {
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.job-text {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 0;
    color: #505050;
    /* Figmaで指定された色 bridge/deepgray */
    text-align: center;
    letter-spacing: 1.6px;
    text-wrap: nowrap;
}

.job-text+.job-text {
    margin-top: 8px;
}

.job-text:last-child {
    margin-bottom: 0;
}

.job-flow-diagram {
    margin: 40px 0;
    text-align: center;
}

.flow-diagram-img {
    max-width: 100%;
    height: auto;
}

.job-note {
    background-color: #e60012;
    padding: 12px;
    margin-top: 24px;
}

.job-note p {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
    margin: 0;
}

/* 合格者の声セクション */
.testimonial-container {
    max-width: 960px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.testimonial-title {
    font-size: 32px;
    font-weight: 700;
    color: #505050;
    /* Figmaで指定された色 bridge/deepgray */
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1.6px;
    line-height: 1.4;
    text-decoration: underline #FFFF3D 12px;
}

.testimonial-divider {
    width: 60px;
    height: 4px;
    background-color: #25aac5;
    /* Figmaで指定された色 bridge/GreenBlue */
    margin: 0 auto 40px;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.carousel-prev,
.carousel-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.arrow-icon {
    width: 36px;
    height: 36px;
}

.testimonial-slides-container {
    position: relative;
    width: 900px;
    height: 340px;
    overflow: hidden;
    margin: 0 auto;
}

.testimonial-slide {
    display: flex;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 5;
    pointer-events: all;
}

.testimonial-person {
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
    color: var(--color-primary);
}

.testimonial-credentials {
    font-size: 13px;
    color: var(--color-primary);
    line-height: 1.5;
    letter-spacing: 0.6px;
}

.testimonial-credentials-border {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    font-size: 13px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0.65px;
    padding: 4px;
    margin-bottom: 8px;
}


.testimonial-credentials span {
    color: #25aac5;
    font-weight: 700;
}

.testimonial-content {
    width: 545px;
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-organization {
    font-size: 15px;
    font-weight: 700;
    color: #25aac5;
    margin-bottom: 24px;
    line-height: 1.6;
    letter-spacing: 0.8px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 22.4px;
    color: #505050;
    letter-spacing: 1.6px;
    background-color: #edfcff;
    padding: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
    .testimonial-slides-container {
        width: 100%;
        height: 420px;
    }

    .testimonial-carousel {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .job-content {
        max-width: 100%;
    }

    .testimonial-slides-container {
        height: 500px;
    }

    .testimonial-slide {
        flex-direction: column;
        height: auto;
    }

    .testimonial-person {
        width: 100%;
        padding: 30px 16px;
    }

    .testimonial-content {
        padding: 30px 20px;
    }

    .arrow-icon {
        width: 30px;
        height: 30px;
    }
}

/* ダブルライセンスセクション */
.double-license-section {
    background-color: #f1fdff;
    padding: 56px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.double-license-header {
    text-align: center;
    margin-bottom: 24px;
}

.double-license-label {
    display: inline-block;
    background-color: #ffff3d;
    padding: 4px 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.double-license-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 1.2px;
    color: #333;
}

.double-license-subtitle {
    margin-bottom: 20px;
    color: var(--bridge-deepgray, #505050);
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.2px;
}

.text-green-blue {
    color: #25aac5;
}

.double-license-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.double-license-description p {
    color: var(--bridge-deepgray, #505050);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 1.6px;
}

.double-license-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    width: 750px;
    margin-bottom: 40px;
}

.double-license-card {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0px 0px 8px -1px rgba(32, 147, 170, 0.25);
    display: flex;
    padding: 24px 32px;
    gap: 32px;
    align-items: center;
}

.card-icon {
    min-width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon img {
    width: 105px;
    height: 105px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #505050;
    line-height: 1.4;
    letter-spacing: 1.2px;
}

.card-text {
    font-size: 16px;
    color: #505050;
    letter-spacing: 1.6px;
    text-wrap: nowrap;
}

.application-button {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
    margin-top: 0;
}

.application-button .cta-button {
    background-color: #ffff3d;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.2px;
    width: 750px;
}

.application-button .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* モバイル用スタイル */
@media screen and (max-width: 768px) {
    .double-license-section {
        padding: 40px 20px;
    }

    .double-license-card {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .application-button .cta-button {
        font-size: 18px;
        padding: 12px 30px;
    }
}
