﻿/*body, .font_en {
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif"!important;
}*/


:root{
    --color_yellow:#ebbe5d;
    --color_rightgray:#eaeaea;
}
.blur {
    background-color: rgb(51 153 255 / 50%);
}

.bg_dots {
  margin     : auto;
  max-width  : 500px;
  height     : 200px;
  background-color:#fff;
  background-image   : radial-gradient(#eaeaea 7%, transparent 10%),
                       radial-gradient(#eaeaea 7%, transparent 10%);
  background-position: 28px,28px;
  background-size    : 36px 36px;
}

.linkStyle{
    color:#3366cc;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
}

header {
    background-color: #fff!important;
    border-right: 7px solid #0693e3;
}

header .head_box{
    /* max-width:250px!important; */
    padding-left:0;
    padding-right:0;
}
#main_menu ul li a{
    color:#333!important;
}
header .tel_bt {display: none;}

header .contact_bt a, header .tel_bt a{
    color:#333!important;
    border-radius:30px;
}
header .contact_bt a:hover, header .tel_bt a:hover{
    color:#fff!important;
}

header {
    z-index: 100;
    width: 20%!important;
}
header .button:hover::after {
    box-shadow: inset 0 0 0 15em #0693e3;
}
.pc_box {
    padding: 0 10px;
}

.main_box {
    width: 80%!important;
    margin-left: 20%;
}
#main_menu ul li a::before {
    background-color: #333;
}

#top_cms .more a{
    border-radius:30px;
    border-color:#333;
}
#top_cms .more a:hover{
    border-color:var(--color_yellow);
}

footer .foot_tel_bt a{
    border-radius:30px;
    border-color:#333;
}
footer .foot_tel_bt a:hover {
    z-index: 1;
}
.footer_back {
    background-color: #ffffff!important;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #0693e3;
}

.hamburger__icon,.hamburger__icon:after, .hamburger__icon:before{
    background-color: rgb(51 102 204);
}

.banner:before{
    display: none;
}

.link_box li {
    width: 10.33333%!important;
}


/*--top page---------------------------
-------------------------------------*/
#main_img .catch {
    width: 34vw;
    max-width: 572px;
    top: 19%;
    right: 12%;
    z-index: 3;
}
#main_img {
    max-height: auto;
    min-height: auto;
}
.scroll_bt {
    display: none;
}

#contents_box .loop_outer {
    width: 100%;
    height: 113px;
    bottom: 8%;
}
#contents_box .loop::before{
    position: absolute;
	content: "";
	left: 0;
	top: 0;
	width: 100%;
	height: 113px;
	background-image: url("../dup/img/loop.png");
	background-size: auto 100%;
	background-position-y: 0;
	background-position-x: 0;
	background-repeat: repeat-x;
	animation: loop 30s linear infinite;
	z-index:-1;
	opacity:0.6;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1000px;}
}

#contents_box .bg_dots {
    width: 300px;
    height: 100%;
    top: 10px;
    left: 10px;
    z-index: -1;
}
#contents1 {
    padding-bottom: 50px;
}
#contents1 a{
    margin-left: 0;
    border-radius: 30px;
}
#contents2 .con2_title{
    font-size:5rem;
}
.img7 {
    height: 400px;
}
.more_btn a{
    border-radius: 200px;
}

.top_cms_wrap .item_a2{
    top:0;
    left:0;
    width:300px;
    height:auto;
    z-index:0;
}
.top_cms_wrap .bg_dots{
    width:300px;
    height:300px;
    bottom:0;
    right:0;
}
#top_cms .cms_title h2{
    color:#333;
}
#top_cms .cms_2-h .box_wrap {
    box-shadow: none;
}
#top_cms .cate_box:nth-of-type(3),
#top_cms .cate_box:last-of-type{
    margin-bottom:0;
}
#top_cms .cms_2-g .box_wrap{
    box-shadow:none;
}
#top_cms .cms_2-h .box_item_img img{
    top:50%;
}

/*--under page---------------------------
-------------------------------------*/
.all article section{
    box-shadow: 0 5px 10px rgb(0 0 0 / 15%)
}
#page_title h2{
    color:#333!important;
}
.cate_list li a{
    padding-bottom:8px;
    border-radius:30px;
}
.pager li a{
    border-radius:30px;
}
/*CASES*/
#cms_2-h .box_title1:before{
    display:none;
}

#page8 #contact_tel a{
    border-radius: 50px;
}

#page10 .d_flex li a{
    color:#333;
    border-color:#333;
    border-radius:30px;
}
#page10 .d_flex li a:hover{
    color:#fff;
    border-color: #3366cc;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
header {
    border-right: none;
    border-bottom: 6px solid #0693e3;
}
.main_box {
    padding-top: 70px;
    width: 100%!important;
    margin-left: 0;
}
#main_img .catch {
    width: 44vw;
    max-width: 600px;
    /* bottom: 8%; */
    right: 5%;
    z-index: 3;
}
#contents0 p::before{
    width: 50px;
    height: 50px;
    top: -20px;
    left: -10px;
}
#contents_box .contents1_wrap .item_a{
    width:300px;
}
#contents1 h2{
    font-size:27px;
}
#top_cms .cate_box:nth-of-type(3), #top_cms .cate_box:last-of-type{
    margin-bottom:30px;
}
.fat-nav li{
    font-size:15px;
}
.fat-nav li:last-child a{
    border-color:#333;
    border-radius:30px;
}
#page_title .page_box {
    /* padding-left: 10px; */
}
#page_title h2{
    font-size:30px;
}

footer .link_box li {
    max-width: 34px;
    width: 13.5%!important;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

#main_img .catch {
    width: 54vw;
    /* bottom: 22%; */
    top: 30px;
    right: 27px;
}
#main_img .catch img{
    filter: drop-shadow(2px 2px 5px rgba(255,255,255,0.5));
}
#contents0 p::before{
    opacity:0.6;
}
#contents_box .loop_outer {
    bottom: 2%;
}
#contents1 h2 {
    font-size: 21px;
}
#contents2 .con2_title {
    font-size: 3.5rem;
}
#contents2 h2, #contents3 h3{
    font-size:20px;
}
.top_cms_wrap .item_a2{
    width:200px;
}
.cms_2-h .box_item_img{
    padding-top:0;
}

.main_box {
    padding-top: 66px;
}
#page_title h2 {
    font-size: 20px;
    letter-spacing: 2px;
}
#cms_2-h .cate_box:first-of-type {
    margin-top: 0;
}

.banner {
    background-color: transparent;
    padding: 0;
}
.banner:before {border: none;}
#page8 #contact_tel a {
    border-radius: 0;
    padding: 10px;
    font-size: 14px;
}
#cms_1-a {
    padding: 0 15px;
}

#contents2 h2, #contents3 h3 {
    font-size: 18px;
}
.foot_tel_bt a:hover {
    color: #9d9d9d;
}
#copyright {
    padding-bottom: 41px;
}
}




