@charset "UTF-8";

/* ==========================================
   Root
========================================== */

:root {

    /* Color */
    --color-main: #0048d0;
    --color-text: #333;
    --color-bg: #fff;
    --color-gray: #c8c9ca;
    --color-border: #ddd;

    /* Layout */
    --container-width: 1200px;
    --container-padding: clamp(20px, 4vw, 40px);

    /* Space */
    --section-space: clamp(56px, 8vw, 120px);

    /* Font */
    --font-size-h1: clamp(24px, 3vw, 32px);
    --font-size-h2: clamp(20px, 2.8vw, 30px);
    --font-size-h3: clamp(18px, 2.4vw, 26px);
    --font-size-h4: clamp(16px, 2vw, 20px);
    --font-size-h5: clamp(16px, 1.6vw, 18px);
    --font-size-p: clamp(15px, 1.4vw, 16px);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Animation */
    --transition: .3s ease;
}


/* ==========================================
   Reset
========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
    font-size: var(--font-size-p);
    line-height: 1.75;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-text-size-adjust: 100%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

picture {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
}

input,
textarea,
select {
    font: inherit;
}


/* ==========================================
Common Layout
========================================== */

.wrapper {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

section {
    margin-block: var(--section-space);
}


/* ==========================================
Heading
========================================== */

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1em;
}

.section-text {
    text-align: center;
}


/* ==========================================
Button
========================================== */

/* Webカタログ未実装用。
   完成時は .catalog-disabled を外すだけで再有効化できます。 */
.catalog-disabled {
    color: var(--color-gray);
    border-color: var(--color-gray);
    pointer-events: none;
    cursor: not-allowed;
}

.catalog-disabled:hover {
    color: var(--color-gray);
    border-color: var(--color-gray);
    opacity: 1;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    min-height: 56px;
    padding-inline: 24px;
    border-radius: 999px;
    transition: var(--transition);
}

.btn-primary {
    color: #fff;
    background: var(--color-main);
}

.btn-primary:hover {
    opacity: .8;
}


/* ==========================================
Utility
========================================== */

.text-center {
    text-align: center;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}


/* ==========================================
Header
========================================== */

.header {
    position: fixed;
    inset: 0 0 auto 0;

    width: 100%;
    background: #fff;

    z-index: 999;
}

.header-inner {
    height: 100px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-inline: clamp(20px,4vw,40px);
}

.header-logo img {
    width: 240px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header-menu {
    display: flex;
    gap: 50px;
}

.header-menu a {
    font-weight: 700;
    position:relative;
}

.header-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;

    width:0;
    height:2px;

    background:var(--color-main);
    transition:.3s ease;
}

.header-menu a:hover::after{
    width:100%;
}

.header-btns {
    display: flex;
}

.header-btn {
    width: 145px;
    height: 56px;
	font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid var(--color-main);
}

/* チャットボット */
.header-btn-chat {
    color: var(--color-gray);
}

.header-btn-chat:hover{
    border: 1px solid var(--color-gray);
    background: var(--color-gray);
    color:#fff;
    transition:.3s ease;
}

/* お問い合わせ */
.header-btn-contact {
    background: var(--color-main);
    color: #fff;
}

.header-btn-contact:hover{
    opacity: 0.4;
    transition:.3s ease;
}

/* Header desktop only: scale text, spacing and buttons down to 1025px */
@media screen and (min-width: 1025px) {
    .header-inner{
        padding-inline:clamp(24px, 2.3vw, 40px);
    }

    .header-logo img{
        width:240px;
    }

    .header-nav{
        gap:clamp(24px, 2.6vw, 50px);
    }

    .header-menu{
        gap:clamp(24px, 2.6vw, 50px);
    }

    .header-menu a{
        font-size:clamp(14px, 0.9vw, 16px);
    }

    .header-btn{
        width:clamp(120px, 7.6vw, 145px);
        height:clamp(48px, 2.9vw, 56px);
        font-size:clamp(14px, 0.9vw, 16px);
    }
}

/* ==========================================
Mega Menu
========================================== */

.mega-parent{
    position: static;
}

.mega-menu{
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: .3s ease;
}


.mega-menu.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

