@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み → HTMLのheadに移動（パフォーマンス最適化）
---------------------------------------------------------------------------*/


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");
@import url("mainimg.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

    --primary-color: #1a2b5e;
    /*ネイビー（メイン）*/
    --primary-inverse-color: #fff;
    /*白*/

    --secondary-color: #0f1a3a;
    /*ダークネイビー*/
    --secondary-inverse-color: #fff;
    /*白*/

    --accent-color: #e63946;
    /*アクセント赤*/
    --accent-inverse-color: #fff;
    /*白*/

    /*余白の一括管理用*/
    --content-space: 4rem;

}


/*animation1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes animation1 {
    0% {
        left: -200px;
    }

    100% {
        left: 0px;
    }
}


/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {
    box-sizing: border-box;
}

html,
body {
    font-size: 13px;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    html,
    body {
        font-size: 15px;
    }

}

/*追加指定ここまで*/


body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", sans-serif;
    -webkit-text-size-adjust: none;
    background: #fff;
    color: #555;
    line-height: 2;
    overflow-x: hidden;
}

/*リセット*/
figure {
    margin: 0;
}

dd {
    margin: 0;
}

nav,
ul,
li,
ol {
    margin: 0;
    padding: 0;
}

nav ul {
    list-style: none;
}

/*table全般の設定*/
table {
    border-collapse: collapse;
}

/*画像全般の設定*/
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/*videoタグ*/
video {
    max-width: 100%;
}

/*iframeタグ*/
iframe {
    width: 100%;
}

/*他*/
input {
    font-size: 1rem;
}

/*section*/
section {
    padding: var(--content-space);
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: inherit;
    transition: 0.3s;
}

/*マウスオン時*/
a:hover {
    filter: brightness(1.1);
}


/*コンテナー
---------------------------------------------------------------------------*/
#container {
    position: relative;
    animation: opa1 0.2s 0.4s both;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0 auto;
}


/*header
---------------------------------------------------------------------------*/
header {
    padding: 1rem var(--content-space);
    color: #fff;
    position: absolute;
    width: 100%;
    z-index: 10;
}

header a {
    color: inherit;
}

/*ロゴ*/
#logo img {
    display: block;
    width: 140px;
}

/*画面幅500px以上*/
@media screen and (min-width:500px) {
    #logo img {
        width: 180px;
    }
}

@media screen and (min-width:900px) {
    #logo img {
        width: 220px;
    }
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    header {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        align-items: center;
    }

}

/*追加指定ここまで*/


/*header-box
---------------------------------------------------------------------------*/
#header-box * {
    margin: 0;
    padding: 0;
}

@media screen and (min-width:900px) {

    #header-box {
        margin-right: 30px;
    }

}

/*追加指定ここまで*/


#header-box .btn {
    list-style: none;
    display: flex;
    gap: 1rem;
}

#header-box .btn a {
    display: block;
    text-decoration: none;
    padding: 0.5rem 2rem;
    border-radius: 3px;
}

#header-box .btn i {
    margin-right: 1rem;
    transform: scale(1.4);
}

@media screen and (max-width:500px) {

    #header-box .btn {
        display: inline-block;
    }

    #header-box .btn li {
        margin-bottom: 0.5rem;
    }

    #header-box .btn a {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }

    #header-box .btn i {
        margin-right: 0.5rem;
        transform: scale(1.1);
    }

}

/*追加指定ここまで*/


/*開閉メニュー
---------------------------------------------------------------------------*/
#menubar {
    animation: animation1 0.2s both;
    position: fixed;
    overflow: auto;
    z-index: 100;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    padding: 100px var(--content-space) 50px;
    background: var(--primary-color);
    color: var(--primary-inverse-color);
}

#menubar a {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #fff;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
    display: flex;
    animation: opa1 0s 0.2s both;
    position: fixed;
    z-index: 101;
    cursor: pointer;
    right: 0px;
    top: 0px;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 0px 0px 0px 20px;
    transform-origin: right top;
    transform: scale(1);
}

