
@media screen and (max-width: 1400px) {
    html {
        font-size:16px
    }
}
@media screen and (max-width: 1300px) {
    html {
        overflow-x: auto;
    }
    body {
        min-width: 1300px;
    }
}
@media screen and (max-width: 991px) {

    html {
        overflow-x: hidden;
    }
    body {
        min-width: 100%;
        font-size:1rem;
    }
    .pc , .pc.flex {
        display: none;
    }
    .mb{
        display: block
    }
    .mb.flex {
        display: flex;
    }
    #bar {
        width: 2rem;
        height: 1.5rem;
    }
    #bar span {
        width: 100%;
        height: 2px;
        background: #fff;
        display: block;
        transition: 0.5s;
    }
    #bar span:nth-child(1) {
        margin-bottom: 7px;
    }
    #bar span:nth-child(3) {
        margin-top: 7px;
    }
    header.on #bar span:nth-child(1) {
        transform: rotate(-45deg) translate(-50%, -50%);
    }
    header.on #bar span:nth-child(2) {
        transform: translateX(100%);
        opacity: 0;
    }
    header.on #bar span:nth-child(3) {
        transform: rotate(45deg) translate(-50%, -50%);
    }
    nav {
        position: fixed;
        top:70px;
        right:-100%;
        width: 100%;
        height: 100vh;
        background: var(--color2);
        transition: 0.5s;
    }
    header.on nav {
       right:0;
    }
    header nav ul{
        padding: 30px 20px;
        flex-direction: column;
        text-align: left;
        align-items: start;
        gap:2rem;
    }
    header {
        position: fixed;
        padding: 15px 20px;
        height: 70px;
    }
    header.on {
        background: var(--color2);
    }

    .mainTt h2 {
        margin-top: 20px;
    }
    .line:after {
        height: 5px;
    }

    #sec01 .flex {
        position: relative;
        padding: 60px 0 20px 44.2708vw;
    }
    .sec02_menu {
        overflow-x: auto;
    }
    .sec02_menu ul li {
        text-align: center;
        width: 80px;
        font-size: 1rem;
    }
    .sec02_menu ul li {
        height: 40px;
        border-radius: 15px;
    }
    .sec02_menu ul li b {
        display: block;
    }
    .sec02_menu ul {
        width: fit-content;
    }
    .sec02_con {
        display: block;
    }
    .sec02_con > div {
        width: 100%;
    }
    .sec02_item_right {
        padding: 25px 40px 25px 30px;
        display: block;
    }
    .sec02_img {
        margin-bottom: 20px;
    }
    .sec02_item > img {
        max-width: inherit;
	height:400px;
        width: 100%;
    }
    .modal_level .flex {
        flex-direction: column;
    }
    .modal_level .flex .level_left {
        display: none;
    }
    .sec02_iframe {
        position: relative;
        padding-bottom: 56%;
        margin-bottom: 20px;
    }
    .sec02_iframe iframe {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    #sec02 {
        padding: 50px 0;
        background: #f3f3f3;
    }
    .sec02_menu {
        padding: 40px 0 20px;
        margin-bottom: 20px;
    }
    .sec02_img {
        width: 10rem;
        height: 10rem;
        margin: 0 auto 30px;
    }
    .sec02_slide_arrow {
        right: 20px;
    }
    .sec02_slide_arrow img {
        width: 25px;
    }
    #sec03 .flexSb {
        flex-direction: column;
        align-items: start;
    }
    .sec03_left {
        padding-bottom: 20px;
    }
    .sec03_left img {
        width: 23.354vw;
    }
    .sec03_left {
        font-size: 4vw;
    }
    #sec04 ul li h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    #sec04 ul li p {
        font-size: 1rem;
    }
    .wrap .sec04_con {
        top:27%;
        bottom: auto;
    }
    #sec05 h4 {
        font-size:1.5rem;
        line-height: 1.3;
        margin-bottom: 20vw;
    }
    .sec04_con .left {
        padding-bottom: 1.5rem;
        margin-top: 2.375rem;
        padding-right: 20px;
    }
    .sec05_tt {
        width: 140px;
        transform: translate(-50%, -80%);
    }
    .sec05_tt span {
        font-size: 1.3rem;
        padding-top: 0.7rem
    }
    .sec05_con .flexSb {
        display: block;
    }
    .sec05_con li img {
        width: 300px;
    }
    .sec05_con li .view {
	
        position: absolute;
        top: 0;
        left: calc(50% + 20px);
        width: 80px;
    }
	
    .sec05_con li .view img {
	
height:50px;
    }
	
	
    .sec06_tt {
        margin-bottom: 20vw;
    }
    .sec05_con li .view span {
        font-size: 10px;
    }
    .sec05_con li p {
        font-size:1.8rem
        margin-top: 2em;
        /* margin-bottom: 2rem; */
    }
    #sec05 {
        padding: 70px 0;
    }
    #sec06 .flex {
        display: block;
    }
    #sec06 .tt h3 {
        font-size: 1.5rem;
        line-height:2;
    }
    .sec06_box img {
        width: 100%;
        max-width: inherit;
    }
    .sec06_txt ul li , .sec06_line {
        font-size: 2rem
    }
    .sec07_tt_box {
        border-radius: 2rem;
        padding: 1.5rem 1.7rem 1rem;
        font-size: 1.5rem;
    }
    .sec07_tt {
        gap: 1rem;
        margin-bottom: 3rem;
    }
    .sec07_tt_tit {
        font-size: 2rem;
        flex:1
    }
    .sec07_box .flex {
        display: block;
    }
    .sec07_img, .sec07_img2 {
        width: 100%;
    }
    .sec07_box .checkList {
        margin-top: 30px;
    }
    .sec07_box .checkList li {
        font-size:1.2rem
    }
    .sec07_box .checkList li + li {
        margin-top: 1rem;
    }
    .sec07_box .checkList li p {
        font-size: 1rem;
        width: 100%;
    }
    #sec08 ul {
        display: block;
    }
    #sec08 ul li + li {
        margin-top: 20px;
    }
    #sec08 ul li {
        text-align: center;
        width: 100%;
        padding: 0 30px;
    }
    .sec08_arrow {
        padding-top: 0;
    }
    #sec08 > .wrap > div {
        margin-top: 3rem;
    }
    .sec07_img2 {
        padding: 0 30px;
        margin-top: 20px;
    }
    .tt h3 {
        font-size: 1.5rem;
    }
    #sec12 .tt h3:after {
        width: 3rem;
        height: 2.5rem;
        transform: translate(110%, -20%);
    }
    #sec12 ul {
        flex-direction: column;
    }
    #sec14 .flex {
        display: block;
    }
    .sec14_tab {
        margin-bottom: 20px;
        width: 100%;
    }
    .sec14_tab ul li span {
        width: 20px;
        margin-right: 1rem;
    }
    .sec1401 {
        flex-direction: column;
        gap:20px
    }
    .sec1402 li {
        display: block;
    }
    .sec1402 li div {
        width: 100%;
    }
    .sec13_box {
        padding: 2rem;
        color: #fff;
        position: relative;
        overflow:hidden;
    }
    .sec13_box:after {
        content:"";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1;
    }
    .sec13_box > div {
        position: relative;
        z-index: 2;
    }
    .sec13_tt h4 {
        color: #fff;
    }
    #sec15 .tt p {
        margin: 1.5rem 0 2rem;
    }
    #sec14 {
        padding-bottom: 4rem;
    }
    .footer_banner01 {
        display: none;
    }
	
