@charset "utf-8";

html {
    text-rendering: optimizeLegibility !important;
    scroll-behavior: smooth;
}

:root {
    font-size: 10px;

    --grey-00: #4D4C4C;
    --grey-01: #7E7E7E;

    --white-00: #FFFFFF;
    --white-01: #E2E2E2;
    --white-02: #FAFAFA;

    --blue-00: #003E90;
    --blue-01: #F2F8FF;
    --blue-02: #9CAEC6;

    --red-00: #c35200;

    --black-00: #000000;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #1D1D1D;
    background: transparent;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.tel {
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .tel {
        pointer-events: auto;
    }
}

/* ===============================
Text align
=============================== */
.txt-left {
    text-align: left;
}

.txt-center {
    text-align: center;
}

.txt-right {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .txt-left-sp {
        text-align: left;
    }

    .txt-center-sp {
        text-align: center;
    }

    .txt-right-sp {
        text-align: right;
    }
}

/* ===============================
Color
=============================== */

.blue-color {
    color: var(--blue-00);
}

/* ===============================
Background Color
=============================== */
.bg-white {
    background: #ffffff;
}

.bg-gray {
    background: #f0f1f5;
}

.bg-blue {
    background: #001c5c;
}

.bg-blue-two {
    background-color: #002483;
}

/*-----------------------
Container
------------------------*/

.main-container {
    max-width: 1220px;
    width: 100%;
    padding: 0 50px;
    margin: 0 auto;
}

@media screen and (max-width: 1440px) {

    .main-container.tp-service-section,
    .main-container.tp-news-section {
        max-width: 1170px;
        overflow-x: clip;
    }
}

@media screen and (max-width: 1600px) {

    .top-ab-us {
        overflow-x: hidden;
    }
}

@media screen and (min-width: 1441px) {

    .main-container.tp-service-section,
    .main-container.tp-news-section {
        max-width: 1252px;
        width: 100%;
    }

    .main-container.tp-news-section {
        padding-bottom: 215px;

    }
}

@media screen and (max-width: 768px) {
    .main-container {
        padding: 0 16px;
    }
}

@media screen and (max-width: 387px) {
    .main-container.tp-service-section {
        overflow-x: clip;
    }
}

/*--------------------
ASIDE
---------------------*/

#main {
    position: relative;
}

/*sidemenu.css*/

/*-----------------------
btn-menu
------------------------*/

.btn-menu {
    display: none;
    position: relative;
    width: 24px;
    height: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.btn-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--blue-00);
    border-radius: 2px;
}

.btn-menu span:nth-child(1) {
    top: 0;
}

.btn-menu span:nth-child(2) {
    top: 6px;
}

.btn-menu span:nth-child(3) {
    bottom: 1px;
}

.open .btn-menu span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
}

.open .btn-menu span:nth-child(2) {
    opacity: 0;
}

.open .btn-menu span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 6px;
}

@media screen and (max-width: 1170px) {
    .btn-menu span {
        left: 0;
    }
}

/*-----------------------
sidemenu
------------------------*/

/* 基本装飾 */
#sidemenu {
    background-color: var(--white-00);
    /* transition: .5s; */
    position: fixed;
    left: 0;
    top: 0;
    width: 48px;
    height: 100%;
    z-index: 99;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
}

.btn-menu_wrap {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 999;
}

nav {
    background-color: var(--white-00);
    width: 48px;
    padding: 15px 20px 15px;
    padding: 0;
    display: none;
}

#global-nav.open-menu {
    width: 100%;
    display: flex;
}

.nav-cont {
    width: 272px;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
}

main {
    margin-left: 272px;
}

footer {
    margin-left: 272px;
}

/*-----------------------
横幅1300以下
------------------------*/

