@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

:root {
    --main: #00468b;
    --dark: #00215d;
    --sub: #0071bc;
    --accent: #ff5050;
    --kintone: #ffbf00;
    --bg: #eaeff9;
}

html {
	font-size: 62.5%;
    color: #333;
}

* {
    box-sizing: border-box;
}

* img {
    vertical-align: middle;
}

* a {
    text-decoration: none;
}

* ul li {
    list-style: none;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-top: 60px;
}

body .mincho {
    font-family: "游明朝体", "Yu Mincho", YuMincho, "Sawarabi Mincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.noto {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

.noto5 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.poppins {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

* img {
    vertical-align: middle;
    image-rendering: -webkit-optimize-contrast;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media all and (max-width: 767px) {
    body {
        padding-top: 50px;
    }
    
    .pc {
        display: none;
    }
    
    .sp {
        display: block;
    }
}

main {
    line-height: 2;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#top_btn {
    position: fixed;
    right: -60px;
    bottom: 0;
    display: block;
    height: 60px;
    width: 60px;
    transition: all 0.2s;
    z-index: 99999;
}

#top_btn.active {
    right: 0px;
}

.bg_set {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg_right {
    background: var(--bg);
}

.sec_pad {
    padding: 80px 5%;
}

.common_h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.c_txt {
    text-align: center;
    font-size:max(1.3vw,16px);
}

@media all and (max-width: 767px) {
    #top_btn {
        right: -50px;
        height: 50px;
        width: 50px;
    }

    .sec_pad {
        padding: 40px 5%;
    }

    .common_h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .c_txt {
        text-align: justify;
        font-size:max(2.5vw,14px);
    }
}

/*===========================================
       header設定
===========================================*/
header {
    position: fixed;
    z-index: 99999;
    background: #000;
    width: 100%;
    height: 60px;
    top: 0;
}

header .h_wrap {
    display: flex;
    justify-content: space-between;
    padding: 0 3%;
    align-items: center;
    height: 100%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 5px 10px -7px;
}

header #logo {
    height: 28px;
}

header #logo img {
    height: 100%;
}

header .right_content {
    display: flex;
    align-items: center;
    height: 100%;
}

.h_contact {
    background: var(--kintone);
    display: flex;
    align-items: center;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: all 0.2s;
    font-size: 1.5rem;
}

.h_contact:hover {
    background: #ef9800;
}

.h_contact:before {
    content: "";
    display: block;
    background-image: url(../img/mail.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

.h_tel_box {
    margin-right: 20px;
}

.h_tel_box a {
    font-weight: bold;
    font-size: 2.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

.h_tel_box p {
    font-size: 1.3rem;
    margin-left: 20px;
}

.h_tel_box a:before {
    content: "";
    display: block;
    background-image: url(../img/tel_icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 5px;
    margin-bottom: 3px;
}

@media all and (max-width: 767px) {
    header {
        height: 50px;
    }

    header #logo {
        height: 22px;
    }
    
    .right_content {
        margin-right: 55px;
    }

    .h_contact {
        padding: 8px 8px;
        border-radius: 0px;
    }
    
    .h_contact span {
        display: none;
    }

    .h_contact:before {
        margin-right: 0px;
    }

    .h_tel_box {
        margin-right: 15px;
    }

    .h_tel_box a {
        font-weight: bold;
        font-size: 2.4rem;
        background: var(--bg);
        width: 40px;
        height: 40px;
    }
    
    .h_tel_box a span {
        display: none;
    }

    .h_tel_box a:before {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0px;
        margin-bottom: 0px;
    }

    .h_tel_box p {
        display: none;
    }
}

#pc_nav {
    margin: 0 2em 0 0;
}

.pnav {
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    gap: 1.5em;
}

.pnav > li {
    position: relative;
}

.pnav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    position: relative;
    color: white;
    text-decoration: underline;
    text-decoration-color: #000;
    text-underline-offset: 0.2em;
    transition: all 0.2s;
}

.pnav > li > a:hover {
    text-decoration-color: var(--kintone);
    text-underline-offset: 0.5em;
}

.sub_menu {
    position: absolute;
    top: 40px;
    left: 0;
    overflow: hidden;
    width: 150%;
    height: 0px;
    transition: all 0.4s;
    padding-top: 5px;
}

.pnav > li:hover .sub_menu {
    height: 125px;
}

.sub_menu > li > a {
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
    background-color: var(--bg);
    transition: all 0.2s;
}

.sub_menu > li:not(:last-of-type) > a {
    border-bottom: 1px solid white;
}

.sub_menu > li > a:hover {
    background-color: var(--sub);
    color: white;
}

#hamburger .btn-gNav {
    position: fixed;
    top: 13px;
    right: 13px;
    width: 24px;
    height: 24px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

#hamburger .btn-gNav:after {
    position: fixed;
    content: "";
    width: 50px;
    height: 50px;
    background: #ddd;
    top: 0;
    right: 0;
    z-index: -1;
}