#menubar_hdr.ham {
    background: var(--accent-color);
}

#menubar_hdr span {
    display: block;
    position: absolute;
    left: 18px;
    width: 35px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) {
    top: 24px;
}

#menubar_hdr span:nth-of-type(2) {
    top: 34px;
}

#menubar_hdr span:nth-of-type(3) {
    top: 44px;
}

#menubar_hdr.ham span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}

#menubar_hdr.ham span:nth-of-type(2) {
    opacity: 0;
}

#menubar_hdr.ham span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
}


/*お知らせバー（ヒーロー直下）
---------------------------------------------------------------------------*/
.new-top * {
    margin: 0;
    padding: 0;
}

.new-top {
    position: relative;
    z-index: 5;
    width: 90%;
    max-width: 900px;
    margin: -3rem auto 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.new-top a:hover {
    opacity: 0.8;
}

.new-top h2 {
    font-size: 0.85rem;
    font-weight: bold;
    background: var(--primary-color);
    color: #fff;
    border-radius: 3px;
    padding: 0.2rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.new-top-list {
    flex: 1;
    min-width: 0;
}

.new-top-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.new-top-item:last-child {
    border-bottom: none;
}

.new-top .text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.new-top .new-list {
    flex-shrink: 0;
}

.new-top .new-list a {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

@media screen and (max-width:600px) {
    .new-top {
        flex-direction: column;
        margin: -2rem auto 1.5rem;
        width: 92%;
    }

    .new-top-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}


/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
    flex: 1;
}

body:not(.home) #contents {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

#contents ul,
#contents ol {
    margin-left: 2rem;
    margin-right: 2rem;
}


/*p要素
---------------------------------------------------------------------------*/
p {
    margin-left: 1rem;
    margin-right: 1rem;
}


/*main
---------------------------------------------------------------------------*/
main h2 {
    margin: 0;
    padding: 0;
    font-size: 2.4rem;
    font-weight: normal;
    margin-bottom: 5vw;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
}

main h2 span.small {
    display: inline-block;
    border-top: 2px solid var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.6;
    letter-spacing: 0.1rem;
    padding-top: 2rem;
}

main h2.c {
    align-items: center;
}



/*2カラムブロック（私たちのこだわり→スクールの魅力）
---------------------------------------------------------------------------*/
.list-half * {
    margin: 0;
    padding: 0;
}

#kodawari {
    background: url("../images/bg-kodawari.png") no-repeat left top / 50vw;
}

.list-half .list {
    display: flex;
    flex-direction: column;
    margin-bottom: 3.5rem;
    gap: 1.5rem;
}

.list-half .list h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.list-half .list h4 span {
    display: block;
    opacity: 0.5;
    font-weight: normal;
    font-size: 0.5em;
    letter-spacing: 0.1em;
}

.list-half .list p {
    line-height: 1.9;
    font-size: 0.95rem;
}

.list-half .image-l img,
.list-half .image-r img {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

@media screen and (min-width:900px) {

    .list-half .list {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }

    .list-half .image-l,
    .list-half .image-r {
        width: 42%;
        flex-shrink: 0;
    }

    .list-half .image-r {
        order: 1;
    }

    .list-half .image-l {
        order: -1;
    }

    .list-half .text {
        flex: 1;
    }

    .list-half .image-l img,
    .list-half .image-r img {
        max-width: 100%;
    }

}

/*追加指定ここまで*/


/*list-grid7（サービス紹介→講義内容）
---------------------------------------------------------------------------*/
.list-grid7 .list * {
    margin: 0;
    padding: 0;
}

.list-grid7 .list {
    display: grid;
    position: relative;
    border-radius: 5px;
    background: #fafafa;
    color: #555;
    border: 1px solid #ccc;
    padding: 2rem;
    margin-bottom: 2rem;
}

.list-grid7 .list h4 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.list-grid7 .list h4 span {
    display: block;
    font-weight: normal;
    font-size: 0.7em;
}

.list-grid7 .list p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.list-grid7 .list figure {
    margin: 0 auto;
    margin-bottom: 1rem;
}

@media screen and (min-width:800px) {

    .list-grid7 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem
    }

}

