﻿#intro_txt a {
    display: inline-block;
    background: #bc002d;
    color: white;
    padding: 10px 80px;
    margin-top: 30px;
    transition:all 0.3s;
}
#intro_txt a:hover{
    opacity:0.8;
}
.cate_list li:hover a {
    opacity: 1;
}
.cate_list li:hover .cate_no{
    opacity: 0.3 !important;
}
.border_color3 {
    border-color: #80001f;
}
a.linkStyle {
    color: #bc002d;
    text-decoration: underline;
}
.hvr_bg_color3:hover {
    background-color: #930023;
}
.txt_color3 {
    color: #bc002d;
}
.other div#header{
    height:200px ;
}
.other h1{
    height:200px !important;
}
.other h1::after{
    display:none;
}
#page_title > div {
    position: relative;
    z-index: 3;
    margin-bottom: 70px;
}
#page_title {
    padding-top: 200px;
    padding-bottom: 0px;
    background-position: center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.other #main_nav ul::after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgb(255 255 255) 100%);
}
.other nav ul li a {
    color: white;
}
#page_title:before {
    background: #bc002d url(Dup/img/bg2.png) !important;
    opacity: 1;
}
#page_title:after{
    display:none;
}
h1 img {
    width: 350px;
}
#loader img{
    width:500px;
}
.border_color1 {
    border-color: #bc002d;
}
.bg_color3 {
    background-color: #bc002d;
}
#footer {
    background: #bc002d url(Dup/img/bg2.png);
    opacity: 1 !important;
}
#menu_wrap::after{
    background: #bc002d url(Dup/img/bg2.png) !important;
    opacity:1;
}
#menu_wrap nav ul li a .title2{
    dipslay:none;
}
#menu_wrap nav li a {
    color: white;
}
#loader:after{
  background: #bc002d url(Dup/img/bg2.png) !important;
}
#top_cms .top_cms_box .more a {
    color: #bc002d;
}
#top_cms .top_cms_box .more a::after {
    background-color: #bc002d;
}
#top_cms .top_cms_box .more a:hover{
color:white;
}
.top_cms_title h3:before {
    width: 150px;
    height: 110px;
    content: "";
    position: absolute;
    background: url(Dup/img/title_bg.png) no-repeat;
    background-size: contain;
    top: -42px;
    left: -55px;
    opacity: 0.4;
}
#top_cms .top_cms_box .top_cms_title p{
    display:none;
}
@media screen and (max-width:1281px){
#contents2 h3{
    font-size: 60px;
}
}
.txt_color1 {
    color: #bc002d;
}
.bg_color1 {
    background-color: #bc002d;
}
#contents h3, #contents2 h3 {
    padding: 0 50px;
}
#contents::before, #contents2::before{
    background-image:url("Dup/img/contents_bg3.png");
    background-size: 60% 40%;
    opacity: 1;
    background-repeat:no-repeat;
}
#contents div h4,#contents2 div h4 {
    margin-bottom: 0;
    font-size: 38px;
    letter-spacing: 2px;
}
#contents div p:first-of-type,#contents2 div p:first-of-type {
    padding: 30px;
    font-size: 18px;
}
#contents div p:last-of-type,#contents2 div p:last-of-type {
    background: white;
    color: black;
    padding: 30px;
}
#main_b2 {
    position: absolute;
    right: 7%;
    width: 40vw;
    top: 8%;
}
#contents_links .box_wrap .box a div span::after{
    background-color: #fff;
}
span.en_font.font_bold.font_18.border_so1.font_16_tb.font_14_sp {
    color: #bc002d;
}
.link_title {
    background: #bc002d;
    display: inline-block;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 50px;
    margin-top: 40px;
}
#contents_links .box_wrap .box a p {
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgb(0 0 0 / 10%);
    background: #bc002d;
}
#contents_links .box_wrap .box a p span {
     background: #bc002d;
}
#contents_links .box_wrap .box a h4 {
    background: #bc002d;
    border: 0;
    margin-bottom: 0;
}
#contents_links .box_wrap .box a h4 {
    background: #bc002d;
}

#contents_links .box_wrap .box a::after,#contents_links .box_wrap .box a:hover::after{
    opacity:1;
}
#contents_links .box_wrap .box a:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: #fafafa7a;
    z-index: 2;
    top: 0;
    left: 0;
}
#contents_links .box_wrap .box a {
    border: 5px solid #bc002d;
}
#contents_links .box_wrap .box {
    border: 0 !important;
    padding: 10px;
    background: transparent;
}
#contents_links{
   position:relative;
}
section#contents_links:before {
    width: 100%;
    height: 80%;
    content: "";
    position: absolute;
    bottom: 0;
    background: red;
    background: url(Dup/img/contents_bg.png);
    background-size: 50%;
}

