html{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;
}

/* ディスプレイ切り替え */
.viewPc{ display: block; }
.viewSp{ display: none; }

@media screen and (max-width:768px) {
    .viewPc{ display: none!important;}
	.viewSp{ display: block; }
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
}

header .left-header img{
    display: block;
    width: 16vw;
}

header .right-header a img{
    display: block;
    width: 16vw;
}

header a:hover .right-header img{
    opacity: 0.7;
}

@media screen and (max-width:768px) {
    header .left-header img{
        width: 38vw;
    }
    header .right-header a img{
        width: 32vw;
    }
}

#content1{
    margin-bottom: 4vw;
}

#content1 .max-box{
    position: relative;
    width: 100%;
}

#content1 .max-box img{
    width: 100%;
}

/* アニメーション非表示状態 */
#content1 .max-box .mv-box{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(30px);
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* アニメーション表示状態 */
#content1 .max-box .mv-box.is-show{
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

#content1 .max-box .mv-box h1{
    color: #f78a52;
    text-shadow: 2px 2px 25px #f78a52;
    font-size: 3.3vw;
    letter-spacing: 0.4vw;
    margin-bottom: 32px;
    position: relative;
}

#content1 .max-box .mv-box h1::after{
    content: "";
    display: block;
    background: #00adb8;
    width: 5vw;
    height: 1px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#content1 .max-box .mv-box h1 span{
    font-size: 2.4vw;
}

#content1 .max-box .mv-box p{
    font-size: 1.2vw;
    line-height: 1.8vw;
}

@media screen and (max-width:768px) {
    #content1{
        margin-bottom: 15vw;
    }
    #content1 .max-box .mv-box{
        top: 49%;
    }
    #content1 .max-box .mv-box h1{
        width: 85vw;
        font-size: 7.8vw;
    }
    #content1 .max-box .mv-box h1 span{
        font-size: 5vw;
    }
    #content1 .max-box .mv-box p{
        font-size: 3.2vw;
        line-height: 5.5vw;
    }
}

#content2{
    margin-bottom: 6vw;
}

#content2 .h2-title{
    text-align: center;
}

#content2 .h2-top{
    text-align: center;
    font-size: 1.3vw;
    margin-bottom: 10px;
    color: #666666;
}

#content2 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 35px;
    border-bottom: 3px dashed #f78a52;
    display: inline-block;
}

#content2 .adjust-box{
    position: relative;
}

#content2 .adjust-box .stop{
    width: 100%;
}

/* move（初期状態） */
#content2 .adjust-box .move-left{
    position: absolute;
    top: 52%;
    left: 20%;
    transform: translateY(-50%);
    opacity: 0;
    width: 38vw;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* 左から来るエフェクトを付ける際はこれを変えて流用 */
#content2 .adjust-box .move-left.left-come{
    transform: translate(-40px, -50%);
}

/* 表示状態 */
#content2 .adjust-box .move-left.is-show{
    opacity: 1;
    transform: translate(0, -50%);
}

#content2 .simple-full img{
    width: 100%;
}

/* move（初期状態） */
#content2 .adjust-box .move-right{
    position: absolute;
    top: 39%;
    right: 18%;
    transform: translateY(-50%);
    opacity: 0;
    width: 33vw;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* 右から来るエフェクトを付ける際はこれを変えて流用 */
#content2 .adjust-box .move-right.right-come{
    transform: translate(40px, -50%);
}

/* 表示状態 */
#content2 .adjust-box .move-right.is-show{
    opacity: 1;
    transform: translate(0, -50%);
}

@media screen and (max-width:768px) {
    #content2 .h2-top{
        font-size: 3.3vw;
    }
    #content2 h2{
        font-size: 4.5vw;
    }
    #content2 .adjust-box .move-left{
        top: 27%;
        left: 8%;
        width: 87vw;
    }
    #content2 .adjust-box .move-right{
        top: 28%;
        right: 6%;
        width: 85vw;
    }
}