/*追加指定ここまで*/


/*ご利用の流れ
---------------------------------------------------------------------------*/
.flow-box * {
    margin: 0;
    padding: 0;
}

#flow {
    background: url("../images/bg-flow.png") no-repeat right top / 50vw;
}

.flow-box {
    position: relative;
    margin-bottom: 4rem;
}

.flow-box .title h3 {
    background: var(--primary-color);
    color: var(--primary-inverse-color);
    margin-left: calc(-1 * var(--content-space));
    margin-right: calc(-1 * var(--content-space));
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.flow-box .title h3 span {
    display: block;
    font-size: 0.7em;
}

.flow-box .step-num {
    display: inline-block;
    position: absolute;
    left: 0px;
    top: -50px;
    width: 100%;
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 2px 2px 4px rgba(255, 255, 255, 0.9);
    font-weight: 900;
}

.flow-box .text h3 {
    background: rgba(255, 255, 255, 0.85);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 4px;
}

@media screen and (min-width:900px) {

    .flow-box {
        display: flex;
        align-items: flex-start;
        gap: 5rem;
    }

    .flow-box .step-num {
        top: -100px;
        font-size: 5rem;
        opacity: 0.15;
        text-shadow: none;
    }

    .flow-box .title {
        width: 30%;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
    }

    .flow-box .title h3 {
        margin-right: auto;
        border-radius: 0 100px 100px 0;
    }

    .flow-box .text {
        flex: 1;
    }

    .flow-box .text h3 {
        background: none;
        display: block;
        padding: 0;
    }

}

/*追加指定ここまで*/


/*ステップボックス
---------------------------------------------------------------------------*/
ul.step {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

ul.step li {
    border: 2px solid var(--primary-color);
    padding: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

ul.step li::after {
    content: "▼";
    transform: scaleX(2);
    position: absolute;
    left: 50%;
    bottom: -2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

ul.step li:last-child::after {
    content: "";
}


/*list-yoko-scroll（お客様の声）
---------------------------------------------------------------------------*/
.list-yoko-scroll * {
    margin: 0;
    padding: 0;
}

.list-yoko-scroll {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-right: calc(-1 * var(--content-space));
}

.list-yoko-scroll::-webkit-scrollbar {
    display: none;
}

.list-yoko-scroll .list {
    width: 60%;
    flex-shrink: 0;
    scroll-snap-align: start;
    margin-right: 2rem;
    position: relative;
    color: var(--primary-inverse-color);
    background: var(--primary-color);
    border-radius: 1rem;
    padding: 2rem;
}

@media screen and (min-width:600px) {

    .list-yoko-scroll .list {
        width: 28%;
    }

}

/*追加指定ここまで*/


.list-yoko-scroll .list:nth-of-type(even) {
    transform: translateY(30px);
}

.list-yoko-scroll .list::before {
    content: "▲";
    color: var(--primary-color);
    font-size: 30px;
    position: absolute;
    left: 30%;
    top: -40px;
}

.list-yoko-scroll .list .text {
    font-size: 0.85rem;
    line-height: 1.5;
}


/*よく頂く質問ブロック
---------------------------------------------------------------------------*/
.faq {
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.faq dt {
    display: flex;
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    cursor: pointer;
}

.faq dt::before {
    content: "＋";
    margin-right: 1rem;
    flex-shrink: 0;
    background: var(--primary-color);
    color: var(--primary-inverse-color);
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    transform: translateY(5px);
}

.faq dt.active::before {
    content: "ー";
}

.faq dd {
    margin: 0 1rem 1rem 4rem;
    padding: 1rem 2rem;
    background: #fff;
    color: #333;
    border-radius: 5px;
}


/*btn共通設定
---------------------------------------------------------------------------*/
.btn a {
    display: block;
    text-decoration: none;
    background: var(--accent-color);
    color: var(--accent-inverse-color);
    text-align: center;
}

.btn a:hover {
    background: var(--accent-inverse-color);
    color: var(--accent-color);
}


/*フッター上のボタン
---------------------------------------------------------------------------*/
.btn-box .btn i {
    margin-right: 2rem;
    transform: scale(1.4);
}

.btn-box .btn {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 80vh;
    font-size: 1.5rem;
}

.btn-box .btn li {
    width: 80vw;
}

.btn-box .btn a {
    border-radius: 10px;
    padding: 1rem 2rem;
}

@media screen and (min-width:900px) {

    .btn-box .btn {
        flex-direction: row;
    }

    .btn-box .btn li {
        width: 40vw;
    }

}

/*追加指定ここまで*/


/*波のアニメーション
---------------------------------------------------------------------------*/
@keyframes move-wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.wave-section {
    position: relative;
    padding-top: 79px;
    top: -79px;
    margin-bottom: -79px;
}

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

.wave-wrap use {
    fill: var(--primary-color);
}

.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
}

.wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wave .wave-wrap {
    transform-box: fill-box;
    transform-origin: 0 0;
    animation: move-wave 10s linear infinite;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
    transform: rotate(180deg);
}


/*フッター
---------------------------------------------------------------------------*/
#footer ul {
    list-style: none;
}

#footer {
    background: var(--primary-color);
    color: var(--primary-inverse-color);
    padding: var(--content-space);
}

#footer div.footer1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#footer div.footer2 {
    flex: 1;
}

@media screen and (min-width:700px) {

    #footer {
        display: flex;
        gap: 2rem;
    }

    #footer div.footer1 {
        text-align: left;
        width: 40%;
    }

}

