@charset "UTF-8";

/* ===================================
   赤石住設（株） - メインスタイルシート
   テーマカラー: グリーン #7abb27 / オレンジ #f47e00 / 背景 #f9f2ea
=================================== */

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background-color: #f9f2ea;
    color: #333;
    font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'MS Pゴシック', sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }

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

ul, ol { list-style: none; }

/* ===== CSS Variables ===== */
:root {
    --green:        #7abb27;
    --green-dark:   #5e9218;
    --green-light:  #daf1bd;
    --orange:       #f47e00;
    --bg:           #f9f2ea;
    --white:        #ffffff;
    --gray-light:   #f5f5f5;
    --text:         #333333;
    --text-muted:   #666666;
    --border:       #e0e0e0;
}

/* ===== Layout ===== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

.section-sm { padding: 40px 0; }

.bg-white  { background: var(--white); }
.bg-light  { background: #f0f7e0; }
.bg-beige  { background: var(--bg); }
.bg-green  { background: var(--green); }

.text-center { text-align: center; }

/* ===== Header ===== */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--green);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 60px;
    width: auto;
}

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

.header-contact { text-align: center; }

.header-tel {
    font-size: 18px;
    font-weight: bold;
    color: var(--text);
    line-height: 1.2;
}

.header-hours {
    font-size: 12px;
    color: var(--text-muted);
}

.header-nav-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.header-nav-btn a {
    display: block;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 20px;
    text-align: center;
}
.header-nav-btn a:hover { opacity: 0.85; }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Global Navigation ===== */
.site-nav {
    background: var(--white);
    border-bottom: 1px solid #ddd;
}

.site-nav > ul {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.site-nav > ul > li {
    display: flex;
    align-items: center;
}

.site-nav > ul > li:not(:first-child)::before {
    content: '／';
    color: #aaa;
    font-size: 14px;
    line-height: 1;
}

.site-nav > ul > li > a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li.current > a {
    background: transparent;
    color: var(--green);
    opacity: 1;
}

/* ===== Floating Nav (LP pages) ===== */
.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0 20px;
}

.floating-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 15px;
}

.floating-tel {
    font-size: 22px;
    font-weight: bold;
    color: var(--green);
}

.floating-sub { font-size: 11px; color: var(--text-muted); }

.floating-nav-links {
    display: flex;
    gap: 0;
}
.floating-nav-links a {
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text);
    border-left: 1px solid var(--border);
}
.floating-nav-links a:first-child { border-left: none; }

.has-floating { padding-top: 70px; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    border-radius: 30px;
    padding: 14px 42px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.1s;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-green {
    background: var(--green);
}

.btn-block { display: block; width: 100%; }
.btn-lg    { padding: 18px 55px; font-size: 18px; }
.btn-sm    { padding: 10px 24px; font-size: 14px; }

.btn-wrap { text-align: center; margin-top: 35px; }

/* ===== Section Headings ===== */
.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: 26px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

/* ===== Double-line heading (TOP page) ===== */
.section-heading-double {
    border-top: 6px double var(--green);
    border-bottom: 6px double var(--green);
    padding: 12px 0;
    margin-bottom: 30px;
}
.section-heading-double h2 {
    padding-bottom: 0;
}
.section-heading-double h2::after {
    display: none;
}

/* ===== Green highlighter marker ===== */
.green-marker {
    background: linear-gradient(transparent 55%, rgba(122, 187, 39, 0.45) 55%);
    padding: 0 3px;
}

/* ===== Staff illust standalone ===== */
.staff-illust-wrap {
    background: var(--bg);
    text-align: center;
    padding: 0 0 5px;
    width: 100%;
    display: block;
}
.staff-illust-wrap img {
    max-height: 200px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.section-heading .sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Arrow heading style */
.heading-arrow {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 12px 40px;
    font-size: 22px;
    font-weight: bold;
    position: relative;
    margin-bottom: 50px;
}
.heading-arrow::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border: 16px solid transparent;
    border-top-color: var(--green);
    border-bottom: none;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: #e8f4d0;
}

.hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
}

.hero-box {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
}