#hamburger .btn-gNav.open:after {
    background: var(--accent);
}

#hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #666;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

#hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}

#hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}

#hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}

#hamburger .btn-gNav.open span:nth-child(1) {
    background: #fff;
    top: 10px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#hamburger .btn-gNav.open span:nth-child(2),
#hamburger .btn-gNav.open span:nth-child(3) {
    top: 10px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

#gNav {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100%;
    font-size: 1.4rem;
    box-sizing: border-box;
    z-index: 2;
    padding-top: 50px;
    transition: .3s;
}

#gNav:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: var(--dark);
    opacity: 0.9;
    
}

#gNav.open {
    right: 0px;
}

#gNav .gNav-menu {
    width: 100%:;
    height: 100%;
    border-top: 1px solid var(--sub);
}

#gNav .gNav-menu li a {
    display: flex;
    padding: 10px 20px;
    color: #ddd;
    border-bottom: 1px solid var(--sub);
}

#gNav .gNav-menu li  .sp_sub_menu li a {
    padding-left: 50px;
    position: relative;
}

#gNav .gNav-menu li  .sp_sub_menu li a:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 25px;
    height: 1px;
    background-color: #aaa;
}

@media screen and (min-width: 768px) {
    .btn-gNav {
        display: none;
    }

    #gNav {
        position: fixed;
        top: 0;
        right: 0;
        height: 50px;
    }

    #gNav .gNav-menu {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        padding-left: 50px;
    }

    #gNav .gNav-menu li {
        padding-top: 5px;
    }
}

@media all and (max-width: 767px) {
    #pc_nav {
        display: none;
    }
}

/*===========================================
       footer設定
===========================================*/
footer {
    padding: 40px 5%;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

#f_logo {
    height: 40px;
}

#f_logo img {
    height: 100%;
}

#f_nav {
    display: flex;
    margin-right: 20px;
    gap: 20px;
}

#f_nav li a {
    font-size: 1.5rem;
    transition: all 0.2s;
}

#f_nav li a:hover {
    color: var(--sub);
    text-decoration: underline;
    text-decoration-color: var(--sub);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

#copyright {
    width: 100%;
    text-align: right;
    padding-right: 20px;
    font-size: 1.1rem;
}

@media all and (max-width: 767px) {
    footer {
        padding: 20px 5%;
        justify-content: center;
        gap: 10px;
    }

    #f_logo {
        height: 24px;
    }

    #f_nav {
        display: none;
    }

    #copyright {
        text-align: center;
        padding-right: 0px;
        font-size: 1rem;
    }
}

/*===========================================
       cta設定
===========================================*/
.cta {
    background-color: var(--kintone);
    padding: 70px 5%;
    text-align: center;
}

.cta .catch {
    font-size: max(2.5vw, 28px);
    line-height: 1;
    margin-bottom: 1.2em;
}

.cta .catch .poppins {
    font-size: 110%;
}

.cta .btn {
    font-size: max(2vw, 20px);
    background-color: #333;
    color: white;
    line-height: 1;
    padding: 0.2em 2em 0.4em;
    border-radius: 0.3em;
    transition: all 0.2s;
}

.cta .btn:hover {
    background-color: white;
    color: #333;
}

@media all and (max-width: 767px) {
    .cta {
        padding: 10vw 5%;
    }

    .cta .catch {
        font-size: max(5vw, 20px);
        line-height: 1;
        margin-bottom: 1.5em;
    }

    .cta .btn {
        font-size: max(4vw, 16px);
    }
}

/*===========================================
       fade設定
===========================================*/
.fade_up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}

.fade_up_on {
    opacity: 1;
    transform: translateY(0);
}