/*=====================================
  共通スタイル
=====================================*/
:root {
    --text-color-primary: #333;
    --text-color-secondary: #fff;
    --brand-color-main: #333c5e;
    --brand-color-gold: #fd7e00;
    --background-color-light: #f0f8ff;
    --button-color: var(--brand-color-gold);
    --button-hover-color: rgba(249, 140, 80, 0.7);
    --border-color-light: #c9c9c9;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W6", "メイリオ", sans-serif;
    -webkit-text-size-adjust: 100%;
    color: var(--text-color-primary);
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.8em;
}

/* 全体リセット（最小限に） */
*, *::before, *::after {
    box-sizing: border-box;
}

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

/*=====================================
  レイアウトとコンポーネント
=====================================*/
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 70px 0;
}

.button a,
input[type="submit"] {
    display: block;
    background: var(--button-color);
    font-size: 16px;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--text-color-secondary);
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* リンクとホバー効果 */
a {
    color: var(--text-color-primary);
    text-decoration: none;
}

a:hover,
input[type="submit"]:hover {
    opacity: 0.5;
}

.text_link {
    color: var(--brand-color-gold);
    border-bottom: 1px solid var(--brand-color-gold);
    font-weight: 700;
}

/*=====================================
  タイプグラフィ
=====================================*/
h3 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 50px;
    margin-top: 20px;
}

h6 {
    font-size: 17px;
    color: var(--brand-color-main);
    font-weight: bold;
}

p {
    line-height: 1.8;
}

/* その他のテキストスタイル */
.small-text {
    font-size: 12px;
}

.text_right {
    text-align: right;
}

.pp .page_contents .container > p {
    font-size: 13px;
    letter-spacing: 0;
}

.container .top {
    margin-bottom: 50px;
    text-align: center;
}

/*=====================================
  ナビゲーションと画像
=====================================*/
img {
    max-width: 100%;
    height: auto;
}

.img.logo {
    width: 140px;
}

/* トップに戻るボタン */
.toppage-btn-vertical {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 999;
    writing-mode: vertical-rl;
    background: rgba(49, 72, 204, 0.7);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 16px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    transition: background 0.3s ease;
}

.toppage-btn-vertical:hover {
    background: rgba(49, 72, 204, 0.9);
    text-decoration: none;
    color: #fff;
}

/*=====================================
  プライバシーポリシー固有のスタイル
=====================================*/
.privacy_policy .contents {
    width: 100%;
}

.privacy_policy .contents > ul > li {
    list-style: decimal inside;
    padding-bottom: 20px;
}

.privacy_policy .contents > ul > li:last-of-type {
    padding-bottom: 0;
}

.privacy_policy .contents li h6 {
    display: inline;
}

.privacy_policy .contents li h6 + p {
    padding-top: 10px;
}

.privacy_policy .contents li p,
.privacy_policy .contents li ul {
    margin-left: 1.4em;
}

.privacy_policy .contents > ul > li ul.decimal li {
    list-style: decimal;
    font-size: 13px;
    margin-left: 3.8em;
}

.privacy_policy .contents > ul > li ul.circle li {
    list-style: circle;
    font-size: 13px;
    margin-left: 3.8em;
}

.privacy_policy .contents > div {
    margin-top: 40px;
    padding: 20px;
    background: var(--background-color-light);
}

.privacy_policy .contents > p {
    padding-top: 40px;
    text-align: right;
}

/* テーブルスタイル */
.privacy_policy table {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 2px;
    background: var(--text-color-secondary);
}

.privacy_policy th {
    background: var(--brand-color-main);
    color: var(--text-color-secondary);
    font-weight: normal;
    text-align: center;
    letter-spacing: 0.5em;
    padding: 4px 10px;
}

.privacy_policy td {
    background: var(--background-color-light);
    padding: 4px 10px;
    line-height: 2em;
    font-size: 13px;
}

.privacy_policy td:first-of-type {
    text-align: center;
}
/*
.main-footer {
    background-color: #2a2f4e;
    color: #ffffff;
    padding: 60px 0; 
}

.footer-inner {
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
}

.footer-content-wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 800px;
    width: 100%;
}

.footer-contact-info {
    margin-bottom: 20px;
}
*/
.company-name-jp {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
    font-family: 'Murecho', sans-serif;
}

.company-name-en {
    font-size: 1.1rem;
    font-weight: normal;
    margin-left: 10px;
    opacity: 0.8;
}

.tel-info {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}

.tel-info a {
    color: #fff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s;
}

.footer-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-btn {
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s, opacity 0.3s;
    color: #ffffff;
    background-color: #f05a24;
    border: 2px solid #f05a24;
    font-size: 1.4rem;
}

.footer-btn:hover {
    opacity: 0.9;
    color: #ffffff;
    background-color: #f05a24;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
}

.footer-privacy-mark {
    margin: 30px 20px; 
    flex-shrink: 0; 
}

.footer-privacy-mark img {
    max-height: 70px; 
    width: auto;
    display: block;
}


/*=====================================
  メディアクエリ (モバイル対応)
=====================================*/
.pc_none {
    display: none;
}

.sp_none {
    display: inline-block;
}

@media (max-width: 767px) {
    .container {
        width: 100%;
    }

    .pc_none {
        display: inline-block;
    }

    .sp_none {
        display: none;
    }

    h3 {
        padding-bottom: 30px;
    }

    .toppage-btn-vertical {
        font-size: 1.4rem;
        padding: 10px 8px;
        bottom: 70px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-privacy-mark {
        margin: 0 auto 30px;
        text-align: center;
        width: 100%;
    }

    .footer-privacy-mark img {
        display: block;
        margin: 0 auto;
    }
    
    .main-footer {
        padding: 40px 0;
    }

    .footer-content-wrapper {
        text-align: center;
        /* 中央揃えを確実にするため、幅を設定 */
        width: 100%; 
    }

    .company-name-en {
        display: block; 
        margin-left: 0;
    }

    .footer-buttons {
        flex-direction: column; 
        align-items: center;
        gap: 10px;
    }

    .footer-btn {
        width: 80%; 
        max-width: 300px;
    }

    .tel-info {
        font-size: 1.4rem;
    }
    
    .footer-copyright {
        text-align: center;
    }
}