@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

body {
    color: #000000;
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ",
        Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}
body { -webkit-text-size-adjust: 100%; }
body.active {
    overflow: hidden;
}
.wrapper {
    position: relative;
    /* overflow: hidden; */
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
img { border:none;}
.sec-ttl {
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.grecaptcha-badge { visibility: hidden; }
.recaptcha-text {
    padding: 0 20px;
    max-width: 1000px;
    text-align: center;
    line-height: 1.6;
    margin: 30px auto;
}
.recaptcha-text a {
    text-decoration: underline;
}
@media screen and (max-width: 480px) {
    .recaptcha-text {
        font-size: 14px;
    }
}
/* =================================
ヘッダー
================================= */
#header {
    left: 0;
    z-index: 10001;
    top:0;
    overflow: hidden;
    width: 100%;
}
#header {
    position: fixed;
}
#header-sp {
    background-color: #f7f7f7;
}
#header-sp {
    overflow: hidden;
    display: none;
}
.header-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-left: 25px;
    padding-right: 32px;
    align-items: center;
    transition: 0.7s;
}
#header.pc.m_fixed .header-wrap{
    background-color: #f7f7f7;
}
.page #header.pc .header-wrap {
    background-color: #f7f7f7;
}
#header.pc img {
    transition: 0.7s;
}
#header.pc img.gray {
    display: none;
}
#header.pc.m_fixed img.gray {
    display: block;
}
#header.pc.m_fixed img.white {
    display: none;
}
.header-wrap .logo {
    padding-top: 10px;
    padding-bottom: 8px;
    max-width: 75px;
    width: 100%;
}
#header.pc.m_fixed #g-nav ul a {
    color: #6e6e6e;
}
#header.pc.m_fixed #g-nav ul li {
    border-right: 1px solid #6e6e6e;
}
#header.pc.m_fixed #g-nav ul li:last-child {
    border-right: none;
}
#header-sp .flex-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.h-inner {
    padding: 13px 17px 13px 13px;
}
#header-sp .logo {
    max-width: 65px;
    width: 100%;
}
#g-nav {
    margin: 0;
    position: relative;
    z-index: 1000;
    padding: 0;
}
#g-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}
#g-nav ul li {
    padding-right: 16px;
    margin-right: 16px;
    line-height: 1;
    border-right: 1px solid #fff;
}
#g-nav ul li:last-child {
    padding-right: 0;
    margin-right: 0;
    line-height: 1;
    border-right: none;
}
#g-nav ul a {
    position: relative;
    line-height: 1;
    font-size: 14px;
}
.home #g-nav ul a {
    color: #fff;
}

#g-nav ul a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: #3b9ecc;
    z-index: 1000;
    bottom: -3px; /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1); /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
}
#g-nav ul a:hover::after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
#header.pc.m_fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}
@media screen and (max-width: 1000px) {
    #header.pc {
        display: none;
    }
    #header-sp {
        z-index: 10000;
        width: 100%;
        position: fixed;
        display: block;
        top: 0;
    }
    .header-wrap {
        display: flex;
        justify-content: space-between;
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
    }
    #g-nav ul li {
        padding-right: 10px;
        margin-right: 10px;
        line-height: 1;
        border-right: 1px solid #6e6e6e;
    }
}

/* =================================
SPナビ
================================= */

.openbtn {
    position: relative;
    cursor: pointer;
    width: 23px;
    height: 17px;
    z-index: 100;
}

/*ボタン内側*/
.openbtn span {
    display: inline-block;
    transition: all 0.4s; /*アニメーションの設定*/
    position: absolute;
    left: 0;
    height: 1px;
    border-radius: 2px;
    background: #000;
    width: 23px;
}

.openbtn span:nth-of-type(1) {
    top: 0;
}

.openbtn span:nth-of-type(2) {
    top: 8px;
}

.openbtn span:nth-of-type(3) {
    top: 16px;
}