@media screen and (max-width: 1170px) {
    .nav-cont {
        transform: translateX(-300px);
    }

    .open .nav-cont {
        transform: translateX(0);
        width: 270px;
    }

    .btn-menu {
        display: inline-block;
    }

    #sidemenu.open {
        width: fit-content;
    }

    main {
        margin-left: 48px;
    }

    footer {
        margin-left: 48px;
    }

    nav.open-menu {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    nav.open-menu {
        opacity: 1;
    }

    #main {
        margin-left: 0;
    }

    footer {
        margin-left: 0;
    }

    #sidemenu {
        height: 48px;
        width: 48px;
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
        border-radius: 0px 0px 8px 0px;
    }

    .btn-menu_wrap {
        top: 15px;
    }

    .btn-menu {
        display: block;
        margin: 0 auto;
    }

    #sidemenu.gazo-page {
        width: 60px;
        height: 80px;
    }

    #sidemenu.gazo-page .btn-menu_wrap {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #sidemenu.gazo-page .sp_logo_hamburger {
        width: 50px;
        height: 50px;
    }

    #sidemenu.gazo-page .btn-menu {
        margin-top: 5px;
        width: 30px;
    }

    #sidemenu.gazo-page.open .sp_logo_hamburger {
        display: none;
    }

    #sidemenu.gazo-page.open .btn-menu {
        margin-top: 0;
    }
}


/*-----------------------
Header Inner
------------------------*/

#global-nav {
    width: 100%;
    min-height: 100vh;
    display: flex;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
    padding: 16px 50px;
    padding-bottom: 100px;
    flex-direction: column;
    align-items: start;
}

.logo-wrap {
    width: 146px;
    height: 197px;
    position: relative;
}

.logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-main-pg {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.4px;
    padding-left: 15px;
    position: relative;
}

.nav-main-pg::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--blue-00);
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-main-pg:hover::before {
    transform: translateY(-50%) rotate(180deg);

}

.nav-main-pg:hover {
    color: var(--blue-00) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.nav-item-wrap {
    margin-top: 30px;
}

.nav-item {
    margin-top: 15px;
}

.nav-item a {
    width: fit-content;
}

.nav-sec {
    padding-left: 15px;
}

.nav-sec-pg {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--grey-00);
    position: relative;
    padding-left: 12px;
    margin-top: 12px;
}

.nav-sec-pg:hover {
    color: var(--blue-00);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nav-sec-pg::before {
    content: "";
    width: 8px;
    height: 4px;
    background: url(/assets/img/common/nav_sec.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    top: 8px;
}

.nav-contact {
    margin-top: 30px;
    position: relative;
    width: 120px;
    height: 120px;
    color: var(--white-00);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.4px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--blue-00);
    background-color: var(--blue-00);
    overflow: hidden;
    z-index: 0;
    transition: color 0.4s ease-out;
}

.nav-contact::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-color: var(--white-00);
    border-radius: 50%;
    z-index: -1;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
}

.nav-contact:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.nav-contact:hover {
    color: var(--blue-00);
}

.nav-cont::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.nav-cont::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.nav-cont::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/*-----------------------
Footer 
------------------------*/
.footer-wrapper {
    width: 100%;
}

.footer-container {
    width: 100%;
    border-top: 2px solid var(--blue-00);
}

.footer-logo {
    max-width: 394px;

}

.footer-logo-img {
    position: relative;
}

.footer-logo-img::after {
    content: "税理士法人";
    width: 100px;
    height: 50px;
    font-size: 1.8rem;
    color: black;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.txt-blks-container {
    display: flex;
    gap: 30px;
}

.txt-blk-ttl {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
}

.txt-blk-ttl::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--blue-00);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.txt-blk-para {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
}

.footer-triangle-para {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    width: fit-content;
}

.footer-triangle-para::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--blue-00);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-bottom-line {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54px;
    background-color: var(--blue-00);
    color: #fff;
    font-size: 1.2rem;

}

@media screen and (max-width: 768px) {
    .footer-logo {
        max-width: 320px;
    }

    .txt-blks-container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom-line {
        height: 40px;
        font-size: 1rem;
    }
}

/*add 202511*/
#global-nav {
  padding: 16px 44px;
}