@charset "UTF-8";

/* スマホファースト
----------------------------------------------------*/
/* TOP共通 */

/* swiper */
.swiper {
    /* height: 94vh; */
    --swiper-pagination-color: var(--sub-font-color);
    --swiper-pagination-bullet-width: 6px;
    --swiper-pagination-bullet-height: 6px;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-horizontal-gap: 6px;
}

.swiper-pagination {
    padding-inline: 20px;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    position: static;
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    display: inline-block;
    margin-inline: 0.6em;
    transform: translateY(10px);
}

.swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background-color: transparent;
    border: 1px solid var(--sub-font-color);
}

/**/
svg {
    display: inline-block;
    width: 22px;
    height: 22px;
    transform: rotate(-90deg) translate3d(7px, -7px, 0px);
}

svg circle {
    fill: none;
    stroke-width: 1;
    stroke-dasharray: 63;
    stroke-dashoffset: 0;
    stroke-linecap: round;
}

.swiper-pagination-bullet-active svg circle {
    stroke: var(--sub-font-color);
    animation: circleAnim 4.8s forwards;
}

@keyframes circleAnim {
    0% {
        stroke-dasharray: 0 63;
    }
    99.9%, to {
        stroke-dasharray: 63 63;
    }
}


/* 1スライド目（Type01） */
.slide01 {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(249, 245, 240, 1) 100%);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    padding-bottom: 25px;
}

.slide01 .innerWrap.wide1200 {
    padding-inline: 0;
}
.slide01 h1 {
    padding-inline: 20px;
    background-color: #ffaaaa;
    margin-bottom: 20px;
    background: url(../img/top/hero-01-01.png) no-repeat center bottom / 120%;
    padding-bottom: 75vw;
}

.slide01 h1 img {
    width: 100%;
    max-width: 516px;
    aspect-ratio: 1013 / 588;
    height: auto;
    margin-inline: auto;
}
.slide01 h2 {
    padding-inline: 20px;
    background-color: #ffaaaa;
    margin-bottom: 20px;
    background: url(../img/top/hero-01-01.png) no-repeat center bottom / 120%;
    padding-bottom: 75vw;
}

.slide01 h2 img {
    width: 100%;
    max-width: 516px;
    aspect-ratio: 1013 / 588;
    height: auto;
    margin-inline: auto;
}

.slide01 .appeal {
    display: flex;
    flex-direction: column-reverse;
    padding-inline: 20px;
}

.slide01 .appeal .text {
    margin-bottom: 20px;
    text-align: center;
    line-height: 2;
}

.slide01 .appeal .banner {
    margin-bottom: 20px;
}

.slide01 .appeal .banner img {
    width: 100%;
    max-width: 451px;
    aspect-ratio: 1353 / 323;
    height: auto;
    margin-inline: auto;
}

/* 2スライド目（Type02） */
.type02 {
    height: auto;
    position: relative;
}

