
@charset "UTF-8";

/* ======================================
   基本設定
====================================== */

:root {
    --navy: #101d32;
    --navy-light: #203650;
    --accent: #69ddca;
    --accent-dark: #087e70;
    --white: #ffffff;
    --background: #f3f6fa;
    --text: #263547;
    --muted: #64748b;
    --border: #dce4ed;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);

    font-family:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;

    font-size: 16px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 5px;
}

.container {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.narrow {
    max-width: 800px;
}

.center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--background);
}

.section-label {
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

.section-title span {
    color: var(--accent-dark);
}

.section-intro {
    margin: -8px 0 42px;
    color: var(--muted);
}

.small-text {
    font-size: 13px;
    color: var(--muted);
}

.emphasis {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-dark);
    margin: 36px 0 0;
}

/* ======================================
   ボタン
====================================== */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;

    padding: 17px 34px;

    background: var(--accent);
    color: var(--navy);

    border-radius: 6px;

    font-size: 17px;
    font-weight: 800;

    transition:
        background 0.2s,
        transform 0.2s;
}

.button:hover {
    background: #98eddf;
    transform: translateY(-2px);
}

.button-small {
    padding: 9px 22px;
    font-size: 14px;
    white-space: nowrap;
}

.button-large {
    padding: 20px 65px;
    font-size: 19px;
}

/* ======================================
   ヘッダー
====================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.logo {
    display: flex;
    flex-direction: column;

    color: var(--navy);

    line-height: 1.5;
    font-size: 18px;
    font-weight: 800;
}

.logo small {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.nav {
    display: flex;
    gap: 20px;

    font-size: 13px;
    font-weight: 600;
}

.nav a {
    white-space: nowrap;
}

.nav a:hover {
    color: var(--accent-dark);
}

/* ======================================
   メインビジュアル
====================================== */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);

    background:
        radial-gradient(
            circle at 85% 40%,
            #264b65 0%,
            transparent 48%
        ),
        linear-gradient(
            120deg,
            #101d32,
            #172b44
        );
}

.hero-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, 0.9fr);

    align-items: center;
    gap: 55px;

    min-height: 680px;

    padding-top: 65px;
    padding-bottom: 65px;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 25px;
}

