﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ----------　all　---------- */
.linkStyle{
	color:#cc4449;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#cc4449;
	opacity: 0.7;
	transition: all 0.5s;
}

body, .font_serif, .font_jp, .con_title, #page_title p, .cate_title, .box_title1, .box_title, .font_en {
font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}


/* nav */

#header h1 {
    width: 120px;
}

#header h1 img {
    height: auto;
    width: 120px!important;
}

/* footer */

.bnr-box {
    right: 10px;
    width: 30%;
    z-index: 3;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
}

/* ----------　TOP　---------- */

/* main-img */

#main_img .bg_box {
    background-image: url(Dup/img/main-font.png);
    background-repeat: no-repeat;
    background-position: center;
    animation-name:blurAnime;
    animation-delay: 1.5s;
    animation-duration:2s;
    animation-fill-mode:forwards;
  filter: blur(15px);
  transform: scale(1.1);
  opacity: 0;
  mix-blend-mode: difference;
}

@keyframes blurAnime{
  from {
  filter: blur(15px);
  transform: scale(1.1);
  opacity: 0;
  /*transform:skew(15deg, 50deg);*/
  
  }

  to {
  filter: blur(0px);
  transform: scale(1);
  opacity: 0.9;
  /*transform:skew(0deg, 0deg);*/
  }
}

.main-p {
    z-index: 5;
    animation-name:blurAnime2;
    animation-duration:1s;
    animation-fill-mode:forwards;
  filter: blur(15px);
  transform: scale(1.1);
  opacity: 0;
}

.main-p p {
    font-size: 10px;
    font-weight: lighter;
    display: none;

}

.p1{
    top: 15%;
    left: 10%;
    animation-delay: 1s;
}

.p2{
    top: 55%;
    left: 5%;
    animation-delay: 1.2s;
}

.p3{
    top: 25%;
    right: 20%;
    animation-delay: 1.4s;
}

.p4{
    top: 80%;
    right: 40%;
    animation-delay: 1.6s;
}

.p5{
    top: 40%;
    right: 35%;
    animation-delay: 1.8s;
}

.p6{
    top: 60%;
    left: 35%;
    animation-delay: 1.3s;
}

.p7{
    top: 70%;
    right: 10%;
    animation-delay: 1.7s;
}

.p8{
    top: 90%;
    left: 20%;
    animation-delay: 1.1s;
}

@keyframes blurAnime2{
  from {
  filter: blur(15px);
  transform: scale(1.1);
  opacity: 0;
  }

  to {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  }
}

/* top */

#contents1 .con_title::before, #contents1-h .con_title::before {
    display: none;
}

.con_title {
    font-size: 35px;
}

.con_sub_title {
    text-shadow: 0 0 15px #d9d73d;
    position: absolute;
    z-index: 1;
    width: 30%;
    color: #fff;
    background-color: #1a1a1a;
    font-size: 50px;
    top: 30px;
}

.con_title, .con_sub_title {
    font-family: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

#contents1 .posi_abs, #contents1-h .posi_abs {
    width: 55%!important;
}

#contents1 .con_sub_title {
    text-align: right;
    left: 0;
    padding-right: 30px;
}

#contents1-h .con_sub_title {
    text-align: left;
    right: 0;
    padding-left: 30px;
}

#contents1 .con_title::first-letter, #contents1-h .con_title::first-letter {
    font-size: calc(1em + 20px);
    color: #b32a30;
}

#contents1-h .con_title::first-letter {
    letter-spacing: -10px;
}

#contents1 .con_box, #contents1-h .con_box {
    margin-bottom: 0;
}

#contents1-h .con_box {
    padding-left: 100px;
}

.con2_title1 {
    text-shadow: 0 0 15px #d9d73d;
    z-index: 3;
    text-align: right;
    padding-right: 20px;
    top: 20%;
    left: 0;
    font-size: 20px;
    font-weight: bold;
}

.con2_title2 {
    font-family: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

.con2_title2::first-letter {
    font-size: calc(1em + 10px);
    color: #b32a30;
}

#contents2 .con2_title1 span {
    background-image: none;
}

/* top-cms */

#top_cms .cms_title {
    background-position: bottom center;
    background-size: 280px 3px;
    padding-bottom: 15px;
}

.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}


.link_type2 .cate_box a {
    color: #fff;
    font-family: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: #c52e3d;
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}

/* ----------　下層ページ　---------- */

#under_page .under_box {
    background-color: transparent;
}

#page_title {
    background-color: #cc4449;
}

#page_title p {
    color: #ffffff;
}

#cms_2-h .cms_bnr a {
    margin-left: 0;
}

#cms_2-h .cms_bnr a:empty {
    display: none!important;
}

#cms_2-h .box_title1:before {
    display: none;
}

/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
.p1 {
    top: 30%;
    left: 25%;
}

.p3 {
    top: 20%;
    right: 10%;
}

.p5 {
    top: 45%;
    right: 25%;
}

.p6 {
    top: 55%;
}

.p8 {
    top: 90%;
    left: 15%;
}
    
#main_img .bg_box {
    background-size: cover;
}
    
#contents1 .posi_abs, #contents1-h .posi_abs {
    width: 100%!important;
}

.con_sub_title {
    width: 35%;
    font-size: 40px;
}

#contents1 .con_title .border, #contents1-h .con_title .border {
    display: none;
}

#contents1 .con_sub_title {
    text-align: left;
    padding-left: 50px;
}

#contents1-h .con_sub_title {
    text-align: right;
    padding-right: 50px;
}

#contents1-h .con_box {
    padding-left: 50px;
}

.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}

.bnr-box {
    width: 50%;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
#header h1 img {
    height: auto;
    width: 70px!important;
}
    
#main_img .bg_box {
    background-size: 150%;
}

.p1 {
    top: 30%;
    left: 15%;
}

.p2 {
    left: 15%;
    top: 65%;
}

.p3 {
    top: 15%;
    right: 10%;
}

.p4 {
    top: 75%;
    right: 25%;
}

.p5 {
    top: 40%;
    right: 5%;
}

.p6 {
    top: 50%;
    left: 5%;
}

.p7 {
    top: 55%;
    right: 10%;
}

.p8 {
    top: 85%;
    left: 3%;
}
    
.con_title {
    font-size: 20px;
    font-weight: bold;
}

.con_sub_title {
    width: 45%;
    font-size: 25px;
    top: 15px;
}

#contents1-h .con_title::first-letter {
    letter-spacing: -5px;
}

#contents1 .con_title::first-letter, #contents1-h .con_title::first-letter {
    font-size: calc(1em + 10px);
}

#contents1 .con_box, #contents1-h .con_box {
    padding-left: 0;
    padding-right: 0;
}

.con2_title1 {
    width: 60%!important;
    top: 10%;
}

#contents2 .con2_title1 span {
    padding-right: 50px;
}
    
.bnr-box {
    width: 75%;
    left: 0;
    right: 0;
    margin: auto;
} 

.sp_contact_bt a {
    display: none;
}

#page_title h2 {
    font-size: 24px;
}

#under_page {
    padding-top: 50px;
}

#cms_2-h .cms_bnr a {
    width: auto!important;
    margin: 30px auto 0;
}
    
}