﻿#main_img{
    position: relative;
}

#main_img:before{
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 80%;
        left: 50%;
        background-image: url(./Dup/img/hito.png);
        background-position: center;
        background-repeat: repeat-x;
        -webkit-transform: translate(-50% , -50%);
        transform: translate(-50% , -50%);
        background-size: 4000px;
        pointer-events: none;
        animation: sidetext 80s linear infinite;
        z-index: 2;
}

#main_img:after{
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 20%;
        left: 50%;
        background-image: url(./Dup/img/hito.png);
        background-position: center;
        background-repeat: repeat-x;
        -webkit-transform: translate(-50% , -50%) rotate(90deg);
        transform: translate(-50% , -50%) rotate(180deg);
        background-size: 4000px;
        pointer-events: none;
        animation: sidetext 80s linear infinite;
}

@keyframes sidetext {
0% {
    background-position-x: 0;
}

100% {
    background-position-x: 8000px;
}
}

.catch_txt{
    position: relative;
}

.catch_txt:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 20%;
    left: 50%;
    background-image: url(./Dup/img/earth.png);
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 20%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.catch_txt:after{
    content: "";
    display: block;
    width: 130px;
    height: 130px;
    position: absolute;
    top: -10%;
    left: 66%;
    background-image: url(./Dup/img/wel.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%) rotate(-5deg);
    transform: translate(-50% , -50%) rotate(-5deg);
    background-size: contain;
    pointer-events: none;
    z-index: -1;
    opacity: 1;
}

.ira{
        max-width: 450px;
    margin: auto;
    display: block;
    margin-top: 50px;
}

#top_contents1{
    padding-bottom: 0;
    background-image: url(./Dup/img/bou2.png), url(./Dup/img/right.png), url(./Dup/img/ki.png);
    background-position: center bottom, bottom right, 30% 100%;
    background-size: 60%, 40%, 15%;
    background-repeat: repeat-y, no-repeat, no-repeat;
    position: relative;
    padding-bottom: 150px;
}

.bg_color4 {
    background-color: #f1f8ff;
}

#top_contents2 .con_box .con_img {
        border: 15px solid white;
    transform: rotate(-3.5deg) scale(0.8) translate(0px, -60px);
    /* transform-origin: left; */
}

#top_contents2{
       background-image: url(./Dup/img/bou3.png);
    background-position: center top;
    background-size: 60%;
    margin-bottom: -2px;
        background-repeat: repeat-y;
}

#top_contents1:before{
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    position: absolute;
    top: 0;
    left: 50%;
    background-image: url(./Dup/img/left2.png);
    background-position: top left;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
}

.bg_color4 {
    background-color: #eaf5fb;
}

#logo {
    width: 40%;
    height: 150px;
    background-color: transparent;
        transform: translate(-10%, 0px);
}

main{
    position: relative;
}

main:not(.top):before{
    content: "";
    display: block;
    width: 400px;
    height: 400px;
    position: absolute;
    top: 300px;
    left: 85%;
    background-image: url(./Dup/img/ira.png);
    background-position: top center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

#footer:before {
    background: rgba(158, 216, 245, 0.5);
}

.bg_color3 {
    background-color: #9ed8f5;
}

#page_title::before {
    background: rgba(0,0,0, 0);
}

#loading_line .line {
        background-color: #eaf5fb;
}

#main_img {
    max-height: 100%;
}

#top_contents2 .fadein_right {
    transform: translateX(-50px);
}

#top_contents2 .con_box .text_box:first-child {
    border-radius: 30px 0 0 30px;
}

#top_contents2 .img_box{
    position: relative;
}

#top_contents2 .con_box:first-child .img_box:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 30%;
    background-image: url(./Dup/img/ara.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 100px;
    pointer-events: none;
    z-index: 1;
}

#top_contents2 .con_box:nth-child(2) .img_box:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: -15%;
    background-image: url(./Dup/img/ara2.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 150px;
    pointer-events: none;
    z-index: 1;
}


#top_contact_box2 a i {
    left: -30px;
    top: 50%;
    transform: translateY(-55%);
}

#top_contact_box2 .tel_bt a {
    padding-left: 27px;
    padding-top: 0;
}

#top_contact_box2 .tel_bt, #top_contact_box2 .con_bt {
        max-width: 350px;
    height: 55px;
    padding: 8px 10px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #aedef7;
    color: white;
}

#top_contact_box{
    display: none;
}

#top_cms{
        background-image: url(./Dup/img/left.png), url(./Dup/img/right.png);
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: top left, right bottom;
    padding: 150px 5%;
}

#top_contact_box2{
    background-color: #eaf5fb;
    padding: 100px 0;
}


.swiper-container:before{
    content: "";
    display: block;
    width: 94%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/copy.png);
    background-position: center right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 50%;
    pointer-events: none;
        z-index: 2;
}


.hosoku{
    display: block;
    font-size: 14px;
}

.henko > .d_flex{
    background-color: #f1faff;
    padding: 20px;
    box-sizing: border-box;
}

.henko > .d_flex p:first-child{
        text-align: center;
    margin-bottom: 30px;
}

#contact_tel0, #contact_tel, #contact_tel2{
    padding: 5px;
}

#contact_tel3{
        margin: 50px auto;
}


.footer_box .txt_white{
    color: black;
}

.linkStyle{color: #20207f;}

.hvr_bg_color3:hover {
    background-color: #f1faff;
        color: black;
}

#page9 table{
        border: 1px solid #e3e3e3;
            width: 100%;
}

