@charset "UTF-8";

/*
Theme Name : WEBSITE
Author: クローバーグラフィック
Description: corporate website
Version: 1.0
*/

/*=======================================================
Common
=======================================================*/
:root {
    --color_1: #fff;
    --color_2: #0068B7; /*メインカラー*/
    --color_3: #EBF4F9; /*薄ブルー*/
    --color_4: #444; /*文字*/
    --color_5: #7f7f7f; /*グレー中間*/
    --color_6: #F7F7F7; /*薄グレー*/
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    /*font-size: 16px;*/
    font-size: clamp(16px, 1.111vw, 22px);
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    line-height: 2.2;
    letter-spacing: 0.14em;
    color: var(--color_4);
    overflow: hidden;
}

body p {
    text-align: justify;
}

body img.scaled-image {
    border: none;
    margin: 0;
}
/*
.base_w {
    width: 86%;
    max-width: 1280px;
    max-width: 1920px;
    margin: 0 auto;
    box-sizing: border-box;
}*/

/*英字フォント指定*/
.f-en {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    font-weight: 300; /*light*/
    /*font-size: 16px;*/
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {/*
    body {
        line-height: 2;
        letter-spacing: 0.05em;
    }
/*
    .base_w {
        width: calc(100% - 36px);
    }*/
}

/* Header
=======================================================*/
#header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    align-content: center;
    font-size: clamp(14px, 0.97vw, 20px);
    line-height: 1em;
    background-color: var(--color_1);
    z-index: 4000;
}

#header .header_logo {
    width: 80px;
    height: auto;
    margin-left: 15px;
    align-content: center;
    transition: 0.3s;
}
#header .header_logo:hover {
    opacity: 0.6;
    transition: 0.3s;
}

#header .header__nav {
    display: flex;
    align-items: center;
    padding-right: 40px;
    padding-right: 2%;
}

#header .header__nav .global__nav {
    display: flex;
}

#header .header__nav .global__nav li {
    position: relative;
    margin-left: 32px;
    line-height: 2em;
    overflow: hidden;
    color: var(--color_5);
    transition: 0.3s;
}
#header .header__nav .global__nav li:hover {
    color: var(--color_4);
    transition: 0.3s;
}
#header .header__nav .global__nav li:first-of-type {
    margin-left: 0;
}

#header .header__nav .global__nav li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color_2);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 0.3s;
}
#header .header__nav .global__nav li:hover::before {
    transform: scale(1, 1);
    transform-origin: left top;
}

#header .header__nav .tel {
    margin-left: 30px;
    padding-left: 30px;
    border-left: var(--color_2) 2px solid;
}

#header .header__nav .tel .number {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: 0.3s;
}

#header .header__nav .tel:hover .number {
    opacity: 0.6;
    transition: 0.3s;
}
#header .header__nav .tel .number i {
    color: var(--color_2);
    margin-right: 2px;
}

#header .header__nav .tel .time {
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
}

@media screen and (max-width: 896px) {
    #header {
        height: 60px;
    }
    #header .header_logo {
        width: 60px;
        margin-left: 5px;
    }
    #header .header__nav {
        display: none;
    }
}

@media screen and (max-width: 480px) {
}


/* Toggle
=======================================================*/
#toggle_btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color_2);
    z-index: 5000;
}

.toggle_btn_bar {
    position: relative;
    display: block;
    width: 30px;
    height: 15px;
    margin: 0 auto;
}

.toggle_btn_bar:before,
.toggle_btn_bar:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color_1);
    /* animation */
    animation-duration: 0s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

body.toggle_active .toggle_btn_bar:before,
body.toggle_active .toggle_btn_bar:after {
    animation-duration: 0.5s;
}

.toggle_btn_bar:before {
    animation-name: toggle_close_top_bar;
}