.hero-box h1 {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.9),
                 -2px -2px 4px rgba(255,255,255,0.9),
                 2px -2px 4px rgba(255,255,255,0.9),
                 -2px 2px 4px rgba(255,255,255,0.9);
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    background-color: var(--green);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}
.page-hero h1 {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 20px solid transparent;
    border-top-color: var(--green);
    border-bottom: none;
    z-index: 1;
}

/* ===== Accordion (お知らせ) ===== */
.accordion {
    border-top: 2px solid var(--green);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-title {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    color: var(--text);
    transition: background 0.2s;
    border-left: 5px solid var(--green);
}

.accordion-title:hover { background: #fafafa; }

.accordion-icon {
    font-size: 22px;
    color: var(--green);
    line-height: 1;
    transition: transform 0.3s;
}

.accordion-title.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
    display: none;
    padding: 20px 25px;
    background: #fffdf8;
    border-left: 5px solid var(--green-light);
    line-height: 1.9;
    font-size: 14px;
}

.accordion-body.open { display: block; }

.accordion-body p + p { margin-top: 8px; }

/* ===== Price Section ===== */
.price-section {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--green);
    border-radius: 8px;
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
}

.price-tag {
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 20px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.15em;
    min-width: 52px;
}

.price-content {
    background: var(--white);
    padding: 25px 40px;
    flex: 1;
    text-align: center;
}

.price-content-label {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.price-content-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--orange);
    line-height: 1.2;
}

.price-unit {
    font-size: 18px;
    color: var(--text-muted);
}

.price-content-note {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== About section ===== */
.about-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text { flex: 1; text-align: center; }
.about-text h2 { font-size: 22px; font-weight: bold; margin-bottom: 15px; }
.about-img { flex: 0 0 180px; text-align: center; }
.about-img img { max-height: 160px; width: auto; }

/* ===== Points (選ばれる理由) ===== */
.points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.point-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-top: 5px solid var(--green);
    transition: transform 0.2s;
}

.point-card:hover { transform: translateY(-3px); }

.point-num {
    font-size: 12px;
    font-weight: bold;
    color: var(--white);
    background: var(--green);
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.point-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text);
}

.point-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.point-card p {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

/* ===== Gallery (施工事例プレビュー) ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.gallery-card:hover { transform: translateY(-3px); }

.gallery-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-card-body { padding: 15px; }
.gallery-card-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--green);
}
.gallery-card-desc { font-size: 13px; line-height: 1.6; }

/* ===== Process Steps ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '▶';
    position: absolute;
    right: -12px;
    top: 35px;
    color: var(--green);
    font-size: 16px;
}

.step-badge {
    background: var(--green);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.step-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 3px solid var(--green);
    aspect-ratio: 1;
    object-fit: cover;
}

.step-item h3 {
    font-size: 13px;
    font-weight: bold;
    color: var(--text);
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-top: 5px solid var(--green);
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--green);
}

.testimonial-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
}

.testimonial-text { font-size: 14px; line-height: 1.7; }

.testimonial-author {
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 10px;
}

/* ===== Contact CTA ===== */
.contact-cta {
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 12px;
    padding: 45px;
    text-align: center;
}

.contact-cta-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-tel-large {
    font-size: 40px;
    font-weight: bold;
    color: var(--green);
    margin: 15px 0 5px;
    line-height: 1;
}

.contact-hours-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ===== Map ===== */
.map-wrap { margin: 25px 0; }

.map-wrap iframe {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 10px;
    display: block;
}

/* ===== Tables ===== */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 14px 18px;
    border: 1px solid #ddd;
    font-size: 14px;
    vertical-align: top;
    line-height: 1.8;
}

.info-table th {
    background: var(--green-light);
    color: var(--text);
    font-weight: bold;
    width: 160px;
    white-space: nowrap;
}

.info-table td { background: var(--white); }

.access-table { width: 100%; border-collapse: collapse; }
.access-table th,
.access-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    text-align: left;
}
.access-table th {
    color: var(--green);
    font-weight: bold;
    width: 100px;
    white-space: nowrap;
}

/* ===== Before / After (施工事例) ===== */
.jirei-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.jirei-card-title {
    background: var(--green);
    color: white;
    text-align: center;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: bold;
}
.jirei-card-body {
    display: grid;
    grid-template-columns: 200px 1fr;
}
.jirei-thumb-col {
    padding: 12px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}
