﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

/* ----------　all　---------- */
.linkStyle{
	color:#333C9E;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#333C9E;
	opacity: 0.7;
	transition: all 0.5s;
}

html, body{
    font-size: 16px;
    font-family: 'Zen Maru Gothic', sans-serif!important;
}

.font_en {
        font-family: 'Zen Maru Gothic', sans-serif!important;}

.more a {
    background-color: #ffffff;
    color: #333C9E;
    border-radius: 25px;
    font-weight: bold;
}

.button:hover::after {
    box-shadow: inset 0 0 0 15em rgb(51,60,158);
}

.main_box img, .main_box figure {
    border-radius: 25px;
}

#video {
    height: auto!important;
}

#video video {
    width: 100%!important;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 25px;
}

h2, h3, h4 {
    font-weight: 700;
}

/* nav */

header {
        background: rgb(98,119,177);
    background: linear-gradient(180deg, rgba(98,119,177,1) 0%, rgba(51,60,158,1) 100%);
}

#main_menu ul li a, header .tel_bt a {
    color: #ffffff;
}

#main_menu ul li a::before {
    background-color: #ffffff;
}

header .tel_bt a:hover {
    color: #333C9E;
}

header .tel_bt .button:hover::after {
    box-shadow: inset 0 0 0 15em rgb(255,255,255);
}

.fat-nav li a {
    color: #333C9E;
}

/* footer */

footer:before {
    content: "";
    width: 100%;
    height: 90px;
    background-image: url('/Dup/img/footer-top.png');
    background-repeat: repeat-x;
    background-size: 100%;
    background-position: center bottom;
    position: absolute;
    top: -88px;
    left: 0;
    z-index: 3;
}

footer {
    position: relative;
    background: rgb(98,119,177);
    background: linear-gradient(180deg, rgba(98,119,177,1) 0%, rgba(51,60,158,1) 100%);
}

.footer_cms, #footer_menu ul li a {
    color: #ffffff;
}

#copyright small, #copyright a {
    color: #ffffff;
}

.foot_tel_bt a {
    background-color: #ffffff;
    color: #333C9E;
    border-radius: 25px;
    font-weight: bold;
}

.link_box ul li a img {
    border-radius: 0;
}

/* ----------　TOP　---------- */

/* main-img */

#main_img {
    background-size: cover;
    background-position: bottom right;
}

.main-copy {
z-index: 3;
    max-width: 652px;
    width: 35%;
    top: 15%;
    left: 0;
    right: 0;
    margin: auto;
}

/* top */

#contents1 {
    position: relative;
}

#contents1::before {
    content: "";
    width: 100%;
    height: 90px;
    background-image: url('/Dup/img/intro-top.png');
    background-repeat: repeat-x;
    background-size: 100%;
    background-position: center bottom;
    position: absolute;
    top: -88px;
    left: 0;
    z-index: 3;
}


#contents2 {
    position: relative;
    background: rgba(150,223,255,1);
}

#contents2::before{
    content: "";
    width: 100%;
    height: 90px;
    background-image: url('/Dup/img/con2-top.png');
    background-repeat: repeat-x;
    background-size: 100%;
    background-position: center bottom;
    position: absolute;
    top: -88px;
    left: 0;
    z-index: 3;
}

.con2-ul {
    row-gap: 20px;
}

#contents3 {
    background: rgb(150,223,255);
    padding-bottom: 130px;
}




/* top-cms */

.top_cms_wrap:before {
    content: "";
    width: 100%;
    height: 90px;
    background-image: url('/Dup/img/topcms-top.png');
    background-repeat: repeat-x;
    background-size: 100%;
    background-position: center bottom;
    position: absolute;
    top: -88px;
    left: 0;
    z-index: 3;
}

.top_cms_wrap {
    position: relative;
    background: rgb(128,178,221);
    padding-bottom: 80px;
}

#top_cms .cms_wrap {
    background-color: rgba(255,255,255,0.65);
    box-shadow: 0 0 10px #ffffff;
    padding: 25px;
    border-radius: 25px;
}

#top_cms .cms_title h2 {
    color: #ffffff;
}

#top_cms .cms_title p {
    color: #333C9E;
}

.cms_title p, .page_box p {
        font-weight: 700;
}

/*バナー*/

.bnr-box {
    column-gap: 5%;
    row-gap: 30px;
}

.bnr-box a img {
    border-radius: 0!important;
}

.bnr-box-bt {
    margin: 50px auto 20px;
}

.bnr-box-bt a {
    margin: 0 auto;
}

/* ----------　下層ページ　---------- */

.cate_list li a, .pager li a, #page10 li a {
    color: #ffffff;
}

.button2:hover {
    box-shadow: none;
}

/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
#main_img {
    height: 50vh;
}

.main_box {
    padding-top: 55px;
}
    
.hamburger {
    top: 10px;
}

#contents1 {
    padding: 100px 8%;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
#main_img {
    height: 35vh;
}

.main-copy {
    width: 45%;
}
    
.main_box {
    padding-top: 45px;
}
    
.more a {
    width: auto;
}

.hamburger {
    top: 5px;
}

footer .logo {
    text-align: center;
}

footer::before {
    top: -90px;
}

footer {
    border-top: none!important;
}
}


/* 2023.01.25 修正 */
header .head_box .link_box li {
    width: 11.33333%!important;
}
@media screen and (max-width: 768px){
footer .link_box li {
    max-width: 39px;
}
}
@media screen and (max-width: 667px){
footer .link_box li {
    width: 11.33333%!important;
    max-width: 40px;
}
}