a, abbr, address, article, aside, audio, b, blockquote, body, button, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, input, ins, kbd, label, legend, li, main, mark, menu, nav, object, ol, p, pre, q, samp, section, select, small, span, strong, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, time, tr, ul, var, video {
    border: 0;
    font-family: sans-serif;
    line-height: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    color: #333;
    transition: .3s cubic-bezier(.4, .4, 0, 1);
    word-spacing: 1px;
}
:root{
  --font-sans-jp: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
  --font-josefin: 'Josefin Sans', var(--font-sans-jp);
  --font-calligraphy: 'Yuji Syuku', 'Yuji Mai', 'Yuji Boku', var(--font-sans-jp);
}
body{font-family: var(--font-sans-jp);}
.h-josefin{font-family: var(--font-josefin);}
.h-calligraphy{font-family: var(--font-calligraphy);}
*,
*::before,
*::after {
    box-sizing: border-box;
}
.sd {
    transform: translateY(60px);
    opacity: 0;
    transition: all 1s cubic-bezier(.4,.4,0,1);
    &.active {
        opacity: 1;
        transform: translateY(0);
    }
}

a, button {
    background: transparent;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
img {
    max-width: 100%;
    height: auto;
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: all 2s;
    transition-delay: 2s;
    &.active {
        opacity: 0;
        z-index: -10;
    }
    & img {
        max-width: 158px;
        opacity: 0;
        transition: opacity 2s;
    }
    &.active img {
        opacity: 1;
    }
}
header {
    display: flex;
    padding: 27px 30px;
    position: fixed;
    top: 0;
    z-index: 8;
    width: 100%;
    height: 100px;
    background-color: #FFFFFF;
    justify-content: space-between;
    align-items: center;
    & #logo {
        align-content: center;
        align-items: center;
        flex: none;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0px;
        width: 159px;
        max-width: 100%;
    }
    & nav {
        & ul {
            display: flex;
        } 
        & a {
            color: #3b4043;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 600;
            height: auto;
            letter-spacing: 0.05em;
            line-height: 1.4;
            margin: 0px 15px;
            padding: 8px 15px;
            text-align: center;
            width: auto;
            max-width: calc(100% - 15px);
            justify-content: center;
        }
        & .btn a {
            background: #147421;
            border-bottom: 2px solid #147421;
            border-left: 2px solid #147421;
            border-radius: 99px;
            border-right: 2px solid #147421;
            border-top: 2px solid #147421;
            color: #FFFFFF;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 600;
            height: auto;
            letter-spacing: 0.05em;
            line-height: 1.4;
            margin: 0px 0px 0px 21px;
            padding: 12px 26px;
            text-align: center;
            width: auto;
            max-width: calc(100% - 21px);
            justify-content: center;
        }
    }
}
#top_btn {
    height: 0;
    position: relative;
}
#top_btn a {
    display: block;
    width: 78px;
    height: 78px;
    background-color: #FFFFFF;
    border: 4px dashed #147421;
    border-radius: 100px;
    position: absolute;
    top: -40px;
    left: calc(50% + 594px);
    margin: auto;
    color: transparent;
    text-align: center;
    padding: 10px;
    &::after {
        content: "";
        display: block;
        position: absolute;
        top: 8px;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 18px;
        height: 18px;
        border-top: 4px solid #147421;
        border-left: 4px solid #147421;
        transform: rotate(45deg);
    }
}
footer {
    background-color: #eaeaea;
    & #f_box {
        display: flex;
        justify-content: space-between;
        width: 1088px;
        margin: 0 auto;
        padding: 78px 0 60px;
    }
    & #flogo {
        width: 159px;
    }
    & #f_ttl {
        color: #3b4043;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.05em;
        line-height: 1.4;
        margin: 7px 0 12px;
    }
    & address {
        font-style: normal;
        color: #3b4043;
        font-family: var(--font-sans-jp);
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.05em;
        line-height: 1.4;
        margin: 0 0 12px;
    }
    & p {
        font-family: var(--font-sans-jp);
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.05em;
        line-height: 1.4;
    }
    & nav {
        display: flex;
        gap: 108px;
        & ul {
            margin-top: 8px;
            & li {
                margin-bottom: 26px;
                & a {
                    color: #3b4043;
                    font-family: var(--font-sans-jp);
                    font-size: 16px;
                    font-weight: 600;
                    letter-spacing: 0.05em;
                    line-height: 1.4;
                    &:hover {
                        color: #147421;
                    }
                }
            }
        }
        & p a {
            display: block;
            background: #147421;
            border: 2px solid #147421;
            border-radius: 99px;
            color: #FFFFFF;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.05em;
            line-height: 1.4;
            margin: 0 0 0 21px;
            padding: 12px 26px;
            text-align: center;
            max-width: calc(100% - 21px);
            &:hover {
                color: #147421;
                background-color: #FFFFFF;
            }
        }
    }
    & #copy {
        color: #FFFFFF;
        background-color: #222222;
        padding: 56px calc(50vw - 553px);
        font-size: 11px;
        font-weight: 400;
        font-family: var(--font-sans-jp);
        line-height: 1.4;
        text-align: right;
        width: 100%;
        letter-spacing: 0.05px;
    }
}