.target {
    display: inline-block;

    padding: 4px 15px;

    border: 1px solid #7c9aaf;
    border-radius: 3px;

    font-size: 13px;

    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(40px, 4.8vw, 64px);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.45;
    margin-bottom: 23px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(20px, 2.3vw, 26px);
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.hero-tags span {
    display: inline-block;

    padding: 4px 12px;

    color: #dcece9;
    background: #ffffff0c;

    border: 1px solid #ffffff35;
    border-radius: 3px;

    font-size: 12px;
    font-weight: 600;
}

.hero-description {
    color: #cfdae8;

    font-size: 15px;
    line-height: 2.1;

    margin-bottom: 30px;
}

.hero-note {
    color: #bdcbdc;
    font-size: 12px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ======================================
   メインビジュアル右側
====================================== */

.hero-visual {
    position: relative;

    min-height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 450px;

    background: #0b1525;
    border: 1px solid #476079;
    border-radius: 12px;

    box-shadow: 0 25px 80px #0005;

    overflow: hidden;

    transform: rotate(-3deg);
}

.window-bar {
    padding: 15px 18px;

    display: flex;
    align-items: center;
    gap: 7px;

    background: #1e3047;
}

.window-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;

    background: #ef7979;
}

.window-bar i:nth-child(2) {
    background: #ebc66f;
}

.window-bar i:nth-child(3) {
    background: #69ddca;
}

.window-bar span {
    color: #b5c7db;

    margin-left: 12px;

    font-size: 12px;
    font-family: Consolas, monospace;
}

.code-content {
    padding: 30px 24px;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    color: #d6e2f0;
    font-size: 14px;
}

.code-content p {
    margin: 0;
    line-height: 1.9;
}

.code-content .indent {
    padding-left: 24px;
}

.code-comment {
    color: #7f99ae;
}

.code-purple {
    color: #c4a0ff;
}

.code-green {
    color: #80dbab;
}

.code-blue {
    color: #82bdff;
}

.visual-label {
    position: absolute;

    background: #203650;

    border: 1px solid #61859b;
    border-radius: 8px;

    padding: 14px 22px;

    font-size: 10px;
    letter-spacing: 0.12em;

    color: var(--accent);

    box-shadow: 0 12px 30px #0003;
}

.visual-label strong {
    display: block;

    color: var(--white);

    font-size: 23px;
    letter-spacing: 0.05em;
}

.label-top {
    top: 0;
    right: -12px;
}

.label-bottom {
    bottom: -10px;
    left: -22px;
}

/* ======================================
   4つの柱
====================================== */

.pillars {
    background: var(--navy-light);
    color: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar {
    padding: 30px 20px;
    border-right: 1px solid #ffffff25;
}

.pillar:last-child {
    border-right: 0;
}

.pillar span {
    color: var(--accent);

    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.pillar h2 {
    font-size: clamp(18px, 1.8vw, 23px);
    margin: 8px 0;
}

.pillar p {
    font-size: 14px;
    color: #d3dfed;
    margin: 0;
}

/* ======================================
   お悩み・おすすめ
====================================== */

.concern-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

    max-width: 1000px;
    margin: 40px auto;
}

.concern {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 20px 24px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;

    font-weight: 600;
}

.check {
    display: inline-flex;
    flex-shrink: 0;

    justify-content: center;
    align-items: center;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: #d7f5ee;
    color: var(--accent-dark);

    font-weight: 800;
}

.conclusion {
    color: var(--navy);

    font-size: 23px;
    font-weight: 800;

    margin-bottom: 0;
}

/* ======================================
   カリキュラム
====================================== */

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.course-card {
    position: relative;
    overflow: hidden;

    padding: 30px;

    border: 1px solid var(--border);
    border-top: 4px solid var(--navy-light);
    border-radius: 8px;

    background: var(--white);
}

.course-card.featured {
    border-top-color: var(--accent-dark);
    background: #f5fcfa;
}

.course-number {
    font-size: 35px;
    line-height: 1;
    font-weight: 800;

    color: #bdcddc;

    margin-bottom: 22px;

    font-family: Arial, sans-serif;
}

.course-category {
    display: inline-block;

    font-size: 12px;
    font-weight: 700;

    padding: 3px 12px;

    border-radius: 3px;

    color: var(--accent-dark);
    background: #e5f5f1;

    margin-bottom: 12px;
}

.course-card h3 {
    font-size: 25px;
    color: var(--navy);
    margin-bottom: 17px;
}

.course-card p {
    font-size: 14px;
    color: #546478;
}

.course-card ul {
    padding-left: 20px;
    font-size: 13px;
    margin-bottom: 0;
}

.course-card li {
    margin-bottom: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tags span {
    padding: 4px 10px;

    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 4px;

    font-size: 12px;
    font-family: Consolas, monospace;
}

/* ======================================
   WEBクリエイター講座
====================================== */

.creative-card {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;
    gap: 50px;

    padding: 40px;

    border-top-color: var(--accent-dark);

    background: linear-gradient(
        120deg,
        #ffffff 30%,
        #eef7f5 100%
    );
}

.creative-card h3 {
    font-size: 30px;
}

.creative-content {
    min-width: 0;
}

.creative-content p {
    font-size: 15px;
}

.creative-content ul {
    font-size: 14px;
}

.creative-visual {
    position: relative;

    padding: 25px 20px 15px;

    min-width: 0;
}

/* WEBサイトのサンプルイメージ */

.browser-mock {
    position: relative;

    width: 100%;

    overflow: hidden;

    border: 1px solid #b7cbd4;
    border-radius: 9px;

    background: var(--white);

    box-shadow: 0 20px 40px #20365020;

    transform: rotate(2deg);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 10px 13px;

    background: #e4e9ee;
}

.browser-bar i {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #8fa4b4;
}

.browser-bar span {
    display: block;

    flex: 1;

    text-align: center;

    margin-left: 12px;
    padding: 2px 5px;

    background: #ffffff;
    border-radius: 3px;

    color: #64748b;

    font-family: Consolas, monospace;
    font-size: 10px;
}

.mock-content {
    padding: 18px;
}

.mock-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}

.mock-logo {
    color: #101d32;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.mock-navigation > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-navigation i {
    width: 23px;
    height: 3px;

    background: #c2ced6;
    border-radius: 3px;
}

.mock-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 0.8fr);

    min-height: 170px;

    padding: 20px;

    background: #e5f1ed;
    border-radius: 4px;
}

