.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 214px);
    max-width: none;
    height: 80px;
    display: flex;
    align-items: end;
    justify-content: left;
    z-index: 1500;
    background: #fafafa;
}
.header h1 img {
    width: 98px;
    margin: 0;
    padding: 0 0 14px 0;
    z-index: 1500;
}
.content {
    width: calc(100% - 216px);
    margin: 0 auto;
    padding: 7.5rem 0 1rem;
}
body#second .content {
    padding: 1rem 0;
}
.side-nav {
    position: fixed;
    top: 80px;
    right: 70px;
    height: auto;
    width: auto;
    z-index: 1000;
}
.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.side-nav li {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.side-nav a {
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    display: block;
    padding: 0 0 50px 0;
    white-space: nowrap;
    writing-mode: vertical-rl;
}
.side-nav a:hover {
    opacity: 0.7;
}
footer li a {
    position: relative;
    display: inline-block;
    padding-right: 20px;
}
footer li a::after {
    content: "";
    position: absolute;
    top: 52%;
    right: 0;
    width: 11px;
    height: 11px;
    border-top: 2px solid #374151;
    border-right: 2px solid #374151;
    transform: translateY(-50%);
    border-radius: 1px;
}
footer li a::before {
    content: "";
    position: absolute;
    top: calc(50% + 7px);
    right: 11px;
    width: 16px;
    height: 2px;
    background-color: #374151;
    transform-origin: top right;
    transform: rotate(135deg);
    border-radius: 1px;
}
footer div {
    display: flex;
    gap: 46px;
    align-items: end;
}
footer ul {
    display: flex;
    gap: 46px;
}
@media (min-width: 769px) and (max-width: 1080px) {
    .header {
        width: calc(100% - 100px);
    }
    .content {
        width: calc(100% - 100px);
        padding: 4rem 0 0;
    }
    .side-nav {
        right: 15px;
    }
}
@media (max-width: 767px) {
    .header {
        top: 20px;
        left: 20px;
        transform: none;
        width: 140px;
        height: auto;
        display: block;
        align-items: initial;
        justify-content: initial;
        background: none;
        padding: 0;
    }
    .content {
        width: 100%;
        padding: 0.3rem 0 0;
    }
    .side-nav {
        display: none;
    }
    footer {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    footer div {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
        min-height: 100px;
    }
    footer address {
        flex-shrink: 0;
    }
    footer ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: right;
        flex-shrink: 0;
    }
    footer ul li {
        margin: 0;
    }
}
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    background: #fafafa;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.66;
    font-size: 16px;
    color: #323e48;
}
body#about {
    color: #fafafa;
}
img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    display: block;
}
address {
    font-style: normal;
    font-family: "Times New Roman", serif;
    font-weight: 400;
}
a {
    text-decoration: none;
    color: #323e48;
}
a[href^="tel:"] {
    text-decoration: none;
    color: #323e48;
}
p {
    text-align: justify;
}
h2,
h3 {
    font-size: 14px;
    font-weight: 400;
    display: block;
    padding-bottom: 0.9rem;
}
h2.no-btm {
    padding-bottom: 0;
}
h1 span,
h2 span,
h3 span {
    display: block;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: clamp(1px, 0.2vw, 1px);
}
p {
    padding-bottom: 1rem;
    text-align: justify;
}
span:lang(en) {
    font-family: "Times New Roman", serif;
    font-weight: 400;
}
p:lang(en) {
    font-size: 14px;
    font-weight: 400;
}
nav:lang(en),
nav:lang(en) {
    font-family: "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: clamp(1px, 0.2vw, 1px);
}
nav:lang(en) {
    font-size: 18px;
}
.side-nav a,
footer ul li a {
    font-family: "Times New Roman", serif;
    font-weight: 400;
}
.mobile-nav li:lang(en) {
    font-size: 16px;
}
.mobile-nav address:lang(en) {
    font-size: 12px;
}
.mobile-nav address a {
    pointer-events: none;
    text-decoration: none;
    color: #fafafa;
}
.section2 a {
    font-size: 12px;
}
.section2 span:lang(en) {
    font-size: 19px;
    display: block;
    line-height: 1.2;
    padding: 4px 0;
}
footer {
    font-size: 15px;
    padding-bottom: 1rem;
}
.sp_only {
    display: none;
}
@media (max-width: 767px) {
    .sp_only {
        display: block;
    }
    body,
    h2,
    h3,
    p,
    address {
        font-size: 10.5px;
    }
    .section2 a {
        font-size: 10.5px;
    }
    p:lang(en) {
        font-size: 10.5px;
        line-height: 1.5;
        font-weight: 400;
    }
    .hamburger {
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        z-index: 2000;
        width: 18px;
        height: 22px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        width: 1.5px;
        height: 100%;
        background: #fafafa;
        transition: 0.3s;
    }
    .hamburger.active-color span {
        background: #323e48;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(12px, 0);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(-12px, 0);
    }
    .mobile-nav {
        position: fixed;
        inset: 0;
        background: rgba(50, 62, 72, 0.5);
        color: #fafafa;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease;
        z-index: 1200;
        line-height: 1.66;
    }
    .mobile-nav.active {
        opacity: 1;
        visibility: visible;
    }
    .mobile-nav .m-nav {
        position: absolute;
        top: 20px;
        right: 16px;
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
        text-align: left;
        z-index: 1300;
    }
    .mobile-nav .m-nav li {
        margin: 0 0;
    }
    .mobile-nav .m-nav a {
        color: #fafafa;
        text-decoration: none;
    }
    .mobile-nav .s-nav {
        position: absolute;
        bottom: 20px;
        right: 16px;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: right;
    }
    .mobile-nav .s-nav li {
        margin: 0 0;
    }
    .mobile-nav .s-nav a {
        color: #fafafa;
        text-decoration: none;
    }
    .mobile-nav address {
        position: absolute;
        bottom: 20px;
        left: 16px;
        color: #fafafa;
        font-style: normal;
        font-size: 0.9rem;
    }
    .mobile-nav .s-nav a {
        position: relative;
        display: inline-block;
        padding-right: 26px;
    }
    .mobile-nav .s-nav a::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        width: 16px;
        height: 16px;
        border-top: 2px solid #fafafa;
        border-right: 2px solid #fafafa;
        transform: translateY(-50%);
        border-radius: 1px;
    }
    .mobile-nav .s-nav a::before {
        content: "";
        position: absolute;
        top: calc(50% + 10px);
        right: 17px;
        width: 22.6px;
        height: 2px;
        background-color: #fafafa;
        transform-origin: top right;
        transform: rotate(135deg);
        border-radius: 1px;
    }
}
@media (max-width: 768px) {
    .full_screen {
        height: calc(var(--vh, 1vh) * 100);
    }
}
@media (max-width: 768px) {
    .hero-wrapper {
        width: 90%;
    }
    .side-nav {
        width: 50px;
    }
    .pc_no {
        display: none;
    }
}
@media (max-width: 480px) {
    .hero-wrapper {
        width: 95%;
    }
    .side-nav {
        width: 40px;
        font-size: 0.7rem;
    }
}
@media (min-width: 767px) {
    .sp_no {
        display: none;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    p {
        font-size: 11px;
    }
    p:lang(en) {
        font-size: 11px;
    }
}
