@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

:root {
    --main: #3472a2;
    --dark: #1c2660;
    --sub: #7d4698;
    --accent: #e67762;
    --bg: #fdfaf9;
    --bg2: #f0ecf6;
    --bg3: #e4ecf3;
    --gd1: linear-gradient(to bottom, var(--dark), var(--main));
    --gd2: linear-gradient(to right, var(--main), var(--dark));
    --gd3: linear-gradient(to right, var(--dark), var(--main), var(--sub));
    --gd4: linear-gradient(to bottom, var(--dark), var(--sub));
}

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: 500;
    font-optical-sizing: auto;
    font-style: normal;
}

.osw7 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    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: 999;
}

#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_h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3em;
    position: relative;
    line-height: 1.5;
}

.common_h2:after {
    content: "";
    display: block;
    width: 180px;
    height: 6px;
    background-image: url(../img/h2_obi.svg);
    position: absolute;
    bottom: -1em;;
    left: 50%;
    transform: translateX(-50%);
}

.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_h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .common_h2:after {
        width: 90px;
        height: 3px;
        bottom: -0.7em;
    }

    .c_txt {
        text-align: justify;
        font-size: 1.4rem
    }
}

/*===========================================
       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: 38px;
}

header #logo img {
    height: 100%;
}

header .right_content {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2vw;
}

.h_contact {
    background: var(--dark);
    color: white;
    display: flex;
    align-items: center;
    padding: 15px;
    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 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.2rem;
    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: 25px;
    }
    
    .right_content {
        margin-right: 60px;
    }

    .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: 10px;
    }

    .h_tel_box a {
        font-weight: bold;
        font-size: 2.4rem;
        background: var(--bg2);
        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;
    }
}

.pnav {
    display: flex;
    font-size: clamp(13px,1.5vw,16px);
    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;
}

.pnav > li > a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: var(--accent);
    bottom: -0.2em;
    transform: scale(0, 1);
    transform-origin: right top;
    /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;
    /*変形の時間*/
}

.pnav > li > a:hover::after {
    transform: scale(1, 1);
    /*ホバー後、x軸方向に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-color);
    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: #222;
    opacity: 0.9;
    
}

#gNav.open {
    right: 0px;
}

#gNav .gNav-menu {
    width: 100%:;
    height: 100%;
    border-top: 1px solid var(--main);
}

#gNav .gNav-menu li a {
    display: flex;
    padding: 10px 20px;
    color: #ddd;
    border-bottom: 1px solid var(--main);
}

#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;
    }
}

/*===========================================
       発展会計リンク設定
===========================================*/
.kaikei_link {
    display: flex;
    justify-content: center;
    gap: 5%;
    font-size: clamp(14px, 1.5vw, 16px);
    font-feature-settings: "palt";
}

.kaikei_link > div {
    width: 45%;
    background-color: white;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    padding: 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.kaikei_link h3 {
    font-size: 140%;
    letter-spacing: 0.1em;
}

.kaikei_link p {
    letter-spacing: 0.1em;
}

.kaikei_link a {
    background-color: var(--dark);
    color: white;
    line-height: 1;
    padding: 0.7em 3em 0.7em 2em;
    border-radius: 1.5em;
    position: relative;
    transition: all 0.2s;
}

.kaikei_link a:hover {
    background-color: var(--accent);
}

.kaikei_link a:after {
    content: "";
    display: block;
    width: 1.2em;
    height: 1.2em;
    background-image: url(../img/external_icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 1em;;
    transform: translateY(-50%);
}

@media all and (max-width: 767px) {
    .kaikei_link {
        flex-wrap: wrap;
        gap: 2em;
        font-size: clamp(12px, 2vw, 15px);
    }

    .kaikei_link > div {
        width: 100%;
        padding: 1.5em;
    }

    .kaikei_link h3 {
        font-size: 130%;
    }
}

/*===========================================
       footer設定
===========================================*/
.footer_wrap {
    background-color: var(--dark);
    display: flex;
    justify-content: space-between;
    padding: 3vw 5vw;
    font-size: clamp(12px, 1.5vw, 14px);
    align-items: center;
}

.footer_wrap .bizup_box {
    display: flex;
    gap: 2em;
}

.footer_wrap .bizup_box #f_logo {
    width: 15vw;
}

.footer_wrap .bizup_box p {
    color: white;
    line-height: 1.5;
}

.footer_wrap #f_nav {
    display: flex;
    gap: 2em;
}

.footer_wrap #f_nav li a {
    color: white;
    transition: all 0.2s;
}

.footer_wrap #f_nav li a:hover {
    color: #ff7;
}

#copyright {
    text-align: center;
    font-size: 10px;
    padding: 1em;
}

@media all and (max-width: 767px) {
    .footer_wrap {
        flex-direction: column;
        padding: 5vw;
        font-size: clamp(12px, 2.4vw, 14px);
        gap: 5vw;
    }

    .footer_wrap .bizup_box {
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }

    .footer_wrap .bizup_box #f_logo {
        width: 35vw;
    }

    .footer_wrap #f_nav {
        display: none;
    }

}

/*===========================================
       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);
}