.jirei-thumb-col img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #f0f0f0;
    border-radius: 4px;
}
.jirei-mini-label {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 0;
    border-radius: 3px;
}
.jirei-mini-label.before { background: #eee; color: #555; }
.jirei-mini-label.after  { background: #d4edda; color: #1b5e20; }

.jirei-detail-col {
    padding: 18px 20px;
}
.jirei-sub-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    text-align: right;
    margin-bottom: 12px;
}
.jirei-photo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.jirei-photo-row img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #f0f0f0;
    border-radius: 6px;
    border: 1px solid #ddd;
}
.jirei-photo-label {
    text-align: center;
    padding: 4px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    margin-top: 5px;
    display: inline-block;
    width: 100%;
}
.jirei-photo-label.before { background: #eee; color: #555; }
.jirei-photo-label.after  { background: #d4edda; color: #1b5e20; }

.jirei-title-img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* ===== Reasons / Rental ===== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reason-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    border-top: 5px solid var(--green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.reason-num {
    font-size: 13px;
    color: var(--green);
    font-weight: bold;
    margin-bottom: 8px;
}

.reason-card h3 { font-size: 17px; font-weight: bold; }
.reason-card p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ===== Check list ===== */
.check-list { list-style: none; }
.check-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px dotted #ccc;
    font-size: 15px;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--green);
    font-weight: bold;
    font-size: 17px;
}

/* ===== Product Cards ===== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.product-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.product-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.product-cards-4 .product-card img,
.product-card-contain img {
    object-fit: contain;
    background: #f0f0f0;
    padding: 8px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-card-body { padding: 20px; }
.product-card-name { font-size: 16px; font-weight: bold; margin-bottom: 5px; }
.product-card-model { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* 横型カード（給湯器セクション用） */
.product-cards-h {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.product-card-h {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    min-height: 220px;
}
.product-card-h img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
    background: #f0f0f0;
    padding: 10px;
}
.product-card-h .product-card-body {
    padding: 18px 22px;
}

.price-monthly {
    font-size: 22px;
    font-weight: bold;
    color: var(--orange);
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.price-sale {
    font-size: 24px;
    font-weight: bold;
    color: var(--orange);
}

.price-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* ===== Step list (flow) ===== */
.step-flow { list-style: none; }

.step-flow-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-flow-num {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.step-flow-num .step-label {
    font-size: 10px;
    font-weight: bold;
    color: var(--green);
}

.step-flow-num .step-n {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.step-flow-body { flex: 1; padding-top: 5px; }
.step-flow-body h3 { font-weight: bold; margin-bottom: 5px; }
.step-flow-body img {
    width: 100%;
    max-width: 180px;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px solid var(--green);
}

/* ===== Area Table ===== */
.area-table { width: 100%; border-collapse: collapse; }
.area-table th,
.area-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    vertical-align: middle;
}
.area-table th {
    background: var(--green);
    color: var(--white);
    font-weight: bold;
    width: 160px;
}
.area-table td { background: var(--white); }

/* ===== Gallery circle ===== */
.gallery-circle-wrap {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

.gallery-circle-wrap img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--green);
}

/* ===== Divider ===== */
hr.divider {
    border: none;
    border-top: 2px solid var(--green);
    opacity: 0.25;
    margin: 40px 0;
}

/* ===== LP Hero ===== */
.lp-hero {
    background: linear-gradient(135deg, #e8f5d0 0%, #f9f2ea 100%);
    padding: 60px 20px;
    text-align: center;
}

.lp-hero h1 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
}

.lp-hero-images {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

.lp-hero-images img {
    width: 45%;
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== Trouble List (症状) ===== */
.trouble-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.trouble-img img {
    width: 100%;
    border-radius: 10px;
}

/* ===== Form ===== */
.form-embed {
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: 10px;
    padding: 35px;
    max-width: 700px;
    margin: 0 auto;
}

.form-embed iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
}

.form-note { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== CF7 Form Fields ===== */
.cf7-field { margin-bottom: 20px; }

.cf7-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.cf7-field label,
.cf7-row-2col label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}

.cf7-req {
    background: #e53935;
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    font-size: 15px;
    color: #333;
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-bottom-color: var(--orange);
}

.wpcf7-form textarea { min-height: 120px; resize: vertical; }

.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    letter-spacing: 0.1em;
    transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover { background: #d46b00; }

.cf7-accept {
    font-size: 13px;
    color: #555;
    margin: 20px 0 5px;
    text-align: center;
}

.cf7-accept .wpcf7-acceptance { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ===== Privacy accordion ===== */
.privacy-accordion {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 30px;
    overflow: hidden;
}

.privacy-accordion summary {
    background: var(--green);
    color: white;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.privacy-accordion summary::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s;
}

.privacy-accordion[open] summary::after { transform: rotate(180deg); }

.privacy-accordion summary::-webkit-details-marker { display: none; }

.privacy-content {
    padding: 25px 30px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
}

.privacy-content h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 18px 0 6px;
    color: #333;
}

.privacy-content p,
.privacy-content li {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

.privacy-content ol {
    list-style: decimal;
    padding-left: 20px;
}

/* legacy .privacy-section (keeping for compat) */
.privacy-section {
    background: var(--white);
    border-radius: 10px;
    padding: 35px;
    margin-top: 40px;
}
.privacy-section h2 { font-size: 20px; font-weight: bold; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.privacy-section h3 { font-size: 16px; font-weight: bold; margin: 20px 0 8px; }
.privacy-section p, .privacy-section li { font-size: 14px; line-height: 1.8; color: #555; }
.privacy-section ol { list-style: decimal; padding-left: 20px; }

/* ===== Maker logos ===== */
.maker-img {
    text-align: center;
    margin: 30px 0;
}
.maker-img img {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}

/* ===== Notice box ===== */
.notice-box {
    background: #fff3e0;
    border-left: 5px solid var(--orange);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    margin: 15px 0;
}

/* ===== Highlight box ===== */
.highlight-box {
    background: var(--green-light);
    border-radius: 10px;
    padding: 30px;
    margin: 25px 0;
}

/* ===== Footer ===== */
.site-footer {
    background: #2d2d2d;
    color: #ccc;
    padding: 50px 20px 25px;
    margin-top: 0;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin-bottom: 25px;
}

.footer-nav a {
    font-size: 14px;
    color: #aaa;
}

.footer-nav a:hover { color: var(--white); opacity: 1; }

.footer-address {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: #777;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .points-grid  { grid-template-columns: repeat(2, 1fr); }
    .steps-grid   { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Header */
    .hamburger { display: flex; }
    .header-nav-btn { display: none; }
    .header-right { padding: 0 10px; }
    .site-nav { display: none; }
    .site-nav.open { display: block; }
    .site-nav > ul { flex-direction: column; justify-content: flex-start; }
    .site-nav > ul > li:not(:first-child)::before { display: none; }
    .site-nav > ul > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        color: var(--text);
    }

    /* Hero */
    .hero-box { padding: 20px; }
    .hero-box h1 { font-size: 20px; }

    /* Layout */
    .about-inner { flex-direction: column; }
    .about-img { order: 1; }

    /* Grids */
    .points-grid  { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid   { grid-template-columns: repeat(2, 1fr); }
    .product-cards,
    .product-cards-3,
    .product-cards-4,
    .product-cards-h { grid-template-columns: 1fr; }
    .product-card-h { grid-template-columns: 140px 1fr; min-height: 140px; }
    .product-card-h img { width: 140px; height: 140px; }
    .reasons-grid { grid-template-columns: 1fr; }
    .trouble-wrap { grid-template-columns: 1fr; }
    .jirei-card-body { grid-template-columns: 1fr; }
    .jirei-thumb-col { border-right: none; border-bottom: 1px solid #eee; flex-direction: row; flex-wrap: wrap; }
    .jirei-thumb-col img { width: calc(50% - 3px); }
    .jirei-photo-row { grid-template-columns: 1fr 1fr; }

    /* Text */
    .contact-tel-large { font-size: 30px; }
    .hero-box h1 { font-size: 18px; }
    .section-heading h2 { font-size: 22px; }
    .lp-hero h1 { font-size: 24px; }
    .lp-hero-images img { width: 100%; }

    /* Tables */
    .info-table th { width: 110px; font-size: 13px; }
    .info-table td { font-size: 13px; }

    /* Floating */
    .floating-nav-links { display: none; }

    .section { padding: 50px 0; }
}

@media (max-width: 480px) {
    .gallery-grid  { grid-template-columns: 1fr; }
    .steps-grid    { grid-template-columns: 1fr; }
    .step-item:not(:last-child)::after { display: none; }
    .section { padding: 35px 0; }
    .contact-cta { padding: 30px 20px; }
    .contact-tel-large { font-size: 26px; }
    .hero img { max-height: 250px; }
    .page-hero { min-height: 200px; }
    .page-hero h1 { font-size: 22px; }
    .map-wrap iframe { height: 250px; }
}

/* ============================================
   LP PAGE SPECIFIC (Peraichi Layout Match)
   ============================================ */

/* Hero - 2カラム（左テキスト・右画像） */
.lp-hero {
    position: relative;
    background-color: #0d2b4e;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 0;
    overflow: hidden;
    min-height: 350px;
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 20px;
    gap: 30px;
}

.lp-hero-text h1 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
    color: white;
    margin-bottom: 15px;
}

.lp-hero-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.lp-hero-right {
    position: relative;
}

.lp-hero-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lp-hero-imgs img {
    border-radius: 8px;
    width: 100%;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lp-badge {
    position: absolute;
    top: -20px;
    right: -15px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 5;
    border: 3px solid rgba(255,255,255,0.4);
}

/* LP Section Bar（全幅カラーヘッダー） */
.lp-bar {
    background: #00bcd4;
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* LP Section（バーを上端に配置） */
.lp-section {
    padding: 0 0 60px 0;
}

/* ダークCTAボックス */
.dark-cta {
    background: #1a2d4e;
    color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.dark-cta h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.dark-cta .tel-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.dark-cta .tel-label {
    font-size: 14px;
    font-weight: bold;
}

.dark-cta .tel-num {
    font-size: 24px;
    font-weight: bold;
    color: var(--orange);
}

/* 理由リスト（縦並び） */
.reason-list-v {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.reason-list-v li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.reason-tag {
    background: #00bcd4;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.reason-list-v .reason-body h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.reason-list-v .reason-body p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 症状グリッド（チェックリスト＋中央画像） */
.trouble-grid {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    gap: 15px;
    align-items: center;
    max-width: 720px;
    margin: 0 auto 20px;
}

.trouble-grid .check-list li {
    font-size: 14px;
}

.trouble-center img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

/* ステップ縦並びカード */
.step-list-v {
    max-width: 700px;
    margin: 0 auto;
}

.step-card {
    display: grid;
    grid-template-columns: 80px 1fr 160px;
    gap: 15px;
    align-items: center;
    border: 2px solid var(--green);
    border-radius: 8px;
    padding: 18px 20px;
    background: white;
    margin-bottom: 4px;
}

.step-arrow {
    text-align: center;
    color: var(--green);
    font-size: 20px;
    margin-bottom: 4px;
}

.step-circle {
    background: #00bcd4;
    color: white;
    border-radius: 50%;
    width: 68px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.3;
    flex-shrink: 0;
}

.step-circle .num {
    font-size: 26px;
    line-height: 1;
    display: block;
}

.step-card-text h3 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
}

.step-card-img img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

/* LP page area-table override */
.lp-section .area-table th {
    background: #00bcd4;
}

/* LP sub-section bar */
.lp-sub-bar {
    background: #00bcd4;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    margin: 35px 0 25px 0;
    border-radius: 4px;
}
.lp-sub-bar:first-child { margin-top: 0; }

/* LP dashed border box */
.lp-dashed-box {
    border: 2px dashed #00bcd4;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 20px 0;
    background: #f7feff;
}

/* Responsive LP */
@media (max-width: 768px) {
    .lp-hero-inner { grid-template-columns: 1fr; padding: 30px 20px; }
    .lp-badge { top: auto; right: 10px; bottom: 10px; }
    .trouble-grid { grid-template-columns: 1fr; }
    .trouble-center { order: -1; }
    .trouble-center img { width: 100%; height: 180px; }
    .step-card { grid-template-columns: 70px 1fr; }
    .step-card-img { display: none; }
}
