﻿/* Base Styles */
:root {
    --primary-blue: #0056b3;
    --light-blue: #eef6ff;
    --text-color: #333;
    --accent-gold: #d4af37;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.shippori {
    font-family: 'Shippori Mincho', serif;
}

/* Layout */
section {
    text-align: center;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.main-copy h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #111;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Buttons */
.cta-wrapper {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 20px 40px;
    background-color: var(--accent-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-blue {
    background-color: var(--primary-blue);
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Problem Box */
.border-box {
    border: 2px solid var(--light-blue);
    background-color: var(--light-blue);
    border-radius: 10px;
    padding: 40px;
}

.check-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.check-list li::before {
    content: '✔';
    color: var(--primary-blue);
    margin-right: 15px;
    font-weight: bold;
}

/* Reason Cards */
.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
}

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

.card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 10px;
}

/* Highlight Box */
.highlight-box {
    background-color: #f9f9f9;
    border-top: 5px solid var(--primary-blue);
}



/* --- フッターとモーダルのスタイル --- */

footer {
    background: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-link {
    display: inline-block;
    margin-top: 10px;
    color: #bbb;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid #555;
    padding: 5px 15px;
    border-radius: 20px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* モーダル背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

/* モーダル本体 */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    text-align: left;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

/* 事業概要テーブル */
.about-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.about-table th, .about-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.about-table th {
    width: 30%;
    background-color: #f9f9f9;
    font-weight: bold;
    color: var(--primary-blue);
}
/* Responsive */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .main-copy h1 { font-size: 1.8rem; }
}


/* --- 追加・調整分 --- */

.bg-light {
    background-color: #f4f7f9;
}

.intro-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.intro-box {
    flex: 1;
}

.line-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.policy-box {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.large-text {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #111;
}

.message-content {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--light-blue);
    border-radius: 10px;
}

.case-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 40px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.example {
    margin-top: 30px;
    background: var(--light-blue);
    padding: 30px;
    border-radius: 8px;
}

.example h4 {
    margin-top: 0;
    color: var(--primary-blue);
}

.example ul {
    padding-left: 20px;
}

.example li {
    margin-bottom: 10px;
}

.result {
    margin-top: 20px;
    font-weight: bold;
    border-top: 1px dashed #999;
    padding-top: 15px;
}

/* モバイル対応調整 */
@media (max-width: 768px) {
    .intro-grid { flex-direction: column; }
    .large-text { font-size: 1.4rem; }
}

/* 追加の強調スタイル */
.example li strong {
    color: var(--primary-blue);
    background: linear-gradient(transparent 70%, #dceeff 70%); /* マーカー風の強調 */
}

.case-card p strong {
    color: #111;
    font-size: 1.1rem;
}







/* プロフィールページ用追加スタイル */

.mini-hero {
    background-color: var(--primary-blue);
    padding: 100px 0 60px;
    color: #fff;
    text-align: center;
}

.mini-hero h1 {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
}

.profile-section {
    padding: 80px 0;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 2;
}

.item-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-blue);
    padding-left: 15px;
}

.card-simple {
    text-align: left;
    padding: 20px;
}

.motto {
    font-size: 2rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 15px;
    font-family: 'Shippori Mincho', serif;
}

.small-note {
    font-size: 0.85rem;
    color: #777;
    margin-top: 15px;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* 共通テーブルのスタイル微調整 */
.about-table {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    .mini-hero h1 { font-size: 1.6rem; }
    .motto { font-size: 1.6rem; }
}

/* --- プロフィールページ用 画像レイアウト調整 --- */

/* 共通：画像のアスペクト比維持 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 1. プロフィールセクション (image_3) */
.profile-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.profile-img {
    flex: 0 0 300px; /* 画像の幅を固定 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-text {
    flex: 1;
}

/* 2. 栃木への想いセクション (image_4) */
.tochigi-flexcontent {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.tochigi-flexcontent .content-box {
    flex: 1;
    margin-top: 0; /* 既存のmarginをリセット */
}

.tochigi-img {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

/* 3. ライフスタイルセクション (image_5) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card-simple.with-img {
    display: flex;
    flex-direction: column;
}

.lifestyle-text {
    flex: 1;
}

.lifestyle-img {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* --- モバイル対応調整 --- */
@media (max-width: 768px) {
    .profile-flex,
    .tochigi-flexcontent {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-img,
    .tochigi-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .tochigi-flexcontent .content-box {
        text-align: left;
    }
}