.mock-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: flex-start;
}

.mock-copy small {
    font-size: 8px;
    letter-spacing: 0.12em;
    color: #087e70;
    font-weight: 700;
}

.mock-copy strong {
    display: block;

    color: #203650;

    font-family: Arial, sans-serif;
    font-size: clamp(20px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.04em;

    margin: 10px 0 14px;
}

.mock-copy > span {
    display: inline-block;

    padding: 5px 9px;

    background: #203650;
    color: #ffffff;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.mock-art {
    position: relative;
    overflow: hidden;

    min-height: 120px;
}

.art-circle {
    position: absolute;

    width: 85px;
    height: 85px;

    top: 8%;
    left: 10%;

    border-radius: 50%;
    background: #69ddca;
}

.art-square {
    position: absolute;

    width: 75px;
    height: 75px;

    bottom: 10%;
    right: 8%;

    background: #203650;

    transform: rotate(25deg);

    border-radius: 8px;
}

.art-ring {
    position: absolute;

    top: 25%;
    right: 2%;

    width: 65px;
    height: 65px;

    border: 10px solid #e7b979;
    border-radius: 50%;
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin-top: 18px;
}

.mock-image {
    height: 65px;

    border-radius: 3px;

    margin-bottom: 10px;
}

.mock-image-a {
    background: linear-gradient(
        135deg,
        #203650 50%,
        #69ddca 50%
    );
}

.mock-image-b {
    background: linear-gradient(
        30deg,
        #e7b979 45%,
        #f4e7cd 45%
    );
}

.mock-image-c {
    background: radial-gradient(
        circle at center,
        #69ddca 25%,
        #dcece6 26%
    );
}

.mock-cards i {
    display: block;

    width: 90%;
    height: 4px;

    margin-bottom: 5px;

    background: #dce4e9;
    border-radius: 3px;
}

.mock-cards i:last-child {
    width: 60%;
}

.design-palette {
    position: relative;

    display: flex;
    gap: 7px;

    width: fit-content;

    margin-top: -6px;
    margin-left: auto;

    padding: 10px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 6px;

    box-shadow: 0 8px 20px #20365018;
}

.design-palette span {
    width: 24px;
    height: 24px;

    border-radius: 3px;
}

.design-palette span:nth-child(1) {
    background: #203650;
}

.design-palette span:nth-child(2) {
    background: #087e70;
}

.design-palette span:nth-child(3) {
    background: #69ddca;
}

.design-palette span:nth-child(4) {
    background: #e7b979;
}

.design-palette span:nth-child(5) {
    background: #e5f1ed;
}

.creative-visual-caption {
    margin: 15px 0 0 !important;

    text-align: center;

    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 0.16em;
}

/* ======================================
   資格取得の価値
====================================== */

.section-dark {
    background: var(--navy);
    color: #cbd7e7;
}

.section-dark .section-label,
.section-dark .section-title span {
    color: var(--accent);
}

.section-dark .section-title {
    color: var(--white);
}

.value-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 20px;

    padding: 25px;

    border: 1px solid #3b506b;
    background: #ffffff05;
    border-radius: 6px;
}

.value-item > span {
    color: var(--accent);

    font-size: 28px;
    font-weight: 800;

    font-family: Arial, sans-serif;
}

