/*テンプレート*/
html[lang="ja"] {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  }
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');
html {
    font-size: 62.5%;
}
body {
    font-size: 1.6em;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}
@media(max-width:376px){
    body{
        width: 100%;
    }
}
.mobile-br{
    display: none;
}
a:hover{
    opacity: 0.7;
}
/* 共通 */
/* アニメーション */
      .slide-in-left{
        opacity: 0;
        animation-name: slide-in-left;
        animation-delay: 0.5s;
        overflow: hidden;
        animation-duration: 1.5s;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
      }
      @keyframes slide-in-left {
        0% {
           opacity: 0;
           transform: translateX(-100%);
        }
        100% {
           opacity: 1;
           transform: translateX(0);
        }
      }
      .slide-in-right{
        opacity: 0;
        animation-name: slide-in-right;
        animation-delay: 0.5s;
        overflow: auto;
        animation-duration: 1.5s;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
      }
      @keyframes slide-in-right {
        0% {
           opacity: 0;
           transform: translateX(100%);
        }
        100% {
           opacity: 1;
           transform: translateX(0);
        }
      }
/*ヘッダー*/
#header{
    margin-left: 5vw;
    margin-top: 32px;
    display: flex;
    position: relative;
    height: 85px;
}
.header-logo img{
    width: 154px;
    height: 75px;
}
.header-link{
    display: flex;
    position: absolute;
    right: 1vw;
    top: 10px;
}
#header ul{
    display: flex;
}
#header ul li p{
    text-align: center;
}
#header ul li p:nth-child(1){
    font-size: 1.8rem;
    color: #35BAF2;
    letter-spacing: 0.18rem;
    font-family: "Josefin Sans", serif;
  
}
#header ul li a p:nth-child(2){
    font-size: 1.3rem;
    color: #353E47;
    letter-spacing: 0.13rem;
}