#top {
    position: relative;
    margin-top: 100px;
    height: 700px;
    overflow: hidden;
    background: url("mainvisual1.webp") center/cover no-repeat;
    & #main_txt {
        padding: 100px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        width: 100%;
        height: 100%;
    }
    & p {
        color: #FFFFFF;
        font-family: var(--font-josefin);
        font-size: 47px;
        font-weight: 400;
        height: auto;
        line-height: 1.4;
        text-align: left;
        text-shadow: 0px 0px 8px rgba(83, 83, 83, 0.8);
        width: auto;
        max-width: 100%;
        justify-content: flex-start;
    }
    & h2 {
        color: #FFFFFF;
        font-family: var(--font-sans-jp);
        font-size: 15px;
        font-weight: 400;
        height: auto;
        letter-spacing: 0.05em;
        line-height: 1.6;
        text-align: left;
        text-shadow: 0px 0px 8px rgba(83, 83, 83, 0.8);
        width: auto;
        max-width: 100%;
        justify-content: flex-start;
    }
}
/* CSS（最低限） */
.slider { overflow: hidden; width: 100%; position: relative;}
.slides { display: flex; transition: transform 0.8s cubic-bezier(0.4,0.4,0,1); }
.slide { min-width: 100%; flex-shrink: 0; }
.slider img { width: 100%; display: block; height: 700px; object-fit: cover; }

.slider::before,
.slider::after,
#top::before {
    content: "";
    display: block;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4,0.4,0,1);
}
.slider::before {
    width: 267px;
    height: 215px;
    background-color: #267b38;
    opacity: 0.6;
    top: -267px;
    right: -215px;
    z-index: 2;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    transition-delay: 4.4s;
}
.slider::after {
    width: 647px;
    height: 516px;
    background-color: rgba(255,255,255,0.4);
    bottom: -647px;
    right: -516px;
    z-index: 1;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    transition-delay: 4.2s;
}
#top::before {
    width: 330px;
    height: 264px;
    background-color: #267b38;
    opacity: 0.6;
    bottom: -330px;
    left: -264px;
    z-index: 1;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    transition-delay: 4s;
}