@media screen and (min-width: 1025px) {
    .mega-parent.active .mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.mega-inner{
    max-width: 1200px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: 220px repeat(3,1fr);
    gap: 32px;

    align-items: center;

    padding: 40px;
}

/* 会社情報 */
.mega-inner::before{
    content: "会社情報 TOP";
    font-size: 18px;
    font-weight: 700;
}

/* 事業紹介 */
.mega-service .mega-inner::before{
    content:"事業紹介 TOP";
}

/* Webカタログ */
.mega-catalog .mega-inner::before{
    content:"Webカタログ TOP";
}

.mega-item{
    display: block;
    overflow:hidden;
    cursor:pointer;
}

.mega-item img{
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
    transition:transform .4s ease;
}

.mega-item span{
    display: block;
    margin-top: 10px;
    font-weight: 700;
}

.mega-item:hover img{
    transform:scale(1.08);
}




/* ==========================================
Hamburger
========================================== */

.hamburger {
    display: none;

    width: 44px;
    height: 44px;

    position: relative;
}

.hamburger span {
    position:absolute;
    left:8px;

    width:28px;
    height:2px;

    background:#000;

    transition:.3s ease;
    transform-origin:center;
}

.hamburger span {
    position:absolute;
    left:8px;

    width:28px;
    height:2px;

    background:#000;

    transition:.3s ease;
    transform-origin:center;
}

.hamburger span:nth-child(1){
    top:12px;
}

.hamburger span:nth-child(2){
    top:21px;
}

.hamburger span:nth-child(3){
    top:30px;
}


/* 開いた時 */

.hamburger.active span:nth-child(1){
    top:21px;
    transform:rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    top:21px;
    transform:rotate(-45deg);
}


/* ==========================================
Fixed
========================================== */

.chat{
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 998;
    animation: float 3s ease-in-out infinite;
}

.chat img{
    width: 120px;
    transition:.3s ease;
}

.chat:hover img{
    transform:scale(1.08);
}

@keyframes float{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-8px);
    }
    100%{
        transform: translateY(0);
    }
}



/* ==========================================
共通
========================================== */
h1{
    font-size: var(--font-size-h1);
    font-weight:700;
}

h2{
    font-size: var(--font-size-h2);
    font-weight:700;
}

h3{
    font-size: var(--font-size-h3);
    font-weight:700;
}

h4{
    font-size: var(--font-size-h4);
    font-weight:600;
}

h5{
    font-size: var(--font-size-h5);
    font-weight:600;
}

p{
    font-size: var(--font-size-p);
}

span{
	display: inline-block;
}

.close{
    color: var(--color-gray);
}




/* ==========================================
Footer
========================================== */

.footer {
    padding-top: 10px;
    background: #e5e5e5;
}

.footer-cta-wrap {
    position: relative;
    z-index: 10;
    margin-bottom: -60px;
}
.footer-main {
    padding-top: 200px;
}


/* ==========================================
Footer CTA
========================================== */


.footer-cta-wrap {
    width: 100%;
    padding-inline: var(--container-padding);
}