#contents{
    margin-bottom:0;
}
#contents2::before {
    transform: scale(-1,1);
}
#contents2 h3{
    text-align:right;
}
#contents2 div {
    margin-left: 5%;
}
#intro_wrap h3 {
    margin-bottom: 0;
    font-size: 34px;
    color: white;
    width: 74%;
    letter-spacing: 2px;
}
#intro_wrap{
display: flex;
    background: none;
    justify-content: center;
    padding-top: 100px;
}
#intro_wrap>div.grid_5{
    background: #bc002d;
    border-radius: 100%;
    width: 500px !important;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  position:relative;
}
#intro_txt{
    padding: 100px 0;
    background: none;
    padding-left: 100px;
    color: black;
}
#intro_txt p{
    width:100% !important;
    position:relative;
}
#intro_txt p:before {
    content: "はじめに";
    font-size: 80px;
    font-weight: bold;
    color: #bc002d2e;
    position: absolute;
    top: -140px;
    left: -50px;
}
#intro_wrap>div.grid_5:before {
    width: 250px;
    height: 220px;
    content: "";
    position: absolute;
    background: url(Dup/img/intro.png) no-repeat;
    background-size: contain;
    bottom: -110px;
    left: -50px;
}
/*
#main_img {
    background: url(Dup/img/main_bg.png) no-repeat;
    background-position: 90% 50%;
    background-size: 40%;
}*/
#main_b{
    width: 50vw;
    position: absolute;
    top: 20%;
    left: 10%;
}
nav li a.txt_white {
    color: #bc002d;
}
#main_nav ul::after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgb(188 0 45) 100%);
}
#main_nav ul::before{
background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgb(188 0 45) 100%);
}
#main_img::after{
    display:none;
}

h1::after {
    border-color: rgb(188 0 45) #bc002d00 #bc002d00 #bc002d00 !important;
}
/*
div#main_img:before {
    width: 100%;
    height: 40px;
    content: "";
    position: absolute;
    background: url(Dup/img/main_line.png);
    top: 0;
    background-size: contain;
}
#main_img:after {
    width: 100%;
    height: 40px;
    content: "";
    position: absolute;
    background: url(Dup/img/main_line.png);
    bottom: 0;
    background-size: contain;
    display: block !important;
}
*/

#contents div, #contents2 div {
    background: #bc002d url(Dup/img/bg2.png);
}
#contents_links .box_wrap .box.active:nth-of-type(even) {
    transform: translate(0,0);
    opacity: 1!important;
}
/*----------------------------------タブレット----------------------------------------*/
@media screen and (max-width:768px){
    #footer_box h2 {
    padding: 0 20px;
}
    #menu_bt {
   
    background: #bc002d;
}

    #main_b2 {
    position: absolute;
    right: 8%;
    width: 75%;
    top: 15%;
}
#main_b {
    width: 80%;
    position: absolute;
    top: 70%;
    left: 10%;
}
#intro_txt {
    padding: 100px 50px 100px 50px;
    background: none;
    padding-left: 0;
    padding: 100px 50px 100px 50px;
    color: black;
    width: 90% !important;
}
#intro_txt p:before{
    display:none;
}
section#intro {
    margin-bottom: 0;
}
section#contents_links:before {
    background-size: 90%;
}
#contents div, #contents2 div {
    width: 90%;
    margin-left: 5%;
}
#contents2 h3 {
    margin-bottom: 100px;
}
.top_cms_title h3:before {
    width: 110px;
    height: 80px;
    content: "";
    position: absolute;
    background: url(Dup/img/title_bg.png) no-repeat;
    background-size: contain;
    top: -27px;
    left: -39px;
    opacity: 0.4;
}
#intro_wrap {
    flex-direction:column;
    align-items: center;
}
#intro_wrap>div.grid_5 {
    width: 400px !important;
    height: 400px;
}
#intro_wrap h3 {
    margin-bottom: 0;
    font-size: 26px;
}
#intro_wrap>div.grid_5:before {
    width: 200px;
    height: 180px;
    content: "";
    position: absolute;
    background: url(Dup/img/intro.png) no-repeat;
    background-size: contain;
    bottom: -50px;
    left: -50px;
}
.cms_2-a .cate_box {
    flex-direction: column;
}
.cms_2-a .box_item {
    width: 80% !important;
    margin: auto;
}
#loader img {
    width: 300px;
}
.other h1 img {
    width: 250px;
}
#page_title {
    padding-top: 150px;
    padding-bottom: 30px;
}
#intro_wrap h3 {
    margin-bottom: 0;
    font-size: 20px;
}
#intro_wrap>div.grid_5 {
    width: 300px !important;
    height: 300px;
}
#intro_txt{
    padding: 100px 20px 100px 20px;
}
#contents div h4, #contents2 div h4 {
    font-size: 24px;
}
}
@media screen and (max-width:667px){
#contents::before, #contents2::before{
background-size: 100% 20%;
}

#contents h3, #contents2 h3 {
    padding: 0 20px;
    font-size: 50px;
    margin-top: -70px;
}
#contents div p:last-of-type, #contents2 div p:last-of-type {
    padding: 20px;
}
#contents div p:first-of-type, #contents2 div p:first-of-type {
    padding: 20px;
    font-size: 14px;
}
#top_cms .top_cms_box .top_cms_title h3 {
  
    left: 20px;
}
.cms_2-a .box_item {
    width: 100% !important;
}
.top_cms_title h3:before {
    width: 80px;
    height: 60px;
    content: "";
    position: absolute;
    background: url(Dup/img/title_bg.png) no-repeat;
    background-size: contain;
    top: -20px;
    left: -29px;
    opacity: 0.4;
}
#main_b{
top:90%;
}
#main_b2 {
    position: absolute;
    right: 8%;
    width: 85%;
    top: 21%;
}
h1 img {
    width: 230px;
}
.other h1 img {
    width: 230px;
}
#contents div h4, #contents2 div h4 {
    font-size: 22px;
    white-space: nowrap;
}
#page10 .box a > div p {
    opacity: 0.3;
}
#intro_txt a {
    display: inline-block;
    background: #bc002d;
    color: white;
    padding: 10px 0;
    width: 100%;
    margin-top: 30px;
    transition: all 0.3s;
    text-align: center;
}
}