#content3{
    margin-bottom: 22vw;
}

#content3 .h2-title{
    text-align: center;
}

#content3 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

#content3 h2::before{
    content: "";
    position: absolute;
    top: -37%;
    left: -7%;
    width: 2.1vw;
    height: 100%;
    background: url("../images/titleborder-left.png") no-repeat center / contain;
}

#content3 h2::after{
    content: "";
    position: absolute;
    top: -37%;
    right: -7%;
    width: 2.1vw;
    height: 100%;
    background: url("../images/titleborder-right.png") no-repeat center / contain;
}

#content3 .top-ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 65%;
    margin: 0 auto;
}

#content3 .top-ul li{
    width: 19%;
}

#content3 .points{
    background: #def1ef;
    padding-bottom: 20vw;
    position: relative;
}

#content3 .points h3 img{
    width: 100%;
}

#content3 .points ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 65%;
    margin: 0 auto;
    gap: 1.5vw 0; 
}

#content3 .points ul li{
    width: 50%;
}

#content3 .points ul li img{
    width: 100%;
    display: block;
}

#content3 .points .line-btn{
    position: absolute;
    bottom: -16%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 65%;
}

#content3 .points .line-btn a{
  position: relative;
  display: block; /* クリック範囲を安定 */
}

#content3 .points .line-btn a .main-back{
    width: 100%;
}

#content3 .points .line-btn a .btn-wrapper{
    position: absolute;
    bottom: 25%;
    left: 14%;
    width: 52.3%;
}

/* 2枚重ねの土台 */
#content3 .points .line-btn a .btn-wrapper span{
  position: relative;
  display: inline-block;
}

#content3 .points .line-btn a .btn-wrapper img{
  display: block;
}

#content3 .points .line-btn a .btn-wrapper .back{
  position: absolute;
  top: 6px;
  left: 10px;          /* ←通常時：topより右下に出す */
}

#content3 .points .line-btn a .btn-wrapper .top{
  position: relative; /* span内の基準位置 */
  top: 0;
  left: 0;
  transition: transform 0.18s ease;
  z-index: 2;         /* ←常にtopが上 */
}

#content3 .points .line-btn a:hover .btn-wrapper .top{
  transform: translate(10px, 6px); /* ←backと重なる */
}

@media screen and (max-width:768px) {
    #content3{
        margin-bottom: 34vw;
    }
    #content3 h2{
        font-size: 4.5vw;
    }
    #content3 h2::before{
        top: -44%;
        left: -9%;
        width: 6.1vw;
    }
    #content3 h2::after{
        top: -44%;
        right: -9%;
        width: 6.1vw;
    }
    #content3 .top-ul{
        flex-wrap: wrap;
        justify-content: center;
        width: 86%;
        gap: 2%;
    }
    #content3 .top-ul li{
        width: 32%;
    }
    #content3 .points{
        padding-bottom: 26vw;
    }
    #content3 .points ul{
        display: block;
        width: 80%;
        margin: 7vw auto 0;
    }
    #content3 .points ul li{
        width: 100%;
        margin-bottom: 4.5vw;
    }
    #content3 .points .line-btn{
        bottom: -6%;
        left: 50%;
        width: 90%;
    }
    #content3 .points .line-btn a .btn-wrapper{
        bottom: 24%;
        left: 4%;
        width: 60.3%;
    }
}

#content4{
    margin-bottom: 7vw;
}

#content4 .h2-top{
    text-align: center;
    font-size: 1.3vw;
    margin-bottom: 10px;
    color: #666666;
}

#content4 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 35px;
}

#content4 .main-contents{
    position: relative;
}

#content4 .main-contents .stop{
    width: 100%;
}

#content4 .main-contents .move-tate{
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;

    width: 46vw;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

#content4 .main-contents .move-tate.is-show{
    opacity: 1;
    transform: translate(-50%, 0);
}

