html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

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

a:hover {
    color: inherit;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

h2 {
    padding-bottom: 0rem;
    display: inline-block;
    margin: auto;
    position: relative;
    font-size: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 2px;
    background: #0481A2;
}

.flexbox,
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.eng {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

section {
    padding: 20rem 0;
    text-align: center;
    line-height: 3rem;
}

#header.fixed {
    position: fixed;
    /*fixedを設定して固定*/
    z-index: 999;
    /*最前面へ*/
    top: 0;
    /*位置指定*/
    left: 0;
    /*位置指定*/
}

.kv {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.kv .main-copy {
    color: #fff;
    font-size: clamp(30px, 3.44vw, 60px);
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .1em;
    line-height: 1.7;
    margin-bottom: 0;
    border: 1px solid #fff;
    padding: 2.7rem 2rem 1.6rem;
    position: relative;
    animation: borderanimation .5s forwards;
}

@keyframes borderanimation {
    0% {
        transform: scale(200%);
    }

    100% {
        transform: scale(100%);
    }
}

.kv .main-copy .font,
.kv .main-copy h1.font {
    opacity: 0;
    margin-top: -1rem;
    animation: underup 1s .6s forwards;
    font-size: clamp(30px, 3.44vw, 60px);
    font-weight: 400;
    margin: 0;
}

.kv .sub-copy {
    color: #fff;
    font-size: clamp(15px, 1.5vw, 30px);
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    animation: underup2 1s .6s forwards;
    transform: translateY(50%);
}

@keyframes underup {
    0% {
        transform: translateY(-20%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes underup2 {
    0% {
        transform: translateY(200%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}


/* video */
.video {
    width: 100%;
    height: 100vh;
    /* background: url(../img/kv-alternative.jpg) no-repeat center/cover; */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}


.video video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.pc_disp {
    display: block;
}

.sp_disp {
    display: none;
}


header {
    width: 100%;
    padding: 1rem;
    /* background-color: #fff; */
    background-color: rgba(100, 100, 100, .8);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    list-style: none;
    gap: 5rem;
}

header ul li.menu_list {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

header ul li.menu_list span {
    font-size: .7rem;
    display: block;
    letter-spacing: .2rem;
    border-top: 1px solid #fff;
}

.content {
    width: 100%;
    text-align: center;
    padding: 5vw 0;
}

.content .flex div {
    width: 50%;
}

.content .flex div img {
    width: 100%;
}



footer {
    background-color: #213a57;
    color: #fff;
    width: 100%;
    padding: 4rem 0;
    margin-top: 0;
    line-height: 2rem;
}

footer .copyright {
    margin-top: 5rem;
    text-align: center;
}

footer .flexbox {
    justify-content: space-between;
    align-items: baseline;
}

footer .flexbox div {
    flex: 1;
}

footer .footer_list li {
    display: inline-block;
    margin-right: 1rem;
    margin-top: 2rem;
}


footer .footer_list li:last-child a {
    margin-top: 2.2rem;
}

.map {
    margin-bottom: 0;
}

.gmap_iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 40Vw;
    margin-bottom: 0;
}

.rogo {
    margin-right: auto;
}

.bg img {
    width: 100%;
}



.card_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0rem;
}

.card {
    display: flex;
    flex-direction: column;
    width: 30%;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    box-shadow: 0 10px 20px #ccc;
    color: #333;
    text-decoration: none;
    transition: 0.5s;
}

.card-image {
    width: 100%;
    object-fit: contain;
}

.card-box {
    padding: 1rem;
}

.card-title {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.card-description {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    text-align: left;
}

.circle {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    border-radius: 3rem;
    background: #0481A2;
    color: #fff;
    display: inline-block;
    padding: .5rem 1rem;
    margin: 0;

}

.onlineshop {
    padding: .7rem 3rem;
    border: 1px solid #fff;
    border-radius: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

p#page_top {
    width: 6vw;
    height: 6vw;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #213a57;
    margin: 0;
    clip-path: polygon(100% 100%, 0% 100%, 100% 0%);

}

/* Font Awesome */
#page_top::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    list-style: none;
    content: '\f062';
    font-size: 20px;
    color: #ffffff;
    position: absolute;
    bottom: -17%;
    right: 7%;
    translate: -50% -50%;

}

#About {
    padding: 7rem;
    box-sizing: border-box;
    text-align: center;
    line-height: 3rem;
}

#About p {
    margin-top: 4rem;
}

#Quality,
#Order {
    padding: 7rem;
    box-sizing: border-box;
    text-align: center;
}

#Order .inner {
    margin-top: 4rem;
}

#Order .inner ul{
    display: flex;
    flex:1;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#Order .inner ul li{
    width: 30%;
    border: 1px solid #d2d2d2;
    padding: 1rem;
}

.contents {
    width: 100%;
    min-height: 50vh;
    padding: 5rem;
    box-sizing: border-box;
}

.img {
    height: 20vh;
    background-attachment: scroll;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}

.img {
    background: url("../img/bg.png") no-repeat center center;
}

.img.b {
    background-image: url("../img/bg2.png");
}

.img.c {
    background-image: url("../img/bg.png");
}

.contents.a {
    margin-top: -.1rem;
}

.contents {
    color: #000;
    background: #fff;
}

.contents.b {
    background: #fff;
}

.contents.c {
    background: #fff;
}

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

    header {
        padding: 0;
        position: fixed;
        background-color: rgba(33, 58, 87, 0.9);
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }

    #About {
        padding: 5rem 1.5rem 3rem;
        line-height: 2rem;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    #About p {
        margin-top: 2rem;
        text-align: left;
    }

    .contents {
        height: auto;
        min-height: auto;
        padding: 5rem 1.5rem 3rem;
        box-sizing: border-box;
        overflow: hidden;
        margin: 0;
        width: 100%;
    }
    
    #Quality,
    #Order {
        padding: 3rem 1.5rem;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .Quality h2 {
        margin-bottom: 0.5rem;
    }
    
    .Quality p {
        margin-bottom: 2rem;
    }

    #Order .inner {
        margin-top: 2rem;
        width: 90%;
    }

    #Order .inner ul{
        display: block;
    }

    #Order .inner ul li{
        width: 100%;
        margin-bottom: 2rem;
        padding: 2rem 1rem;
        box-sizing: border-box;
        border-radius: 10px;
        overflow: hidden;
    }
    
    #Order .inner ul li img {
        width: 60px;
        height: auto;
        margin: 1rem 0;
    }
    
    .circle {
        font-size: 2rem;
        padding: 0.3rem 0.8rem;
        border-radius: 2rem;
    }

    .pc_disp {
        display: none;
    }

    .sp_disp {
        display: block;
    }

    footer {
        padding: 3rem 1.5rem;
    }
    
    footer .flexbox {
        display: block;
    }
    
    footer .flexbox div {
        margin-bottom: 2.5rem;
        width: 100%;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    footer ul li {
        margin-bottom: 1.2rem;
        font-size: 1rem;
    }
    
    footer .copyright {
        margin-top: 2rem;
        font-size: 0.8rem;
        padding: 1rem;
        text-align: center;
    }

    header ul {
        height: auto;
        display: block;
    }

    .menu {
        display: flex;
        gap: 5rem;
        padding: 0;
        font-size: 1rem;
    }

    .menu li {
        font-weight: bold;
    }

    .menu .menu_list>a {
        display: block;
        transition: .3s;
    }

    .menu .menu_list a.p_nav {
        display: block;
        padding-top: 1rem;
        transition: .3s;
    }

    .menu_contents {
        display: none;
        position: absolute;
        top: 90%;
        left: 0;
        width: 100%;
        color: #000;
        padding: 2rem 0;
        z-index: 9999;
        font-size: 1rem;
    }

    .menu_contents li {
        display: inline-block;
        width: 30%;
        text-align: left;
        vertical-align: top;
    }

    .menu_contents li p {
        margin-top: .5rem;
    }

    nav {
        width: 100%;
        height: 70px;
        position: relative;
        background-color: rgba(100, 100, 100, .8);
    }

    .drawer {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
        height: 70px;
        padding: 0.5rem 1rem;
    }

    .drawer .tomypage,
    .drawer .tocart {
        width: 2.2rem;
        margin-right: 1rem;
    }

    .navbar_brand {
        width: 50%;
        max-width: 150px;
        text-align: left;
        margin-left: 0;
    }
    
    .navbar_brand img {
        width: 100%;
        height: auto;
        max-height: 50px;
        object-fit: contain;
        object-position: left;
    }

    .navbar_toggle {
        z-index: 10000;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .navbar_toggle_icon {
        position: relative;
        display: block;
        height: 2px;
        width: 30px;
        background: #fff;
        -webkit-transition: ease .5s;
        transition: ease .5s;
    }

    .navbar_toggle_icon:nth-child(1) {
        top: 0;
    }

    .navbar_toggle_icon:nth-child(2) {
        margin: 8px 0;
    }

    .navbar_toggle_icon:nth-child(3) {
        top: 0;
    }

    /*OPEN時の動き*/
    .navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
        top: 10px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        opacity: 0;
    }

    .navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
        top: -10px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .sp_menus {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        transition: ease .5s;
        background-color: rgba(100, 100, 100, .8);
        color: #fff;
        position: relative;
        display: none;
        padding-top: 3rem;
    }

    .sp_menus hr {
        width: 80%;
        margin: auto;
    }

    .sp_menus ul li {
        box-sizing: border-box;
        font-size: 1rem;
    }

    .sp_menus ul li.sp_menu_cat_midashi {
        font-size: 1.5rem;
    }

    .dr_menu_wrap {
        width: 100%;
        padding-bottom: 2rem;
        padding-left: 0;
        margin-top: 2rem;
    }

    .dr_menu_wrap li {
        padding: 1rem 3rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dr_menu_wrap li a {
        display: block;
        width: 100%;
    }

    .dr_menu_wrap2 {
        padding: 2rem 0;
    }

    .dr_menu_wrap2 li {
        padding: 0 3rem;
        font-size: .8rem;
        font-weight: normal;
    }

    .dr_contact {
        width: 40%;
        margin: 5rem auto 0;
    }

    .dr_menu_sns {
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .dr_menu_sns li {
        width: 2rem;
        margin: 2rem auto 0;
    }
    
    .dr_menu_sns li img {
        width: 100%;
        height: auto;
    }

    .toonline {
        width: 100%;
    }

    .toonline,
    .toonline a {
        margin: 0;
        display: flex;
        padding: 0;
    }

    .sp_menus.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        font-size: 1rem;
        font-weight: bold;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 9998;
        box-sizing: border-box;
        padding-top: 70px;
        background-color: rgba(80, 80, 80, 1);
    }

    .kv {
        height: 100vh;
        padding-top: 70px;
        box-sizing: border-box;
        margin-bottom: 0;
    }

    .address {
        padding: 2rem;
        font-size: .9rem;
        line-height: 1.8;
        background-color: rgba(255, 255, 255, 0.1);
        margin: 0 1rem;
        border-radius: 10px;
    }

    .sp_toonline {
        width: 100%;
        text-align: center;
        font-size: 1.5rem;
        padding: 1rem 0;
        margin-top: 3rem;
        margin-bottom: 0;
        background-color: transparent;
        color: #fff;
    }
    
    .sp_toonline a {
        display: block;
        width: 80%;
        margin: 0 auto;
        padding: 0.8rem;
        border-radius: 30px;
        background-color: #0481A2;
        color: #fff;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .sp_menu {
        background: #213a57;
        box-sizing: border-box;
    }

    .sp_menu_top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sp_menu_top li {
        margin-right: 1.5rem;
    }

    .sp_menu_top li:first-child {
        margin-right: auto;
        width: 60%;
    }

    .sp_menu_top li:last-child {
        margin-right: 0;
    }

    #Access p {
        text-align: left;
        padding: 1rem;
    }

    p#page_top {
        width: 15vw;
        height: 15vw;
    }
    
    #page_top::before {
        font-size: 16px;
        bottom: -15%;
        right: 10%;
    }

    .card_wrapper {
        display: block;
        padding: 0 1rem;
        overflow: hidden;
    }

    .card {
        width: 100%;
        margin-bottom: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    
    .card-image {
        max-height: 180px;
        object-fit: cover;
        width: 100%;
    }
    
    .card-box {
        padding: 1.5rem 1rem;
    }

    .img {
        background-size: 130%;
        background-position: center;
    }

}