.footer-cta {
    max-width: var(--container-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
section.footer-cta{
    margin-bottom: 0;
}

/* .footer-cta-item {
	background: #0e76a8;
    color: #fff;
	text-align: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition:transform .4s ease,
        background-color .4s ease;
} */

.footer-cta-item {
    background: #0e76a8;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    transition: transform .4s ease,
                background-color .4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta-item:hover {
    transform: translateY(-8px);
}

.footer-cta-item-tel {
    background: #4f8db7;
}

.footer-cta-title {
    min-height: 72px;
    margin-bottom: 32px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 360px;
    height: 72px;
    background: #fff;
    color: #333;
    margin: 0 auto 30px;
    font-weight: 700;
}

.footer-cta-btn:hover {
    opacity: .8;
}

.footer-cta-btn.is-disabled {
    pointer-events: none;
    color: #999;
}

.footer-tel {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 360px;
    height: 72px;

    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-cta-text{
    margin-top: auto;
}


/* ==========================================
Footer black
========================================== */

.footer-main {
    background: #000;
    color: #fff;
    padding: 100px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-company {
    max-width: 400px;
}

.footer-logo {
    width: 200px;
    margin-bottom: 40px;
}

.footer-address {
    font-style: normal;
    line-height: 2;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-nav-group p {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-nav-group li + li {
    margin-top: 8px;
}

.footer-nav a:hover {
    opacity: .7;
}


/* ==========================================
Copyright
========================================== */

.footer-copy {
    background: #000;
    color: #999;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}


/* ==========================================
Break Point(max-width: 1024px)
========================================== */

@media screen and (max-width: 1024px) {
    #print,
    #uniform,
    #emergency{
        scroll-margin-top:80px;
    }

    /*.header*/
    .header-inner{
        height:80px;
    }

    .hamburger{
        display:block;
    }

    .header-nav{
        position: fixed;
        top:80px;
        right:0;
        left:auto;
        width:min(40vw, 360px);
        height:calc(100vh - 80px);
        background:#fff;
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:flex-start;
        gap:30px;
        padding:24px 24px 40px;
        overflow-y:auto;
        transform: translateX(100%);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition: transform .35s ease, opacity .35s ease, visibility .35s ease;
    }

    .header-nav.active{
        transform: translateX(0);
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    .header-menu{
        flex-direction:column;
        align-items:flex-start;
        text-align:left;
        gap:20px;
        width:100%;
        padding-inline:0;
    }

    .header-menu > li{
        width: 100%;
        position: relative;
    }

    .header-btns{
        flex-direction:column;
        gap:10px;
        width:100%;
        padding-inline:0;
        align-items:flex-start;
    }

    .mv-content{
        left:20px;
        right:20px;
    }


    /* ==========================================
    Mega Menu
    ========================================== */
    .mega-parent{
        position: relative;
        z-index: 1;
        width: 100%;
        display: block;
    }

    .mega-trigger{
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        text-align: left;
    }

    .mega-trigger::before{
        content: "+";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        border: 1px solid var(--color-main);
        border-radius: 50%;
        font-size: 16px;
        line-height: 1;
        color: var(--color-main);
    }

    .mega-parent.active .mega-trigger::before{
        content: "−";
    }

    .mega-menu{
        position: static;
        width: 100%;
        background: transparent;
        display: none;
        padding: 10px 0 0;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        z-index: auto;
        box-shadow: none;
    }

    .mega-menu.active{
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 6px;
    }

    .mega-inner{
        max-width: none;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
        align-items: start;
    }

    .mega-inner::before{
        content: none;
    }

    .mega-item{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        text-align: left;
    }

    .mega-item img{
        width: 70px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .mega-item span{
        margin-top: 0;
        text-align: left;
    }

    /*chat*/
    .chat{
        right: 20px;
        bottom: 20px;
    }

    .chat img{
        width: 100px;
    }



/* ==========================================
Footer CTA
========================================== */

    .footer-cta-wrap {
        margin-bottom: -30px;
    }

    .footer-cta {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        gap: 60px;
    }

    .footer-nav {
        gap: 40px;
    }

    .footer-cta-item{
        display:block;
    }

    .footer-cta-title{
        min-height:auto;
        display:block;
        margin-bottom:24px;
    }

    .footer-tel{
        display:block;
        width:auto;
        max-width:none;
        height:auto;
        margin-bottom:24px;
    }

    .footer-cta-text{
        margin-top:0;
    }


}


/* ==========================================
   Break Point(max-width: 768px)
========================================== */
@media screen and (max-width: 768px) {

/* ==========================================
header
========================================== */
    .header-inner{
        height:80px;
    }

    .header-logo img{
        width:180px;
    }

    .hamburger{
        display:block;
    }

    .header-nav{
        position: fixed;
        top:80px;
        right:0;
        left:auto;
        width:min(80vw, 360px);
        height:calc(100vh - 80px);
        background:#fff;
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:flex-start;
        gap:30px;
        padding:24px 24px 40px;
        overflow-y:auto;
        transform: translateX(100%);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition: transform .35s ease, opacity .35s ease, visibility .35s ease;
    }

    .header-nav.active{
        transform: translateX(0);
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    .header-menu{
        flex-direction:column;
        align-items:flex-start;
        text-align:left;
        gap:20px;
        width:100%;
        padding-inline:0;
    }

    .header-menu > li{
        width: 100%;
        position: relative;
    }

    .header-btns{
        flex-direction:column;
        gap:10px;
        width:100%;
        padding-inline:0;
        align-items:flex-start;
    }

    .mv-content{
        left:20px;
        right:20px;
    }


/* ==========================================
chat
========================================== */

    .chat{
            right: 15px;
            bottom: 15px;
        }

    .chat img{
        width: 120px;
    }



/* ==========================================
footer
========================================== */

    .footer-main {
        padding: 60px 0;
    }

    .footer-cta-item {
        padding: 40px 20px;
    }

    .footer-cta-title {
        margin-bottom: 24px;
    }
    .footer-tel{
        font-size: 24px;
        margin-bottom: 24px;
    }
    .footer-cta-btn{
        margin:0 auto 24px;
    }


	/*Footer Main */
    .footer-grid {
        display: block;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 40px;
    }

}



/* ==========================================
   Break Point(max-width: 480px)
========================================== */
@media screen and (max-width: 480px) {

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }


}