#header ul li:nth-child(2){
    margin-left: 40px;
}
#header ul li:nth-child(3){
    margin-left: 40px;
}
#header ul li:nth-child(4){
    margin-left: 40px;
}
.contact{
    width: 200px;
    height: 60px;
    background: linear-gradient(90deg,#0089D4, #14BAF8);
    margin-left: 80px;
    border-radius: 30px 30px 30px 0;
    margin-top: -8px;
}
.contact p{
    text-align: center;
    margin-top: 8px;
}
.contact p:nth-child(1){
    font-size: 1.8rem;
    color: #ffffff;
    font-family: "Josefin Sans", serif;
}
.contact p:nth-child(2){
    font-size: 1.3rem;
    color: #ffffff;
}
.header-menu{
    display: none;
}
.humberger-menu{
    display: none;
}
@media(max-width:900px){
    .header-link{
        display: none;
    }
    .header-menu{
        display: block;
        width: 120px;
        height: 45px;
        background:linear-gradient(90deg,#4965F1,#41B4E5);
        border-radius: 22px 0 0 22px;
        margin: 0 0 0 auto;
        text-align: center;
    }
    .header-menu p{
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 45px;
        display: flex;
        color: #ffffff;
        font-weight: bold;
        font-family: "Josefin Sans", serif;
        font-size: 1.6rem;
        letter-spacing: 0.16rem;
        margin-left: 5px;
    }
    /* ハンバーガーメニュー */
        .hide {
        animation: hide 0.5s ease forwards;
        }
            @keyframes hide {
        0%{
            opacity: 1;
            transform: translateX(0);
        }
        100%{
           opacity: 0;
           transform: translateX(100%);  
        }
    }
    .active{
        display: block;
        animation-name: slide-in-right;
        animation-delay: 0s;
        overflow: auto;
        animation-duration: 0.5s;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
    }
    .humberger-menu{
        opacity: 0;
        transform: translateX(100%);
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        max-height: 100%;
        overflow: hidden;
        padding-bottom: 3vh;
        display: block;
    }
    .humberger-cross{
        position: absolute;
        top: 8vw;
        right:5vw;
        width: 8vw;
        height: 8vw;
    }
    .humberger-cross-container{
        position: relative;
    }
    .humberger-cross span:nth-child(1){
        background-color: #0089D4;
        height: 10px;
        width: 100%;
        transform: rotate(45deg);
        position: absolute;
        top: 24px;
        left: 0;
        border-radius: 3px;
    }
        .humberger-cross span:nth-child(2){
        background-color: #0089D4;
        height: 10px;
        width: 100%;
        transform: rotate(135deg);
        position: absolute;
        top: 24px;
        left: 0;
        border-radius: 3px;
    }
    .humabger-info-menu{
        padding: 10vh 0 0 3vw;
    }
    .humabger-info-menu a{
        display: flex;
        align-items: flex-end;
    }
    .humabger-info-menu p:nth-child(1){
        font-size:10vw ;
        background: linear-gradient(90deg, #4965F1, #41B4E5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .humabger-info-menu p:nth-child(2){
        font-size: 4vw;
        color: #0089D4;
        margin-left: 4vw;
        margin-bottom: 12px;
    }
    .humabger-info-menu span{
        width: 100%;
        height: 3px;
        background-image: linear-gradient(0deg, #4965F1, #41B4E5);
        display: block;
        margin-top: 12px;
    }
}
/*mainvisual*/
#mainvisual{
    height: clamp(560px, 58vh, 1600px);
    position: relative;
    z-index: 0;
}
.mainvisual-bg{
    width: 100%;
    height: 60vh;
}
.mainvisual-bg img{
    max-width: 1136px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    height: 0px;
}
.mainvisual-img img{
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 0;
}
.mainvisual-text{
    width: 385px;
    height: 230px;
    background-color: #EEF8FF;
    position: absolute;
    top: 90px;
    left: 90px;
    z-index: 5;
}
.mainvisual-text p{
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: 0.5rem;
    line-height: 5rem;
    width: 370px;
    background:linear-gradient(90deg,#4965F1, #41B4E5);
	-webkit-background-clip:text;
	-webkit-text-fill-color: transparent;
    z-index: 4;
}
.subvisual{
    position: absolute;
    left: 100px;
    top: 360px;
    z-index: 5;
}
.subvisual-container{
    width: 545px;
    justify-content: space-between;
    display: flex;
}
@media(max-width:768px){
    #mainvisual{
         height: clamp(800px, 80vh, 1000px);
        position: relative;
        z-index: 0;
    }
    .mainvisual-bg{
        display: block;
        width: 100%;
        height: 920px;
        margin: 0 auto;
    }
    .mainvisual-text{
        top: 20px;
    }
    .mainvisual-img img{
        position: absolute;
        top: 230px;
        right: 0;
        z-index: 0;
    }
    .subvisual{
        position: absolute;
        left: 36px;
        top: 650px;
        z-index: 5;
    }
}
@media(max-width:460px){
    #mainvisual{
        height: 650px;
    }
    .mainvisual-text p{
        font-size: 2.4rem;
        line-height: 4.2rem;
    }
    .mainvisual-bg{
        height: 650px;
    }
    .mainvisual-text {
        left: 0;   
    }
    .mainvisual-img img{
        top: 240px;
        width: 100%;
    }
    .subvisual{
        top: 515px;
        right: 0;
        left: 24px;
        margin: 0 auto;
    }
    .subvisual-container{
        width: 324px;
    }
    .subvisual img:nth-of-type(3){
        display: none;
    }
}
/*メインビジュアル*/
/* お知らせ */
#news{
    background: #fff;
    padding-bottom: 72px;
    max-width: 95%;
    margin: 0 auto;
}
.news-title p{
    letter-spacing: 1vw;
    color: #35BAF2;
    font-family: "Josefin Sans", serif;
    font-size: 4vw;
    height: 24vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight:400;
}
.news-info{
    display: flex;
    justify-content: center;
    height: 24vh;
    align-items: center;
}
.news-info img{
    width: 360px;
    height: 360px;
    object-fit:contain ;
}
.news-text{
    width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 40px;
    position: relative;
    height: 20vh;
}
.news-text p{
    color: #444444;
    font-size: 16px;
}
.news-content-title{
    font-weight: bold;
    font-size: 24px;
    overflow: hidden;
    display: block;
    height: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-content p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3; /* 表示する行数を指定 */
    overflow: hidden;
    text-overflow: ellipsis;
}
.more-info-news{
    position: absolute;
    bottom: 0;
    right: 0;
}
.news-button{
    margin: 72px auto 0 auto;
    width: 200px;
    height: 48px;
    background-color: #1c1c1c;
    border-radius: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-button p{
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    margin-top: -4px;
}
.news-button-line{
    position: absolute;
    width: 120px;
    height: 3px;
    background: #fff;
    top: 36px;
    right: 0;
    left: 0;
    margin: 0 auto;
}
.news-button-accent{
    position: absolute;
    width: 10px;
    height: 3px;
    background:#fff;
    top: 32px;
    right: 40px;
    transform: rotate(45deg);
}
@media  screen and (max-width:415px){
    .news-info{
        flex-direction: column;
        height: 64vh;
    }
    .news-info img {
        width: 60vw;
        height: 100vw;
        /* margin-left: 12px; */
        object-fit: contain;
        margin: 0 auto;
    }
    .news-text {
        height: 24vh;
        width: 95%;
        margin: 2vh 12px 3vw 2vh;
    }
    .news-text p {
        font-size: 12px;
    }
    .news-content-title{
        font-size: 20px;
    }
    .news-content{
        line-clamp: 4; /* 表示する行数を指定 */
    }
    .news-content p{
        font-size: 16px;
    }
    .news-button {
        margin: 36px auto 0 auto;
        width: 150px;
        height: 36px;
    }
    .news-button p {
        font-size: 12px;
    }
    .news-button-line {
        width: 96px;
        height: 2px;
        top: 25px;
    }
    .news-button-accent {
        width: 7px;
        height: 2px;
        top: 23px;
        right: 27px;
    }
    .news-title p {
    letter-spacing: 1vw;
    font-size: 16vw;
    padding-top: 12vh;
}
}
/*about*/
#about{
    display: flex;
    margin-top: clamp(120px,20vh,1000px);
    position: relative;
    z-index: 7;
    width: 100%;
    justify-content:space-between ;
    z-index: 10;
}
.about-bg{
    display: none;
}
.about-img img{
    width: 592px;
    height: 368px;
}
.about-text{
    margin-top: -150px;
    margin-right: 10vw;
}
.about-text h1{
    font-size: 7.2rem;
    letter-spacing: 0.72rem;
    color: #35BAF2;
    font-family: "Josefin Sans", serif;
    
}
.about-text-h2{
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    color: #35BAF2;
    width: 154px;
    height: 40px;
    border: 1.5px solid #35BAF2;
    border-right: none;
    border-radius: 10px 0 0 10px;
}
.about-text-h2 h2{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 154px;
    height: 35px;
}
.about-text h3{
    margin-top: 40px;
    font-size: 2.4rem;
    letter-spacing: 0.24rem;
    line-height: 4rem;
    width: 425px;
    background:linear-gradient(90deg,#4965F1, #41B4E5);
	-webkit-background-clip:text;
	-webkit-text-fill-color: transparent;
    font-weight: 500;
}
.about-text p{
    margin-top: 16px;
    width: 425px;
    color: #353E47;
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    line-height: 2.7rem;
}
.about-tel-responsive-br{
    display: none;
}
@media(max-width:1100px){
    #about{
        display: block;
    }
    .about-bg{
        display: block;
    }
    .about-bg img{
        width: 100%;
        position: absolute;
        top: 200px;
        right: 0;
        z-index: 12;
        transform: rotate(180deg);
    }
    .about-img{
        margin-top: -200px;
    }
    .about-img img{
        position: relative;
        z-index: 10;
    }
    .about-text{
        margin-top: -32px;
        margin-left: 32vw;
        position: relative;
        z-index: 12;
    }

}
@media(max-width:480px){
    .about-img img {
        width: 375px;
        height: 368px;
        object-fit: cover;
        margin-top: 10vh;
    }
    .about-bg img{
        top: 360px;
    }
    .about-text{
        margin-top: -36px;
        margin-left: 5vw;
    }
    .about-text h3{
        font-size: 2rem;
        letter-spacing: 0.2rem;
        width: 100%;
    }
    .about-text p {
        font-size: 1.2rem;
        letter-spacing: 0.12rem;
        line-height: 3rem;
        display: block;
        width: 95%;
        margin-top: 16px;
    }
    .about-tel-responsive-br{
        display: block;
    }
}
/*service*/
#service{
    position: relative;
    z-index: 10;
}
.service-bg{
    position: absolute;
    z-index: 6;
    top: -150px;
    width: 100%;
}
.service-bg img{
    max-width: 1136px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.service-bg2{
    position: absolute;
    z-index: 6;
    top: 650px;
    width: 100%;
    object-fit: cover;
}
.service-bg2 img{
    max-width: 1136px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.section-title{
    margin-left: 10vw;
    position: relative;
    z-index: 10;
    margin-top: 150px;
}
.section-title h1{
    font-family: "Josefin Sans", serif;
    font-size: 7.2rem;
    letter-spacing: 0.72rem;
    color: #35BAF2;
}
.service-info{
    position: relative;
    z-index: 8;
}
.service-info h1{
    font-size: 7.2rem;
    letter-spacing: 0.72rem;
    color: #35BAF2;
}
.service-info-h2{
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    color: #35BAF2;
    width: 154px;
    height: 40px;
    border: 1.5px solid #35BAF2;
    border-right: none;
    border-radius: 10px 0 0 10px;
    text-align: center;
}
.service-info-h2 h2{
    margin-top: 4px;
}

@media(max-width:950px){
    .service-bg{
        top: 330px;
    }
    .service-bg img{
        width: 100%;
    }
    
    .service-bg2{
        top: 1161px;
    }
}
@media(max-width:376px){
    .section-title{
        margin-top: 80px;
    }
}
/*hp*/
.service-01{
    position: absolute;
    top: 96px;
    right: 350px;
    font-weight: 700;
    font-size: 7.2rem;
    letter-spacing: 0.72rem;
    z-index: 10;
    color:#35BAF2 ;
}
.service-info-hp{
    display: flex;
    margin-top: 120px;
    width: 100%;
    justify-content: center;
}
.service-info-hp img{
    width: 448px;
    height: 336px;
    margin-left: -80px;
}
.service-info-hp-text{
    margin-left: 56px;
}
.service-info-hp-text h1{
    font-size: 2.4rem;
    letter-spacing: 0.24rem;
    background:linear-gradient(90deg,#4965F1, #41B4E5);
	-webkit-background-clip:text;
	-webkit-text-fill-color: transparent;
    font-weight: 700;
    width: 370px
}
.service-info-hp-text p{
    width: 440px;
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    margin-top: 8px;
    line-height: 3rem;
    color: #353E47;
}
.service-info-hp-recommend{
    display: flex;
}
.service-info-hp-recommend-h2{
    width: 120px;
    height: 120px;
    border: 1.5px solid #35BAF2;
    border-left:none ;
    border-radius: 0 50% 50% 0;
    margin-top: 24px;
}
.service-info-hp-recommend-h2 h2{
    margin-top: 30px;
    font-size: 1.4rem;
    line-height: 2.7rem;
    color: #35BAF2;
    margin-left: 16px;
}
.service-info-hp-recommend ul{
    margin-top: 7px;
}
.service-info-hp-recommend ul li{
    display: flex;
    width: 330px;
}
.service-info-hp-recommend ul li p{
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    color: #353E47;
    line-height: 2.7rem;
}
.service-info-hp-recommend ul li img{
    width: 18px;
    height: 18px;
    margin:18px 12px 12px 12px;
}
@media(max-width:950px){
    .service-info{
        margin: 10vw;
    }
    .service-info-hp img{
        z-index: 5;
        position: relative;
    }
    .service-info-hp{
        display: block;
    }
    .service-info-hp-text{
        width: 500px;
        height: 435px;
        background-color: #ffffff;
        padding-left: 20px;
        margin-top: -50px;
        margin-left: 100px;
        position: relative;
        z-index: 10;
    }
    .service-01{
        top: 300px;
        left: 70vw;
        z-index: 10;
        color:#35BAF2 ;
    }
}
@media(max-width:600px){
    .service-info{
        margin: 0;
    }
    .service-info-hp{
        margin-top: 50px;
    }
    .service-info-hp img {
      width: 100%;
      margin: 0;
    }
    .service-info-hp-text{
        margin-left: 0;
        background-color:transparent;
        margin-top: 64px;
        width: 95%;
    }
    .service-info-hp-text h1 {
        font-size: 2.1rem;
        letter-spacing: 0.21rem;
    }
    .service-info-hp-text p {
        margin-top: 20px;
        width: 100%;
    }
    .service-01{
        top: 450px;
        left: 40%;
    }
    .service-info-hp-recommend{
        display: block;
    }
    .service-info-hp-recommend-h2 {
        width: 100%;
        height: 50px;
        border-radius: 0 50px 50px 0;
    }
    .service-info-hp-recommend-h2 br{
        display: none;
    }
    .service-info-hp-recommend-h2 h2{
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
    }
    .service-info-hp-recommend ul li img {
        margin: 27px 12px 12px 12px;
    }
}
/*meo*/
.service-info-meo{
    display: flex;
    margin-top: 150px;
    justify-content: center;
}
.service-info-meo-text h1{
    font-size: 2.4rem;
    letter-spacing: 0.24rem;
    background:linear-gradient(90deg,#4965F1, #41B4E5);
	-webkit-background-clip:text;
	-webkit-text-fill-color: transparent;
    font-weight: 700;
    width: 510px
}
.service-info-meo-text h1 br{
    display: none;
}
.service-info-meo-text p{
    width: 440px;
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    margin-top: 8px;
    line-height: 3rem;
}
.service-info-meo-recommend{
    display: flex;
}
.service-info-meo-recommend-h2{
    width: 120px;
    height: 120px;
    border: 1.5px solid #35BAF2;
    border-left:none ;
    border-radius: 0 50% 50% 0;
    margin-top: 24px;
}
.service-info-meo-recommend-h2 h2{
    margin-top: 30px;
    font-size: 1.4rem;
    line-height: 2.7rem;
    color: #35BAF2;
    margin-left: 16px;
}
.service-info-meo-recommend ul{
    margin-top: 7px;
}
.service-info-meo-recommend ul li{
    display: flex;
    width: 330px;
}
.service-info-meo-recommend ul li p{
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    line-height: 2.7rem;
    color: #353E47;
}
.service-info-meo-recommend ul li img{
    width: 18px;
    height: 18px;
    margin:18px 12px 12px 12px;
}
.service-info-meo-img{
    margin-left: 68px;
}
.service-info-meo-img img{
    width: 370px;
    height: 370px;
}
.service-02{
    position: absolute;
    top: 436px;
    right: 350px;
    font-weight: 700;
    font-size: 7.2rem;
    letter-spacing: 0.72rem;
    z-index: 10;
    color:#35BAF2 ;
}
@media(max-width:950px){
    .service-info-meo{
        flex-direction: column-reverse;
        display: flex;
        align-items: flex-start;
        margin-top: 30px;
    }
    .service-info-meo-img{
        margin: 0;
    }
    .service-info-meo img{
        z-index: 5;
        position: relative;
        margin-left: -30px;
    }
    .service-info-meo-text{
        width: 540px;
        height: 438px;
        background-color: #ffffff;
        padding-left: 20px;
        margin-top: -50px;
        margin-left: 100px;
        position: relative;
        z-index: 10;
    }
    .service-02{
        top: 820px;
        left: 55vw;
        z-index: 10;
        color:#35BAF2 ;
    }
}
@media(max-width:600px){
    .service-info-meo{
        margin-top: 200px;
    }
    .service-info-meo img {
        margin-left: 0;
    }
    .service-info-meo-text{
        margin-left: 0;
        background-color:transparent;
        margin-top: 64px;
        width: 95%;
    }
    .service-info-meo-text h1 {
        font-size: 2.1rem;
        letter-spacing: 0.21rem;
        width: 100%;
    }
    .service-info-meo-text h1 br{
        display: block;
    }
    .service-info-meo-text p {
        margin-top: 20px;
        width: 100%;
    }
    .service-01{
        top: 450px;
        left: 40%;
    }
    .service-info-meo-recommend{
        display: block;
    }
    .service-info-meo-recommend-h2 {
        width: 100%;
        height: 50px;
        border-radius: 0 50px 50px 0;
    }
    .service-info-meo-recommend-h2 br{
        display: none;
    }
    .service-info-meo-recommend-h2 h2{
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
    }
    .service-info-meo-recommend ul li img {
        margin: 27px 12px 12px 12px;
    }
    .service-02 {
        top: 1350px;
        left: 34vw;
    }
}
/*message*/
#message{
    position: relative;
}
.service-bg3{
    position: absolute;
    z-index: 6;
    top: 100px;
    width: 100%;
}
.service-bg3 img{
    max-width: 1136px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.message-info{
    display: flex;
    margin-left: 10vw;
    justify-content: space-between;
}
.message-info-text{
    margin-top: 40px;
    position: relative;
    z-index: 11;
}
.message-info-text h1{
    font-size: 2.4rem;
    letter-spacing: 0.24rem;
    background:linear-gradient(90deg,#4965F1, #41B4E5);
	-webkit-background-clip:text;
	-webkit-text-fill-color: transparent;
    font-weight: 700;
    width: 480px
}
.message-info-text p{
    width: 420px;
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    margin-top: 8px;
    line-height: 3rem;
    color: #353E47;
 }
 .message-info-text p:nth-child(2){
    margin-top: 20px;
 }
.message-img{
    margin-top: 50px;
    position: relative;
    z-index: 9;
}
@media(max-width:1000px){
    .service-bg3 img{
        width:100% ;
    }
    .message-info{
        flex-direction: column-reverse;
        align-items: flex-start;
        width: 100%;
        text-align: left;
        margin: 0;
    }
    .message-info-text{
        width: 480px;
        height: 435px;
        background-color: #ffffff;
        margin-top: -50px;
        margin-left: 32px;
    }
    .message-info-text p{
        width: 100%;
    }
    .message-img{
        text-align: right;
        width: 100%;
    }
}
@media(max-width:520px){
    #message{
        margin-top: 150px;
    }
    .message-info-text{
        width:95%;
        height: 720px;
        background-color: #ffffff;
        margin: 0 auto;
        padding-top:20px ;
    }
    .message-container{
        margin: 0 auto;
        width: 90%;
    }
    .message-container p{
        width: 90%;
        margin: 20px auto 0 auto;

    }
    .message-info-text h1 {
        width: 100%;
        display: flex;
        justify-content: center;
    } 
    .message-img img{
        max-width: 100%;
    }
}
/* QandA */
#qanda{
    position: relative;
}
.service-bg4{
    position: absolute;
    z-index: 6;
    top: 0;
    width: 100%;
}
.service-bg4 img{
    max-width: 1136px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.qanda-main1{
    margin-top: 120px;
    position: relative;
    z-index: 10;
}
.qanda-main2{
    margin-top: 40px;
    position: relative;
    z-index: 10;
}
.qanda1{
    display: flex;
    width: 945px;
    background-color: #ffffff;
    border-radius: 50px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}
.qanda1 p:nth-child(1){
    line-height: 50px;
    text-align: center;
    width: 64px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px 0 0 50px; 
    background:linear-gradient(90deg,#4965F1,#41B4E5) ;
    font-family: "Josefin Sans", serif;
    font-size: 2.8rem;
    font-weight: bold;
    color: #ffffff;
}

.qanda1 p:nth-child(2){
    margin-left: 90px;
    line-height: 50px;
    font-size: 1.8rem;
    letter-spacing: 0.18rem;
    color: #353E47;
    font-weight: 500;
}

.dli-plus {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 1.5em;
    height: 0.2em;
    background: currentColor;
    border-radius: 0.1em;
    position: absolute;
    top: 23px;
    right: 20px;
  }
  
  .dli-plus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
  }
  .dil{
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 1.5em;
    height: 0.2em;
    background: currentColor;
    border-radius: 0.1em;
    position: absolute;
    top: 23px;
    right: 20px;
  }
    .dli::before {
    content: '';
  }
  /* 二個目 */
  .qanda2 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease, opacity 0.5s ease;
  opacity: 0;
}

.qanda2.open {
  max-height: 1000px; /* 十分に大きければOK（実際の高さより大きければよい） */
  opacity: 1;
}
  .qanda2{
    display: flex;
    width: 945px;
    background-color: #ffffff;
    border-radius: 50px;
    height: 100px;
    margin: 0 auto;
    position: relative;
    margin-top: 24px;
}
.qanda2 p:nth-child(1){
    width: 64px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px 0 0 50px; 
    border: 1.5px solid #35BAF2;
    font-family: "Josefin Sans", serif;
    font-size: 2.8rem;
    font-weight: bold;
    color: #35BAF2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qanda2 p:nth-child(2){
    margin-left: 90px;
    line-height: 50px;
    font-size: 1.8rem;
    letter-spacing: 0.18rem;
    color: #353E47;
    font-weight: 500;
}
@media(max-width:950px){
    .qanda1{
        width: 600px;
    }
    .qanda2{
        width: 600px;
        height: 100px;
    }
    .qanda2 p:nth-child(1){
        height: 100px;
        border-radius: 100px 0 0 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media(max-width:600px){
    .qanda1{
        width:95%;
        margin: 0 auto;
        height: 100px;
        background-color: #e9ffff;
    }
    .qanda1 p:nth-child(1){
        height: 100px;
        line-height: 100px;
    }
    .qanda1 p:nth-child(2){
        margin-left: 80px;
        width: 220px;
        font-size: 1.6rem;
        line-height: 35px;
        display: flex;
        align-items: center;
        letter-spacing: 0.16rem;
    }
    .qanda1-2p{
        display: flex;
        align-items: center;
        height: 100px;
    }
    .dli-plus {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto 0;
        right: 20px;
      }
    .qanda2{
        width:95%;
        margin: 20px auto 0 auto;
        height: 164px;
        background-color: #e9ffff;
        margin-top: 40px;
        margin-bottom: 64px;
    }
    .qanda2 p:nth-child(1){
        background-color: #ffffff;
        height: 164px;
        line-height: 164px;
        border-radius: 50px 0 0 50px;

    }
    .qanda2 p:nth-child(2){
        width: 248px;
        line-height: 4rem;
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
        margin-left: 80px;
        height: 164px;
        display: flex;
        align-items: center;
    }
}

/* CONTACT */
#contact{
    margin-top: 150px;
    position: relative;
    z-index: 10;
    text-align: center;
}
#contact h1{
    font-family: "Josefin Sans", serif;
    font-size: 7.2rem;
    letter-spacing: 0.72rem;
    color: #35BAF2;
    text-align: center;
}
#contact h2{
    margin-top: 24px;
    color: #353E47;
    font-size: 1.4rem;
    letter-spacing: 0.14rem;
}
#contact p{
    margin-top: 12px;
    color: #353E47;
    font-size: 1.4rem;
    letter-spacing: 0.14rem;
}
.responsive-br{
    display: none;
}
@media(max-width:768px){
    #contact{
        margin: 0 20px;
        margin-top: 100px;
    }
    .responsive-br{
        display: block;
    }
    #contact p{
        line-height: 3rem;
    }
}

