/*
Version:1.1.9
*/

.kaigyoHeader {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}

.schoolTop {
    margin-top: 50px;
}

.schoolTop h1 {
    margin-top: 50px;
}

.schoolTop-title {
    font-size: 50px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    color: var(--color-orange);
}

.course-catch {
    margin: 50px auto;
}

.catchphrase {
    color: var(--color-orange);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in;
}

.description {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-in;
}

.block {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 280px; /* PC表示時の幅 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.block-title {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-orange);
    margin-bottom: 10px;
    white-space: nowrap;
}

.block img {
    width: 50px;
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.block p {
    font-size: 1em;
    color: #333;
}

.block:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    /* タブレット・スマホ表示時のスタイル */
    .block {
        width: 80vw;
    }

    .block-title {
        white-space: normal; /* タイトルは改行しても可 */
    }
}

.schoolTop-catchphrase {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

.schoolTop-block {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.schoolTop-block-img {
    width: 25%;
}

.schoolTop-block-course {
    width: 33%;
}

.schoolTop-block-discription {
    width: 42%;
}

.schoolTop-block-img,
.schoolTop-block-course,
.schoolTop-block-discription {
    margin: 15px;
}

.schoolTop-button {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.course-flex-row p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.course-flex-row ul {
    margin-left: 30px;
}

.qa {
    margin-top: 100px;
    margin-bottom: 100px
}

.qa-set {
    border-top: 2px solid var(--color-black);
}

.qa-set:last-child {
    border-bottom: 2px solid var(--color-black);
}

.qa-set-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 30px 20px;
}

.qa-set-block-qicon,
.qa-set-block-aicon {
    font-size: 25px;
    font-weight: bold;
    width: 3%;
    margin-block-start: 0;
    margin-block-end: 0;
}

.qa-set-block-qicon {
    width: 3%;
}

.qa-set-block-aicon {
    width: 10%;
}

.qa-set-block-qicon {
    color: var(--color-orange);
}

.qa-set-block-aicon {
    color: #ffffff;
}

.qa-set-block-aicon span{
    display: block;
    background-color: var(--color-orange);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
}

.qa-set-block-qtext {
    width: 97%;
}

.qa-set-block-atext {
    width: 90%;
    position: relative;
    background-color: #fff7eb;
    padding: 50px;
    border-radius: 30px;
}

.qa-set-block-qtext p {
    font-size: 24px;
    text-align: center;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    line-height: 28px;
}

.qa-set-block-atext p {
    line-height: 28px;
}

.qa-set-block-atext::before {
    content: "";
    position: absolute;
    left: -1.1rem;
    top: 50%;
    margin-top: -1.1rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1.1rem 1.1rem 1.1rem 0;
    border-color: rgba(0,0,0,0) #fff7eb rgba(0,0,0,0) rgba(0,0,0,0);
}

.qa-dashed {
    background-position: left top;
}

.qaMain-button {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.qa-set-iframe {
    width: 100%;
}

.qa-set-iframe iframe {
    width: 100%;
}

.qa-set-button {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--color-orange);
    background-color: #ffffff;
    cursor: pointer;
}

.qa-set-button.active {
    border: none;
    background-color: var(--color-orange);
    cursor: pointer;
}

.qa-set-button.active span {
    background-color: #ffffff !important;
}

.qa-set-button span:first-child {
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--color-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qa-set-button span:last-child {
    position: absolute;
    display: block;
    width: 3px;
    height: 15px;
    background-color: var(--color-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qa-set-button.active span:last-child {
    display: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .js-openQA-question:hover{
        background-color: #FFF3E5;
        cursor: pointer;
    }
}

.js-openQA-answer {
    height: 0;
    overflow: hidden;
    padding: 0;
}

.js-openQA-answer.active {
    height: fit-content;
    overflow: hidden;
    padding: 30px 20px;
}

.course {
    margin-bottom: 50px;
}

.course h2 {
    margin-top: 50px;
}

.course-container {
    text-align: center;
    margin: 50px auto;
    font-size: 20px;
}

.course-container h1 {
    font-size: 30px;
    margin: 20px auto;
}

.course-container ul {
    text-align: left;
    width: fit-content;
    margin: 0 auto;
}

.course-container li {
    padding: 10px 20px;
    list-style-type: none;
}

.course-container-dashed {
    background-image: linear-gradient(to right, gray, gray 4px, transparent 4px);
    background-size: 8px 1px;
    background-position: left bottom;
    background-repeat: repeat-x;
}

.course-title {
    width: 100%;
    text-align: center;
    background-color: #f2f2f2;
    border-top: 1px solid #a5a5a5;
    border-bottom: 1px solid #a5a5a5;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.course-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px;
}

.course-block-img {
    max-width: 420px;
    width: 100%;
}

.course-block-date {
    width: 20%;
}

.course-block-text {
    width: 80%;
}

.course-block-syosyo {
    width: 250px;
    margin-left: 30px;
}

.schoolAbout {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 100px;
}

.schoolAbout h2 {
    margin-top: 50px;
}

.schoolAbout-slider {
    width: 100%;
    background-color: #e6e6e6;
}

.schoolAbout-catchphrase {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.schoolAbout-block {
    display: flex;
    flex-direction: row;
    margin-bottom: 50px;
}

.schoolAbout-img {
    width: 50%;
    margin-right: 20px;
}

.schoolAbout-access {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schoolAbout-access a {
    margin-bottom: 20px;
}

.schoolAbout-access iframe {
    width: 100%;
    height: 400px;
}

.schoolAbout-access-text {
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    width: fit-content;
    margin-bottom: 20px;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position: relative;
    z-index: 1;
    /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
}

/*　背景画像設定　*/

.slider-item {
    width: 100%;
    /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;
    /*背景画像をリピートしない*/
    background-position: center;
    /*背景画像の位置を中央に*/
    background-size: cover;
    /*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

.slick-prev,
.slick-next {
    position: absolute;
    z-index: 3;
    top: 50%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #fff;
    /*矢印の色*/
    border-right: 2px solid #fff;
    /*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: 2.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: 2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-bottom: 20px;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 13px;
    /*ドットボタンのサイズ*/
    height: 13px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #cfcfcf;
    border: none;
    cursor: pointer;
}

.slick-dots .slick-active button {
    background: #ffffff;
    /*ドットボタンの現在地表示の色*/
}

.slider-item-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.slider-item-block-img {
    width: 170px;
    height: 170px;
}

.slider-item-block-bold {
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px
}

.slider-item-block-discri {
    text-align: center;
}

.kaigyoMain {
    margin-top: 50px;
}

.kaigyoMain h1 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.kaigyoMain h3 {
    font-size: 22px;
    text-align: center;
}

.kaigyoMain-title {
    color: #ffffff;
    background-color: #c00000;
    text-align: center;
    padding: 10px;
    margin-top: 50px;
}

.kaigyoMain-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.kaigyoMain-block-img {
    width: 35%;
    padding-right: 100px;
}

.kaigyoMain-block-img-right {
    width: 35%;
    padding-left: 100px;
}

.kaigyoMain-block-text {
    width: 65%;
}

.kaigyoMain-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.kaigyoMain-checkbox-check {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #c90;
    padding: 0 25px;
    margin: 5px;
    font-size: 32px;
    height: 55px;
}

.kaigyoMain-checkbox-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #ffc;
    padding: 10px 25px;
    margin: 10px;
    font-size: 24px;
    width: 100%;
}

@media screen and (max-width: 991px) {
    .kaigyoMain-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .kaigyoMain-block-img {
        width: 60%;
        padding-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .sans28-title {
        margin-bottom: 20px;
    }

    .course-block-img {
        max-width: 300px;
        width: 100%;
    }

    .course-title {
        font-size: 20px !important;
    }

    .schoolTop h3 {
        font-size: 18px;
        text-align: center;
    }

    .schoolTop-block {
        margin-top: 30px;
        margin-bottom: 30px;
        flex-direction: column;
    }

    .schoolTop-block-img {
        width: 80%;
    }

    .schoolTop-block-course {
        width: 80%;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .schoolTop-block-discription {
        width: 80%;
    }

    .schoolAbout-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }

    .qa-set-block.js-openQA-answer.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }

    .qa-set-block-aicon span {
        display: block;
        background-color: var(--color-orange);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        text-align: center;
        margin-bottom: 10px;
    }

    .qa-set-block-atext::before {
        display: none;
    }

    .kaigyoMain h1 {
        font-size: 36px;
    }

    .kaigyoMain h3 {
        font-size: 18px;
    }

    .kaigyoMain-checkbox-text {
        font-size: 18px;
    }

    .kaigyoMain-block-text {
        width: 90%;
    }
}

@media screen and (max-width: 479px) {
    .kaigyoMain h1 {
        font-size: 28px;
        font-weight: bold;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .kaigyoHeader h2 {
        text-align: center;
        font-size: 20px !important;
    }

    .kaigyoMain-checkbox-text {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background-color: #ffc;
        padding: 10px 25px;
        margin: 10px;
        font-size: 18px;
        width: 100%;
    }

    .kaigyoMain-block-text {
        width: 100%;
    }

    .kaigyoMain-block-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .kaigyoMain-form-button {
        width: 80%;
        margin-bottom: 20px;
    }

    .kaigyoMain-contact {
        font-size: 20px;
    }

    .kaigyoDate-discri {
        font-size: 20px;
    }

    .qa-set-block-atext {
        position: relative;
        background-color: #fff7eb;
        padding: 25px;
        border-radius: 30px;
    }

    .course h1 {
        font-size: 24px;
    }

    .course-title {
        font-size: 18px !important;
    }

    .sans28-title {
        font-size: 20px;
    }
}