@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

:root {
    --main: #7abdca;
    --dark: #11a09e;
    --sub1: #216eaf;
    --sub2: #a180ae;
    --accent: #ff864b;
    --yel: #ff7;
    --bg: #eaf2f4;
    --gd1: linear-gradient(to right, var(--sub1), var(--sub2));
    --gd2: linear-gradient(to left, var(--dark), var(--sub1));
}

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:
        "Times New Roman",
        "Yu Mincho", YuMincho, "游明朝", "游明朝体",
        "Hiragino Mincho ProN", "Hiragino Mincho Pro",
        "ヒラギノ明朝 ProN W3", "HiraMinProN-W3",
        "MS P明朝", "MS PMincho", "MS 明朝",
        serif;
}

.noto {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    font-optical-sizing: auto;
    font-style: normal;
}

.noto5 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-optical-sizing: auto;
    font-style: normal;
}

.osw {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-optical-sizing: auto;
    font-style: normal;
}

.osw4 {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    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;
    z-index: 100;
}

#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%;
}

.fastener {
    background-color: white;
    position: relative;
}

.fastener:before,.fastener:after {
    content: "";
    display: block;
    width: 100%;
    height: 1vw;
    position: absolute;
    top: -1vw;
    left: 0;
    background-image: url(../img/fastener.svg);
    background-position: center;
    background-repeat: repeat-x;
    background-size: contain;
    z-index: 1;
}

.fastener:after {
    top: auto;
    bottom: -1vw;
}

.common_h2 {
    text-align: center;
    font-size: clamp(20px,2vw,32px);
    letter-spacing: 0.1em;
    margin-bottom: 3em;
    position: relative;
}

.common_h2:after {
    content: "";
    display: block;
    width: 12vw;
    height: 1.68vw;
    background-image: url(../img/h2_item.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: -1.2em;
    left: 50%;
    transform: translateX(-50%);
}

.common_h2.white:after {
    background-image: url(../img/h2_item_w.svg);
}

.c_txt {
    text-align: center;
    font-size: clamp(16px,2vw,20px);
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
}

@media all and (max-width: 767px) {
    #top_btn {
        right: -50px;
        height: 50px;
        width: 50px;
    }

    .sec_pad {
        padding: 40px 5%;
    }

    .fastener:before,.fastener:after {
        height: 2vw;
        top: -2vw;
    }

    .fastener:after {
        bottom: -2vw;
    }

    .common_h2 {
        font-size: clamp(16px,2.8vw,24px);
        margin-bottom: 2.5em;
    }

    .common_h2:after {
        width: 20vw;
        height: 2.8vw;
        bottom: -1em;
    }

    .c_txt {
        text-align: justify;
        font-size: clamp(13px,2.2vw,18px);
    }
}

/*===========================================
       header設定
===========================================*/
header {
    background: white;
    width: 100%;
    height: 80px;
}

header .h_wrap {
    display: flex;
    justify-content: space-between;
    padding: 0 2vw;
    align-items: center;
    height: 100%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 5px 10px -7px;
}

header #logo {
    height: 35px;
}

header #logo img {
    height: 100%;
}

header .right_content {
    display: flex;
    align-items: center;
    height: 100%;
}

.h_contact {
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 5px;
    transition: all 0.2s;
    font-size: 1.5rem;
}

.h_contact:hover {
    background: var(--main);
}

.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 .h_wrap {
        padding: 0 5vw;
    }

    header #logo {
        height: 25px;
    }
    
    .right_content {
        margin-right: 45px;
    }

    .h_contact {
        padding: 12.5px 10px;
        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 1em 0 0;
}

.pnav {
    display: flex;
    font-size: clamp(13px,1vw,16px);
    justify-content: center;
}

.pnav > li {
    position: relative;
}

.pnav > li > a {
    display: flex;
    height: 2em;
    justify-content: center;
    align-items: center;
    padding: 0 1em;
    transition: all 0.2s;
    position: relative;
}

.pnav > li > a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: var(--main);
    bottom: 0px;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 0.3s;
}

.pnav > li > a:hover::after {
    transform: scale(1, 1);
    transform-origin: left top;
}

.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: -60%;
    width: 60%;
    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 {
    background-color: #002b4f;
    font-size: clamp(14px, 1.3vw, 15px);
    color: white;
    padding: 2vw;
}

footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5em;
}

footer div a {
    display: block;
    height: 60px;
    padding-right: 2em;
}

footer div a img {
    height: 100%;
}

footer div p {
    letter-spacing: 0.1em;
    line-height: 1.5;
    padding: 0.5em 0 0.5em 2em;
    border-left: 1px solid white;
}

#copyright {
    font-size: 12px;
    text-align: center;
    color: #ddd;
}

@media all and (max-width: 767px) {
    footer {
        font-size: clamp(12px, 2vw, 14px);
        padding: 8vw 4vw;
    }

    footer div {
        flex-direction: column;
        margin-bottom: 2em;
    }

    footer div a {
        height: 40px;
        padding-right: 0em;
    }

    footer div p {
        padding: 1em 0 0;
        border-left: 0px solid white;
        text-align: center;
    }

    #copyright {
        font-size: 10px;
    }
}

/*===========================================
       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);
}