/* フッター */
#footer{
    margin-top: 56px;
    position: relative;
    z-index: 10;
}
.footer-z-index{
    position: relative;
    z-index: 11;
}
.footer-info{
    display: flex;
    width: 100%;
    justify-content: center;
}
.tel{
    width: 372px;
    height: 264px;
    background:linear-gradient(180deg,#eef8ff,#f9fdff);
    border-radius: 132px 0 0 132px;
    text-align: center;
    padding-top: 32px;
}
.tel img{
    width: 50px;
    height: 50px;
}
.tel p:nth-of-type(1){
    margin-top: 10px;
    font-size: 1.8rem;
    letter-spacing: 0.18rem;
    color: #353E47;
    font-weight: 600;
}
.tel p:nth-of-type(2){
    margin-top: 10px;
    font-size: 3.2rem;
    letter-spacing: 0.32rem;
    color: #353E47;
    margin-top: 16px;
    font-weight: bold;
}
.tel p:nth-of-type(3){
    margin-top: 10px;
    font-size: 1.4rem;
    letter-spacing: 0.14rem;
    color: #353E47;
    margin-top: 16px;
    font-weight: 300;
}
.mail{
    width: 372px;
    height: 264px;
    background:linear-gradient(180deg,#eef8ff,#f9fdff);
    border-radius: 0 132px 132px 0;
    text-align: center;
    padding-top: 32px;
    margin-left: 40px;
}
.mail-text{
    margin-top: 10px;
    font-size: 1.8rem;
    letter-spacing: 0.18rem;
    color: #353E47;
    font-weight: 600;
}
.footer-form{
    width: 240px;
    height: 60px;
    background: linear-gradient(90deg,#4965F1,#41B4E5);
    margin: 0 auto;
    border-radius: 30px 0 30px 30px;
    text-align: center;
    margin-top: 20px;
}
.footer-form p{
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    color: #ffffff;
    font-weight: bold;
    line-height: 60px;
}
.mail-24{
    margin-top: 10px;
    font-size: 1.4rem;
    letter-spacing: 0.14rem;
    color: #353E47;
    font-weight: 300;
}
.page-top{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: solid 1.5px #35BAF2;
    position: absolute;
    top: 100px;
    right: 3vw;
    text-align: center;
    background-color: #ffffff;
}
.page-top p{
    font-size: 1rem;
    letter-spacing: 0.1rem;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 24px;
    font-weight: bold;
    color: #35BAF2;
}
.dli-chevron-up {
    display: inline-block;
    vertical-align: middle;
    color: #35BAF2;
    line-height: 1;
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(25%) rotate(-45deg);
  }
  .footer-bg{
    width: 95%;
    background-color: #89929B;
    height: 305px;
    position: absolute;
    right: 0;
    left: 0;
    top: 60px;
    margin: 0 auto;
  }
  .footer-link{
    display: flex;
    width: 100%;
    padding-left: 7vw;
    position: relative;
    margin-top: 200px;
  }
  .footer-link ul{
    display: flex;
    text-align: center;
    position: absolute;
    top: 32px;
    right: 3vw;
  }
  .footer-link ul li{
    margin-left: 40px;
  }
  .footer-link ul li a p:nth-child(1){
    font-family: "Josefin Sans", serif;
    color: #ffffff;
    font-size: 1.8rem;
    letter-spacing: 0.18rem;
    font-weight: 700;
  }
  .footer-link ul li a p:nth-child(2){
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.13rem;
  }
  .copy{
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    text-align: center;
    margin-top: 24px;
  }
  .copy p{
    font-size: 1rem;
    line-height: 50px;
  }
  @media(max-width:800px){
    .tel {
        width: 250px;
    }
    .tel p:nth-of-type(2){
        font-size: 2.5rem;
        letter-spacing: 0.25rem;
    }
    .mail{
        width: 240px;
    }
    .footer-form{
        width: 180px;
        height: 50px;
        margin-left: 25px;
    }
    .footer-form p{
        font-size: 1.3rem;
        letter-spacing: 0.13rem;
        line-height: 50px;
    }
    .footer-link ul{
        right: 1vw;
      }
    .footer-link ul li{
        margin-left: 10px;
    }
    .mail-24 {
        font-size: 1.2rem;
        letter-spacing: 0.12rem;
        margin-left: -16px;
    }
}
@media(max-width:600px){
    .tel{
        border-radius: 132px 132px 0 0;
        padding: 20px;
        margin: 0 auto;
        height: 224px;
    }
    .tel p:nth-of-type(2) {
        font-size: 2.3rem;
        letter-spacing: 0.25rem;
    }
    .mail{
        border-radius: 132px 132px 0 0;
        padding: 20px;
        margin: 0 auto;
        height: 224px;
        margin-top: 50px;
    }
    .page-top{
        top: 248px;
    }
    .footer-bg{
        height: 440px;
    }
    .footer-info {
       display: block;
    }
    .footer-link{
        margin: 0;
        margin-top: 56px;
        padding: 0;
        padding-top: 48px;
        display: block;
    }
    .footer-link-img{
        width: 100%;
        text-align: center;
    }
    .footer-link ul{
        display: block;
        position: static;
        margin-top: 40px;
    }
    .footer-link ul li{
        margin-left: 0;
        margin-top: 32px;
    }
    .footer-bg{
        position: static;
    }
    .copy{
        margin-top: 0;
    }
}
@media(max-width:420px){
    .mobile-br{
        display: block;
    }
}