.active .slider::before {
    top: 0;
    right: 0;
}
.active .slider::after {
    bottom: 0;
    right: 0;
}
#top.active::before {
    bottom: 0;
    left: 0;
}
#about,
#business,
#brand,
#online,
#contact {
    & .en_ttl {
        color: #222222;
        font-family: var(--font-sans-jp);
        font-size: 80px;
        font-weight: 600;
        letter-spacing: 0.0425em;
        line-height: 1.4;
    }
    & h2 {
        color: #147421;
        font-family: var(--font-sans-jp);
        font-size: 21px;
        font-weight: 600;
        letter-spacing: 0.05em;
        line-height: 1.4;
    }
}
.wrapper {
    width: 1088px;
    margin: 0 auto;
}
#about {
    padding: 110px 0 150px;
    background-image: url("about_txt.svg");
    background-repeat: repeat-x;
    background-position: 0 600px;
    background-size: 1292px auto; /* 縦サイズをフィットさせる */
    animation: bgScroll 120s linear infinite;
    & .wrapper {
        transition: background 1.4s ;
        transition-delay: 1s;
        background: url("about_bg_none.webp") center 65px no-repeat;
    }
    & .wrapper:has(> .sd.active) {
        background: url("about_bg.webp") center 65px no-repeat;
    }
    & .col2 {
        width: 1048px;
        margin: 58px auto 134px;
        display: flex;
        gap: 60px;
        & .col_box {
            width: 543px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        & .col_box.img {
            width: 445px;
        }
        & p {
            color: #222222;
            flex: none;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 400;
            line-height: 2;
        }
        & .name {
            text-align: right;
            margin-top: 48px;
            color: #222222;
            font-family: var(--font-calligraphy);
            font-size: 22px;
            font-weight: 400;
            line-height: 1.4;
            & img {
                width: 218px;
            }
        }
    }
    & .about_box {
        max-width: 864px;
        margin: 0 auto;
    }
    & h3 {
        color: #222222;
        font-family: var(--font-sans-jp);
        font-size: 28px;
        font-weight: 600;
        letter-spacing: 0.1em;
        line-height: 1.4;
        padding-bottom: 9px;
        position: relative;
        margin: 0 0 30px;
    }
    & h3::before,
      h3::after {
          content: "";
          display: block;
          height: 2px;
          position: absolute;
          bottom: 0;
          left: 0;
    }
    & h3::before {
        width: 35px;
        background: #147421;
        z-index: 1;
    }
    & h3::after {
        width: 88px;
        background: #98A6B5;
    }
    & .about_box p {
        color: #333;
        font-family: var(--font-sans-jp);
        font-size: 22px;
        font-weight: 400;
        height: auto;
        letter-spacing: 0.1em;
        line-height: 2;
        text-align: left;
        width: auto;
        max-width: 100%;
        justify-content: flex-start;
        margin: 0 0 80px;
    }
    & table {
        width: 864px;
        border-collapse: collapse;
        margin: 0 auto;
        & th {
            color: #333;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 600;
            height: 100%;
            letter-spacing: 0.1em;
            line-height: 2;
            margin: 0px 0px;
            padding: 0px 0px 0px 0px;
            text-align: center;
            width: 174px;
            height: 120px;
            border-bottom: 1px solid #D5D5D5;
        }
        & td {
            color: #333333;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 400;
            letter-spacing: 0.1em;
            line-height: 2.3;
            text-align: left;
            height: 12px;
            padding-left: 30px;
            border-bottom: 1px solid #D5D5D5;
        }
    }
}
/* 背景を永遠に動かすアニメーション */
@keyframes bgScroll {
  from {
    background-position: 0 600px;
  }
  to {
    background-position: -5000% 600px;
  }
}

#business {
    background-color: #eaeaea;
    padding: 110px 0 63px;
    & h2,
    .en_ttl {
        max-width: 1088px;
        margin: 0 auto;
    }
    & h2 {
        margin-bottom: 95px;
    }
    & h3 {
        display: flex;
        color: #222222;
        font-family: var(--font-sans-jp);
        font-size: 28px;
        font-weight: 600;
        line-height: 2;
        text-align: left;
        border-top: 1px solid #8f8f8f;
        border-bottom: 1px solid #8f8f8f;
        padding: 40px;
        gap: 40px;
        align-items: center;
        margin-bottom: 28px;
        & span {
            color: #147421;
            font-family: var(--font-sans-jp);
            font-size: 20px;
            font-weight: 600;
            line-height: 2;
        }
    }
    & img {
        border-radius: 20px;
    }
    & ul li {
        color: #333;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 400;
        line-height: 2;
        position: relative;
        padding-left: 25px;
    }
    & ul li::before {
        content: "";
        display: block;
        width: 8px;
        height: 8px;
        background: #FFFFFF;
        border: 2px solid #147421;
        border-radius: 10px;
        position: absolute;
        top: 0.75em;
        left: 9px;
    }
    & .col2 {
        display: flex;
        gap: 63px;
        margin: 0 auto 76px;
        & .col_box {
            width: 526px;
        }
        & .col_box.img {
            max-width: 498px;
        }
    }
}
#brand {
    background: url("brand_bg.webp") center/cover no-repeat;
    padding: 57px 0 58px;
    & .en_ttl,
    & h2 {
        color: #FFFFFF;
    }
    & ul {
        width: 860px;
        display: flex;
        gap: 29px 20px;
        flex-wrap: wrap;
        margin: 80px auto 28px;
        & li {
            width: 200px;
            overflow: hidden;
            border-radius: 20px;
            & img {
                border-radius: 20px;
            }
        }
    }
    & .txt_right {
        text-align: right;
        max-width: 860px;
        margin: 0 auto;
        color: #FFFFFF;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }
}