#content4 .main-contents iframe{
    position: absolute;
    bottom: 20%;
    width: 33%;
    height: 21%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#content4 .last-box img{
    width: 100%;
}

@media screen and (max-width:768px) {
    #content4{
        margin-bottom: 15vw;
    }
    #content4 .h2-top{
        font-size: 3.3vw;
    }
    #content4 h2{
        font-size: 4.5vw;
    }
    #content4 .main-contents .move-tate{
        width: 80vw;
    }
    #content4 .main-contents iframe{
        bottom: 5%;
        width: 83%;
    }
}

#content5 .h2-top{
    text-align: center;
    font-size: 1.3vw;
    margin-bottom: 10px;
    color: #666666;
}

#content5 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 50px;
}

#content5 .text{
    font-size: 1.1vw;
    text-align: center;
    line-height: 2.2vw;
    margin-bottom: 30px;
    color: #4c4b4c;
}

#content5 .max-box{
    position: relative;
}

#content5 .max-box .stop{
    width: 100%;
}

#content5 .max-box .move-left{
    position: absolute;
    top: 3%;
    left: 17%;
    width: 29vw;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

#content5 .max-box .move-left.is-show{
    opacity: 1;
    transform: translateX(0);
}


@media screen and (max-width:768px) {
    #content5{
        margin-bottom: 16vw;
    }
    #content5 .h2-top{
        font-size: 3.3vw;
    }
    #content5 h2{
        font-size: 4.5vw;
        margin-bottom: 30px;
    }
    #content5 .text{
        font-size: 3vw;
        width: 80%;
        margin: 0 auto 95px;
        line-height: 6.2vw;
    }
    #content5 .max-box .move-left{
        top: -4%;
        left: 17%;
        width: 65vw;
    }
}

#content6{
    margin-bottom: 7vw;
}

#content6 .inner{
    background: #def1ef;
    padding-top: 70px;
}

#content6 .h2-top{
    text-align: center;
    font-size: 1.3vw;
    margin-bottom: 10px;
    color: #666666;
}

#content6 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 50px;
}

#content6 .text{
    font-size: 1.1vw;
    text-align: center;
    margin-bottom: 30px;
    color: #005c76;
}

#content6 ul li{
    position: relative;
}

#content6 ul li .move-tate{
    width: 100%;
    opacity: 0;
    transform: translateY(30px);

    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

#content6 ul li .move-tate.is-show{
    opacity: 1;
    transform: translateY(0);
}

#content6 ul li:nth-child(1) .move-tate{
    transition-delay: 0s;
}

#content6 ul li:nth-child(2) .move-tate{
    transition-delay: 0.2s;
}

#content6 ul li:nth-child(3) .move-tate{
    transition-delay: 0.4s;
}

@media screen and (max-width:768px) {
    #content6{
        margin-bottom: 15vw;
    }
    #content6 .h2-top{
        font-size: 3.3vw;
    }
    #content6 h2{
        font-size: 4.5vw;
        margin-bottom: 25px;
    }
    #content6 .inner{
        padding-bottom: 10vw;
    }
    #content6 .text{
        font-size: 3vw;
        width: 80%;
        margin: 0 auto 30px;
    }
}

#content7 .h2-top{
    text-align: center;
    font-size: 1.3vw;
    margin-bottom: 10px;
    color: #666666;
}

#content7 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 15px;
}

#content7 .max-box img{
    width: 100%;
}

@media screen and (max-width:768px) {
    #content7 .h2-top{
        font-size: 3.3vw;
    }
    #content7 h2{
        font-size: 4.5vw;
    }
}

#content8{
    margin-bottom: 7vw;
}

#content8 .max-box .back-img{
    width: 100%;
}

#content8 .max-box{
    position: relative;
}

#content8 .max-box ul{
    position: absolute;
    top: 26%;
    display: flex;
    width: 72%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#content8 .max-box ul li{
    width: 25%;
}

