/* やすらぎ整体院 サンプルHP - YTA WEB 制作例 */
/* 配色: グリーン系（清潔感・安心・自然） */

:root {
    --c-primary: #388e3c;
    --c-primary-dark: #2e7d32;
    --c-accent: #66bb6a;
    --c-bg: #ffffff;
    --c-soft: #f1f8f3;
    --c-text: #2c3e2f;
    --c-text-muted: #5d6f5e;
    --c-border: #d4e6d6;
    --c-card: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', -apple-system, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.85;
    font-size: 16px;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Sample bar */
.sample-bar {
    background: #fff8c4;
    border-bottom: 1px solid #e6cc4f;
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
    color: #5d4037;
}
.sample-bar strong { color: #b8860b; }
.sample-bar a { color: var(--c-primary-dark); text-decoration: underline; margin-left: 16px; }

/* Header */
header {
    background: white;
    border-bottom: 1px solid var(--c-border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-primary-dark);
}
.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--c-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-primary-dark);
}
.logo-text .sub {
    display: block;
    font-size: 11px;
    color: var(--c-text-muted);
    letter-spacing: 0.2em;
    font-weight: 400;
}
nav ul { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
nav a {
    color: var(--c-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
nav a:hover, nav a.active { color: var(--c-primary); }

/* Hero */
.hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background:
        linear-gradient(rgba(56, 142, 60, 0.65), rgba(46, 125, 50, 0.6)),
        url('https://images.unsplash.com/photo-1545205597-3d9d02c29597?w=1600&q=70') center/cover;
    color: white;
}
.hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
    letter-spacing: 0.04em;
}
.hero .lead {
    font-size: 17px;
    margin-bottom: 36px;
    opacity: 0.95;
    line-height: 1.8;
}
.hero .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .cta {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--c-primary-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    font-size: 16px;
}
.hero .cta-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Page title */
.page-title {
    background: var(--c-soft);
    padding: 50px 0 30px;
    text-align: center;
    border-bottom: 1px solid var(--c-border);
}
.page-title h1 { font-size: 30px; color: var(--c-primary-dark); margin-bottom: 8px; }
.page-title p { color: var(--c-text-muted); font-size: 14px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--c-soft); }
section h2 {
    font-size: 28px;
    text-align: center;
    color: var(--c-primary-dark);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
section .lead {
    text-align: center;
    color: var(--c-text-muted);
    margin-bottom: 56px;
    font-size: 15px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}
.feature {
    text-align: center;
    padding: 36px 24px;
    background: white;
    border: 1px solid var(--c-border);
    border-top: 4px solid var(--c-primary);
    border-radius: 4px;
}
.feature .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--c-soft);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--c-primary);
}
.feature h3 { font-size: 18px; color: var(--c-primary-dark); margin-bottom: 12px; }
.feature p { font-size: 14px; color: var(--c-text-muted); margin: 0; }

/* Menu items */
.menu-list {
    max-width: 720px;
    margin: 0 auto;
}
.menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--c-border);
    gap: 24px;
}
.menu-row:last-child { border-bottom: none; }
.menu-row-info { flex-grow: 1; }
.menu-row-info h3 {
    font-size: 18px;
    color: var(--c-primary-dark);
    margin-bottom: 4px;
}
.menu-row-info .duration {
    font-size: 12px;
    color: var(--c-text-muted);
    background: var(--c-soft);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}
.menu-row-info p {
    font-size: 14px;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.7;
}
.menu-row-price {
    text-align: right;
    flex-shrink: 0;
}
.menu-row-price .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-primary);
}
.menu-row-price .price-sub {
    font-size: 12px;
    color: var(--c-text-muted);
}

/* Profile */
.profile {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    display: flex;
    gap: 32px;
}
.profile-avatar {
    width: 140px;
    height: 140px;
    background: var(--c-soft);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
}
.profile-info h3 { font-size: 22px; color: var(--c-primary-dark); margin-bottom: 4px; }
.profile-info .role {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
}
.profile-info p { font-size: 14px; line-height: 1.8; margin-bottom: 12px; color: var(--c-text); }

/* Profile detail */
.profile-detail {
    max-width: 720px;
    margin: 32px auto 0;
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--c-border);
}
.profile-detail h4 {
    color: var(--c-primary-dark);
    margin-bottom: 12px;
    font-size: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--c-primary);
}
.profile-detail ul {
    list-style: none;
    padding-left: 16px;
    margin-bottom: 24px;
}
.profile-detail ul li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--c-text-muted);
}
.profile-detail ul li::before {
    content: '・';
    color: var(--c-primary);
    margin-right: 4px;
}

/* Info table */
.info-table {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--c-border);
}
.info-table th, .info-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
    vertical-align: top;
}
.info-table th {
    width: 32%;
    color: var(--c-primary-dark);
    font-weight: 700;
    background: var(--c-soft);
    font-size: 14px;
}
.info-table td { font-size: 15px; }

/* CTA */
.cta-section {
    padding: 70px 0;
    text-align: center;
    background: var(--c-soft);
    border-top: 1px solid var(--c-border);
}
.cta-section h2 { color: var(--c-primary-dark); margin-bottom: 16px; }
.cta-section p { color: var(--c-text-muted); margin-bottom: 24px; }
.tel-large {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: var(--c-primary-dark);
    text-decoration: none;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.tel-large:hover { opacity: 0.85; }
.cta-section .cta {
    display: inline-block;
    padding: 14px 36px;
    background: var(--c-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}
.cta-section .cta:hover { background: var(--c-primary-dark); }

/* Contact form */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 20px; }
.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary-dark);
    margin-bottom: 6px;
}
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background: white;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-submit { text-align: center; margin-top: 32px; }
.form-submit button {
    padding: 14px 48px;
    background: var(--c-primary);
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    border-radius: 4px;
}

/* Footer */
footer {
    background: #1f3522;
    color: rgba(255,255,255,0.85);
    padding: 50px 0 24px;
    font-size: 14px;
}
footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
footer h4 { color: var(--c-accent); margin-bottom: 14px; font-size: 15px; }
footer p { margin-bottom: 6px; line-height: 1.7; font-size: 13px; }
footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
footer .copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.yta-credit {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.yta-credit a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 24px; letter-spacing: 0.02em; }
    .hero .lead { font-size: 14px; }
    section { padding: 50px 0; }
    section h2 { font-size: 22px; }
    .features { grid-template-columns: 1fr; }
    .menu-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .menu-row-price { text-align: left; }
    .profile { flex-direction: column; padding: 24px; align-items: center; text-align: center; }
    nav ul { gap: 14px; font-size: 13px; }
    header .container { flex-direction: column; }
    footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .info-table th, .info-table td { padding: 12px; font-size: 13px; }
    .tel-large { font-size: 24px; }
    .page-title h1 { font-size: 24px; }
}