@keyframes toggle_close_top_bar {
    0% {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    30% {
        top: 50%;
        transform: translateY(-50%) rotate(0);
    }

    70% {
        top: 50%;
        transform: translateY(-50%) rotate(0);
    }

    100% {
        top: 0;
        transform: translateY(0) rotate(0);
    }
}

body.toggle_open .toggle_btn_bar:before {
    animation-name: toggle_open_top_bar;
}

@keyframes toggle_open_top_bar {
    0% {
        top: 0;
        transform: translateY(-50%) rotate(0);
    }

    30% {
        top: 50%;
        transform: translateY(-50%) rotate(0);
    }

    70% {
        top: 50%;
        transform: translateY(-50%) rotate(0);
    }

    100% {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
}

.toggle_btn_bar:after {
    animation-name: toggle_close_bottom_bar;
}

@keyframes toggle_close_bottom_bar {
    0% {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    30% {
        bottom: 50%;
        transform: translateY(50%) rotate(0);
    }

    70% {
        bottom: 50%;
        transform: translateY(50%) rotate(0);
    }

    100% {
        bottom: 0;
        transform: translateY(0) rotate(0);
    }
}

body.toggle_open .toggle_btn_bar:after {
    animation-name: toggle_open_bottom_bar;
}

@keyframes toggle_open_bottom_bar {
    0% {
        bottom: 0;
        transform: translateY(50%) rotate(0);
    }

    30% {
        bottom: 50%;
        transform: translateY(50%) rotate(0);
    }

    70% {
        bottom: 50%;
        transform: translateY(50%) rotate(0);
    }

    100% {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
}

.toggle_wrap {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 480px;
    height: 100%;
    padding: 100px 0 80px;
    overflow: auto;
    background-color: var(--color_1);
    filter: drop-shadow(#efefef -5px 0 10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
    -webkit-overflow-scrolling: touch;
    z-index: 4500;
}

.toggle_wrap::-webkit-scrollbar {
    display: none;
}

body.toggle_open .toggle_wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.toggle-nav a {
    position: relative;
    display: block;
    margin-bottom: 8%;
    padding: 10px 5%;
    padding: 5%;
}
.toggle-nav a:active {
    color: var(--color_2);
}
.toggle-nav ul li:last-of-type a {
    margin-bottom: 0;
}

.toggle-nav a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(-45deg);
    width: 1em;
    height: 1em;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    background-color: var(--color_2);
}

.toggle_wrap > div  {
    width: 100%;
    margin-top: 16%;
    padding: 0 5%;
}

.toggle_wrap > div > .txt {
    font-weight: 500;
}

.toggle_wrap > div > button {
    width: 100%;
}

.toggle_wrap > div > button a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 2% 0;
    padding: 5%;
    font-size: 32px;
    border-radius: 10px;
    color: var(--color_1);
    background-color: var(--color_2);
    text-align: center;
}
.toggle_wrap > div > button a i {
    margin-right: 10px;
}

.toggle_wrap > div > button p {
    text-align: center;
}

.toggle_wrap > div > .f_logo {
    width: 80%;
    margin: 10% auto 0;
    opacity: 0.5;
}

.toggle_wrap > .toggle_logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    opacity: 0.5;
    z-index: -1;
}

#toggle {
    display: none;
}

@media screen and (max-width: 896px) {
    #toggle {
        display: block;
    }
}

@media screen and (max-width: 480px) {
}

/*=======================================================
Pagetitle
=======================================================*/
#pagetitle {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    margin-top: 80px;
    padding: 100px 180px 320px;
}
#pagetitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 1800px;
    z-index: -1;
    background-image: linear-gradient(var(--color_2) 0%, var(--color_2) 50%, var(--color_1) 100%);
}
#pagetitle::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 1800px;
    z-index: -1;
    background-color: var(--color_1);
}
#pagetitle.active::after {
    transform-origin: center bottom;
    transition-timing-function: ease-in-out;
    animation: pagetitle-anime 1.5s ease-out 0.5s forwards;
}
@keyframes pagetitle-anime {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}

.pagetitle__left {
    color: var(--color_1);
    opacity: 0;
}
#pagetitle.active .pagetitle__left {
    opacity: 1;
    transition: 1s;
    transition-delay: 1.2s;
}

.pagetitle__left > p {
    font-size: clamp(48px, 4.86vw, 120px);
    line-height: 1.6em;    
}

.pagetitle__left > h1 {
}

.pagetitle__right {
}

.pagetitle__right ul li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 0.8em;
    line-height: 1.2em;
    color: var(--color_5);
    transition: 0.15s;
    opacity: 0;
    transform: translateX(10px);
}

.pagetitle__right ul li:last-of-type {
    margin-bottom: 0;
}
.pagetitle__right ul li:hover {
    color: var(--color_2);
    transition: 0.3s;
}

.pagetitle__right ul li::before {
    content: "";
    position: absolute;
    top: 0.3em;
    left: 0;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background-color: var(--color_5);
    transition: 0.3s;
}
.pagetitle__right ul li:hover::before {
    height: 0.8em;
    background-color: var(--color_2);
    border-radius: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: rotate(90deg);
    transition: 0.3s;
}

#pagetitle.active .pagetitle__right ul li {
    opacity: 1;
    transform: translateX(0);
    transition: 0.3s;
    transition-delay: 2.5s;
}
#pagetitle.active .pagetitle__right ul li:nth-of-type(2) {
    transition-delay: 2.6s;
}
#pagetitle.active .pagetitle__right ul li:nth-of-type(3) {
    transition-delay: 2.7s;
}
#pagetitle.active .pagetitle__right ul li:nth-of-type(4) {
    transition-delay: 2.8s;
}