#content8 .max-box ul li .move-right{
    width: 100%;
    opacity: 0;
    transform: translateX(40px); /* 右から */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

#content8 .max-box ul li .move-right.is-show{
    opacity: 1;
    transform: translateX(0);
}

#content8 .max-box ul li:nth-child(1) .move-right{
    transition-delay: 0s;
}

#content8 .max-box ul li:nth-child(2) .move-right{
    transition-delay: 0.15s;
}

#content8 .max-box ul li:nth-child(3) .move-right{
    transition-delay: 0.3s;
}

#content8 .max-box ul li:nth-child(4) .move-right{
    transition-delay: 0.45s;
}

@media screen and (max-width:768px) {
    #content8 .max-box ul{
        width: 80%;
        flex-wrap: wrap;
        top: 16%;
    }
    #content8 .max-box ul li{
        width: 50%;
    }
}

#content9{
    margin-bottom: 135px;
}

#content9 h2{
    text-align: center;
    color: #fff;
    font-size: 2.3vw;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #4c4b4c;
    text-shadow: 2px 2px 0 #7fd1ae;
    margin-bottom: 15px;
}

#content9 .access{
    display: flex;
    justify-content: space-between;
    width: 73%;
    margin: 0 auto;
}

#content9 .access img{
    width: 49.5%;
    display: block;
}

#content9 .access iframe{
    width: 49.5%;
    height: auto;
}

@media screen and (max-width:768px) {
    #content9{
        margin-bottom: 18vw;
    }
    #content9 h2{
        font-size: 4.5vw;
    }
    #content9 .access{
        width: 75%;
        flex-wrap: wrap;
    }
    #content9 .access img{
        width: 100%;
        margin-bottom: 1vw;
    }
    #content9 .access iframe{
        width: 100%;
    }
}

.only-line-btn{
    margin-bottom: 100px;
}

.only-line-btn a .main-back{
    width: 100%;
}

.only-line-btn a{
  position: relative;
  display: block; /* クリック範囲を安定 */
}

.only-line-btn a .btn-wrapper{
    position: absolute;
    bottom: 25%;
    left: 25%;
    width: 36.8%;
}

/* 2枚重ねの土台 */
.only-line-btn a .btn-wrapper span{
  position: relative;
  display: inline-block;
}

.only-line-btn a .btn-wrapper img{
  display: block;
}

.only-line-btn a .btn-wrapper .back{
  position: absolute;
  top: 6px;
  left: 10px;          /* ←通常時：topより右下に出す */
}

.only-line-btn a .btn-wrapper .top{
  position: relative; /* span内の基準位置 */
  top: 0;
  left: 0;
  transition: transform 0.18s ease;
  z-index: 2;         /* ←常にtopが上 */
}

.only-line-btn a:hover .btn-wrapper .top{
  transform: translate(10px, 6px); /* ←backと重なる */
}

@media screen and (max-width:768px){
    .only-line-btn{
        margin-bottom: 11vw;
    }
    .only-line-btn a .btn-wrapper{
        bottom: 24%;
        left: 4%;
        width: 60.8%;
    }
}

footer{
    background: #ddf2f0;
    padding: 40px 0 30px;
}

footer ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    margin-bottom: 70px;
}

footer ul li a{
    color: #226f77;
    font-size: 1.1vw;
    letter-spacing: 0.1vw;
}

footer ul li a:hover{
    opacity: 0.7;
}

footer p{
    font-family: "M PLUS 1", sans-serif;
    text-align: center;
    color: #226f77;
    font-size: 0.9vw;
}

@media screen and (max-width:768px){
    footer ul{
        flex-direction: column;
        gap: 4vw;
        margin-bottom: 12vw;
    }
    footer ul li a{
        font-size: 4.5vw;
    }
    footer p{
        font-size: 2.8vw;
    }
}