#page9 table td{
    padding: 10px;
    font-size: 14px;
}

#page9 table th{
        padding: 5px 10px;
        background-color: aliceblue;
}

#page9 .top_txt{
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 10px;
}

.pra_ti{
        font-size: 22px;
    background-color: aliceblue;
    padding: 10px;
    font-weight: bold;
    margin-bottom: 10px;
    color: gray;
}


.txt_color3 {
    color: #6bbfe9;
}


#top_contact_box2 .inner .btn_box:nth-child(2) a span{
    margin-left: 10%;
}

#loading_logo {
    max-width: 300px;
}

#loading {
    pointer-events: none;
}


/*--20220819 correct start--*/

.setu p {
    background-color: #1a1a7b;
    border-radius: 50px;
    padding: 10px 5px;
    color: white;
    width: 85%;
    margin: auto;
    box-sizing: border-box;
    letter-spacing: 0.01em;
    line-height: 1.2em;
}

.setu .grid_3{
    padding: 5px;
}

.catch_txt{
    margin-top: 300px;
}

.custom_hide{
    display: none;
}

.catch_txt:before {
    content: "";
    display: block;
    width: 300px;
    height: 300px;
    position: absolute;
    top: 10px;
    left: 50%;
    background-image: url(./Dup/img/earth.png);
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.setu .meri{
        max-width: 500px;
    margin: auto;
        margin-bottom: 20px;
}

.setu h2{
        text-align: center;
    font-size: 28px;
    color: #ff931e;
    font-weight: bold;
    margin: 10px 0;
    margin-bottom: 50px;
}

/*--20220819 correct end--*/


/*----20220822 correct start----*/

#top_info{
    padding: 100px 5%;
}

#page7 .map p{
        font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.link_btns{
    max-width: 840px;
    margin-top: 50px;
}

/*----20220822 correct end----*/

/*----20250609 correct start----*/

#footer #logo2{
     max-width: 320px;
}

/*----20250609 correct end----*/

/*--カスタム--*/
@media screen and (max-width: 1305px){
    

}    

/*--カスタム--*/
@media screen and (max-width: 1080px){
    .custom_hide{
        display: block;
    }
    
    .setu p {
    width: 90%;
}
    
    #top_info .info_txt {
    padding-left: 0px;
}
    
}

/* firefox のみ適用される */
@-moz-document url-prefix() {
  #page3 #cms_6-b .cate_txt2{
      width: 22%;
  }
}





/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#main_img:before, #main_img:after {
    background-size: 2000px;
}

#top_contents2 .fadein_right {
    overflow: visible;
}

main:not(.top):before {
    width: 200px;
    height: 200px;
}

#logo h1.logo {
    top: 25%;
    left: 25px;
    transform: none;
    max-width: 200px;
}

#top_contents2 .con_box:nth-of-type(2) .img_box {
    overflow: visible;
}

.setu p {
    width: 100%;
}

.setu{
    width: 80%;
    margin: auto;
}

#top_contents1 {
    padding: 50px 50px;
}

.setu .meri {
    max-width: 350px;
        margin-top: 100px;
}

#main_img {
    transform: translateY(60px);
}

#main_img:before {
    top: 90%;
}



}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){


#main_img:before, #main_img:after {
    background-size: 1000px;
    animation: sidetext 200s linear infinite;
}

.swiper-container {
    padding-bottom: 70px !important;
    padding-top: 70px !important;
}


#main_img:after {
    top: -14%;
    background-position: center top;
}

#logo {
    height: 70px;
    transform: none;
}

#top_contents1 {
    padding: 80px 30px 50px;
}

.catch_txt:before{
    width: 350px;
    height: 350px;
    top: 100px;
}

.catch_txt:after{
    width: 100px;
    height: 100px;
    top: -4%;;
}

#top_contents2 .con_box .con_img {
    border: 7px solid white;
    transform: rotate(-3.5deg) scale(1) translate(0px, -60px);
}

#top_contents2 .con_box:first-child .img_box:before {
    background-size: 60px;
}

#top_contents2 .con_box:nth-of-type(2) .img_box {
    overflow: visible;
    margin-top: 100px;
}

#top_contents2 .con_box:nth-child(2) .img_box:before{
    background-size: 80px;
}

.swiper-container:before {
    width: 96%;
    height: 100%;
    top: 45%;
    background-position: center right;
    background-size: 100%;
    z-index: 2;
}

main:not(.top):before {
    top: 230px;
        width: 100px;
    height: 100px;
}

#logo h1.logo {
    top: 35%;
    left: 15px;
    transform: none;
    max-width: 200px;
}

.top_cms_title .cms_title_inner, .top_info_title .info_title_inner {
    text-align: center;
}

#page9 table th {
    font-size: 12px;
}

.pra_ti {
    font-size: 18px;
}

.setu {
    width: 100%;
    margin: auto;
}

.setu h2{
    font-size: 26px;
}

#main_img {
    transform: translateY(0px);
}

#main_img:before {
    top: 80%;
}

.setu .meri {
    max-width: 250px;
    margin-top: 0px;
}

#footer #logo2{
        width: 60% !important;
}

#header h1.logo img{
    width: 130% !important;
}

/*--20250620 correct start --*/

#page3 #cms_6-b div.cate_txt2{
    box-sizing: border-box;
    padding: 0;
    line-height: 1.5em;
}

/*--20250620 correct end --*/

}