﻿@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');
.font1,
#page03 #cms_2-f #cate0 .cate_box:first-of-type .box_title1{
    font-family: 'Yusei Magic', 'Noto Sans JP', 'Comfortaa', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

:root{
    --color_yellow:#f6e358;
    --color_blue:#084ea1;
}

/*
#page-top{
    position:absolute;
}
*/

/*--all page---------------------------
-------------------------------------*/

.linkStyle{
    color:var(--color_blue);
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
}
.bg_color3{
    background-color:transparent;
    background:url(./Dup/img/bg1.jpg);
    background-size:200px;
}

.footer_tel{
    background-color:#fff;
}
#foot_nav li a,
.footer_h1,
#copylight{
    color:#fff;
}
.footer_h1 span{
    opacity:1;
}

/*--top page---------------------------
-------------------------------------*/
#header{
    right: 3%;
    position: absolute;
    width: 450px;
    top: -1%;
}
.head_tel{
    display:none;
}

#top_news .car{
    width:120px;
    margin-top:80px;
}
.anim_type2{
	position: relative;
	animation-name: anim_type2;
	animation-iteration-count: infinite;
	animation-duration: 0.1s;
	animation-direction: alternate;
	animation-timing-function: steps(2);
	transition-duration: .3s;
	transition-property: transform;
}
@keyframes anim_type2 {
	0% {bottom: 0;}
	100% {bottom: -3px;}
}

#top_cms .cms_title h3{
    color:#fff;
}
#top_cms .cms_box{
    border-bottom:0;
}
.cms_title p{
    color:var(--color_yellow);
    opacity:1;
}

/*point01~03*/
.rotateYTrigger{
    opacity:0;
}
.rotateY{
  animation-name:rotateYAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes rotateYAnime{
  from{
    transform: rotateY(0);
    opacity: 0;
    }
  to{
    transform: rotateY(-360deg);
    opacity: 1;
    }
}

.point01{
    top: -10%;
    left: -5%;
}
.point02{
    top: -30%;
    left: -5%;
}
.point03{
    top: -37%;
    left: -5%;
}



/*top_recruit*/
.cms_6-b .cate_box{
    border-color:var(--color_blue);
}

.cms_6-b .cate_box:first-of-type {
    border: 2px solid var(--color_blue);
    border-bottom:1px solid var(--color_blue);
    border-radius:30px 30px 0 0;
}

.cms_6-b .cate_box:not(:first-of-type){
    border-left:2px solid var(--color_blue);
    border-right:2px solid var(--color_blue);
}
.cms_6-b .cate_box:first-of-type .box_txt1{
    border-radius:27px 0 0 0;
}
.cms_6-b .cate_box:first-of-type .box_txt2{
    border-radius:0 27px 0 0;
}
.cms_6-b .cate_box:last-of-type{
    border-bottom:2px solid var(--color_blue);
    border-radius:0 0 30px 30px;
}
.cms_6-b .cate_box:last-of-type .box_txt1{
    border-radius:0 0 0 27px;
}
.cms_6-b .cate_box:last-of-type .box_txt2{
    border-radius:0 0 27px 0;
}

.cms_6-b .cate_box .box_txt1{
    border-bottom:1px solid #fff;
}
.cms_6-b .cate_box:last-of-type .box_txt1{
    border-bottom:0;
}




.cms_6-a .cate_wrap{
    border-radius:30px;
}


/*--under page---------------------------
-------------------------------------*/
.under_page h1{
    max-width:280px;
}



/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#header{
    top:1%;
}
#top_news .car {
    width: 100px;
    margin-top: 50px;
}
#top_contents3 .con3_box1{
    margin-top: 0;
    transform: none;
    padding-right: 0;
}
.point01 {
    top: -35%;
    left: -1%;
}
.point02 {
    top: -33%;
    left: -1%;
}
.point03 {
    top: -23%;
    left: -1%;
}
.con3_img,
.con3_img3 {
    margin-right:auto;
    margin-left: 18%;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#header {
    right: -20%;
}
#top_news .cms_title h3,
#top_news .cms_title p:not(:last-of-type){
    width:90%;
    margin:auto;
}
#top_news .car{
    width:80px;
    margin-top:-50px;
    margin-left:auto;
    margin-right:3%;
}
#top_contents1 .con1_img2 div{
    background-position:-50px;
}
#top_contents3 .con3_box1 .con_txt span{
    font-size:100%!important;
}
.point{
    width:80px;
}
.point01 {
    top: -24%;
}
.point02{
    top:-15%;
}
.point03{
    top:-13%;
}
.con3_img, .con3_img3 {
    margin-right: auto;
    margin-left: 8%;
}

.cms_6-b .cate_box:first-of-type .box_txt1 {
    border-radius: 27px 27px 0 0;
}
.cms_6-b .cate_box:first-of-type .box_txt2 {
    border-radius: 0;
}
.cms_6-b .cate_box .box_txt1{
    border-right: 0;
}
.cms_6-b .cate_box:last-of-type .box_txt1 {
    border-radius: 0;
}
.cms_6-b .cate_box:last-of-type .box_txt2 {
    border-radius: 0 0 27px 27px;
}

}