@media screen and (min-width: 1920px) {
    #pagetitle {
        padding: 180px 180px 240px;
    }
    .pagetitle__right ul li {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 1024px) {
    #pagetitle {
        padding: 80px 10% 20%;
    }
    #pagetitle::before,
    #pagetitle::after {
        width: 45%;
        max-width: 500px;
        min-width: 400px;
        height: 1500px;
    }        
}

@media screen and (max-width: 896px) {
    #pagetitle {
        margin-top: 60px;
        padding: 80px 8% 20%;
    }
    #pagetitle::before,
    #pagetitle::after {
        height: 1800px;
    }
}

@media screen and (max-width: 480px) {
    #pagetitle {
        display: block;
    }
    #pagetitle::before,
    #pagetitle::after {
        width: 100%;
    }
    #pagetitle.active::after {
        animation: pagetitle-anime 2.5s ease-in 0.5s forwards;
    }
    .pagetitle__right {
        margin-top: 10%;
    }

    .pagetitle__right ul li {
        font-size: 80%;
        color: var(--color_1);
    }
    .pagetitle__right ul li::before {
        background-color: var(--color_1);
    }
}

/* Breadcrumb
=======================================================
#breadcrumb {
    padding: 9px 18px;
    line-height: 1;
}

#breadcrumb span,
#breadcrumb a {
    font-size: 12px;
    line-height: 1.2;
}

#breadcrumb a {
    margin-right: 3px;
    text-decoration: underline;
}

#breadcrumb a:hover {
    text-decoration: none;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
}*/

/* Main
=======================================================*/
body:not(.home) main {
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
}
/*return up
=======================================================*/
#return_up {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 13px;/*
    right: 20px;*/
    right: 1.5%;
    padding: 0.8% 0.5%;
    transform: rotate(90deg);
    transform-origin: right top;
    color: var(--color_2);
    background-color: var(--color_1);
    filter: drop-shadow(#efefef 0 2px 5px);
    z-index: 800;
    transition-duration: 0.3s;
    pointer-events: none;
    transition-timing-function: ease-out;
}

#return_up.on {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    bottom: 20px;
}

#return_up.on:hover {
    bottom: 15px;
    filter: none;
    transition: 0.3s;
}

@media screen and (max-width: 480px) {
    #return_up {
        right: 2px;
        bottom: 0;
        padding: 1% 2%;
    }
    #return_up.on {
        bottom: 5px;
    }

    #return_up.on:hover {
        bottom: 0;
    }
}

/* Footer
=======================================================*/
#footer {
    display: flex;
    justify-content: space-between;
    padding: 60px 80px;
    border-top: var(--color_2) 8px solid;
    color: var(--color_5);
    background-color: var(--color_1);
    font-size: clamp(14px, 0.97vw, 20px);
}

/*ナビ・会社情報*/
.footer__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

.footer__nav ul {
    display: flex;
}

.footer__nav ul li {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}
.footer__nav ul li:last-of-type {
    margin-right: 0;
}

.footer__nav ul li a {
    margin-bottom: 10px;
    line-height: 1.6em;
    transition: 0.3s;
}
.footer__nav ul li a:hover {
    opacity: 0.5;
    transition: 0.3s;
}

.footer__nav ul li a.sub__link {
    position: relative;
    margin-left: 1em;
}
.footer__nav ul li a.sub__link::before { /*-*/
    content: "-";
    position: absolute;
    top: 0;
    left: -1em;
}

.footer__left ul li a.footer__contact {
    background-color: var(--color_2);
    padding: 0 5px 2px;
    border-radius: 5px;
    color: var(--color_1);
    margin-left: 0;
}

.footer__info {
    width: 100%;
    height: fit-content;
    margin: auto auto 0 0;
}

.footer__info .logo__container {
    display: flex;
    width: fit-content;
    align-items: center;
}

.footer__info .logo__container > div {
    width: 75px;
    margin-right: 10px;
}

.footer__info .logo__container > p {
    width: 300px;
}

.footer__info .info__container {
    margin: 20px 0;
    line-height: 1.8em;
}

.footer__info .info__container address {
    font-style: normal;
}

.footer__info small {
    font-size: 12px;
}
/*ナビ・会社情報ここまで*/

/*map*/
.footer__right {
    width: 40%;
    max-width: 600px;
    border-radius: 30px;
    overflow: hidden;
}

.footer__right .right__inner {
    position: relative;
    width: 100%;
    padding-top: 100%;
    height: 0;
}

