﻿
ul.footer_link li a {
    transition: all 0.3s;
    background: white;
    border-radius: 30px;
    padding: 5px 15px;
    border: 2px solid #f77123;
    color: #f77123;
}
@media screen and (min-width:768px) and (max-width:1230px){
ul.footer_link li a{
    font-size:12px;   
}
footer .grid_6.grid_12_sp{
    width:60% !important;
}
.footer_txt.grid_6.grid_12_sp.mg_b-30px_sp{
    width:40% !important;
}
}
ul.footer_link li a:hover{
    opacity:0.6;
}
 .CMS_banner{
    display: inline-block;
    background: #f77123;
    line-height: 10px;
    width: 300px;
    text-align: center;
    border-radius: 30px;
}
@media screen and (max-width:1394px){
    nav span.font_bold.d_block.mg_b-10px.font_18 {
    font-size: 14px;
}
 
}
@media screen and (max-width:1194px){
    .fix_wrap{
        top:190px !important;
    }
}
#banner2_fix a,#banner1_fix a{
    transition:all 0.3s;
}
#banner2_fix a:hover,#banner1_fix a:hover{
    opacity:0.6;
}
#banner2_fix a {
    background: white;
    border-radius: 50px;
    padding: 15px 30px;
    border: 3px solid;
    margin-top: 10px;
    font-size: 17px;
}
.fix_wrap{
position:fixed;
    right:0;
    top: 120px;
    display:flex;
    flex-direction:column;
    display:none;
    width: 280px;
    margin-right: 20px;
    z-index:99;

}
.fix_active{
    display:block !important;
    
}

@media screen and (max-width:768px) and (min-width:668px){
.fix_wrap {
    width: 100% !important;
    flex-direction: row !important;
    left: 10px ;
    top: 25px !important;
    display:none !important;
}
.fix_active{
    display:block !important;
    display: flex !important;
}
#banner1_fix img{
width:280px;
}
#banner2_fix a {
    width: 210px;
    
    margin-left: 10px;
margin-top:3px !important;
padding:11px 30px;
}
}

@media screen and (max-width:667px){
       .fix_wrap {
    position: fixed;
    left: 20px;
    flex-direction: column;
    display: none;
    width: 70%;
    margin-right: 20px;
    top:4px !important;
   
}
#banner2_fix{
    display:none;
}
}

.menu_bt > div span:first-of-type {
    margin-bottom: 8px;
}
.menu_bt.active > div span:nth-child(2) {
    width: 30px;
    height: 2px;
    transform: translate(0px,8px) rotate(45deg);
}
  .mail i {
      transform: rotate(100deg) translateY(3px);
}
@media all and (-ms-high-contrast: none){

#cms_2-a .cate .cate_title,#cms_2-b .cate .cate_title{
    padding-top:10px !important;
}
}

#contact_bar{
    background: #f7f7f7;
}
#menu_wrap li a{
    border:0;
    margin-bottom:10px;
}
.linkStyle{
    color:#1a73e8;
    transition:all 0.3s;
}
.linkStyle:hover{
    opacity:0.7;
}
#intro .intro_title span {
    width: 100%;
    text-align: center;
    left:0;
    margin-top: -30px;
}
#main_b,#contents1_txt{
    opacity:0;
   
}

.main_anime{
     animation: m_b 0.5s linear forwards;
}
@keyframes m_b{
    0%{
        transform:translateY(20px);
        opacity:0;
    }
    100%{
        transform:translateY(0px);
        opacity:1;
    }
}
.border{
	position: relative;
	display:inline-block;
	padding:0;
}

.border:before{
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 100%;
	border-bottom: solid 2px white;
	transform: translateX(-50%);
	animation: border_anim 1.5s linear forwards;
}
.border2:before{
	content: '';
	position: absolute;
	left: 0%;
	bottom: 0;
	width: 100%;
	border-bottom: solid 2px white;
	transform: translateX(0%);
	animation: border_anim 1.5s linear forwards;
}
@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 100%;
	}
}
.text__bound {
  animation: key .4s ease infinite alternate;
}
@keyframes key {
  0% {transform: translateY(0px);}
  100% {transform: translateY(-10px);}
}


ul.sns_links li img{
    border-radius:10px;
}
.banner_wrap2 a:hover{
    transform:scale(1.05);
}
.banner_wrap2{
    display: flex;
    justify-content: center;
}
.banner_wrap2 div{
    padding:10px;
}
#yoyaku a{
    display: inline-block;
    background: #1a73e8;
    padding: 20px 45px;
    font-size: 28px;
    border-radius: 40px;
    color: white;
    font-family: 'Kosugi Maru';
    transition:all 0.5s;
}
#soudan a{
    display: inline-block;
    background: #f77123;
    padding: 20px 45px;
    font-size: 28px;
    border-radius: 40px;
    color: white;
    font-family: 'Kosugi Maru';
    transition:all 0.5s;
}
#LINE{
    max-width: 300px;
    margin: auto;
    transition:all 0.3s;
    margin-bottom: 30px;
}
#LINE:hover{
    opacity:0.6;
}
#cms_2-b h3.cate_title{
    background: #f77123;
    border-color: #ffa570;
}
p.d_inline_b.bg_color2.font_bold.font_14.font_12_sp.pd_5px.pd_l-10px.pd_r-10px.border_rad10.mg_b-10px {
    background: #5397e1;
}

