:root {
    --primary-color: #0073aa; /* WordPressブルー */
    --secondary-color: #1d2327; /* より洗練されたWordPress管理画面風のダークグレー */
    --light-bg: #f6f7f7;
    --text-color: #333;
    --border-color: #ccd0d4;
}
/* ページ全体にスムーズスクロールを適用 */
html {
    scroll-behavior: smooth;
}
/* 固定ヘッダーに隠れないようにスクロール位置を調整 */
.section {
    /* ヘッダーの高さ（約85px）＋少しの余白を考慮して調整 */
    scroll-margin-top: 100px; 
    margin-bottom: 60px; /* セクション間の余白を確保 */
}
.spacer {
    height: 60px; /* ヘッダーの高さに合わせて調整 */
}
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
}
/* ナビゲーションと言語切り替えボタンを並べるラッパー */
.nav-and-lang {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* 言語切り替えボタンのコンテナ */
.lang-switch {
    display: flex;
    align-items: center;
}

/* ボタン本体のスタイル */
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b5bfc9;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 5px 12px;
    border: 1px solid rgba(181, 191, 201, 0.4);
    border-radius: 20px;
    transition: all 0.2s ease;
}

/* ホバー時の光る演出 */
.lang-btn:hover {
    color: #fff;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 地球儀アイコン (SVG) のサイズ調整 */
.globe-icon {
    width: 16px;
    height: 16px;
    display: block;
}
/* 画面上部に固定するヘッダー */
.site-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ヘッダー内部のレイアウト（横並び・中央揃え） */
.header-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ロゴとブランドテキストのブロック */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* サイのロゴ画像のサイズとドロップシャドウ効果 */
.logo-img {
    height: 55px; /* 高さをスマートに制限 */
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); /* 白背景のロゴを暗い背景に馴染ませる */
}

/* ブランド情報の縦並び */
.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.site-tagline {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    color: #b5bfc9;
    font-weight: 400;
}

/* ヘッダーナビゲーション */
.header-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #b5bfc9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fff; /* ホバー時に白くハイライト */
}

 /* ヒーローセクション全体のデザイン */
.hero-section {
    background: linear-gradient(135deg, #1d2327 0%, #0073aa 100%); /* 画像がない場合の綺麗グラデーション */
    position: relative;
    color: #fff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    min-height: 400px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 500px;
    z-index: 2;
    padding-left: 5%;
}

.hero-badge {
    background-color: #ffc72c; /* ロゴからインスパイアされたイエロー */
    color: #1d2327;
    font-size: 0.8rem;
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-section h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: #fff;
    border-left: none; /* 通常の見出し用スタイルをリセット */
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* アクションボタン */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #ff3366; /* ビビッドなマゼンタピンク */
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
}

.btn-primary:hover {
    background-color: #e02454;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 右側の画像エリア */
.hero-image-wrap {
    flex: 1;
    max-width: 45%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 5%;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg); /* 少し傾きを持たせておしゃれに */
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.03); /* ホバー時にふわっとまっすぐ拡大 */
}


.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    border-left: 6px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 25px;
}
p {
    font-size: 1.05rem;
    color: #444;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.feature-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.feature-card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
}
.diagram-container {
    text-align: center;
    margin: 40px 0;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.diagram-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}
.diagram-container img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.diagram-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
}
.component-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.component-box {
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    background-color: #fff;
}
.component-box h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.component-box p {
    font-size: 0.98rem;
    margin: 0;
    color: #555;
}
.steps-list {
    padding-left: 20px;
}
.steps-list li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #444;
}
/* お問い合わせフォーム */
.contact-section {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.contact-section h2 {
    border-left: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 10px;
}
.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--secondary-color);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.2s;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group textarea {
    resize: vertical;
    height: 150px;
}
.submit-btn-container {
    text-align: center;
}
.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}
.submit-btn:hover {
    background-color: #005a87;
}
footer {
    background-color: var(--secondary-color);
    color: #888;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
    margin-top: 80px;
    border-top: 1px solid #32373c;
}
footer p {
	color: #888;
}
footer a {
	color: #888;
}

.pi-section {
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    background-color: #fff;
    margin-top: 30px;
    margin-bottom: 60px;
}

/* レスポンシブ用のブレイクポイント調整 */
@media (max-width: 750px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .nav-and-lang {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .header-nav {
        justify-content: center;
        width: 100%;
    }
    .logo-area {
        flex-direction: column;
        gap: 8px;
    }
    .site-branding {
        align-items: center;
    }
}

/* スマートフォン向け（レスポンシブ）の調整 */
@media (max-width: 850px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        padding-left: 0;
        margin-bottom: 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-wrap {
        max-width: 80%;
        padding-right: 0;
    }
}

