@charset "UTF-8";

/* =========================================
   1. 変数定義 (Colors & Typography)
   ========================================= */
:root {
    /* カラーパレット */
    --color-black: #000000;
    --color-dark: #111111;
    --color-text-main: #333333;
    --color-text-light: #555555;
    --color-text-muted: #666666;
    --color-white: #ffffff;
    --color-bg-light: #f2f2f2;
    --color-bg-dark: #262626;
    --color-primary-blue: #0066ff;

    /* フォント */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

/* =========================================
   2. リセットとベーススタイル
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-dark);
}

/* =========================================
   3. 共通コンポーネント・レイアウト
   ========================================= */
/* コンテナ（コンテンツ幅の固定と中央配置） */
.hero-container, 
.features-container, 
.services-hero-container, 
.cards-container, 
.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* 共通ボタン（.btn-primary と .btn-outline を統合） */
.btn-primary, 
.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-text-main);
    border-radius: 30px;
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: bold;
    background-color: transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary:hover, 
.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--color-white);
}

/* ナビゲーション共通 */
.navbar {
    display: flex;
    justify-content: flex-end;
    padding: 20px 5%;
}

.navbar nav a {
    text-decoration: none;
    color: var(--color-text-light);
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* アクティブ状態のリンク */
.navbar nav a.active {
    color: var(--color-black);
}

/* Servicesページのナビゲーション特例（青背景に重ねる） */
.services-navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

/* =========================================
   4. Index (Home) ページ固有スタイル
   ========================================= */
.hero-section {
    background-color: var(--color-bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: 0 5% 50px;
}

.hero-text { flex: 1; max-width: 500px; }
.hero-image { flex: 1; display: flex; justify-content: flex-end; }
.hero-image img { max-width: 100%; width: 900px; }

.logo { display: flex; align-items: center; margin-bottom: 60px; }
/* 4. Index (Home) ページ固有スタイル の中にある記述を書き換え */
.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain; 
    margin-right: 15px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-ja { font-weight: bold; font-size: 1.1rem; }
.logo-en { font-size: 0.65rem; letter-spacing: 1px; color: var(--color-text-muted); }

.hero-title { font-size: 3.2rem; line-height: 1.3; margin-bottom: 40px; }
.hero-subtitle { font-size: 1.1rem; margin-bottom: 40px; }

.features-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 5%;
}

.features-section h2 { color: var(--color-white); }
.features-title { font-size: 2.6rem; line-height: 1.4; margin-bottom: 70px; }
.features-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.features-image { flex: 1; }
.features-image img { max-width: 100%; width: 450px; }

.features-text-blocks { flex: 1; display: flex; flex-direction: column; gap: 45px; }
.feature-item h3 { font-family: var(--font-sans); font-size: 1.2rem; margin-bottom: 15px; }
.feature-item p { font-size: 0.95rem; line-height: 1.8; color: #eee; }

/* =========================================
   5. Services ページ固有スタイル
   ========================================= */
.services-hero {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    padding: 120px 5% 80px;
}
.services-hero-container {
    display: flex; justify-content: space-between; align-items: center;
}
.services-hero-text h1 { color: var(--color-white); font-size: 3rem; line-height: 1.3; margin-bottom: 20px; }
.services-hero-text p { font-size: 1.1rem; font-weight: bold; line-height: 1.6; }
.services-hero-image img { max-width: 100%; width: 600px; }

.cards-container {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 0 5%;
}

.services-features { background-color: var(--color-bg-light); padding: 80px 0; text-align: center; }
.services-features h2 { font-size: 2.2rem; margin-bottom: 60px; }

.feature-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px 20px;
    flex: 1;          
    min-width: 250px; 
    max-width: 320px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-card img { width: 220px; margin-bottom: 30px; }
.feature-card h3 { font-size: 1.1rem; font-weight: bold; color: var(--color-black); }

.services-pricing {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 80px 0 100px;
    text-align: center;
}
.services-pricing h2 { color: var(--color-white); font-size: 2.2rem; margin-bottom: 15px; }
.pricing-subtitle { font-size: 1rem; font-weight: bold; margin-bottom: 60px; }

.pricing-card {
    background: linear-gradient(to bottom, var(--color-white) 60%, #6699ff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1;         
    min-width: 250px;
    max-width: 320px;
    color: var(--color-dark);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.pricing-card h3 { font-size: 1.2rem; text-align: center; margin-bottom: 20px; }
.pricing-card img { display: block; margin: 0 auto 30px; width: 150px; }
.pricing-card ul { list-style-type: none; padding-left: 10px; }
.pricing-card ul li { font-size: 0.9rem; font-weight: bold; margin-bottom: 10px; position: relative; padding-left: 15px; }
.pricing-card ul li::before { content: "・"; position: absolute; left: 0; }

/* =========================================
   6. Reviews ページ固有スタイル
   ========================================= */
.greeting-section { padding: 60px 0 100px; background-color: var(--color-white); }
.section-title { font-size: 2.6rem; margin-bottom: 60px; text-align: left; }

.profile-container { display: flex; flex-direction: column; align-items: center; max-width: 400px; margin: 0 auto; }
.profile-image {
    width: 150px; height: 150px; border-radius: 30px; object-fit: cover;
    margin-bottom: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.profile-name { color: var(--color-primary-blue); font-size: 1.2rem; margin-bottom: 30px; }
.profile-name .role { margin-right: 10px; }
.greeting-text { font-weight: bold; font-size: 0.95rem; line-height: 1.8; text-align: left; }

.cta-section { background-color: var(--color-bg-light); padding: 80px 0; }
.cta-container { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.cta-text h2 { font-size: 2.4rem; line-height: 1.4; margin-bottom: 30px; }
.cta-image img { max-width: 100%; width: 450px; }

.contact-section { background-color: var(--color-primary-blue); color: var(--color-white); padding: 100px 0; }
.contact-container { display: flex; justify-content: center; align-items: center; gap: 100px; padding: 0 5%; }
.contact-section h2 { color: var(--color-white); font-size: 2.6rem; margin-bottom: 50px; }
.contact-image img { max-width: 100%; width: 400px; }
.info-block { margin-bottom: 30px; }
.info-block h4 { font-size: 0.9rem; margin-bottom: 8px; opacity: 0.9; }
.info-block p { font-weight: bold; font-size: 1.1rem; letter-spacing: 1px; }

.sns-icons { display: flex; gap: 20px; }
.sns-icons a { color: var(--color-white); font-size: 1.5rem; text-decoration: none; transition: opacity 0.3s; }
.sns-icons a:hover { opacity: 0.7; }
/* =========================================
   8. お問い合わせフォーム (Reviewsページ)
   ========================================= */
/* idによるジャンプ時のヘッダー被り（余白）を調整 */
#contact {
    scroll-margin-top: 80px;
}

.contact-form-wrapper {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.contact-form-wrapper h2 {
    color: var(--color-white);
    font-size: 2.6rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--color-white);
}

/* 必須・任意のバッジ */
.badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}
.badge-required { background-color: #ff4444; color: #fff; }
.badge-optional { background-color: #88bbff; color: #003399; }

/* 入力フィールド共通 */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--color-white);
    color: var(--color-text-main);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--color-dark);
}

.contact-form textarea {
    resize: vertical;
}

/* プルダウンの矢印調整用ラッパー */
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: "▼";
    font-size: 0.8rem;
    color: var(--color-text-muted);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/* 送信ボタン */
.btn-submit {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
}
/* =========================================
   7. レスポンシブ対応 (Media Queries)
   ========================================= */
@media (max-width: 900px) {
    /* Home */
    .hero-container, .features-content { flex-direction: column; }
    .hero-text { margin-bottom: 50px; padding: 0 5%; }
    .hero-image, .features-image { display: flex; justify-content: center; width: 100%; }
    .features-title { font-size: 1.8rem; }
    .hero-title { font-size: 2.2rem; }

    /* Services */
    .services-hero-container { flex-direction: column; text-align: center; }
    .services-hero-image { margin-top: 40px; }
    .cards-container { flex-direction: column; align-items: center; }

    /* Reviews */
    .cta-container, .contact-container { flex-direction: column; text-align: center; gap: 50px; }
    .section-title, .greeting-text { text-align: center; }
}