section#main_img::before {
    width: 90%;
    height: 100%;
    background: #ffebd7;
    content: "";
    position: absolute;
    z-index: -1;
    left: 20px;
    top: 16px;
    border-radius: 20px;
    transform: rotate( 
-1deg);
}
div#contents1_txt {
    background: #fffaf5;
    border-color: #ff8035;
}
#contents1_txt h3{
    font-size: 26px;
    color: #3eb135;
}
#contents2{
    background: #ff8035;
}
#contents2 p{
    color:white;
}
#contents2 figure {
    overflow: hidden;
    border-radius: 20px;
    transform: rotate(2deg) translate(-20px,-40px);
}
.font_14 {
    font-size: 16px;
}
#main_b {
    position: absolute;
    z-index: 2;
    left: 90px;
    top: 70px;
 
}

section#main_img{
    position:relative;
}
h3.font_serif.font_20.txt_color1.mg_b-30px.font_16_sp.mg_b-20px_sp {
    font-size: 32px;
    color: white;
    margin-left: 20px;
    width: 20%;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}
h3.font_serif.font_20.mg_b-40px.font_16_sp.mg_b-20px_sp.pd_l-20px.pd_r-20px{
    font-size: 32px;
    margin-bottom: 20px;
}

h1,h2,h3,h4,.font_serif{
font-family: 'Kosugi Maru', sans-serif;
}
#banner1:hover{
    opacity:0.6;
}
div#head_r_wrap{
    display:flex;
}
#banner1{
    transition: all 0.3s;
    margin-right: 30px;
}

#header{
    padding-bottom:20px;
}
body{
    background:white;
}

.sc_menu span.txt_color_nomal,nav span.txt_color nomal{
    color:#1a73e8
}
span.txt_color_nomal.opacity05.d_block.font_bold.font_12.letter_2{
  color:#1a73e8;   
  opacity:0.5;
}
h3.font_serif.font_20.txt_color1.mg_b-30px.font_16_sp.mg_b-20px_sp::after{
    content: "POINT!";
    position: absolute;
    top: -50px;
    left:0;
    font-size: 28px;
    color: white;
}
a.txt_color3.font_32.font_bold.motion03s.hvr_opa06{
    color:#3eb134;
}
span.opacity04 {
    color: #ffffff;
    opacity: 1;
}
.bg_color2.loader_bg{
    background:white;
}

/*------------------------------------タブレット----------------------------------------*/
@media screen and (max-width:768px){
#sp_banner{
    width: 50%;
    margin: auto;
    margin-bottom: 50px;
}
    #cms_4-b .box_wrap{
        justify-content:space-around;
    }
    #main_b {
    position: absolute;
    z-index: 2;
    left: 80px;
    top: 30px;
    width: 490px;
}
#contents2 figure {
    transform: translateY(-50px);
}
}
/*------------------------------------ここまで----------------------------------------*/


/*------------------------------------スマホ----------------------------------------*/
@media screen and (max-width:667px){
.linehight_1.txt_center.width_1280-max.pd_50px{
    padding: 50px 0px;
}
    #page_title.active h2{
        font-size:21px;
        white-space:nowrap;
    }
    #contents1_txt h3 {
    font-size: 18px;
    color: #3eb135;
}
h3.font_serif.font_20.mg_b-40px.font_16_sp.mg_b-20px_sp.pd_l-20px.pd_r-20px {
    font-size: 22px;
    margin-bottom: 20px;
}
    #menu_wrap li a{
        margin:0;
        padding:0;
    }
#sp_banner{
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
}
    h3.font_serif.font_20.txt_color1.mg_b-30px.font_16_sp.mg_b-20px_sp {
    font-size: 22px;
}
    #main_b {
    position: absolute;
    z-index: 2;
    left: 35px;
    top: 20px;
    width: 82vw;
}
    #banner1{
        display:none;
    }
    h3.font_serif.font_20.txt_color1.mg_b-30px.font_16_sp.mg_b-20px_sp::after {
    content: "POINT!";
    position: absolute;
    top: -50px;
    left: 0;
    font-size: 24px;
    color: #ffffff;
}
h3.font_serif.font_20.txt_color1.mg_b-30px.font_16_sp.mg_b-20px_sp{
    margin-left: 0;
}
.banner_wrap2{
    flex-direction:column;
}
}
/*------------------------------------ここまで----------------------------------------*/