/*activeクラスが付与されると線が回転して×に*/
.openbtn.active {
    margin: 0 0 0 auto;
}
.openbtn.active span {
    background: #fff;
}
.openbtn.active span:nth-of-type(1) {
    top: 0;
    right: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
    left: auto;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0; /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
    top: 12px;
    right: 0;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
    left: auto;
}
.overlay-menu {
    pointer-events: none;
}
.overlay-menu {
    overflow: auto;
    opacity: 0;
    background-image: url(../images/nav-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    transition: 0.7s;
    z-index: 10001;
}
.overlay-menu.active {
    pointer-events: all;
}
.overlay-menu .openbtn {
    right: 20px;
    position: absolute;
    top: 26px;
}
.overlay-menu.active {
    opacity: 1;
}
.nav-mark {
    max-width: 153px;
    width: 100%;
    margin: 0 auto;
}
.overlay-menu-inner {
    height: 100%;
    padding: 64px 0 64px;
}
.overlay-menu-item {
    display: flex;
    flex-flow: column;
    height: 100%;
}
.sp-menu-middle {
    margin-top: 72px;
}
.overlay-menu-item li {
    line-height: 1;
}
.overlay-menu-item li + li {
    margin-top: 32px;
}
.overlay-menu-item li a {
    color: #fff;
    text-align: center;
    font-size: 15px;
    display: table;
    margin: 0 auto;
}
.nav-copy {
    text-align: center;
    font-size: 12.5px;
    color: #fff;
}
.nav-contact-btn {
    max-width: 312px;
    width: 100%;
    margin: 45px auto 0;
}
/* =================================
フッター
================================= */
#footer {
    padding: 75px 0 30px;
    background-size: cover;
    overflow: hidden;
    background-image: url("../images/ft-bg.jpg");
}
.ft-logo {
    max-width: 200px;
    margin: 0 auto 80px;
}
.copy {
    font-size: 14px;
    text-align: center;
    color: #fff;
    margin-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ft-nav.sp {
    display: none;
}
.ft-nav ul {
    display: flex;
    justify-content: center;
}
.ft-nav ul li {
    padding-right: 16px;
    margin-right: 16px;
    border-right: 1px solid #fff;
    line-height: 1;
}
.ft-nav ul li:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
}
.ft-nav a {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    position: relative;
}
.ft-nav a {
    cursor: pointer;
    display: block;
}
.ft-nav a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: #3b9ecc;
    z-index: 1000;
    bottom: -3px; /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1); /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
}
.ft-nav a:hover::after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
.contact-btn {
    max-width: 448px;
    width: 100%;
    margin: 35px auto 0;
    cursor: pointer;
    margin-inline: auto;
    margin-top: 40px;
    position: relative;
    transform-style: preserve-3d;
    transition: 0.7s;
}
.contact-btn img {
    transition: 0.7s;
}
.contact-btn:hover img {
    opacity: 0.6;
}

/*
.contact-btn img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: auto;
    left: 0;
    position: absolute;
    width: 100%;
  }
  .contact-btn img:nth-child(2) {
    transform: rotateY( 180deg );
  }
  .contact-btn:hover {
    transform: rotateY( 180deg );
  }
*/
.contact-btn .sp {
    display: none;
}
.copy-mark {
    padding: 0 0.2em;
    font-size: 22px;
}
@media screen and (max-width: 890px) {
    .ft-nav.pc {
        display: none;
    }
    .ft-nav.sp {
        display: block;
    }
    .ft-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .ft-nav ul li {
        margin-top: 12px;
    }
}
@media screen and (max-width: 480px) {
    #footer {
        padding: 50px 0 20px;
        background-size: cover;
        background-image: url(../images/ft-bg.jpg);
    }
    .ft-logo {
        max-width: 156px;
        margin: 0 auto 60px;
    }
    .contact-btn .sp {
        display: block;
    }
    .contact-btn img.sp {
        position: relative;
    }
    .contact-btn .pc {
        display: none;
    }
    .contact-btn {
        max-width: 312px;
        width: 100%;
    }
    .copy {
        font-size: 12.5px;
        text-align: center;
        color: #fff;
        margin-top: 40px;
    }
}
/* =================================
スタート画面
================================= */
.start {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10001;
}
.start p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: 280px;
}
@media screen and (max-width: 480px) {
    .start p {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: none;
        z-index: 9999;
        width: 180px;
    }
}

/*===================================
ふわっ
================================== =*/
.fadeUpTrigger,
.fadeUpTrigger2,
.fadeUpTrigger22,
.fadeUpTrigger3,
.fadeUpTrigger4,
.fadeUpTrigger5,
.fadeUpTrigger6,
.fadeUpTrigger7 {
    opacity: 0;
}
/* fadeUp */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}
.fadeUp2 {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}
.fadeUp3 {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 0.9s;
}
.fadeUp4 {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 1.3s;
}
.fadeUp5 {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 1.7s;
}
.fadeUp6 {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 2s;
}
.fadeUp7 {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 2.3s;
}
@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeUpAnime20 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeUpAnimeX20 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

/*===================================
左から右にアニメーション
================================== =*/
/*
.sec-ttl {
    overflow: hidden;
    position: relative;
 }
 */

/*
 .sec-ttl::before {
    animation: img-wrap 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: #fff;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}
  
  @keyframes img-wrap {
    100% {
      transform: translateX(100%);
    }
  }
  */

/*===================================
Block Reveal
================================== =*/

/* プラグイン */
.block-revealer__element {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: calc(100% + 6px) !important;
    background: #3b9ecc;
    pointer-events: none;
    opacity: 0;
}
/* 自作 */
.revealContent {
    opacity: 0;
}
.revealActive .revealContent {
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    opacity: 1;
}
.revealItem {
    display: block;
    position: absolute;
    overflow: hidden;
}
/* before擬似要素の黒いblockにanimationをつけておく */
.revealItem.revealActive::before {
    -webkit-animation: hideFromLeft 0.5s forwards,
        showFromLeft 0.5s forwards 0.5s;
    animation: hideFromLeft 0.5s forwards, showFromLeft 0.5s forwards 0.5s;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10005;
    background: #3b9ecc;
}
/* before擬似要素を左から右にスライドイン */
@-webkit-keyframes hideFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}
@keyframes hideFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* before擬似要素を左から右にスライドアウト */
@-webkit-keyframes showFromLeft {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes showFromLeft {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
