﻿/* 1536 , 1530 × 735 ,1366 *//* 上記画面幅でも崩れていないか確認 */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */

@charset "utf-8";
/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
body {
    font-size: 15px;
}
#fix_bnr {
    bottom: 10px;
    right: 60px;
    z-index: 100;
    width: 300px;
}

#logo {
    background: transparent;
    height: 100%;
    width: 20%;
}
#logo h1 {
    left: 0;
    transform: translate(0%, -50%);
}
#loading_logo {
    max-width: 250px;
}
#loading_line .bg_color1 {
    background: var(--color3);
}
#footer #logo2 {
    transform: scale(1.5);
    background: #fff;
    padding-bottom: 0;
    padding: 5px 10px;
    border-radius: 5px;
}
#header-nav ul {
    font-weight: bold;
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#logo {
    height: 95px;
}
#logo h1.logo {
    left: 0px;
    max-width: 250px;
}
#fix_bnr {
    z-index: 10;
}
.overlay nav {
    height: 73%;
}
.overlay-menu .sns_links_tb {
    justify-content: flex-start;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#fix_bnr{width: 250px;}
#fix_menu {
    padding: 25px 0 25px;
}
#logo {
    height: 60px;
}
#logo h1.logo {
    left: 10px;
}
#logo h1.logo img {
    width: 100% !important;
}
#loading_logo {
    width: 55%;
}
.overlay nav {
    top: 44%;
}
#top_contact_box .top .txt_wrap {
    height: 0px !important;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(../img/catch.png);
    background-repeat: no-repeat;
    background-position: 39% 40%;
    background-size: 35%;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#main_img img {
    height: 100%;
    object-fit: cover;
}
#main_img {
   max-height: 50vh;
}
#main_img .box_img {
   height: 50vh;
}
    #main_img:before {
        background-position: 40% 66%;
        background-size: 50%;
    }
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#main_img {
    padding-top: 58px!important;
    max-height: 100vh;
}
#main_img .box_img {
    height: calc(100vh - 58px);
}
    #main_img:before {
        background-image: url(../img/catch_sp.png), url(../img/catch2_sp.png);
        background-position: 85% 24%, 6% 64%;
        background-size: 23%, 41%;
    }
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.title h2 {
    font-size: clamp(1.3rem, 1.8vw, 3rem);
}
#top_contents1 .title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
#top_contents1 h2:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color1);
    animation: underline-flow 2.5s infinite;
}
@keyframes underline-flow {
    0% {
        width: 0;
    }
    80% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}
#top_contact_box .bottom .box {
    background-color: rgba(23, 102, 162, 0.84);
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.title h2 {
    font-size: 4vw;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
    .title h2 {
        font-size: 6vw;
        padding-bottom: 10px;
    }
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#page7 .box_title1 {
    color: var(--color1);
    font-weight: bold;
}
#cms_2-c .square_img, #cms_2-c .rectangle_img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.6;
}

#cms_2-c .square_img img, #cms_2-c .rectangle_img img {
    object-fit: cover;
aspect-ratio: auto;
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.contact_btn_wrap .contact_btn .editBtn1 a {
    font-size: 20px !important;
}
#page10 .btn {
    margin-bottom: 10px;
}
}