#online {
    background-color: #eaeaea;
    padding: 110px 0 140px;
    & .col2 {
        display: flex;
        gap: 62px;
        width: 886px;
        margin: 79px auto 60px;
        & .col_box {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 415px;
        }
        & .col_box.img {
            align-items: center;
            justify-content: center;
            width: 408px;
            height: 150px;
            background-color: #FFFFFF;
            & img {
                max-width: 138px;
            }
        }
        & p {
            color: #333333;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 400;
            line-height: 2;
        }
        & a {
            display: block;
            text-align: center;
            background: #147421;
            border: 2px solid #147421;
            border-radius: 50px;
            color: #FFFFFF;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.05em;
            line-height: 1.4;
            padding: 12px 12px 11px;
        }
        & a:hover {
            background-color: #FFFFFF;
            color: #147421;
        }
    }
}
#contact {
    padding: 110px 0 60px;
    & .txt {
        max-width: 864px;
        color: #333333;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 400;
        line-height: 2;
        margin: 81px auto 34px;
    }
    & .tel {
        display: flex;
        align-items: center;
        background: #f9f9f9;
        border-radius: 128px;
        gap: 20px;
        justify-content: center;
        padding: 26px 58px;
        max-width: 665px;
        margin: 0 auto 78px;
        & a {
            color: #147421;
            font-family: var(--font-sans-jp);
            font-size: 32px;
            font-weight: 600;
            letter-spacing: 0.19em;
            line-height: 1.4;
            text-align: center;
            pointer-events: none;
        }
    }
    & .tel::before {
        content: "";
        display: block;
        width: 43px;
        height: 43px;
        border-radius: 128px;
        background: #147421 url("tel_icon.svg") center/26px auto no-repeat;
    }
    & label {
        display: flex;
        align-items: center;
        gap: 48px;
        width: 864px;
        margin: 0 auto 40px;
        & p {
            width: 130px;
            text-align: right;
            line-height: 1.4;
        }
        &:has(textarea) {
            align-items: flex-start;
        }
        & span {
            color: #980404;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 400;
            line-height: 1.4;
        }
    }
    & input[type="text"],
    & input[type="email"],
    & input[type="tel"],
    & textarea {
        background: #eaeaea;
        border-radius: 10px;
        color: #333333;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        padding: 23px 26px;
        width: calc(100% - 178px);
    }
    & textarea {
        height: 334px;
        resize: none;
    }
    & button,
    & input[type="submit"] {
        display: block;
        background: #147421;
        border: 2px solid #147421;
        border-radius: 99px;
        color: #FFFFFF;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.05em;
        justify-content: center;
        width: 154px;
        line-height: 2;
        padding: 8px 8px 10px;
        text-align: center;
        margin: 80px auto;
        cursor: pointer;
    }
    & input[type="button"] {
        display: block;
        border: 2px solid #147421;
        border-radius: 99px;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.05em;
        justify-content: center;
        width: 124px;
        line-height: 2;
        padding: 6px 6px 10px;
        text-align: center;
        margin: 80px auto;
        cursor: pointer;
        color: #147421;
        background-color: #FFFFFF;
    }
    & .btn {
        text-align: center;
        margin: 80px auto;
    }
    & .btn input[type="submit"],
    & .btn input[type="button"] {
        display: inline-block;
        margin: 0 20px;
    }
    & table {
        width: 864px;
        border-collapse: collapse;
        margin: 0 auto;
        & th {
            color: #333;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 600;
            height: 100%;
            letter-spacing: 0.1em;
            line-height: 2;
            margin: 0px 0px;
            padding: 0px 0px 0px 0px;
            text-align: center;
            width: 174px;
            height: 120px;
            border-bottom: 1px solid #D5D5D5;
        }
        & td {
            color: #333333;
            font-family: var(--font-sans-jp);
            font-size: 16px;
            font-weight: 400;
            letter-spacing: 0.1em;
            line-height: 2.3;
            text-align: left;
            height: 12px;
            padding-left: 30px;
            border-bottom: 1px solid #D5D5D5;
        }
    }
}
#contents {
    margin: 100px 0 0;
    padding: 72px 0 96px;
    & .en_ttl {
        color: #222222;
        font-family: var(--font-sans-jp);
        font-size: 80px;
        font-weight: 600;
        letter-spacing: -0.65px;
        line-height: 1.4;
    }
    & h1 {
        color: #147421;
        font-family: var(--font-sans-jp);
        font-size: 21px;
        font-weight: 600;
        line-height: 1.4;
        margin: 0 0 80px;
    }
    & h2 {
        color: #222222;
        font-family: var(--font-sans-jp);
        font-size: 28px;
        font-weight: 600;
        line-height: 1.4;
        padding-bottom: 9px;
        position: relative;
        margin: 80px 0 28px;
        &::before,
        &::after {
            content: "";
            display: block;
            height: 2px;
            position: absolute;
            bottom: 0;
            left: 0;
        }
        &::before {
            width: 35px;
            background: #147421;
            z-index: 1;
        }
        &::after {
            width: 88px;
            background: #98A6B5;
        }
    }
    & p {
        color: #222222;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 400;
        line-height: 2;
    }
    .txt_center {
        text-align: center;
    }
    .cnt_ttl {
        text-align: center;
        color: #000000;
        font-size: 30px;
        margin-bottom: 20px;
        & + p {
            font-size: 14px;
        }
    }
    .return input {
        display: block;
        background: #147421;
        border: 2px solid #147421;
        border-radius: 99px;
        color: #FFFFFF;
        font-family: var(--font-sans-jp);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.05em;
        justify-content: center;
        width: 140px;
        line-height: 2;
        padding: 5px 8px 5px;
        text-align: center;
        margin: 20px auto;
        cursor: pointer;
    }

}
#sp_menu_btn {
    display: none;
}
@media screen and (max-width: 840px) {
    header nav {
        display: none;
        background-color: #147421;
        padding: 82px 9px 60px;
        &.active {
            display: block;
            position: fixed;
            top: 100px;
            left: 0;
            width: 100%;
            height: calc(100vh - 100px);
        }
        & ul {
            flex-direction: column;
            & li a {
                color: #FFFFFF;
                display: block;
                text-align: left;
                border-bottom: 1px dotted #FFFFFF;
                padding: 26px 0;
            }
            & .btn {
                text-align: center;
                margin-top: 48px;
                & a {
                    display: inline-block;
                    color: #147421;
                    background-color: #FFFFFF;
                }
            }
        }
    }
    #sp_menu_btn {
        display: block;
        width: 72px;
        height: 54px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 20px;
        margin: auto;
        & a {
            display: block;
            width: 72px;
            height: 54px;
            font-size: 10px;
            text-align: center;
            color: transparent;
            position: relative;
            &::before,
            &::after {
                content: "";
                display: block;
                width: 32px;
                height: 2px;
                background-color: #147421;
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                margin: auto;
                transition: all 0.6s;
            }
            &::before {
                top: -12px;
            }
            &::after {
                bottom: -11px;
            }
        }
        &.active a {
            &::before {
                top: 0;
                transform: rotate(45deg);
            }
            &::after {
                bottom: 0;
                transform: rotate(-45deg);
            }
        }
    }
    #top_btn a {
        left: auto;
        right: 10px;
    }
    footer {
        & #f_box {
            width: auto;
            flex-direction: column;
            padding: 78px 20px;
        }
        & nav {
            flex-direction: column;
            gap: 41px;
            & ul {
                border-top: 1px solid #d5d5d5;
                margin-top: 53px;
                & li {
                    border-bottom: 1px solid #d5d5d5;
                    margin: 0;
                    & a {
                        display: block;
                        padding: 16px 0;
                        font-size: 14px;
                    }
                }
            }
            & p {
                text-align: center;
                & a {
                    display: inline-block;
                    margin: 0;
                }
            }
        }
        & #copy {
            padding: 56px 20px;
        }
    }
    .wrapper {
        width: calc(100% - 60px);
    }
    #top {
        & #main_txt {
            padding: 60px;
        }
        & .slider img {
            width: 100vw;
        }
    }
    #about {
        & .wrapper {
            width: auto;
            padding: 0 30px;
        }
        & .col2 {
            width: auto;
            flex-direction: column;
            & .col_box,
            & .col_box.img {
                width: auto;
                align-items: flex-start;
            }
        }
        & table {
            width: auto;
        }
    }
    #business {
        & .col2 {
            flex-direction: column;
            & .col_box,
            & .col_box.img {
                width: auto;
                max-width: initial;
            }
            & .col_box.img {
                text-align: center;
            }
        }
    }
    #brand {
        & ul {
            width: auto;
            gap: 20px;
            & li {
                width: calc(50% - 10px);
            }
        }
    }
    #online {
        & .col2 {
            width: auto;
            flex-direction: column;
            & .col_box,
            & .col_box.img {
                width: auto;
                gap: 40px;
            }
        }
    }
    #contact {
        & label {
            width: auto;
        }
        & .tel a {
            pointer-events: auto;
        }
        & table {
            width: auto;
        }
    }
}
@media screen and (max-width: 540px) {
    header {
        height: 80px;
        padding: 10px;
        & #logo {
            width: 180px;
        }
        & nav.active {
            top: 80px;
        }
        & nav {
            padding: 82px 25px 60px;
        }
        & nav ul li a {
            font-size: 14px;
            
        }
    }
    #sp_menu_btn {
        right: 0;
    }
    #top {
        height: 580px;
        margin-top: 80px;
        & #main_txt {
            padding: 60px 0 60px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        & p {
            font-size: 30px;
        }
        & h2 {
            
        }
        & .slider img {
            height: 580px;
        }
    }
    .slider::before {
        width: 197px;
        height: 159px;
    }
    .slider::after {
        width: 216px;
        height: 173px;
    }
    #top::before {
        width: 170px;
        height: 137px;
    }
    #about,
    #business,
    #brand,
    #online,
    #contact {
        & .en_ttl {
            font-size: 52px;
        }
        & h2 {
            font-size: 14px;
        }
    }
    #about {
        padding: 54px 0;
        & .col2 {
            & .name {
                width: 100%;
            }
        }
        & .about_box p {
            font-size: 16px;
        }
        & table {
            & th {
                font-size: 13px;
                line-height: 1.2;
                width: 114px;
            }
            & td {
                font-size: 14px;
                line-height: 1.7;
                padding-left: 14px;
            }
        }
    }
    #business {
        & h3 {
            font-size: 24px;
            line-height: 1.4;
            gap: 12px;
            padding: 40px 0px;
            justify-content: center;
            & span {
                line-height: 1.4;
            }
        }
    }
    #contact {
        & .tel {
            gap: 12px;
            padding: 26px 22px;
        }
        & .tel::before {
            width: 32px;
            height: 32px;
        }
        & .tel a {
            font-size: 26px;
            letter-spacing: 0.1em;
        }
        & label {
            flex-direction: column;
            align-items: flex-start;
            gap: 14px;
            & p {
                width: auto;
                text-align: left;
            }
        }
        & input[type="text"],
        & input[type="email"],
        & input[type="tel"],
        & textarea {
            width: 100%;
        }
        & table {
            & th {
                font-size: 13px;
                line-height: 1.2;
                width: 114px;
                word-break: keep-all;
            }
            & td {
                font-size: 14px;
                line-height: 1.7;
                padding-left: 14px;
            }
        }
    }
    #online {
        & .wrapper {
            width: calc(100% - 40px);
        }
        & .col2 {
            & a {
                word-break: auto-phrase;
            }
        }
    }

}