/* ============================================
   リセット・ベース
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111827;
    background-color: #f9fafb;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ============================================
   変数
   ============================================ */
:root {
    --color-green-50:  #f0fdf4;
    --color-green-100: #dcfce7;
    --color-green-600: #16a34a;
    --color-green-700: #15803d;
    --color-green-800: #166534;
    --color-green-900: #14532d;
    --color-emerald-800: #065f46;
    --color-yellow-400: #facc15;
    --color-gray-50:  #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-amber-50:  #fffbeb;
    --color-amber-500: #f59e0b;
    --color-amber-800: #92400e;
    --color-white: #ffffff;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);

    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

/* ============================================
   レイアウト共通
   ============================================ */
.page-wrapper {
    background-color: var(--color-white);
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    border: 1px solid rgba(20, 83, 45, 0.12);
}

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.container--narrow {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container,
    .container--narrow {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container,
    .container--narrow {
        padding: 0 2rem;
    }
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--color-gray-200);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header-logo img {
    height: 2.5rem;
    width: auto;
}

.header-subtitle {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    display: none;
}

@media (min-width: 640px) {
    .header-logo img {
        height: 3rem;
    }
    .header-subtitle {
        display: inline;
    }
}

/* ============================================
   ヒーロー
   ============================================ */
.hero {
    background: linear-gradient(135deg, #15803d, #16a34a, #065f46);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: var(--radius-full);
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.2;
}

.hero-bg-circle--top {
    top: -8rem;
    right: -8rem;
    background-color: #22c55e;
}

.hero-bg-circle--bottom {
    bottom: -8rem;
    left: -8rem;
    background-color: #10b981;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-top: 0.5rem;
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--color-white);
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-title__accent {
    color: var(--color-yellow-400);
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
    color: #f3f4f6;
    line-height: 1.8;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero {
        padding: 6rem 0;
    }
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* ============================================
   ボタン
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    gap: 0.5rem;
}

/* ヒーローボタン */
.btn--hero {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background-color: var(--color-white);
    color: var(--color-green-900);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.btn--hero:hover {
    background-color: var(--color-gray-100);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.btn--hero .btn__icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-green-700);
    transition: transform 0.2s;
}

.btn--hero:hover .btn__icon {
    transform: scale(1.1);
}

/* アウトラインボタン */
.btn--outline {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border-color: var(--color-green-600);
    color: var(--color-green-600);
    background-color: transparent;
    border-radius: var(--radius-sm);
    width: 100%;
}

.btn--outline:hover {
    background-color: var(--color-green-600);
    color: var(--color-white);
}

.btn__icon-right {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 640px) {
    .btn--hero {
        width: auto;
    }
}

/* ============================================
   セクション共通
   ============================================ */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

.section-description {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

/* ============================================
   お問合せ（上段カード）
   ============================================ */
.inquiry-top {
    padding: 4rem 0 5rem;
    background-color: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* カード */
.card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--color-gray-100);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card__icon-wrap {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-green-50);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.card__icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-green-600);
}

.card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.card__text {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-align: center;
    line-height: 1.75;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card__body {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.card__body .card__text {
    margin-bottom: 1.5rem;
}

/* サービスリンク */
.service-links {
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: auto;
    width: 100%;
    text-align: left;
}

.service-links__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-700);
    margin-bottom: 0.75rem;
}

.service-links__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-green-700);
    transition: color 0.2s;
}

.service-link:hover {
    color: var(--color-green-900);
    text-decoration: underline;
}

.service-link__icon {
    width: 1rem;
    height: 1rem;
    color: var(--color-green-600);
}

/* ============================================
   お問合せ詳細
   ============================================ */
.inquiry-detail {
    padding: 4rem 0 6rem;
    background-color: var(--color-gray-50);
}

.inquiry-box {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    scroll-margin-top: 6rem;
    max-width: 48rem;
    margin: 0 auto;
}

.inquiry-box__header {
    background-color: var(--color-gray-100);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.inquiry-box__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inquiry-box__title-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-green-600);
}

.inquiry-box__body {
    padding: 1.5rem;
}

/* 注意書き */
.notice {
    background-color: var(--color-amber-50);
    border-left: 4px solid var(--color-amber-500);
    padding: 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 1.5rem;
}

.notice__text {
    font-size: 0.875rem;
    color: var(--color-amber-800);
    font-weight: 500;
    line-height: 1.75;
}

/* 連絡先情報 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-500);
    margin-bottom: 0.25rem;
}

.contact-info__value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info__icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-green-600);
}

.contact-info__tel {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.contact-info__email {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-green-700);
    transition: color 0.2s;
}

.contact-info__email:hover {
    text-decoration: underline;
}

.contact-info__note {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

/* ============================================
   フッター
   ============================================ */
.site-footer {
    background-color: var(--color-green-700);
    color: var(--color-white);
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.footer-nav__link {
    font-size: 0.875rem;
    color: #dcfce7;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.footer-nav__link:hover {
    color: var(--color-white);
}

.footer-nav__icon {
    width: 0.75rem;
    height: 0.75rem;
    opacity: 0.7;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #dcfce7;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}