.value-item h3 {
    color: var(--white);
    font-size: 19px;

    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ======================================
   ITを活用できる人材
====================================== */

.message-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 65px;

    align-items: center;
}

.message-layout .section-title {
    margin-bottom: 0;
}

.message-copy p:last-child {
    margin-bottom: 0;
}

/* ======================================
   進路別学習プラン
====================================== */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 25px;
}

.plan-card {
    padding: 25px 20px;

    text-align: center;

    background: var(--background);
    border-radius: 8px;

    border-top: 3px solid var(--navy-light);
}

.plan-creative {
    background: #eef8f5;
    border-top-color: var(--accent-dark);
}

.plan-label {
    color: var(--accent-dark);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.plan-card h3 {
    font-size: 20px;
    color: var(--navy);

    margin-bottom: 26px;
}

.plan-step {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 55px;

    padding: 10px 8px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;
}

.step-arrow {
    padding: 5px 0;

    color: var(--accent-dark);

    font-weight: 800;
    font-size: 24px;
}

.plan-card > p:last-child {
    margin: 20px 0 0;

    text-align: left;
    font-size: 14px;
}

/* ======================================
   講師紹介
====================================== */

.teacher-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 65px;

    align-items: center;
}

.teacher-photo {
    overflow: hidden;

    border-radius: 10px;
    background: var(--navy-light);
}

.teacher-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
}

.photo-placeholder {
    min-height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    color: var(--accent);

    background: radial-gradient(
        circle at center,
        #2b536e,
        var(--navy)
    );
}

.photo-placeholder span {
    font-size: 110px;
    font-weight: 800;
    font-family: Arial, sans-serif;

    line-height: 1.4;
}

.photo-placeholder p {
    font-size: 11px;
    letter-spacing: 0.18em;
}

.credential-title {
    font-size: 17px;
    color: var(--navy);

    margin: 25px 0 12px;
}

.credential-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.credential-list li {
    position: relative;

    padding: 8px 0 8px 23px;

    border-bottom: 1px solid var(--border);

    font-size: 14px;
}

.credential-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--accent-dark);

    font-weight: 800;
}

/* ======================================
   料金
====================================== */

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    max-width: 800px;
    margin: 0 auto;

    gap: 25px;
}

.price-card {
    text-align: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    padding: 40px 25px;

    background: var(--white);
}

.price-featured {
    background: #f3fcf9;
    border: 2px solid var(--accent-dark);
}

.price-card h3 {
    color: var(--navy);
    font-size: 21px;

    margin-bottom: 14px;
}

.price {
    color: var(--navy);

    margin-bottom: 18px;

    font-weight: 700;
    font-size: 15px;
}

.price span {
    font-size: 47px;
    font-weight: 800;

    font-family: Arial, sans-serif;
    letter-spacing: -0.04em;
}

.price-card > p:last-child {
    font-size: 14px;
    margin-bottom: 0;
}

.price-note {
    margin-top: 25px;
}

/* ======================================
   よくある質問
====================================== */

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 6px;

    padding: 20px 25px;
}