/*追加指定ここまで*/


#footer small {
    display: block;
    text-align: right;
    margin-top: 2rem;
}


/*SNSアイコン
---------------------------------------------------------------------------*/
#footer .sns {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#footer .sns i {
    font-size: 30px;
}


/*Google Map用
---------------------------------------------------------------------------*/
#footer .iframe {
    width: 100%;
    height: 0;
    padding-top: 56.25% !important;
    position: relative;
    overflow: hidden;
}

#footer .iframe iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}


/*講師プロフィールセクション
---------------------------------------------------------------------------*/
.instructor-section {
    padding: var(--content-space);
    background: #f8f9fa;
}

.instructor-profile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.instructor-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.instructor-info {
    flex: 1;
}

.instructor-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.instructor-info .title-role {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    display: block;
}

.instructor-info .bio {
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

.instructor-detail {
    margin-top: 1rem;
}

.instructor-detail h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.instructor-detail ul {
    list-style: none;
    margin: 0 !important;
    padding: 0;
}

.instructor-detail li {
    font-size: 0.9rem;
    padding: 0.2rem 0;
}

.instructor-detail li::before {
    content: "・";
    color: var(--primary-color);
}

@media screen and (min-width:700px) {

    .instructor-profile {
        flex-direction: row;
        align-items: flex-start;
    }

}

/*追加指定ここまで*/


/*スケジュール（Googleカレンダー）セクション
---------------------------------------------------------------------------*/
.schedule-calendar {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-note {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-inverse-color);
}

.schedule-note i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.calendar-embed {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 530px;
}

.calendar-embed iframe {
    display: block;
    width: 100%;
    min-height: 500px;
}

@media screen and (min-width:700px) {
    .calendar-embed iframe {
        min-height: 600px;
    }
}


/*講師 And More
---------------------------------------------------------------------------*/
.instructor-more {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.instructor-more p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.instructor-more span {
    font-size: 0.9rem;
    color: #888;
}


/*開催情報セクション（カスタム）
---------------------------------------------------------------------------*/
.info-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    color: var(--accent-inverse-color);
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.info-card .capacity-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
}

.tuition-link {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.3s;
}

.tuition-link:hover {
    opacity: 0.7;
}

@media screen and (min-width:700px) {

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/*追加指定ここまで*/


/*著作部分
---------------------------------------------------------------------------*/
.pr a {
    text-decoration: none;
    display: block;
    background: #555;
    color: #ccc;
    text-align: right;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.pr a::before {
    font-family: "Font Awesome 6 Free";
    content: "\e2ca";
    font-weight: bold;
    margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
    display: block;
}

.pagetop a {
    display: block;
    text-decoration: none;
    text-align: center;
    z-index: 99;
    animation: opa1 1s 0.4s both;
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: #fff;
    font-size: 1.5rem;
    background: rgba(26, 43, 94, 0.7);
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
}


/*bg1
---------------------------------------------------------------------------*/
.bg1 {
    background: var(--secondary-color);
    color: var(--secondary-inverse-color);
}


/*背景画像が少しずつ上に移動する
---------------------------------------------------------------------------*/
.bg-slideup {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.slideup1 {
    background-image: url("../images/bg-slideup1.jpg");
    color: #fff;
    border-radius: 10vw 10vw 0 0;
}

.slideup2 {
    background-image: url("../images/bg-slideup2.jpg");
    position: relative;
}

.slideup2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 20vh;
    background: linear-gradient(var(--secondary-color), transparent);
}


/*お知らせブロック
---------------------------------------------------------------------------*/
.new dd {
    padding-bottom: 1rem;
}

.new dt span {
    display: inline-block;
    text-align: center;
    line-height: 1.8;
    border-radius: 2px;
    padding: 0 1rem;
    width: 8rem;
    transform: scale(0.85);
    border: 1px solid #777;
}

.new .icon-bg1 {
    border-color: transparent;
    background: #cd0000;
    color: #fff;
}

.new .icon-bg2 {
    border-color: transparent;
    background: var(--primary-color);
    color: var(--primary-inverse-color);
}

@media screen and (min-width:700px) {

    .new {
        display: grid;
        grid-template-columns: auto 1fr;
    }

}

/*追加指定ここまで*/


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.1) rotate(-30deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.fade-in-text {
    visibility: hidden;
}

.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.2s linear both;
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.color-check,
.color-check a {
    color: #ff0000 !important;
}

.l {
    text-align: left !important;
}

.c {
    text-align: center !important;
}

.r {
    text-align: right !important;
}

.ws {
    width: 95%;
    display: block;
}

.wl {
    width: 95%;
    display: block;
}

.mb0 {
    margin-bottom: 0px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb5rem {
    margin-bottom: 5rem !important;
}

.look {
    display: inline-block;
    padding: 0px 10px;
    background: #eee;
    border: 1px solid #ccc;
    color: #888;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}

.small {
    font-size: 0.75em;
}

.large {
    font-size: 2em;
    letter-spacing: 0.1em;
}

.pc {
    display: none;
}

.dn {
    display: none !important;
}

.block {
    display: block !important;
}

@media screen and (min-width:900px) {

    .ws {
        width: 48%;
        display: inline;
    }

    .sh {
        display: none;
    }

    .pc {
        display: block;
    }

}

/*追加指定ここまで*/


/*スクリーンリーダー専用（SEO用h1等）
---------------------------------------------------------------------------*/
.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;
}


/*法的ページのスタイル
---------------------------------------------------------------------------*/
.legal-page {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.legal-page h2 {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-page h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--primary-color);
}

.legal-page p,
.legal-page li {
    line-height: 1.8;
}

.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.legal-table th,
.legal-table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: var(--primary-color);
    color: #fff;
    white-space: nowrap;
    width: 30%;
}

.legal-date {
    text-align: right;
    margin-top: 2rem;
    color: #666;
}


/*フッター法的リンク
---------------------------------------------------------------------------*/
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-access {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.footer-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}


/*DDSの魅力 - 紹介文
---------------------------------------------------------------------------*/
.kodawari-intro-wrapper {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.kodawari-intro {
    text-align: left;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.kodawari-intro:last-child {
    margin-bottom: 0;
}


/*料金プランセクション
---------------------------------------------------------------------------*/
.plans-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media screen and (min-width:800px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
}

@media screen and (min-width:1100px) {
    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plan-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.2rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.15em;
}

.plan-badge-popular {
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    color: #fff;
}

.plan-badge-premium {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a2b5e;
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 0 0.5rem;
    text-align: center;
    color: #fff;
}

.plan-price {
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
}

.price-period {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.2rem;
}

.plan-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.plan-features {
    list-style: none;
    margin: 0 0 2rem !important;
    padding: 0;
    flex: 1;
}

.plan-features li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
    font-size: 1.1rem;
}

.plan-cta {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--accent-color);
    color: #fff;
    margin-top: auto;
}

.plan-cta:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* Biz カード強調 */
.plan-biz {
    border-color: var(--accent-color);
    background: rgba(230, 57, 70, 0.08);
}

/* Pro カード強調 */
.plan-pro {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(255, 170, 0, 0.04));
}

.plan-pro .plan-cta {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a2b5e;
}

.plan-pro .plan-cta:hover {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Pro年間 カード強調 */
.plan-pro-annual {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 170, 0, 0.06));
}

.plan-pro-annual .plan-cta {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a2b5e;
}

.plan-pro-annual .plan-cta:hover {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* エンタープライズ */
.plan-enterprise {
    margin-top: 2rem;
}

.plan-enterprise-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-enterprise-header h3 {
    font-size: 1.5rem;
    margin: 0 0 0.8rem;
    color: #fff;
}

.plan-enterprise-header h3 i {
    margin-right: 0.5rem;
}

.plan-enterprise-header p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.enterprise-grid {
    display: grid;
    gap: 1.5rem;
}

@media screen and (min-width:700px) {
    .enterprise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.enterprise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.enterprise-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 1rem;
}

.enterprise-card h4 i {
    margin-right: 0.4rem;
    color: #4ecdc4;
}

.enterprise-price {
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.enterprise-price .price-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.enterprise-price .price-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.enterprise-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0 1.5rem;
    flex: 1;
}

.plan-cta-enterprise {
    white-space: nowrap;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    margin-top: auto;
}

.plan-cta-enterprise:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: none;
}

/* 統一CTAボタン */
.plans-cta-unified {
    text-align: center;
    margin: 2.5rem 0 1rem;
}

.plans-cta-unified .plan-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.plan-cta-apply {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b) !important;
    color: #fff !important;
}

