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

:root {
    /* カラーパレット - 明るい印象 */
    --primary-color: #FF9A56;
    --primary-light: #FFB97D;
    --primary-dark: #FF8243;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #FFF8F0;
    --bg-accent: #F0F9FF;
    --border-color: #E0E0E0;

    /* フォント */
    --font-main: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;

    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* ブレイクポイント */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-color);
}

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

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

ul {
    list-style: none;
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.logo img {
    height: 50px;
    width: auto;
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-accent) 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-color);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* ========================================
   ページヘッダー
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   イントロセクション
======================================== */
.intro {
    background-color: var(--bg-light);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.intro-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ========================================
   サービスハイライト
======================================== */
.services-highlight {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon-text {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-text span {
    font-size: 2.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   サービス詳細
======================================== */
.services-detail {
    background-color: var(--bg-color);
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.service-detail-item:last-child {
    margin-bottom: 0;
}

.service-detail-item.reverse {
    background: var(--bg-accent);
}

.service-detail-item.reverse .service-detail-content {
    order: 2;
}

.service-detail-item.reverse .service-detail-image {
    order: 1;
}

.service-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-detail-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   サービスフロー
======================================== */
.service-flow {
    background-color: var(--bg-light);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    align-items: center;
}

.flow-step {
    background: white;
    padding: 2rem 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    grid-column: span 1;
}

.flow-step:nth-child(odd) {
    grid-column: span 2;
}

.flow-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.flow-step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.flow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   代表挨拶
======================================== */
.greeting {
    background-color: var(--bg-color);
}

.greeting-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

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

.greeting-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.greeting-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.signature {
    margin-top: 2rem;
    text-align: right;
    font-size: 1.1rem;
}

/* ========================================
   会社情報
======================================== */
.company-info {
    background-color: var(--bg-light);
}

.info-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    width: 200px;
    text-align: left;
    color: var(--primary-color);
}

.info-table td {
    color: var(--text-light);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   アクセス
======================================== */
.access {
    background-color: var(--bg-color);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.access-content-single {
    max-width: 700px;
    margin: 0 auto;
}

.access-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.access-info p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.access-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   お問い合わせ
======================================== */
.contact-section {
    background-color: var(--bg-color);
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* フォームスタイル */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.required {
    color: #FF6B6B;
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.privacy-check input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background-color: #D4EDDA;
    color: #155724;
}

.form-message.error {
    background-color: #F8D7DA;
    color: #721C24;
}

/* お問い合わせ情報 */
.contact-info-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info-item {
    margin-bottom: 2.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-phone a,
.contact-email a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: var(--primary-dark);
}

.contact-hours {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* プライバシーポリシー */
.privacy-policy {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.privacy-policy h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.privacy-policy h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.privacy-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    list-style: disc;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ========================================
   CTAセクション
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 154, 86, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-white:hover {
    background: var(--bg-light);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.phone-icon {
    margin-right: 0.5rem;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #2C3E50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.company-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
}

/* ========================================
   ユーティリティクラス
======================================== */
.text-center {
    text-align: center;
}

/* ========================================
   レスポンシブデザイン
======================================== */

/* タブレット */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .intro-content,
    .greeting-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-item.reverse .service-detail-content,
    .service-detail-item.reverse .service-detail-image {
        order: initial;
    }

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .flow-step,
    .flow-step:nth-child(odd) {
        grid-column: span 1;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .service-detail-item {
        padding: 2rem 1.5rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 2rem 0;
    }

    .info-table th {
        width: 100px;
        font-size: 0.9rem;
    }

    .info-table th,
    .info-table td {
        padding: 1rem;
    }
}