.faq-list summary {
    display: flex;
    align-items: center;

    cursor: pointer;
    list-style: none;

    color: var(--navy);
    font-weight: 700;

    gap: 12px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::before {
    content: "Q.";

    color: var(--accent-dark);

    font-size: 22px;
    font-weight: 800;

    flex-shrink: 0;
}

.faq-list summary::after {
    content: "+";

    color: var(--accent-dark);
    font-size: 23px;

    margin-left: auto;

    flex-shrink: 0;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 18px 0 0;
    padding-left: 30px;

    font-size: 15px;
}

/* ======================================
   無料体験
====================================== */

.contact {
    background:
        radial-gradient(
            circle at 50% 100%,
            #254e63,
            transparent 70%
        ),
        var(--navy);

    color: #dce6f2;
}

.contact .section-label {
    color: var(--accent);
}

.contact .section-title {
    color: var(--white);
    font-size: clamp(34px, 4vw, 48px);
}

.contact .button {
    margin-top: 18px;
}

.contact-tel-label {
    margin: 32px 0 0;

    font-size: 13px;
    color: #bfd0e1;
}

.contact-tel {
    display: block;

    color: var(--white);

    font-size: 32px;
    font-weight: 800;

    font-family: Arial, sans-serif;

    margin: 5px 0 15px;
}

.contact .small-text {
    color: #bfd0e1;
}

/* ======================================
   フッター
====================================== */

.footer {
    padding: 40px 0 20px;

    color: #bccbdc;
    background: #0a1423;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;
}

.footer h2 {
    color: var(--white);
    font-size: 17px;

    margin-bottom: 8px;
}

.footer p,
.footer a {
    font-size: 13px;
}

.footer a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;

    border-top: 1px solid #ffffff18;

    padding-top: 20px;

    margin: 25px 0 0;
}

.mobile-cta {
    display: none;
}

/* ======================================
   タブレット
====================================== */

@media (max-width: 1000px) {

    .nav {
        display: none;
    }

    .hero-inner {
        gap: 30px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-description br {
        display: none;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar:nth-child(2) {
        border-right: 0;
    }

    .pillar:nth-child(-n+2) {
        border-bottom: 1px solid #ffffff25;
    }

    .pillar h2 {
        font-size: 23px;
    }

    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course-card {
        padding: 25px;
    }

    .creative-card {
        padding: 30px;
        gap: 25px;
    }

    .creative-visual {
        padding: 15px 0;
    }

    .mock-content {
        padding: 12px;
    }

    .mock-hero {
        padding: 12px;
    }

    .value-layout,
    .teacher-layout,
    .message-layout {
        gap: 35px;
    }

    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-card {
        padding: 25px;
    }

    .plan-card h3 {
        font-size: 23px;
    }

}

/* ======================================
   スマートフォン
====================================== */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 80px;
    }

    body {
        font-size: 15px;
        padding-bottom: calc(
            72px + env(safe-area-inset-bottom, 0px)
        );
    }

    .container {
        width: calc(100% - 40px);
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .section-intro br {
        display: none;
    }

    /* ヘッダー */

    .header-inner {
        min-height: 66px;
        gap: 10px;
    }

    .logo {
        font-size: 15px;
    }

    .logo small {
        font-size: 10px;
    }

    .button-small {
        padding: 8px 15px;
        font-size: 12px;
    }

    /* メインビジュアル */

    .hero-inner {
        grid-template-columns: 1fr;

        padding-top: 42px;
        padding-bottom: 45px;

        gap: 35px;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 47px);
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-description br {
        display: none;
    }

    .hero-tags {
        gap: 6px;
    }

    .hero-tags span {
        font-size: 11px;
        padding: 4px 9px;
    }

    .hero-copy .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 350px;
        margin: 0 15px;
    }

    .code-content {
        font-size: 12px;
        padding: 20px;
    }

    .visual-label {
        padding: 10px 15px;
        font-size: 9px;
    }

    .visual-label strong {
        font-size: 18px;
    }

    .label-top {
        top: -5px;
        right: -10px;
    }

    .label-bottom {
        left: -10px;
        bottom: -10px;
    }

    /* 4つの柱 */

    .pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar {
        padding: 18px 10px;
    }

    .pillar span {
        font-size: 9px;
        letter-spacing: 0.04em;
    }

    .pillar h2 {
        font-size: clamp(14px, 4vw, 19px);
        margin: 5px 0;
    }

    .pillar p {
        font-size: 11px;
    }

    /* 各セクション */

    .concern-grid,
    .course-grid,
    .value-layout,
    .message-layout,
    .plan-grid,
    .teacher-layout,
    .price-grid {
        grid-template-columns: 1fr;
    }

    .concern {
        padding: 16px;
        font-size: 14px;
    }

    .conclusion,
    .emphasis {
        font-size: 19px;
    }

    #concept p:not(.section-label):not(.emphasis) br {
        display: none;
    }

    /* カリキュラム */

    .course-card {
        padding: 25px;
    }

    .course-card h3 {
        font-size: 23px;
    }

    /* WEBクリエイター */

    .creative-card {
        grid-column: auto;
        grid-template-columns: 1fr;

        padding: 25px;

        gap: 20px;
    }

    .creative-card h3 {
        font-size: 25px;
    }

    .creative-visual {
        padding: 15px 0 0;
    }

    .mock-hero {
        min-height: 145px;
    }

    .mock-copy strong {
        font-size: 25px;
    }

    .mock-navigation i {
        width: 16px;
    }

    .art-circle {
        width: 65px;
        height: 65px;
    }

    .art-square {
        width: 50px;
        height: 50px;
    }

    .art-ring {
        width: 48px;
        height: 48px;

        border-width: 7px;
    }

    .mock-image {
        height: 45px;
    }

    /* 資格取得の価値 */

    .value-item {
        padding: 20px;
    }

    .value-item h3 {
        font-size: 17px;
    }

    /* IT活用 */

    .message-layout {
        gap: 25px;
    }

    /* 学習プラン */

    .plan-card {
        padding: 30px 25px;
    }

    /* 講師紹介 */

    .photo-placeholder {
        min-height: 280px;
    }

    .teacher-photo img {
        aspect-ratio: 4 / 3;
    }

    /* FAQ */

    .faq-list details {
        padding: 16px;
    }

    .faq-list details p {
        padding-left: 0;
    }

    /* 無料体験 */

    .button-large {
        width: 100%;

        padding: 18px 15px;

        font-size: 17px;
    }

    /* フッター */

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* スマートフォン固定ボタン */

    .mobile-cta {
        display: block;

        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 200;

        padding: 10px 20px;

        padding-bottom: calc(
            10px + env(safe-area-inset-bottom, 0px)
        );

        background: var(--white);

        box-shadow: 0 -3px 15px #0001;
    }

    .mobile-cta .button {
        width: 100%;

        padding: 12px;

        font-size: 15px;
    }

}