.footer__right iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*mapここまで*/

@media screen and (max-width: 1024px) {
    #footer {
        padding: 40px 60px 40px 40px;
    }
}

@media screen and (max-width: 896px) {
    #footer {
        flex-direction: column-reverse;
    }
    /*map*/
    .footer__right {
        width: 100%;
        max-width: 900px;
        margin-bottom: 10%;
    }
    .footer__right .right__inner {
        padding-top: 42.85%;
    }
    /*ナビ・会社情報*/
    .footer__left {
        width: 100%;
    }
    .footer__nav ul {
        margin-bottom: 10%;
        justify-content: space-around;
    }
    .footer__nav ul li {
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    #footer {
        padding: 40px 20px 10px 20px;
        font-size: 11px;
    }
    /*map*/
    .footer__right {
        margin-bottom: 20%;
    }
    .footer__right .right__inner {
        padding-top: 75%;
    }

    /**/
    .footer__nav ul {
        margin-bottom: 10%;
        justify-content: space-between;
    }
    .footer__nav ul li a {
        width: fit-content;
    }

    .footer__info .logo__container > div {
        width: 20%;
    }

    .footer__info .logo__container > p {
        width: 80%;
    }

    .footer__info small {
        font-size: 7px;
        text-align: center;
    }
}

/*=======================================================
投稿ページ
=======================================================*/
/* Archive（前後ページ移動）
=======================================================
.wp-pagenavi {
    margin-top: 45px;
    line-height: 1;
    text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 90px;
    font-size: 13px;
    line-height: 40px;
    text-align: center;
    background-color: rgb(230, 230, 230);
    display: inline-block;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.wp-pagenavi a:hover {
    background-color: rgb(245, 245, 245);
}

.wp-pagenavi span.current {
    color: #fff;
    background-color: rgb(90, 150, 180);
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
    color: transparent;
    background-color: rgb(150, 150, 150);
    position: relative;
}

.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.nextpostslink:hover {
    background-color: rgb(180, 180, 180);
}

.wp-pagenavi a.previouspostslink:after,
.wp-pagenavi a.nextpostslink:after {
    content: "";
    width: 5px;
    height: 5px;
    border-width: 0;
    border-style: solid;
    border-color: #fff;
    box-sizing: border-box;
    display: block;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
}

.wp-pagenavi a.previouspostslink:after {
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.wp-pagenavi a.nextpostslink:after {
    border-top-width: 1px;
    border-right-width: 1px;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
    .wp-pagenavi {
        margin-top: 55px;
    }

    .wp-pagenavi a,
    .wp-pagenavi span {
        width: 36px;
        height: 36px;
        font-size: 11px;
        line-height: 36px;
    }
}

/* Single（前後ページ移動）
=======================================================
.pagenav {
    padding-top: 55px;
    border-top: 2px solid var(--color_2);
    margin-top: 120px;
    line-height: 1;
}

.pagenav > a {
    width: 49%;
    padding: 45px 0;
    border-bottom: 2px solid var(--color_5);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    display: block;
    position: relative;
}

.pagenav > a:hover {
    text-decoration: underline;
}

.pagenav > a:first-child {
    padding-left: 18px;
    float: left;
}

.pagenav > a:last-child {
    padding-right: 18px;
    float: right;
}

.pagenav > a:before {
    content: "";
    width: 9px;
    height: 9px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 50%;
    z-index: 50;
}

.pagenav > a:first-child:before {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(-45deg);
    transform-origin: top left;
    left: 0;
}

.pagenav > a:last-child:before {
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform-origin: top right;
    transform: rotate(45deg);
    right: 0;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
    .pagenav {
        padding-top: 63px;
        margin-top: 120px;
    }
}

@media screen and (max-width: 480px) {
    .pagenav {
        padding-top: 0;
        border-top: none;
        margin-top: 90px;
    }

    .pagenav > a {
        width: 100%;
        padding: 21px 18px;
        border: 1px solid var(--color_3);
        border-radius: 45px;
        font-size: 13px;
    }

    .pagenav > a:before {
        width: 7px;
        height: 7px;
    }

    .pagenav > a:first-child {
        padding-left: 25px;
    }

    .pagenav > a:last-child {
        padding-right: 25px;
        margin-top: 33px;
    }

    .pagenav > a:first-child:before {
        border-top: 1px solid var(--color_4);
        border-left: 1px solid var(--color_4);
        left: 16px;
    }

    .pagenav > a:last-child:before {
        border-top: 1px solid var(--color_4);
        border-right: 1px solid var(--color_4);
        right: 16px;
    }
}
*/
