@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

body {
    font-family: 'Helvetica', 'Arial', YuGothic, 'Yu Gothic', 'ヒラギノ角ゴシック', 'Hiragino Sans', 'メイリオ', Meiryo, sans-serif;
}

h1 {
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', serif;
}

p {
    text-align: justify;
}

.ruby {
    display: block;
    font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', serif;
}

@keyframes fadein-bottom {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
    }

    40%,
    100% {
        opacity: 1;
    }
}

.fade-in-bottom {
    opacity: 0;
    animation-name: fadein-bottom;
    animation-duration: 1s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}

@media screen and (min-width:768px) {
    html {
        scroll-padding-top: 110px;
    }

    body {
        font-size: 16px;
    }

    h2 {
        font-size: 30px;
        text-align: center;
        line-height: 1.3;
    }

    h2 .ruby {
        font-size: 23px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        line-height: 1.7;
        text-align: justify;
    }

    .menu,
    .menu-btn,
    #menu-btn,
    .menu-icon {
        display: none;
    }

    .slide-bottom {
        opacity: 0;
        transform: translateY(50px);
        transition: all 1s 0s ease-out;
    }

    #header {
        height: 750px;
        background-image: url(../img/mainv_pc.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    #header h1 {
        font-size: 35px;
        font-weight: normal;
        color: #FFF;
        position: relative;
        z-index: 1;
        top: 26%;
        left: 46%;
        text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.53);
        line-height: 1.7;
    }

    .headerbar {
        width: 100%;
        height: 110px;
        position: fixed;
        z-index: 10;
    }

    .headerbar::after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.8;
        z-index: 1;
    }

    .headerbar-inner {
        width: 1100px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: space-between;
        color: white;
        height: 110px;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .logo {
        width: 266px;
        height: 42px;
    }

    .nav-inner ul {
        display: flex;
    }

    .nav-inner .ruby {
        font-size: 12px;
    }

    .nav-wrap {
        width: 600px;
        display: flex;
        justify-content: space-between;
    }

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

    #about {
        background-image: url(../img/about-bg_pc.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        color: white;
    }

    .about-inner {
        width: 730px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .about-inner table {
        margin-left: auto;
        margin-right: auto;
        border-collapse: collapse;
        margin-top: 45px;
    }

    .about-inner table th {
        text-align: left;
        font-weight: normal;
        border-right: 1px solid #fff;
        padding: 25px 10px 25px 0;
        vertical-align: top;
    }

    .about-inner table td {
        padding: 25px 0 25px 20px;
    }

    .about-inner table .ta-first {
        padding-top: 0;
    }

    .about-inner table .ta-last {
        padding-bottom: 0;
    }

    .txt1 {
        margin-top: 42px;
        margin-bottom: 20px;
        width: 730px;
        margin-left: auto;
        margin-right: auto;
    }

    .txt2 {
        width: 675px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 42px;
        margin-bottom: 66px;
        text-align: center;
    }

    .product-inner {
        width: 914px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 100px;
    }

    .p-contents {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .p-contents img {
        width: 420px;
        height: 288px;
        margin-bottom: 100px;
    }

    #quality {
        background-color: #112651;
    }

    .quality-inner {
        color: white;
        width: 810px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .q-container {
        width: 100%;
        border: 1px solid #fff;
        padding: 0 0 0 30px;
    }

    .q-contents {
        display: flex;
        margin-bottom: 30px;
    }

    .q-ttl {
        font-family: "Oswald", sans-serif;
        font-size: 53px;
        font-weight: 400;
    }

    .q-article {
        margin-top: 35px;
        margin-left: 15px;
        width: 700px;
    }

    .q-inner {
        border-top: 1px solid #fff;
        padding-top: 20px;
    }

    .q-inner ol {
        padding-left: 1em;
        margin-top: 12px;
        margin-bottom: 15px;
    }

    .q-inner li {
        line-height: 2;
    }

    #contact {
        background-image: url(../img/contact_bg_pc.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .contact-inner {
        padding-top: 100px;
        padding-bottom: 100px;
        width: 525px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-inner h2 {
        margin-bottom: 30px;
    }

    .contact-inner p {
        text-align: center;
    }

    .c-ttl {
        font-size: 50px;
        font-weight: bold;
        margin-top: 35px;
        margin-bottom: 15px;
    }

    .map {
        width: 100%;
        height: 390px;
    }

    .map iframe {
        width: 100%;
        height: 390px;
    }

    #footer {
        background-color: black;
        color: #fff;
    }

    .footer-inner {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .access-date p {
        text-align: center;
    }

    .footer-nav {
        display: flex;
        width: 544px;
        margin-left: auto;
        margin-right: auto;
        justify-content: space-between;
        line-height: 1;
    }

    .footer-nav li {
        vertical-align: middle;
    }

    .footer-nav li+li {
        border-left: 1px solid #fff;
        padding-left: 17px;
        height: 17px;
    }

    .company-data {
        margin-top: 45px;
        margin-bottom: 20px;
        text-align: center;
    }

    .company-data a {
        width: 297px;
        height: 47px;
        display: inline-block;
    }

    .company-data img {
        width: 297px;
        height: 47px;
    }

    .company-data p {
        margin-top: 14px;
        text-align: center;
        font-size: 14px;
    }

    .copyright {
        font-size: 10px;
        text-align: center;
        color: #707070;
    }
}

@media screen and (max-width:767px) {
    html {
        scroll-padding-top: 60px;
    }

    body {
        font-size: 14px;
    }

    h2 {
        font-size: 20px;
        text-align: center;
        line-height: 1.3;
    }

    h2 .ruby {
        font-size: 15px;
    }

    h3 {
        font-size: 18px;
        line-height: 1.5;
    }

    .slide-bottom {
        opacity: 0;
        transform: translateY(20px);
        transition: all 1s 0s ease-out;
    }

    #header {
        width: 100%;
        height: 555px;
        background-image: url(../img/mainv_sp.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .headerbar {
        width: 100%;
        height: 60px;
        position: fixed;
        z-index: 10;
    }

    #header h1 {
        font-size: 26px;
        font-weight: normal;
        color: #FFF;
        position: relative;
        z-index: 1;
        top: 22%;
        left: 57%;
        text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
        line-height: 1.7;
    }

    .headerbar::after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.8;
        z-index: 1;
    }

    .headerbar-inner {
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: space-between;
        color: white;
        height: 60px;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .logo {
        width: 218px;
        height: 34px;
    }

    .global-nav {
        display: none;
    }

    /* Nav items */
    .menu {
        list-style: none;
        position: absolute;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
        height: auto;
        top: 0;
        margin-top: 60px;
        padding: 0 0 10px 0;
        clear: both;
        background: var(--background-navbar);
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        transform: scale(1, 0);
        transform-origin: top;
        font-size: 15px;
    }

    .menu::after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.8;
        z-index: 1;
    }

    /* Hamburger menu button */
    .menu-btn:checked~.menu {
        transform: scale(1, 1);
        transform-origin: top;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger menbu text */
    .menu a {
        text-decoration: none;
        font-weight: 500;
        text-transform: capitalize;
        color: #FFF;
        opacity: 0;
        transition: 0.5s;
    }

    .menu li+li {
        border-top: 1px solid rgb(255, 255, 255);
    }

    .menu li {
        padding: 30px 0;
        margin: 0 40px;
        opacity: 0;
        transition: 0.5s;
    }

    .menu-btn:checked~.menu a,
    .menu-btn:checked~.menu li {
        opacity: 1;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
        position: relative;
        z-index: 2;
    }

    .menu-btn {
        display: none;
    }

    .menu-icon {
        display: inline-block;
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .menu .ruby {
        font-size: 12px;
        color: #d1d1d1;
    }

    .navicon {
        background: #ddd;
        display: block;
        height: 1px;
        width: 26px;
        position: relative;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before,
    .navicon:after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        background: #ddd;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before {
        top: 9px;
    }

    .navicon:after {
        bottom: 9px;
    }

    /* Hamburger Menu Animation Start */
    .menu-btn:checked~.menu-icon .navicon:before {
        transform: rotate(-45deg);
    }

    .menu-btn:checked~.menu-icon .navicon:after {
        transform: rotate(45deg);
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
        top: 0;
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
        bottom: 0;
    }

    .menu-btn:checked~.menu-icon .navicon {
        background: rgba(0, 0, 0, 0);
        transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger Menu Animation End */

    /* Navbar Container */
    .navtext-container {
        width: 100%;
        height: 52px;
        position: absolute;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Navbar Text */
    .navtext {
        position: absolute;
        text-transform: uppercase;
        color: #ddd;
        letter-spacing: 4px;
        font-size: 20px;
    }

    #about {
        background-image: url(../img/about-bg_sp.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        color: white;
    }

    .about-inner {
        width: calc(100% - 50px);
        margin-left: auto;
        margin-right: auto;
        padding-top: 40px;
        padding-bottom: 45px;
    }

    .about-inner table {
        margin-left: auto;
        margin-right: auto;
        border-collapse: collapse;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }

    .about-inner table th {
        text-align: left;
        font-weight: normal;
        padding: 9px 10px 7px 10px;
        display: block;
        border-bottom: 1px solid #535B6B;
    }

    .about-inner table td {
        padding: 9px 10px 7px 10px;
        display: block;
        border-bottom: 1px solid #fff;
    }

    .txt1 {
        margin-top: 17px;
        margin-bottom: 30px;
        width: 305px;
        margin-left: auto;
        margin-right: auto;
    }

    .txt2 {
        width: 305px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 17px;
        margin-bottom: 30px;
    }

    .txt3 {
        width: 305px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 17px;
        margin-bottom: 20px;
    }

    .product-inner {
        width: calc(100% - 50px);
        margin-left: auto;
        margin-right: auto;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .p-contents {
        display: block;
    }

    .p-contents img {
        width: 320px;
        height: 220px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 35px;
    }

    #quality {
        background-color: #112651;
    }

    .quality-inner {
        color: white;
        width: calc(100% - 50px);
        margin-left: auto;
        margin-right: auto;
        padding-top: 40px;
        padding-bottom: 45px;
    }

    .q-container {
        width: 100%;
        border: 1px solid #fff;
        padding: 0 15px 0 10px;
    }

    .q-contents {
        display: flex;
        margin-bottom: 20px;
    }

    .q-ttl {
        font-family: "Oswald", sans-serif;
        font-size: 49px;
        font-weight: 400;
    }

    .q-article {
        margin-top: 25px;
        margin-left: 8px;
    }

    .q-inner {
        border-top: 1px solid #fff;
        padding-top: 16px;
    }

    .q-inner ol {
        padding-left: 1em;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .q-inner li {
        line-height: 1.5;
        padding-bottom: 10px;
    }

    #contact {
        background-image: url(../img/contact_bg_sp.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .contact-inner {
        padding-top: 40px;
        padding-bottom: 45px;
        width: calc(100% - 50px);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .contact-inner h2 {
        margin-bottom: 30px;
    }

    .c-ttl {
        font-size: 26px;
        font-weight: bold;
        margin-bottom: 15px;
        display: inline-block;
    }

    .eigyo p {
        text-align: center;
    }

    .map {
        width: 100%;
        height: 328px;
    }

    .map iframe {
        width: 100%;
        height: 328px;
    }

    #footer {
        background-color: black;
        color: #fff;
    }

    .footer-inner {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .footer-inner p {
        text-align: center;
    }

    .footer-inner ul {
        padding: 0;
    }

    .footer-nav li {
        text-align: center;
        line-height: 2;
    }

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

    .company-data a {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 7px;
    }

    .company-data a img {
        width: 259px;
        height: 39px;
        ;
    }

    .copyright {
        font-size: 10px;
        color: #707070;
        margin-top: 20px;
    }
}