/* グローバル設定 */
:root {
    --main-color-a: #0244A5;
    --main-color-b: #5092C8;
    --main-color-c: #A7C8E3;
    --main-color-d: #2E6EAF;
    --main-color-e: #C2D9EC;    
    --sub-color-a: #DC2D14;
    --sub-color-b: #DCDCDC;
    --sub-color-c: #000000;
    --sub-color-d: #ffffff;
    --text-color-a: #0244A5;
    --text-color-b: #DC2D14;
    --text-color-c: #000000;
    --text-color-d: #ffffff;
    --text-color-e: #FAF5BA;
    --text-color-f: #B4B4B4;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
a[href^="tel"], a[href^="mailto"] {
    text-decoration: none;
    color: inherit;
}
li {
    list-style-type: none;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
img, video {
    height: auto;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-feature-settings: "palt";
    letter-spacing: 0.5px;
    background-color: var(--main-color-c);
}
.seo-text {
    position: absolute;
    left: -9999px; /* 画面外へ移動して非表示 */
    visibility: hidden;
}

/* 改行設定 */
.br_b, .br_f, .br_h {
    display: none;
}
@media (max-width: 1500px) {
    .br_f {
        display: block;
    }
    .br_g {
        display: none;
    }
}
@media (max-width: 1366px) {
    .br_a {
        display: none;
    }
}
@media (max-width: 1080px) {
    .br_c {
        display: none;
    }
}
@media (max-width: 900px) {
    .br_d {
        display: none;
    }
    .br_h {
        display: block;
    }
}
@media (max-width: 640px) {
    .br_b {
        display: block;
    }
    .br_e {
        display: none;
    }
}


/* 上部ナビゲーション */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.top_wrap {
    position: absolute;
    top: 0;
    left: 3%;
    width: 94%;
}
.top_wrap .logo {
    position: absolute;
    top: 9px;
    height: 54px;
    transition: transform 0.3s ease;
    transform-origin: top left;
    filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(2704%) hue-rotate(209deg) brightness(98%) contrast(101%);
}
.pmark_top {
    width: 60px;
    position: absolute;
    top: 9px;
    right: 100px;
    display: none;
}
.top_nav {
    position: absolute;
    top: 22px;
    right: 90px;
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease;
}
.top_nav a {
    margin-right: 8px;
    padding: 2px 15px 4px;
    color: var(--text-color-a);
    font-size: 16px;
    font-weight: bold;
    border-radius: 14px;
    background-color: var(--sub-color-d);
    transition: all 0.2s ease-in-out;
}
.top_nav a:last-child {
    margin-right: 0;
    color: var(--text-color-d);
    background-color: var(--main-color-a);
}
.top_nav a:hover {
    color: var(--text-color-d);
    background-color: var(--sub-color-a);
}
.top_nav.hidden {
    transform: translateY(-100px);
}
.hamburger_wrap {
    position: absolute;
    top: 20px;
    right: 0;
    width: 60px;
    height: 34px;
    z-index: 200;
}
.hamburger {
    width: 60px;
    height: 34px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-color-a);
    transition: all 0.3s ease-in-out;
}
.hamburger span:first-child {
    top: 12px;
} 
.hamburger span:last-child {
    top: 20px;
}
.hamburger.open span:first-child {
    transform: translateY(4px) rotate(22deg);
    background-color: var(--sub-color-d);
}
.hamburger.open span:last-child {
    transform: translateY(-4px) rotate(-22deg);
    background-color: var(--sub-color-d);
}
@media (max-width: 1366px) {
    header {
        padding-top: 540px;
    }
    .top_wrap .logo {
    	height: 46px;
	}
    .top_nav {
        top: 22px;
    }
    .top_nav a {
        font-size: 15px;
        border-radius: 16px;
    }
    .hamburger_wrap {
        top: 18px;
    }
}
@media (max-width: 1080px) {
    header {
        padding-top: 670px;
    }
    .top_wrap .logo {
        top: 13px;
        height: 40px;
    }
    .top_nav {
        display: none;
    }
    .pmark_top {
        display: block;
        width: 60px;
        position: absolute;
        top: 5px;
        right: 80px;
    }
    .hamburger_wrap {
        top: 18px;
    }
    .hamburger {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .hamburger_wrap {
        top: 13px;
        width: 46px;
    }
    .pmark_top {
        width: 50px;
        top: 4px;
        right: 56px;
    }
    .top_wrap .logo {
        top: 17px;
        height: 23px;
    }
}

/* カテゴリータイトル */
.category_title {
    width: 100%;
    margin-top: 140px;
    margin-bottom: 60px;
    background-color: var(--main-color-e);
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 2.3em 5em;
}
.category_title .title {
    height: 4.6em;
    margin-right: 2em;
}
.category_title h3 {
    font-size: 1.2em;
    height: 1.5;
    font-weight: 600;
    color: var(--text-color-c);
}
.category_title h3 a {
    border-bottom: 1px solid currentColor;
}
.category_title .link_wrap {
    display: flex;
    align-items: center;
}
.category_title .link_wrap img {
    width: auto;
    height: 1.25em;
}
.category_title .link_wrap li {
    margin-right: 1.25em;
}
.category_title .link_wrap li:last-child {
    margin-right: 0;
}
.category_title .arrow {
    display: inline-block;
    vertical-align: center;
    color: var(--main-color-a);
    width: 0.7em;
    height: 0.7em;
    border: 2px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(45deg); /* 閉じている状態 */
}
@media (max-width: 1366px) {
    .category_title {
        font-size: 15px;
    }
    .category_title {
        padding: 2.3em 3em;
    }
}
@media (max-width: 1080px) {
    .category_title {
        font-size: 14.5px;
    }
    .category_title {
        flex-direction: column;
        padding-left: 10%;
        padding-right: 10%;
    }
    .category_title .title {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .category_title h3 {
        width: auto;
    }
    .category_title h3 br {
        display: none;
    }
}
@media (max-width: 800px) {
    .category_title {
        font-size: 14px;
    }
}
@media (max-width: 640px) {
    .category_title {
        margin-top: 7em;
        padding: 1.8em 5%;
    }
    .category_title_security {
        padding: 1.8em 0 1.4em;
    }
    .category_title .title {
        height: 3.6em;  
    }
    .category_title h3 {
        font-size: 1em;
        height: 1.4;
        text-align: justify;
    }
    .category_title .link_wrap_security {
        flex-direction: column;
        align-items: flex-start;
        line-height: 2;
    }
}

/* 隠しメニュー */
.hidden_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--main-color-a);
    color: var(--text-color-d);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s;
    padding: 50px;
}
.hidden_menu.show {
    transform: translateY(0); /* 画面中央へ */
    opacity: 1;
    visibility: visible;
}
.hidden_wrap {
    width: 100%;
    height: 100%;
    border: 1px solid var(--sub-color-d);
    border-radius: 60px;
    width: 100%;
    height: 100%;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5em;
}
.company_info {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.company_info img {
    width: 25em;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(348deg) brightness(109%) contrast(102%);
    margin-bottom: 1em;
}
.address_wrap {
    font-size: 1em;
    line-height: 1.5;
    color: var(--text-color-d);
    text-align: left;
}
.navigation_wrap {
    width: auto;
    text-align: left;
    font-weight: 600;
}
.item_header {
    font-size: 1.3em;
    line-height: 1;
    margin-bottom: 2em;
}
.item_wrap {
    display: flex;
    margin-bottom: 2em;
}
.item_wrapper {
    margin-right: 1.5em;
}
.item_wrapper:last-child {
    margin-right: 0;
}
.item_sub {
    position: relative;
    font-size: 0.9em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    margin-bottom: 0.6em;
}
.line_ver {
    position: absolute;
    top: -8px;
    left: 1.5em;
    border-left: 1px solid var(--sub-color-d);
    width: 1em;
}
.line_ver_a {
    height: 8.7em;
}
.line_ver_b {
    height: 3.2em;
} 
.line_ver_c {
    height: 5.3em;
}   
.line_side {
    width: 0.8em;
    border-top: 1px solid var(--sub-color-d);
    margin-right: 0.4em;
    margin-left: 1.5em;
}
@media (max-width: 1366px) {
    .hidden_wrap {
        padding: 0 4em;
    }
    .hidden_wrap {
        font-size: 14px;
    }
    .item_wrapper {
        margin-right: 1.3em;
    }
    .line_ver_b {
        height: 3.3em;
    } 
}
@media (max-width: 1200px) {
    .hidden_wrap {
        font-size: 13px;
    }
    .line_ver_a {
        height: 8.8em;
    }
    .line_ver_b {
        height: 3.4em;
    } 
}
@media (max-width: 1080px) {
    .company_info {
        margin-bottom: 3em;
    }
    .item_header {
        margin-bottom: 1.4em;
    }
    .item_wrap {
        margin-bottom: 1.4em;
    }
    .hidden_wrap {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .line_ver_c {
        height: 5.4em;
    } 
}
@media (max-width: 800px) {
    .hidden_wrap {
        font-size: 13px;
    }
}
@media (max-width: 640px) {
    
    .company_info {
        margin-bottom: 2em;
    }
    .hidden_menu {
        padding: 25px;
    }
    .hidden_wrap {
        border-radius: 40px;
        padding: 0 3em;
    }
    .item_header {
        font-size: 1.2em;
        margin-bottom: 0.9em;
    }
    .item_wrap {
        margin-bottom: 0.9em;
    }
    .item_wrapper {
        margin-right: 0;
        margin-bottom: 0.9em;
    }
    .item_wrapper:last-child {
        margin-bottom: 0;
    }
    .hidden_wrap {
        font-size: 12px;
    }
    .company_info img {
        width: 16em;
        margin-bottom: 0.7em;
    }
    .item_wrap {
        flex-direction: column;
    }
    .item_sub {
        line-height: 1.3;
    }
    .line_ver_a {
        height: 8.4em;
    }
    .line_ver_b {
        height: 3.3em;
    }
    .line_ver_c {
        height: 5.2em;
    }    
    .line_side {
        margin-right: 0.4em;
        margin-left: 1.6em;
    }
}
.margin_bottom_0 {
    margin-bottom: 0;
}
.margin_bottom_10 {
    margin-bottom: 0.7em;
}
@media (max-width: 640px) {
    .margin_bottom_10 {
        margin-bottom: 0.9em;
    }
}

/* フッター */
footer {
    width: 100%;
    background-color: var(--main-color-d);
    font-size: 16px;
    padding-top: 3em;
    padding-bottom: 3em;
}
.upper_wrap, .bottom_wrap {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.upper_wrap {
    width: 92%;
    margin-bottom: 3em;
}
.bottom_wrap {
    width: 100%;
    margin-bottom: 1.3em;
}
.footer_message {
    font-size: 1.4em;
    line-height: 1.6;
    font-weight: 700;
    color: var(--sub-color-d);
}
.footer_nav {
    display: flex;
    justify-content: flex-end;
}
.footer_nav_res {
    display: none;
}
.footer_nav ul {
    margin-right: 2.7em;
    font-size: 0.9em;
    line-height: 1;
    font-weight: 700;
    color: var(--sub-color-d);
}
.footer_nav ul:last-child {
    margin-right: 0;
}
.footer_nav ul li {
    margin-bottom: 1.25em;
    line-height: 1.2;
}
.footer_nav ul .extrasetting {
    font-size: 1.2em;
    color: var(--main-color-c);
}
.corp_info {
    margin-left: 4%;
}
.corp_info .logo {
    width: 24em;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(348deg) brightness(109%) contrast(102%);
    margin-bottom: 0.4em;
}
.address {
    font-size: 1em;
    font-weight: 700;
    color: var(--sub-color-d);
}
.footer_tel {
    position: relative;
    display: flex;
    background-color: rgb(84,136,189);
    align-items: flex-end;
    padding: 1.25em 4% 1.25em 6em;
    color: var(--sub-color-d);
}
.footer_tel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background:linear-gradient(to left, rgb(84,136,189), rgb(46,110,175));
}
.footer_tel .tel {
    position: relative;
    font-size: 1em;
    line-height: 1;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin-right: 1.2em;
}
.footer_tel .tel span {
    font-size: 3em;
}
.footer_tel .time {
    position: relative;
    font-size: 1em;
    line-height: 1.2;
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-weight: 700;
}
.copyright_wrap {
    width: 92%;
    margin: 0 auto;
    text-align: right;
}
.copyright_wrap p {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--sub-color-d);
}
@media (max-width: 1366px) {
    footer {
        font-size: 14px;
    }
}
@media (max-width: 1080px) {
    .upper_wrap, .bottom_wrap {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    .upper_wrap {
        width: 80%;
        margin-bottom: 50px;
    }
    .footer_message {
        margin-bottom: 30px;
    }
    .footer_nav {
        display: none;
    }
    .footer_nav_res {
        display: block;
        width: 100%;
        border-top: 1px solid var(--sub-color-d);
    }
    .toggle_wrap {
        border-bottom: 1px solid var(--sub-color-d);
        width: 100%;
        overflow: hidden;
        cursor: pointer;
        padding: 0.7em 0 0.8em;
        color: var(--text-color-d);
    }
    .toggle_heading {
        display: flex;
        justify-content: space-between;
    }
    .toggle_heading span {
        font-size: 1.2em;
        font-weight: 600;
    }
    .toggle_heading .heading {
        margin-left: 1em;
    }
    .toggle_heading .symbol {
        margin-right: 1em;
    }
    .toggle_content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 0.7em;
    }
    .toggle_content p {
        margin: 0.7em 0.7em;
        font-weight: 600;
    }
    .toggle_content.open {
        max-height: 11em;
        padding: 0.7em;
    }
    .corp_info {
        margin-left: 10%;
        margin-bottom: 1.4em;
    }
    .footer_tel {
        padding-right: 0;
        padding-left: 10%;
    }
    .footer_tel::before {
        top: 0;
        left: auto;
        right: 0;
        width: 200px;
        height: 100%;
        background:linear-gradient(to right, rgb(84,136,189), rgb(46,110,175));
    }
    .copyright_wrap {
        width: 80%;
        text-align: left;
    }
}
@media (max-width: 800px) {
    .upper_wrap {
        width: 90%;
    }
    .corp_info {
        margin-left: 5%;
    }
    .footer_tel {
        padding-left: 5%;
    }
    .copyright_wrap {
        width: 90%;
    }
}
@media (max-width: 640px) {
    footer {
        font-size: 11px;
    }
    .footer_message .br_c {
        display: block;
    }
    .toggle_heading span {
        font-size: 15px;
    }
    .corp_info .logo {
        width: 26em;
    }
    .address {
        font-size: 1.1em;
    }
    .footer_tel {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1.5em;
    }
    .footer_tel .tel {
        margin-right: 0;
        margin-bottom: 0.4em;
    }
    .footer_tel .tel span {
        font-size: 3.2em;
    }
    .footer_tel .time {
        font-size: 1.1em;
    }
    .copyright_wrap p {
        font-size: 1em;
    }
}

/* ページ内リンク位置設定 */
#intro_message {
    scroll-margin-top: 60px;
}
#overview, #access, #privacymark, #privacypolicy, #handling {
    scroll-margin-top: 40px;
}
#category_shiru, #category_amu, #category_suru, #category_tsuzuru {
    scroll-margin-top: 40px;
}