.type02::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.type02.dark::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.type02 .innerWrap {
    position: relative;
    z-index: 80;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.type02 .innerWrap .whiteWrap {
    padding: 3em 4em 1.2em 4em;
    border-radius: 10px;
    background-color: rgba(249, 245, 240, .8);
    margin-bottom: 100px;
}

.type02 .cta {
    margin: 30px 0 48px;
}

.type02 .swiper-pagination {
    text-align: center;
}

.type02 h2 {
    color: var(--sub-font-color);
    font-weight: 600;
    font-size: 3.2em;
    line-height: 1.3;
    margin-bottom: 20px;
}

.photo02 {
    background: url(../img/top/hero-02.jpg) no-repeat center center / cover;
}

@media screen and (max-width: 959.99px) {
    .type02 .innerWrap {
        padding-block: 40px;
    }

    .type02 .innerWrap .whiteWrap {
        margin: 0;
        padding: 2.4em 1.2em 1em;
    }

    .type02 h2 {
        font-size: 1.8em;
    }

    .type02 p {
        font-size: 0.9em;
        text-align: left;
    }

    .type02 .cta {
        text-align: center;
    }

}

/* 3スライド目（Type03） */
.type03 {
    height: auto;
    position: relative;
}

.type03 .innerWrap {
    position: relative;
    z-index: 80;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.type03 a {
    display: block;
    width: 100%;
    height: 100%;
}

.type03 .swiper-pagination {
    transform: translateY(-160px);
    text-align: center;
}

.photo03 {
    background: url(../img/top/hero-03.png) no-repeat center center / cover;
}

@media screen and (max-width: 959.99px) {
    .photo03 {
        background: url(../img/top/hero-03_sp.png) no-repeat center center / cover;
    }
}


/* 検索セクション */
.search-Section {
    padding-top: 50px;
    padding-bottom: 30px;
}

.search-Section h2 {
    margin-bottom: 24px;
}

.search-Section h2 img {
    width: 248px;
}

.search-Section form {
    max-width: 480px;
    margin: 0 auto 40px;
}

.selectBox {
    position: relative;
    margin-bottom: 16px;
}


/* 人気の条件から探す */
.searchCondition {
    margin-bottom: 40px;
}

.searchCondition li {
    margin-bottom: 12px;
}

.searchCondition li a {
    display: flex;
    color: var(--sub-font-color);
    background: var(--soft-beige) url(../img/icon-arrow-right-circle-pink.svg) no-repeat center right 12px / 12px;
    padding: 12px 0 12px 12px;
    border-radius: 12px;
}

.searchCondition li a img {
    width: 80px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.searchCondition li a span {
    flex: 1;
    display: block;
    padding: 16px 30px 16px 16px;
}

.searchCondition li a:hover {
    background-color: #EBE6DF;
}

.searchCondition li a:hover img {
    filter: brightness(100%);
}

/* 都道府県から探す */
.areaH3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.areaH3::after {
    content: "";
    width: 100%;
    height: 1px;
    margin-left: 1em;
    background: url(../img/top/h3-line.svg) repeat-x center left;
    /* border: 1px dashed var(--sub-font-color); */
    /*background-color: var(--sub-font-color);*/
}

.areaH3 img {
    width: 64vw;
    max-width: 294px;
}

.searchArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.searchArea li {
    flex-basis: 49%;
    margin-bottom: 16px;

}

.searchArea li span {
    display: block;
    text-align: center;
    border-radius: 6px;
    background: var(--soft-beige) url(../img/icon-arrow-right-darkbrown.svg) no-repeat center right 12px / 9px;
    padding-block: 16px;
}


/* コンセプトセクション */
.concept-Section {
    padding-block: 30px;
}

.conceptWrap {
    max-width: 640px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
}

.conceptWrap .textArea {
    order: 2;
    background-color: var(--soft-beige);
    padding: 24px 30px 28px;
    border-radius: 20px;
}

.conceptWrap .textArea h2 {
    color: var(--main-pink);
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.conceptWrap .textArea p {
    font-size: 14px;
    line-height: 2;
}

.conceptWrap .textArea .about {
    margin-top: 12px;
    font-size: 15px;
}

.conceptWrap .imgArea {
    margin-bottom: 20px;
    z-index: 80;
}

.conceptWrap .imgArea img {
    max-width: fit-content;
    width: calc(100vw + 39px);
    margin-left: -48px;
}

.conceptWrap .subText {
    text-align: center;
    color: var(--main-pink);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.conceptWrap .subText::before {
    content: "";
    display: inline-block;
    width: 0.77em;
    height: 0.85em;
    background: url(../img/top/h2-line.svg) no-repeat center center / contain;
    margin-right: 0.6em;
    transform: translateY(4px);
}

.conceptWrap .subText::after {
    content: "";
    display: inline-block;
    width: 0.77em;
    height: 0.85em;
    background: url(../img/top/h2-line.svg) no-repeat center center / contain;
    margin-left: 0.6em;
    transform: translateY(4px) scaleX(-1);
}

/* font-sizeためだけのミニクエリ
----------------------------------------------------*/
@media screen and (min-width: 960px) {
    .conceptWrap .textArea h2 {
        font-size: calc(1.625rem + ((1vw - 9.6px) * 3.5714));
    }

    .conceptWrap .subText {
        font-size: calc(1.125rem + ((1vw - 9.6px) * 2.1429));
    }
}

@media screen and (min-width: 1240px) {
    .conceptWrap .textArea h2 {
        font-size: 36px;
    }

    .conceptWrap .subText {
        font-size: 24px;
    }
}

@media screen and (min-width: 375px) {
    .licenseWrap .cta span {
        font-size: calc(0.8125rem + ((1vw - 3.75px) * 1.8803));
    }
}

@media screen and (min-width: 960px) {
    .licenseWrap .cta span {
        font-size: 24px;
    }
}

/*----------------------------------------------------*/


/* 3つのポイントセクション */
.features-Section .innerWrap {
    padding-block: 40px;
}

.features-Section h2 {
    margin-bottom: 20px;
}

.features-Section h2 img {
    width: 84vw;
    max-width: 440px;
    margin-inline: auto;
}

.features li:not(:last-of-type) {
    margin-bottom: 40px;
}

.features h3 {
    font-size: 23px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
}

.features h3 img {
    max-width: fit-content;
    width: 100vw;
    margin-left: -30px;
    margin-bottom: 10px;
}

.features {
    max-width: 640px;
    margin-inline: auto;
}

.features li:first-of-type h3 {
    color: #ed828b;
}

.features li:nth-of-type(2) h3 {
    color: #f1a647;
}

.features li:last-of-type h3 {
    color: #87c0e5;
}

.features p {
    font-size: 15px;
    margin-bottom: 20px;
}

.features p a:hover {
    background-color: var(--soft-beige);
}

.features li .btn::before {
    width: 7px;
    height: 8px;
    transform: translateY(-1px);
    margin-right: 6px;
}

.features li:first-of-type .btn::before {
    background-image: url(../img/top/icon-arrow-right-pink.svg);
}

.features li:nth-of-type(2) .btn::before {
    background-image: url(../img/top/icon-arrow-right-orange.svg);
}

.features li:last-of-type .btn::before {
    background-image: url(../img/top/icon-arrow-right-blue.svg);
}


/* 資格セクション */
.license-Section {
    padding-block: 40px;
    background-color: var(--soft-beige);
    padding-top: 30px;
    padding-bottom: 60px;
}

/*
.license-Section.animation_change-BGC {
  transition-property: background-color;
  transition-duration: 1.2s;
  background-color: antiquewhite;
}
*/
.licenseWrap {
    max-width: 640px;
    margin-inline: auto;
}

.licenseWrap .imgArea {
    margin-bottom: 30px;
}

.licenseWrap .imgArea img {
    max-width: fit-content;
    width: 100vw;
    margin-left: -20px;
}

.licenseWrap p {
    margin-bottom: 2em;
}

.licenseWrap .secondImage {
    margin-top: 4em;
}

.licenseWrap ul {
    background-color: #ffffff;
    border: 2px solid var(--main-pink);
    border-radius: 11px;
    padding: 1.5em 1.5em 1em;
    border-radius: 12px;
    margin-bottom: 2em;
}

.licenseWrap ul li {
    margin-bottom: 10px;
}

.licenseWrap ul li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 9988px;
    margin-right: 4px;
    background-color: var(--point-beige);
}

.licenseWrap .inquiry {
    padding-top: 30px;
    margin-bottom: 0;
}

.licenseWrap .inquiry span {
    display: block;
    text-align: center;
    margin: 0 auto 15px;
    text-align: center;
    color: var(--main-pink);
    font-weight: bold;
}

.licenseWrap .inquiry span::before {
    content: "";
    display: inline-block;
    width: 0.77em;
    height: 0.85em;
    background: url(../img/top/h2-line.svg) no-repeat center center / contain;
    margin-right: 0.6em;
    transform: translateY(4px);
}

.licenseWrap .inquiry span::after {
    content: "";
    display: inline-block;
    width: 0.77em;
    height: 0.85em;
    background: url(../img/top/h2-line.svg) no-repeat center center / contain;
    margin-left: 0.6em;
    transform: translateY(4px) scaleX(-1);
}

.licenseWrap .inquiry a {
    display: block;
    overflow: hidden;
}

.licenseWrap .inquiry a:hover {
}

.licenseWrap .inquiry a:hover img {
}

.licenseWrap .inquiry img {
    width: 100%;
    max-width: 516px;
}

.licenseWrap em {
    letter-spacing: -0.005em;
    font-weight: bold;
    background: linear-gradient(transparent 60%, #F4CDCC 60%);
}

.quickSearchSection form .cc {
    margin-top: 10px;
    flex-basis: 100%;
    /*transform: translateX(10%);*/
}

/* 640px以上の画面幅（≒タブレット用）
----------------------------------------------------*/
@media screen and (min-width: 640px) {
    /* スライド */
    .swiper {
        /* height: 640px;*/
    }

    /* 人気の条件から探す */
    .searchCondition {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .searchCondition li {
        flex-basis: 49%;
        font-size: 14px;
    }

    .searchCondition li:nth-child(odd) {
        margin-right: 2%;
    }

    /* 都道府県から探す */
    .areaH3 {
        margin-bottom: 30px;
    }

    .searchArea li {
        flex-basis: 24%;
    }

    /* コンセプトセクション */
    .conceptWrap .imgArea img {
        max-width: 100%;
    }

    /* 3つのポイントセクション */
    .features h3 img {
        max-width: 100%;
    }

    /* 資格セクション */
    .licenseWrap ul {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .licenseWrap ul li {
        flex-basis: 40%;
        margin-bottom: 10px;
    }

}

/* 960px以上の画面幅（中間幅を埋めるための汎用幅）
----------------------------------------------------*/
@media screen and (min-width: 960px) {
    /* ファーストビュー */
    .slide01 {
        background: var(--soft-beige) url(../img/top/hero-01-01.png) no-repeat right 20% / 60%;
        padding-top: 3vw;
        padding-bottom: 200px;
    }

    .slide01 h1 {
        padding-inline: 20px;
        background-color: #ffaaaa;
        margin-bottom: 20px;
        background: none;
        padding-bottom: 0;
    }

    .slide01 h1 img {
        aspect-ratio: 1443 / 812;
        margin: 0 auto 0 0;
    }

    .slide01 h2 {
        padding-inline: 20px;
        background-color: #ffaaaa;
        margin-bottom: 20px;
        background: none;
        padding-bottom: 0;
    }

    .slide01 h2 img {
        aspect-ratio: 1443 / 812;
        margin: 0 auto 0 0;
    }
    .slide01 .appeal {
        flex-direction: column;
        align-items: flex-start;
    }

    .slide01 .appeal .text {
        text-align: left;
    }

    .swiper-pagination {
        text-align: left;
    }

    /* 検索セクション */
    .search-Section {
        padding-top: 0;
        transform: translateY(-120px);
        margin-bottom: -60px;
        position: relative;
        z-index: 80;
    }

    .quickSearchSection {
        background-color: #ffffff;
        display: flex;
        border-radius: 12px;
        box-shadow: 0 3px 3px rgba(0, 0, 0, .16);
        margin-bottom: 76px;
        /*padding: 40px 10% 0;*/
        padding: 35px 8% 0;
    }

    .quickSearchSection h2 {
        margin: 0 56px 0 0;
    }

    .quickSearchSection form {
        max-width: none;
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .quickSearchSection form .selectBox {
        flex-basis: 32%;
    }

    .quickSearchSection form .cc {
        margin-top: 10px;
        flex-basis: 100%;
        /*transform: translateX(10%);*/
    }


    /* 人気の条件から探す */
    .searchCondition li {
        font-size: 18px;
    }

    .searchCondition li a {
        align-items: center;
        background-size: 16px 16px;
    }

    /* .searchCondition li a img {
      width: 214px;
    } */
    /* コンセプトセクション */
    .conceptWrap {
        flex-wrap: wrap;
        flex-direction: row-reverse;
        align-items: center;
        max-width: none;
    }

    .conceptWrap .subText {
        order: 1;
        flex-basis: 100%;
        margin-bottom: 26px;
    }

    .conceptWrap .textArea {
        order: 3;
        flex-basis: 50%;
        padding: 68px 40px 60px 50px;
        margin-bottom: 40px;
    }

    .conceptWrap .textArea h2 {
        margin-bottom: 22px;
        line-height: 1.4;
    }

    .conceptWrap .textArea p {
        font-size: 16px;
    }

    .conceptWrap .textArea .about {
        margin-top: 22px;
        font-size: 18px;
    }

    .conceptWrap .imgArea {
        order: 2;
        flex-basis: 50%;
        margin-bottom: 0;
    }

    .pinkLink {
        background-size: 18px;
        padding-left: 26px;
    }

    .pinkLink:hover {
        transition: color 0.3s;
        color: var(--main-pink);
    }

    /* 3つのポイントセクション */
    .features-Section {
        padding-block: 40px;
    }

    .features {
        max-width: none;
        display: flex;
        justify-content: space-between;
    }

    .features li {
        flex-basis: 32%;
    }

    .features li:not(:last-of-type) {
        margin-bottom: 0;
        padding-bottom: 2px;
    }

    .features h3 img {
        width: 100%;
    }

    /* 資格セクション */
    .license-Section {
        padding-top: 78px;
        padding-bottom: 70px;
    }

    .licenseWrap {
        max-width: 850px;
    }

    .licenseWrap .imgArea img {
        width: calc(100% + 80px);
        margin-left: -40px;
    }

    .licenseWrap .textArea .cta span {
        margin-top: 56px;
    }

    /* オススメ記事 */
    .recommend-Section .innerWrap {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .recommend-Section h2 {
        margin-bottom: 40px;
    }

    .recommend-Section article a .date {
        font-size: 14px;
    }

    .recommend-Section article a .tag span {
        font-size: 14px;
    }

}

/* 1239px以下の画面幅（≒スマホタブレット用）
----------------------------------------------------*/
@media screen and (max-width: 1239.99px) {
    /* 都道府県のモーダル */
    .modal-content[data-modal-id] {
        display: none;
    }

    .top-modal-window {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        max-width: 100vw;
        max-height: 100vh;
        background-color: var(--soft-beige);
        z-index: 99;

        display: flex;
        justify-content: center;
        align-items: flex-start;

        visibility: hidden;

        transform: translateY(100vh);
        transition-property: visibility, transform;
        transition-duration: 0.4s;
    }

    .topModalActive .top-modal-window {
        visibility: visible;
        transform: translateY(0);
    }

    .topModalActive {
        height: 100%;
        overflow: hidden;
    }

    /* モーダル内 */
    .modal-frame {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
    }

    .modal-body {
        width: 100%;
        height: 100%;
    }

    .modal-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .modal-content {
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 72px); /* モーダル全体の高さ - モーダルヘッダ - モーダルフッタ */
    }

    .modal-content ul {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid var(--form-border-color);
    }

    .modal-content ul li {
        flex-basis: 50%;
        border-bottom: 1px solid var(--form-border-color);
        text-align: center;
    }

    .modal-content ul li:first-of-type {
    }

    .modal-content ul li:nth-child(odd) {
        border-right: 1px solid var(--form-border-color);
    }

    .modal-content ul li a {
        display: block;
        padding: 16px 24px 16px 22px;
        background: url(../img/icon-arrow-right-brown.svg) no-repeat center right 16px / 9px;
    }

    .modal-header {
        padding: 24px 12px;
        position: relative;
    }

    .modal-header h2::before {
        display: inline-block;
        content: "";
        width: 20px;
        height: 20px;
        background: no-repeat center / cover;
        margin-right: 6px;
        transform: translateY(4px);
    }

    .modal-header h2.area::before {
        background-image: url(../img/search/icon-area.svg);
    }

    .modal-header h2 b {
        font-weight: bold;
    }

    .modal-header .modal-close-btn {
        position: absolute;
        right: 12px;
        top: 18px;
    }

    .modal-footer {
        padding: 12px;
        background-color: var(--soft-beige);
    }

}


/* 1240px以上の画面幅（≒PC用）※iPad Pro(12.9)が縦で1024px
----------------------------------------------------*/
@media screen and (min-width: 1240px) {
    .slide01 {
        background: var(--soft-beige) url(../img/top/hero-01-01.png) no-repeat 78% 8% / 800px;
    }

    /* 人気の条件から探す */
    .searchCondition li {
        font-size: 18px;
    }

    /* 都道府県から探す */
    .searchArea li {
        flex-basis: 49%;
    }

    .searchArea li a:hover {
        transition: color 0.3s;
        color: var(--main-pink);
    }

    .searchArea li span {
        display: inline-block;
        width: 162px;
        padding-block: 12px;
        background-image: none;
        margin-bottom: 10px;
    }

    .modal-content ul {
        padding-left: 1em;
    }

    .modal-content ul li {
        display: inline-block;
    }

    .modal-content ul li:not(:last-of-type):after {
        content: "/";
        margin-inline: 0.4em;
    }

    .modal-content ul li a {
        font-weight: bold;
        color: var(--sub-font-color);
    }
}