.footer_banner02  { 
margin:auto;
padding:0px;
}
    .top img{
        width: 30px;
        top: -40px;
        right:20px;
        position: absolute;
    }
    .footer01 .flexSb , .footer01 .flexSb div {
        display: block;
    }
    .footer01 ul {
        gap:10px
    }
    .sns {
        padding: 1rem 0;
    }
    .footer02> div:first-child {
        display: block;
    }
    .footer_text {
        margin-top: 10px;
    }
    .footer02 {
        align-items: start;
    }
    .family_site ul {
        padding-bottom: 20px;
    }
    .footer02 h2 img {
        width: 100px;
    }
    #sec13 {
        padding: 8rem 0 5rem;
    }
    .sec14_box_img {
        margin-bottom: 20px;
    }
    #sec15 {
        padding: 3.5rem 0;
    }
    #sec02 .viewMore {
        margin-top: 20px;
    }
    .sec03_right {
        width: 100%;
    }

    .modal {
        max-width: 100%;
    }
    .close {
        width: 30px;
    }
    .modal_level .checkList li {
        padding-left: 60px;
    }
    .checkList li:before {
        width: 12px;
        height: 12px;
    }
    .modal_level .checkList li span {
        left: 20px;
    }
    #modal_consulting ul li label {
        display: block;
        width: 100px;
        margin-bottom: 5px;
    }
    #modal_consulting ul li {
        display: block;
    }
    #modal_consulting ul li select {
        padding: 5px 10px;
    }
    #modal_consulting ul li + li {
        margin-top: 20px;
    }
    #modal_consulting ul li:nth-child(3) select {
        width: 70px;
    }
    #sec12 ul li {
        padding:1.5rem 2rem 3rem 2rem;
    }
}
@media screen and (max-width: 380px) {
    .sec06_tt {
        margin-bottom: 14vw;
    }
    h1 {
        width: 100px;
    }
}