@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');
body{
    font-family: 'Noto Sans JP', sans-serif;
    /*実験：ページをフェードインで表示*/
    animation: fadeInAnimation 2s ease 0s 1 normal;
    /*animation-iteration-count: 1;*/
    /*animation-fill-mode: forwards;*/
}
@keyframes fadeInAnimation {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
a {
    text-decoration: none !important;
    color: inherit !important;
}
h1, h2, h3{
    font-family: 'Inter', sans-serif !important; 
    font-weight: 700 !important; 
    margin-bottom: 0 !important;
}
h1 {
    font-size: 4rem;
}
h2 {
    font-size: 3.5rem;
}
h3{
    font-size: 2rem;
}
h5.privacy  {
    font-weight: 700;
}
ul.privacy {
    list-style: initial;
}
ul{
    list-style:none;
}
::placeholder {
    color: #C2C2C2 !important;
}

.content{
    padding: 0 5rem;
    background:  url('../img/background.png')  right 5rem top -500px no-repeat; /*jqueryで変更している*/
    background-size: 500px;
}
.noBg{
    background-image: none;
}
.list li:before {
    position: relative;
    top: 2px;
    right: 4px;
    content: url("../svg/list-icon.svg");
}

.subtitle{
    display: block;
    margin-top: 5px;
    color: #7F7F7F;
    font-size: 0.8rem;
}

.navbar{
    background-color: #FFF;
    box-shadow: 0 -11px 0 0 rgba(255,255,255,1);
}
.navbar-brand{
    padding-left: 5rem;
}
.navbar-nav{
    padding-right: 5rem;
}
.nav-link{
    text-align: center;
}
.nav-link.active{
    border-bottom: 5px solid #1D1D1B;
}
.nav-link.active > h5{
    font-weight: bold;
    color: #1D1D1B;
}
.nav-link:hover > h5{
    font-weight: bold;
    color: #1D1D1B;
}
.nav-link > span{
    font-size: x-small;
    color: #7F7F7F;
}

.menu {
    --bold: 700;
    font-size: 1.25rem;
  }
  
  .menu-link {
    display: inline-flex;
    flex-direction: column;
  }
  
  .menu.fix .menu-link::after {
    content: attr(data-text);
    content: attr(data-text) / "";
    height: 0;
    visibility: hidden;
    user-select: none;
    font-weight: 700;
  }
  
.navbar-toggler{
    padding: 1rem 1rem;
}
.navbar-toggler,.navbar-toggler:hover,.navbar-toggler:focus{
    border:none;
    box-shadow: none;
}
.navbar-toggler > span{
    font-size: x-small;
    font-weight: bold;
}
.navbar-close{
    color: #FFF;
}
/*白いアイコンがないので応急処置*/
.close-white{
    filter: invert(1);
}
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.top-header{
    margin-bottom: 1rem;
}
.top-img > img{
    width: 100%;
    margin-bottom: 2rem;
}
.spaceTop{
    position: relative;
    top: 30px;
}
.section{
    margin-bottom: 3rem;
    overflow-wrap: break-word;
    word-break: keep-all;
    line-break: strict;
}
.section-header{
    margin-bottom: 1rem;
    width: 90%;
}
.section-content{
    box-sizing: border-box;
    min-width: 390px;
    text-align: left;   
    overflow: hidden;
}
.section-content > p{
    line-height: 1.6;
    margin-bottom: 15px; 
}    
.section-officer{
    width: 100%;
}
.officer-img{
    width: 100%;
}
.officer-desc{
    padding: 1.5rem 0;
}
.officer-desc > p{
    padding-left: 10%;
    padding-right: 10%;
}
.desc-title {
    font-size: 1.2rem;
    font-weight: 700;
}
.desc-content{
    font-size: 0.8rem;
}
.overview-item{
    padding: 2.5rem 0;
}
.overview-title{
    padding-left: 3rem;
    width: 20%;
}

.form-section{
    width: 50%;
}
.form-label{
    font-weight: 700;
}
.form-confirm{
    padding: 1rem 1.5rem;
}
.confirm-title{
    font-weight: 700;
}
.section>.section-content>.wordBreak{
    word-break: normal;
}

.js-placeholder {
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: .7;
    z-index: -1;
}
.service-card{
    width: 30%;
    padding: 2.5rem;
    border: 1px solid #7F7F7F;
    border-radius: 4px;
}
.card-title{
    font-size: 1.5rem;
}
.card-subtitle{
    font-size: 1.5rem;
    color: #7F7F7F;
}
.card-subtitle>img{
    filter: invert(54%) sepia(8%) saturate(15%) hue-rotate(346deg) brightness(90%) contrast(80%);
}
.list {
    padding-left: 1.5rem ; 
}

.list > li{
    width: 30%;
}

.wordBreak{
    word-break: keep-all;
}
/*== ボタン共通設定 */
.btn-white{
    background-color: white;
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    border: 1px solid #555;/* ボーダーの色と太さ */
    padding: 1rem 4rem;
    max-width: 300px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
}
.btn-large{
    padding: 1rem 8rem;
    width: 100%;
    max-width: 500px;
}

/*ボタン内spanの形状*/
/*ボタン内spanの形状*/
.btn-white > span {
    position: relative;
    z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
    color:#333;
}

.btn-white:hover > span{
    color:#fff;
}

/*== 背景が流れる（中央から外） */
.bgcenterout:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background: #333;
    width: 100%;
    height: 100%;
    /*アニメーション*/
    transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 0);
    transform-origin:center;
}
/*hoverした際の形状*/
.bgcenterout:hover:before{
    transform:scale(1, 1);
}

