/* ==============================
   リセット・基本設定
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ==============================
   共通レイアウト
   ============================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .sp-only {
        display: inline;
    }
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

/* ==============================
   セクションヘッダー
   ============================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #2563eb;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.section-description {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    .section-label {
        font-size: 0.875rem;
        margin-bottom: 12px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-description {
        font-size: 1.0625rem;
    }
}

/* ==============================
   ボタン
   ============================== */
.button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button-primary {
    background-color: #2563eb;
    color: #fff;
}

.button-primary:hover {
    background-color: #1e40af;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.button-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.button-large {
    padding: 20px 60px;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .button {
        padding: 14px 32px;
        font-size: 0.9375rem;
    }
    .button-large {
        padding: 16px 40px;
        font-size: 1rem;
        width: 100%;
    }
}

/* ==============================
   ヘッダー
   ============================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.25em;
    line-height: 1.2;
    text-align: justify;
    text-justify: inter-character;
}

.logo-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    line-height: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.nav-link.cta-button {
    padding: 10px 24px;
    background-color: #2563eb;
    color: #fff;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .main-nav {
        gap: 20px;
    }
    .nav-link {
        font-size: 0.875rem;
    }
    .logo-title {
        font-size: 2.25rem;
    }
    .logo-subtitle {
        font-size: 0.5625rem;
        letter-spacing: 0.22em;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 16px 0;
    }
    .main-nav {
        display: none;
    }
    .logo-title {
        font-size: 1.75rem;
    }
    .logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.2em;
    }
}

/* ==============================
   ヒーローセクション
   ============================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-label {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
    opacity: 1;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.nowrap {
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.625rem;
    font-weight: 400;
    margin-bottom: 56px;
    opacity: 1;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        margin-top: 60px;
    }
    .hero-label {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.5;
        margin-bottom: 24px;
        letter-spacing: 0.02em;
    }
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 40px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.65rem;
    }
}

/* ==============================
   選ばれる理由セクション
   ============================== */
.reasons {
    background-color: #f9fafb;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.reason-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reason-number {
    display: inline-block;
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 20px;
    opacity: 0.3;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.5;
}

.reason-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .reason-card {
        padding: 32px 24px;
    }
    .reason-title {
        font-size: 1.25rem;
    }
}

/* ==============================
   写真セクション
   ============================== */
.photos {
    background-color: #fff;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.photo-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.photo-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.photo-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    padding: 20px;
}

.photo-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.photo-placeholder-text {
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
}

.photo-caption {
    padding: 24px;
}