/* ======================================
   小型スマートフォン
====================================== */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 28px);
    }

    .logo {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-visual {
        margin-inline: 5px;
    }

    .course-card {
        padding: 20px;
    }

    .mock-copy strong {
        font-size: 21px;
    }

    .mock-hero {
        padding: 10px;
    }

    .design-palette span {
        width: 20px;
        height: 20px;
    }

}

/* ======================================
   アニメーション軽減設定
====================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }

}

/* 無料体験フォーム */
.trial-form {
    margin-top: 32px;
    padding: clamp(20px, 5vw, 40px);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    text-align: left;
}

.trial-form .ycc-form__row {
    margin-bottom: 20px;
}

.trial-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 700;
}

.trial-form label span {
    display: inline-block;
    margin-inline-start: 8px;
    padding-inline: 6px;
    border-radius: 3px;
    background: var(--background);
    color: var(--accent-dark);
    font-size: 12px;
}

.trial-form input:not([type="submit"]):not([type="hidden"]),
.trial-form select,
.trial-form textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--muted);
    border-radius: 4px;
    background: var(--white);
    color: var(--text);
    font: inherit;
}

.trial-form textarea {
    min-height: 110px;
    resize: vertical;
}

.trial-form :is(input, select, textarea):focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 3px;
}

.trial-form .ycc-form__note {
    margin: 6px 0 0;
    font-size: 14px;
}

.trial-form .ycc-form__submit {
    text-align: center;
}

.trial-form input[type="submit"] {
    max-width: 100%;
    padding: 12px 24px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: var(--navy);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.trial-form input[type="submit"]:disabled {
    opacity: .6;
    cursor: default;
}

.trial-form .wpcf7-spinner {
    display: block;
    margin: 8px auto 0;
}

.trial-form .wpcf7-response-output {
    margin-inline: 0 !important;
}