.cta{
    background-image: url('../img/CTA.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    width: 100%;
    padding: 80px 140px 80px 140px;
}
.cta > p{
    font-size: 20px;
    line-height: 40px;
    text-align: center;
}
.cta > h1{
    line-height: 64px;
    letter-spacing: 0em;
    text-align: left;
}
.footer{
    /*width: 1440px;*/
    width: 100%;
    height: 325px;
    color: white;
    padding: 35px 0 25px 0;
    background-size: contain;
    background:  url('../img/squares.png') no-repeat,linear-gradient(263.42deg, #7F7F7F 0%, #363636 99.56%) ;
}
#copyright{
    text-align: center;
    font-size: x-small;
}
.footer-nav{
    gap: 4rem;
}
.footer-link{
    text-align: center;
    color: #FFF;
}
.footer-link.active > h5, .footer-link:hover > h5{
    font-weight: bold;
}
.footer-link > span{
    font-size: x-small;
    color: #7F7F7F;
}
.footer-link.active > span, .footer-link:hover > span{
    font-size: x-small;
    color: #F2F2F2;
}


.topPage-header{
    margin-bottom: 10vh;
}
.topPage-header > h1{
    font-size: 8.5rem;
}
.topPage-content{
    max-width: 600px;
}
.topPage-content >span{
    font-size: 0.8rem;
}

/* スクロールすると下からふわっとさせるためのコード */
.inview {
    /* 30px下げる */
    transform: translateY(30px);
    /* 要素を透明にする */
    opacity: 0;
    /* 2秒かけて、変化させる */
    transition: transform 6s, opacity 6s;
}
.inview.show {
    transform: translateY(0);
    opacity: 1;
}

.video-wrap {
    position: relative;
    min-height: 90vh;
}
.video-wrap > .section {
    z-index: 1;
}
.video-wrap > video {
    position: absolute;
    width: 60%;
    min-width: 300px;
    max-width: 1000px;
    right: -15%;
    bottom: -10vh;
    z-index: -1;
}

/*=== 9-1-2 丸が動いてスクロールを促す ====*/

#scrolldown{
    width:100%;
    min-height: 40vh;
    position: relative;
}
#scrolldown:before{
    content: '';
    width:100%;
}
/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    bottom: 50%;
    left: 1rem;
}
/*Scrollテキストの描写*/
.scrolldown2 span{
    /*描画位置*/
    position: absolute;
    left:10px;
    bottom:10px;
    /*テキストの形状*/
    color: #1D1D1B;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
/* 丸の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-4px;
    /*丸の形状*/
    width:10px;
    height:10px;
    border-radius: 50%;
    background: #1D1D1B;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation:
            circlemove 1.6s ease-in-out infinite,
            cirlemovehide 1.6s ease-out infinite;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
    0%{bottom:45px;}
    100%{bottom:-5px;}
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
    0%{opacity:0}
    50%{opacity:1;}
    80%{opacity:0.9;}
    100%{opacity:0;}
}
/* 線の描写 */
.scrolldown2:after{
    content:"";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:0;
    /*線の形状*/
    width:2px;
    height: 50px;
    background:#1D1D1B;
}
.TextTyping span {
    display: none;
}
/*文字列後ろの線の設定*/
.TextTyping::after {
    content: "|";
    animation: typinganime .8s ease infinite;
}
@keyframes typinganime{
    from{opacity:0}
    to{opacity:1}
}

