﻿
/* ---------- font ---------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho:wght@800&display=swap');
:root{
    --font-js: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-serif: "Shippori Mincho", "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    
    --main-weight: 700;
    --sub-weight: 500;
    --sub2-weight: 600;
    --main-font-style: normal;
}
body{
    font-family: var(--font-js);
    font-size: 16px;
    @media screen and (max-width: 667px){
        font-size: 14px;
    }
}
#contents2 .title, #contents3 .title, #contents1 .title {
    font-family: var(--font-serif)!important;
}
#contents1 .text, #contents2 .text, #contents3 .text{
    font-weight: var(--sub2-weight);
}


/* ---------- color ---------- */



/* ======================================================================================
　　all
======================================================================================== */
.main_box {
    background-image: url(../img/bg1.png);
}
.tel_bt, .foot_tel_bt  {
    display: none!important;
}
#loading img{
    max-width: 150px;
}


/* ---------- header ---------- */
.link_box li{
    width: 14.33333% !important;
}
.fat-nav li:last-of-type a{
    display: none;
}

/* ---------- footer ---------- */
#copyright{
    font-size: 15px;
}



/*======================================================================================
　　top
======================================================================================== */

#main_img {
    max-height: 100%;
    min-height: 100%;
}
.fv_txt_box{
    top: 47%;
    left: 46%;
    max-width: 700px;
}
.fv_txt1{
    width: 47%;
    margin: auto;
}
.fv_txt2{
    width: 82%;
    margin: 8px auto 0;
}
.fv_txt3{
    width: 60%;
    margin: 7% auto 0;
}

.passing .passing-bar {
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--color1);
}
.passing .fv_txt3.passing-bar:before{
    background: #fff;
}
.passing.move .passing-bar:before {
    -webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
    animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing .passing-txt {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.passing.move .passing-txt {
    -webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
    animation: passing-txt 0s ease .5s 1 normal forwards;
    background-color: var(--color1);
}
.passing.move .fv_txt3 .passing-txt{
    background-color: #fff;
}
@-webkit-keyframes passing-bar{
	0% {left: 0;right: auto;width: 0;}
	50% {left: 0;right: auto;width: 100%;}
	51% {left: auto;right: 0;width: 100%;}
	100% {left: auto;right: 0;width: 0;}
}
@keyframes passing-bar{
	0% {left: 0;width: 0;}
	50% {left: 0;width: 100%;}
	51% {left: 0;width: 100%;}
	100% {left: 100%;width: 0;}
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}


.flow_text {
    top: -2%;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
    position: absolute;
    transform: scaleY(1.2);
    line-height: 1;
    opacity: 0.6;
}
.flow_inner{
  display: flex;
  width: max-content;
  animation: flow 50s linear infinite;
}
.flow_inner span{
  font-size: 5.5vw;
  font-weight: 700;
  white-space: nowrap;
  margin-right: 100px;
}
@keyframes flow{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

.blur {
    background-color: rgba(49, 47, 47, 0.6);
    backdrop-filter: none;
    -webkit-backdrop-filter:none;
}
.img-container:before{
    display: none;
}
#contents1{
   
}
#contents2 .title, #contents3 .title{
    border: none;
}
#contents2, #contents3{
    .pc_txt div, .sp_txt div {
        padding: 5px;
        display: inline;
        line-height: 1.8;
        box-sizing: border-box;
        color: transparent;
        background: linear-gradient(to right, #ffffff, #ffffff);
        background-size: 0% 100%;
        background-repeat: no-repeat;
        background-position: left center;
        transition: background-size 1.2s 0s ease, color .2s 0s ease;
    }
}
.js-show .pc_txt div, .js-show .sp_txt div {
    background-size: 100% 100%!important;
    color: var(--color1)!important;
}



/*======================================================================================
　　under
======================================================================================== */
.cate_list a{
    padding: 10px;
}



/*======================================================================================
　　size
======================================================================================== */
/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#logo{
    max-width: 221px;
    img{
        width: 100%!important;
    }
}
.fat-nav li {
    font-size: 18px;
}
.main_box {
    padding-top: 71px;
}
.flow_inner span {
    font-size: 3.5rem;
}
#contents1 {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
#contents1 .title > div{
    padding-left: 27px;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
#loading img {
    max-width: 95px;
}
#logo {
    max-width: 157px;
}
.main_box {
    padding-top: 54px;
}
.fv_txt_box {
    top: 44%;
    left: 50%;
    max-width: 700px;
    width: 104%;
}
.fv_txt3 {
    margin: 4% auto 0;
}


.fat-nav li {
font-size: 16px;
}
#contents1 .title > div {
    padding-left: 27px;
}
.banner {
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
}
.banner.scroll{
    opacity: 1;
    pointer-events: all;
}

.rc-anchor-light{
    transform: scale(0.95);
    transform-origin: left top;
}
}