.plan-cta-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5) !important;
}

.plan-cta-apply i {
    margin-right: 0.5rem;
}

.plan-cta-enterprise-unified {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

.plan-cta-enterprise-unified:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15) !important;
}

.plan-cta-enterprise-unified i {
    margin-right: 0.5rem;
}

/* コンパクトお問い合わせセクション */
.contact-compact {
    background: var(--primary-color);
    padding: 2rem;
}

.contact-compact-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.contact-compact-inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0;
}

.contact-compact-inner p i {
    margin-right: 0.4rem;
}

.contact-compact-btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-compact-btn:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.contact-compact-btn i {
    margin-right: 0.5rem;
}

@media screen and (min-width:700px) {
    .contact-compact-inner {
        flex-direction: row;
        justify-content: center;
    }
}


/*講義内容セクション（service）背景調整
---------------------------------------------------------------------------*/
#service {
    background: var(--secondary-color);
    color: var(--secondary-inverse-color);
}


/*リクルートボタン
---------------------------------------------------------------------------*/
.recruit-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 2rem;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all 0.3s;
}

.recruit-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.recruit-btn i {
    margin-right: 0.4rem;
}


/*リクルートページ
---------------------------------------------------------------------------*/
.recruit-message {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.1rem;
    line-height: 2;
}

.recruit-message p:first-child {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.recruit-back {
    text-align: center;
    margin-bottom: 3rem;
}

.recruit-back-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.recruit-back-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.recruit-back-btn i {
    margin-right: 0.4rem;
}


/*体験会予約の注記
---------------------------------------------------------------------------*/
.trial-only-note {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-weight: bold;
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}