.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
    0% {opacity:0;}
    100% {opacity:1;}
}

@media screen and (min-width: 900px) and (max-width: 1000px){
    .video-wrap > video {
        position: absolute;
        width: 80%;
        min-height: 300px;
        right: -25%;
        bottom: 0;
        z-index: -1;
    }
}

@media screen and (max-width: 990px){
    .content{
        padding: 0 1rem;
        background-size: 250px;
        background-position: right 2rem bottom; /*jqueryで位置を変更*/
    }
    .pc-br{
        display: none;
    }
    #topImage-service{
        content: url("../img/service_sp.png");
    }
    #topImage-team{
        content: url("../img/team_sp.png");
    }
    #officerImage-edi{
        content: url("../img/profile_edi_sp.png");
    }
    #officerImage-goto{
        content: url("../img/profile_goto_sp.png");
    }
    .section{
        overflow-wrap: break-word;
        word-break: keep-all;
    }
    .nav-offcanvas{
        color: white;
        background:  url('../img/squares.png')  center bottom no-repeat,linear-gradient(263.42deg, #7F7F7F 0%, #363636 99.56%) ;
        background-size: 50vh;
    }
    .navbar-brand{
        padding-left: 1rem;
    }
    .nav-link{
        text-align: left
    }
    .nav-link.active{
        border: none;
    }
    .nav-link.active > h5, .nav-link:hover > h5{
        font-weight: bold;
        color: #ffffff;
    }

    .nav-link-black.active > h5, .nav-link-black:hover > h5{
        font-weight: bold;
        color: #FCBD1C;
    }

    .topPage-header > h1{
        font-size: 3.5rem;
    }
    .section-header{
        width: 100%;
    }
    .section-content{
        width: 100%;
        min-width: 300px;
    }
    .section-content > p{
        max-width: 100%;
    }
    .officer-desc > p{
        padding-left: 0;
    }
    .overview-item{
        padding: 1.5rem 0;
    }
    .overview-title{
        padding-left: 0;
        width: 100%;
    }

    #scrolldown{
        width:100%;
        min-height: 25vh;
        position: relative;
    }
    /*.video-wrap > video {*/
    /*    position: absolute;*/
    /*    width: 100%;*/
    /*    !*max-width: 400px;*!*/
    /*    min-height: 300px;*/
    /*    right: -25%;*/
    /*    bottom: 0;*/
    /*    z-index: -1;*/
    /*}*/
    .service-card{
        width: 100%;
        height: auto;
        padding: 1rem;
    }
    .card-title{
        font-size: 1.5rem;
    }
    .card-subtitle{
        font-size: 1rem;
    }
    .form-section{
        width: 100%;
    }
    .list > li{
        width: 50%;
    }
    .btn-white{
        padding: 1rem 3rem;
        width: 300px;
    }
    .btn-large{
        padding: 1rem 3rem;
        min-width: 300px;
        width: 100%;
        max-width: 350px;
    }
    .cta{
        padding: 80px 16px 80px 16px;
    }
    .footer{
        height: 250px;
        padding: 80px 0px 20px 0px;
        background-size: contain;
        background:  url('../img/squares.png') no-repeat,linear-gradient(263.42deg, #7F7F7F 0%, #363636 99.56%);
    }
}