.caption-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.caption-text {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==============================
   ストーリーセクション
   ============================== */
.story {
    background: linear-gradient(to bottom, #f9fafb 0%, #fff 100%);
}

.story-content {
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.story-block {
    margin-bottom: 48px;
}

.story-block:last-of-type {
    margin-bottom: 0;
}

.story-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 4px solid #2563eb;
}

.story-text {
    font-size: 1.0625rem;
    color: #444;
    line-height: 2;
    margin-bottom: 20px;
}

.story-text:last-child {
    margin-bottom: 0;
}

.story-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

/* 開発者セクション - 証明写真スタイル */
.developer-section {
    max-width: 800px;
    margin: 0 auto;
}

.developer-profile {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
}

.developer-photo-circle {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
    min-height: 132px !important;
    max-width: 132px !important;
    max-height: 132px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    background: #f3f4f6 !important;
}

.developer-photo-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.developer-text {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.developer-company {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.6;
}

.developer-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

.developer-address {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
}

.developer-message {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.8;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-style: italic;
}

@media (max-width: 768px) {
    .story-content {
        padding: 32px 24px;
    }
    .story-heading {
        font-size: 1.25rem;
    }
    .story-text {
        font-size: 1rem;
    }
    
    /* 開発者セクション - レスポンシブ */
    .developer-section {
        padding: 0 16px;
    }
    
    .developer-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .developer-photo-circle {
        width: 106px !important;
        height: 106px !important;
        min-width: 106px !important;
        min-height: 106px !important;
        max-width: 106px !important;
        max-height: 106px !important;
    }
    
    .developer-text {
        align-items: center;
    }
    
    .developer-company {
        font-size: 1rem;
    }
    
    .developer-name {
        font-size: 0.875rem;
    }
    
    .developer-address {
        font-size: 0.8125rem;
    }
    
    .developer-message {
        font-size: 0.8125rem;
        margin-top: 6px;
        padding-top: 10px;
    }
}

/* ==============================
   仕様セクション
   ============================== */
.specs {
    background-color: #f9fafb;
}

.specs-content {
    max-width: 900px;
    margin: 0 auto;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.spec-item {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.spec-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.spec-value {
    font-size: 1.0625rem;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.7;
}

.specs-features {
    background-color: #fff;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.specs-features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.specs-list-item {
    font-size: 1rem;
    color: #444;
    line-height: 1.9;
    padding-left: 28px;
    position: relative;
}

.specs-list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.125rem;
}

.specs-list-item strong {
    color: #1a1a1a;
    font-weight: 700;
}

.specs-note {
    background-color: #eff6ff;
    padding: 24px;
    border-radius: 6px;
    border-left: 4px solid #2563eb;
}

.specs-note p {
    font-size: 0.9375rem;
    color: #1e40af;
    line-height: 1.8;
}

.specs-manufacturing {
    margin-top: 48px;
    padding: 40px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.manufacturing-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #2563eb;
}

.manufacturing-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .spec-item {
        padding: 24px;
    }
    .specs-features {
        padding: 32px 24px;
    }
    .specs-manufacturing {
        padding: 28px 20px;
        margin-top: 32px;
    }
    .manufacturing-title {
        font-size: 1.25rem;
    }
    .manufacturing-text {
        font-size: 0.9375rem;
    }
}

/* ==============================
   FAQセクション
   ============================== */
.faq {
    background-color: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    text-align: left;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question[aria-expanded="true"] {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.faq-question-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2563eb;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 28px 24px 28px;
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    .faq-question-text {
        font-size: 1rem;
    }
    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 0.9375rem;
    }
}

/* ==============================
   お問い合わせセクション
   ============================== */
.contact {
    background: linear-gradient(to bottom, #f9fafb 0%, #fff 100%);
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.contact-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 0;
}

.contact-description-sub {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-top: 0;
}

/* 施工動画ギャラリー */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 32px 0;
    padding: 0;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f3f4f6;
}

.video-thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 資料請求CTAボタン */
.contact-cta {
    margin-top: 32px;
    text-align: center;
}

.contact-cta .button {
    display: inline-block;
    width: auto;
    min-width: 400px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .contact-cta .button {
        display: block;
        width: 100%;
        min-width: auto;
    }
}

.contact-form {
    background-color: #fff;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-row {
    margin-bottom: 28px;
}

.form-group {
    width: 100%;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.required {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background-color: #dc2626;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.optional {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    background-color: #f3f4f6;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    margin-bottom: 32px;
}

.privacy-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.privacy-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.privacy-text {
    font-size: 0.9375rem;
    color: #333;
}

.form-submit {
    text-align: center;
    margin-bottom: 24px;
}

.form-note {
    text-align: center;
}

.form-note p {
    font-size: 0.8125rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 4px;
}

.contact-success {
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.success-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 1.75rem;
    }
    .contact-form {
        padding: 32px 24px;
    }
    
    .contact-description,
    .contact-description-sub {
        font-size: 0.9375rem;
        line-height: 1.8;
    }
    
    /* 施工動画ギャラリー - レスポンシブ */
    .video-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 24px 0;
    }
    
    .video-thumbnail {
        border-radius: 4px;
    }
}

/* ==============================
   フッター
   ============================== */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    flex: 1;
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.footer-logo-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.footer-logo {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.footer-tagline {
    font-size: 0.9375rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-company-name {
    font-size: 0.9375rem;
    font-weight: 600;
    opacity: 0.9;
}

.footer-company-detail {
    font-size: 0.8125rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.9375rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    font-size: 0.8125rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   プライバシーポリシー リンク
   ======================================== */

.privacy-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #1e40af;
}

/* ========================================
   モーダルウィンドウ
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background-color: #fff;
    margin: 20px;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.privacy-section {
    margin-bottom: 32px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.privacy-section p {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 12px;
}

.privacy-list li {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-contact {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #2563eb;
}

.privacy-contact p {
    margin-bottom: 8px;
}

.privacy-contact strong {
    color: #1a1a1a;
}

.privacy-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 12px;
}

.privacy-updated {
    font-size: 0.875rem;
    color: #999;
    text-align: right;
    margin-top: 24px;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

/* モーダル レスポンシブ */
@media (max-width: 768px) {
    .modal-content {
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        width: 100%;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-section p,
    .privacy-list li {
        font-size: 0.875rem;
    }
    
    .modal-footer {
        padding: 16px 20px;
    }
}
