/* General Styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: "Hiragino Kaku Gothic Pro", "Hiragino Sans", Meiryo,
        "Yu Gothic", "Segoe UI", Helvetica, Arial, sans-serif;
    color: #4a4a4a;
    font-size: 0.8em;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: 0.15em;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    body {
        font-size: 1em;
    }
}

/* Link Styles */
a {
    cursor: pointer;
    text-decoration: none;
    transition: all 0.5s 0.5s;
    transform: scale(1);
}

a:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.5s;
}

/* Text and Paragraph Styles */
span {
    display: block;
}

p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image Styles */
img {
    height: auto;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    img {
        padding: 0;
        width: 50%;
    }
}

/* Heading Styles */
h1 {
    font-size: 2.8rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    animation: fadeIn 3s ease-in-out forwards;
}

@media screen and (min-width: 1024px) {
    h1 {
        font-size: 4rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 0 auto 1.5rem;
}

h2:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    display: inline-block;
    width: 60px;
    height: 5px;
    transform: translateX(-50%);
    background-color: #ccc;
    border-radius: 5px;
}

@media screen and (min-width: 1024px) {
    h2 {
        font-size: 2.5rem;
    }
}

h3 {
    padding: 0 0 1rem 0;
    margin: 1rem auto;
    font-size: 1.2rem;
    border-bottom: 0.5px solid #ccc;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 1024px) {
    h3 {
        font-size: 1.5rem;
    }
}

/* Header Styles */
header {
    background-color: #fff;
    height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
}

@media screen and (min-width: 1024px) {
    header {
        height: 80px;
    }
}

header .header-inner {
    max-width: 1024px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: #4a4a4a;
}

header .logo {
    font-family: "Fredoka One", cursive;
    font-size: x-large;
    margin-left: 1.5rem;
}

@media screen and (min-width: 1024px) {
    header .logo {
        margin-left: 0;
    }
}

header .menu-icon + .sp-menu {
    display: none;
}

header .menu-icon.active + .sp-menu {
    position: fixed;
    top: 60px;
    z-index: 30;
    width: 100%;
    margin: 0;
    background-color: #fff;
    list-style-type: none;
    padding: 0;
    text-align: center;
    display: block;
}

header .sp-menu li {
    margin-bottom: 2rem;
}

header .sp-menu li:first-of-type {
    margin-top: 2rem;
}

header .pc-menu {
    display: none;
}

@media screen and (min-width: 1024px) {
    header .sp-menu {
        display: none;
    }

    header .pc-menu {
        display: flex;
        list-style-type: none;
    }

    header .pc-menu li {
        margin-left: 2rem;
    }

    header .pc-menu li:hover {
        cursor: pointer;
        transform: scale(1.1);
        transition: all 0.5s;
    }
}

header .menu li {
    margin-right: 2rem;
}

.menu-icon {
    background: none;
    border: none;
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-right: 1.5rem;
}

@media screen and (min-width: 1024px) {
    .menu-icon {
        display: none;
        margin-right: 0;
    }
}

.menu-icon span,
.menu-icon::before,
.menu-icon::after {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 24px;
    height: 2px;
    margin: auto;
    background: #4a4a4a;
    color: #4a4a4a;
}

.menu-icon::before {
    z-index: 2;
    transform: translate(0, -10px);
    content: "";
}

.menu-icon::after {
    z-index: 2;
    transform: translate(0, 10px);
    content: "";
}

.menu-icon::before,
.menu-icon::after {
    transition: transform 200ms;
}

.menu-icon.active span {
    opacity: 0;
    transition: opacity 150ms;
}

.menu-icon.active::before {
    transform: rotate(45deg);
}

.menu-icon.active::after {
    transform: rotate(-45deg);
}

/* Footer Styles */
footer {
    background-color: #1c1c1c;
    color: #fff;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Styles */
section {
    padding: 3.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    section {
        padding: 5rem 1.5rem;
        margin: 0 auto;
    }
}

.section-inner {
    max-width: 1024px;
}

/* Table Header Styles */
th {
    width: 80px;
    text-align: right;
    padding-right: 30px;
}

/* Background Color Styles */
.bg-gray {
    background-color: #f5f5f5;
}

/* Top Section Styles */
.top-section {
    background-size: cover;
    background-position: center;
    padding: 3rem 1.5rem;
    color: #fff;
}

@media screen and (min-width: 1024px) {
    .top-section {
        padding: 9rem 4.5rem;
        height: 450px;
    }
}

/* Privacy Section Styles */
.privacy-section {
    position: relative;
}

.company-name {
    margin-top: 1rem;
}

/* Box Styles */
.box {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

@media screen and (min-width: 1024px) {
    .box {
        margin-bottom: 3rem;
    }
}

/* Titles Styles */
.titles {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .titles {
        margin-bottom: 3rem;
    }
}

/* Columns Styles */
.columns {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .columns {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Column Styles */
.column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column-works {
    padding: 0.75rem 1rem 1.5rem;
}

@media screen and (min-width: 1024px) {
    .column-works {
        width: 50%;
        padding: 2.25rem;
    }
}

/* Contact Styles */
.contact {
    border-radius: 100px;
    font-weight: bold;
    color: #fff;
    background-color: #4a4a4a;
    padding: 15px 25px;
}

/* Block Styles */
.block {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .block {
        margin: 3rem 0;
    }
}

.block h3 {
    text-align: left;
}

.block p {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Copy Light Styles */
.copy-light {
    text-align: center;
    margin-top: 20px;
}

/* Loading Animation Styles */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #4a4a4a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.spinner {
    width: 100px;
    height: 100px;
    margin: 200px auto;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-scaleout 1s infinite ease-in-out;
}

@keyframes sk-scaleout {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Number Styles */
.number {
    color: #a2a2a2;
    font-size: 16px;
    margin-right: 15px;
    font-family: Georgia, serif;
}
