@charset "UTF-8";

/* Typography variables used in this page */
:root {
    --font-jp: "Noto Sans JP", sans-serif;
    --font-en: "helvetica-neue-lt-pro", sans-serif;
    --color-text-main: #333333;
    --color-bg-gray: #cccac6;
    /* Header, divider, footer gray */
}

body {
    font-family: var(--font-jp);
    color: var(--color-text-main);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Container */
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.privacy-header {
    background-color: var(--color-bg-gray);
    padding: 24px 0;
    margin-bottom: 5vh;
}

.privacy-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
    width: 100%;
    box-sizing: border-box;
}

.privacy-header img {
    height: 30px;
    width: auto;
    display: block;
}

/* Main Content */
.privacy-main {
    padding: 100px 0;
}

/* Title Area */
.privacy-title-area {
    margin-bottom: 80px;
}

.privacy-title-area h1 {
    font-family: var(--font-en);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.privacy-title-area .ja-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 50px;
}

.privacy-title-area .intro-text {
    line-height: 1.8;
    font-size: 14px;
    font-weight: 500;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-bg-gray);
}

.policy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    display: flex;
    align-items: baseline;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Add the gray rectangle prefix to section titles */
.policy-section h2::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 24px;
    background-color: var(--color-bg-gray);
    margin-right: 15px;
    align-self: center;
}

.article-num {
    margin-right: 20px;
    font-weight: 500;
    font-size: 20px;
}

.article-num .num {
    font-size: 1.4em;
    font-family: var(--font-en);
    margin: 0 4px;
}

.article-title {
    font-weight: 500;
}

.policy-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 500;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

/* Lists */
.policy-list {
    padding-left: 20px;
    margin-top: 15px;
}

.policy-list li {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    list-style-type: decimal;
    margin-bottom: 8px;
    break-inside: avoid-column;
}

/* Company Info Grid */
.company-info {
    margin-top: 25px;
}

.company-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px !important;
}

.company-details {
    display: grid;
    grid-template-columns: 1fr;
    /* Default 1 col for SP */
    gap: 10px 40px;
}

.dl-group {
    display: flex;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.dl-group dt {
    width: 70px;
    /* Fixed width for labels */
    flex-shrink: 0;
}

.dl-group dd {
    flex-grow: 1;
}

/* PC Layout for Columns */
@media (min-width: 768px) {
    .col-2 {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: max-content 1fr;
        gap: 8px 4em;
    }

    /* 3つ目のSection（5項目ある場合）は3段にする */
    .policy-section:nth-of-type(3) .col-2 {
        grid-template-rows: repeat(3, auto);
    }
}

/* Footer */
.privacy-footer {
    background-color: var(--color-bg-gray);
    padding: 24px 0;
    text-align: center;
}

.close-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.privacy-footer p {
    font-family: var(--font-en);
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
}

/* Base Buttons */
.btn {
    appearance: none;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8em;
    padding: .6em 0em;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-en);
    flex-shrink: 0;
}

.btn-white {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.btn-white:hover {
    background: #ffffff;
    color: var(--color-bg-gray);
    opacity: 1;
}

.btn-gray {
    border: 1px solid var(--color-bg-gray);
    color: var(--color-bg-gray);
    background: #ffffff;
}

.btn-gray:hover {
    background: var(--color-bg-gray);
    color: #ffffff;
    opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 767px) {
    .privacy-title-area h1 {
        font-size: 40px;
    }

    .privacy-header img {
        height: 24px;
    }

    .privacy-main {
        padding: 50px 0;
    }

    .policy-section h2::before {
        height: 24px;
        margin-top: 2px;
    }
}