﻿


:root{
    --color_yellow:#ebbe5d;
    --color_rightgray:#eaeaea;
}

.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;
}

header .head_box{
    max-width:250px!important;
    padding-left:0;
    padding-right:0;
}
#main_menu ul li a{
    color:#333!important;
}
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;
    border-color:var(--color_yellow);
}

#top_cms .more a{
    border-radius:30px;
    border-color:#333;
}
#top_cms .more a:hover{
    border-color:var(--color_yellow);
}
footer .footer_cms,
footer #footer_menu li a,
footer #page-top a,
footer #page-top span,
footer #copyright,footer #copyright a{
    color:#fff!important;
}
footer .foot_tel_bt a{
    border-radius:30px;
    border-color:#333;
}
.footer_back{
    background-color: #222!important;
}

.hamburger__icon,.hamburger__icon:after, .hamburger__icon:before{
    background-color: rgb(51 102 204);
}

/*--top page---------------------------
-------------------------------------*/
#main_img .catch {
    width: 30vw;
    max-width: 600px;
    bottom: 6%;
    right: 7%;
    z-index: 3;
}
#contents_box .loop_outer{
    width:100%;
    height:113px;
    top: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;}
}
#contents0 p{
    position:relative;
    z-index:1;
}
#contents0 p::before{
    content:'';
    position:absolute;
    display:block;
    width:80px;
    height:80px;
    background-color:var(--color_rightgray);
    border-radius:50%;
    top:-30px;
    left:-25px;
    z-index:-1;
}
#contents_box .contents0_wrap .bg_dots {
    width: 300px;
    height: 100%;
    top: 10px;
    left: 10px;
}
#contents_box .contents1_wrap .item_a {
    bottom: 0;
    right: 0;
    width: 500px;
    height: auto;
    z-index: 1;
}
#contents1 a{
    margin-right: 0;
    border-radius: 30px;
}
#contents2 .con2_title{
    font-size:5rem;
}
.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){
#main_img .catch {
    width: 44vw;
    max-width: 600px;
    bottom: 8%;
    right: 2%;
    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;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#main_img .catch {
    width: 55vw;
    bottom: 22%;
}
#main_img .catch img{
    filter: drop-shadow(2px 2px 5px rgba(255,255,255,0.5));
}
#contents0 p::before{
    opacity:0.6;
}
#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;
}
#page_title h2 {
    font-size: 24px;
}
#cms_2-h .cate_box:first-of-type {
    margin-top: 0;
}
}




