@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

:root {
    --main: #3968b0;
    --dark: #00215d;
    --sub: #2cb5a9;
    --accent: #eb6d87;
    --bg: #f1f4fa;
    --bg2: #eef9f8;
    --gd: linear-gradient(to right, #2cb5a9, #3968b0);
}

/*
color: var(--main);
color: var(--dark);
color: var(--sub);
color: var(--accent);
color: var(--bg-color);
*/

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";
}

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: 700;
    font-style: normal;
}

.noto5 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

* img {
    vertical-align: middle;
    image-rendering: -webkit-optimize-contrast;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media all and (max-width: 767px) {
    .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;
}

#top_btn.active {
    right: 0px;
}

.bg_set {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg_right {
    background-color: var(--bg);
}

.sec_pad {
    padding: 80px 5%;
}

#common_fv {
    height: 20vw;
    background: var(--bg2);
    display: flex;
    justify-content: center;
    align-items: center;
}

#common_fv h1 {
    font-size: max(2vw, 18px);
    letter-spacing: 0.1em;
}

.common_h2 {
    text-align: center;
    font-size: 3rem;
    padding-bottom: 10px;
    margin-bottom: 5vw;
    position: relative;
    letter-spacing: 0.1em;
}

.common_h2:after {
    content: "";
    display: block;
    width: 10vw;
    height: 3px;
    background: var(--gd);
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 10px;
}

.c_txt {
    text-align: center;
    font-size: 1.6rem
}

@media all and (max-width: 767px) {
    #top_btn {
        right: -50px;
        height: 50px;
        width: 50px;
    }

    .sec_pad {
        padding: 40px 5%;
    }
    
    #common_fv {
        height: 30vw;
    }
    
    #common_fv h1 {
        font-size: max(1.5vw, 15px);
    }

    .common_h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .c_txt {
        text-align: justify;
        font-size: 1.4rem
    }
}

/*===========================================
       header設定
===========================================*/
header {
    background: var(--gd);
    width: 100%;
    height: 80px;
}

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: 30px;
}

header #logo img {
    height: 100%;
}

header .right_content {
    display: flex;
    align-items: center;
    height: 100%;
}

.h_contact {
    background: white;
    color: var(--main);
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 5px;
    transition: all 0.2s;
    font-size: 1.4rem;
}

.h_contact.h_apply {
    color: var(--sub);
    margin-right: 2em;
}

.h_contact:hover {
    background: var(--bg);
}

.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_contact.h_apply:before {
    background-image: url(../img/req.svg);
}

@media all and (max-width: 767px) {
    header {
        height: 50px;
    }

    header #logo {
        height: 25px;
    }
    
    .right_content {
        margin-right: 50px;
    }

    .h_contact {
        padding: 12.5px 10px;
        border-radius: 0px;
    }
    
    .h_contact span {
        display: none;
    }

    .h_contact:before {
        margin-right: 0px;
    }
    
    .h_contact.h_apply {
        margin-right: 1em;
    }
}

#pc_nav {
    margin-left: auto;
}

.pnav {
    display: flex;
    font-size: 1.5rem;
    justify-content: flex-end;
}

.pnav li {
    margin-right: 2.5vw;
}

.pnav li a {
    color: white;
    padding-bottom: 5px;
    position: relative;
}

.pnav li a::before {
    background: var(--accent);
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: center top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.pnav li a:hover::before {
    transform-origin: center top;
    transform: scale(1, 1);
}

#hamburger .btn-gNav {
    position: fixed;
    top: 13px;
    right: 13px;
    width: 24px;
    height: 24px;
    z-index: 9999;
    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: -60%;
    width: 60%;
    height: 100%;
    font-size: 1.4rem;
    box-sizing: border-box;
    z-index: 999;
    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;
    }
}