/*
Theme Name: Sasebo Waterproofing
Theme URI: https://example.com/
Author: BANRI LLC
Author URI: https://example.com/
Description: 佐世保市・長崎県の防水工事会社向け 1枚LP型 WordPressテーマ。カスタマイザーで全項目編集可能。AIOSEO対応。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saseboWP
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
    color: #1a2332;
    line-height: 1.75;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== Top Bar ===== */
.topbar {
    background: linear-gradient(90deg,#ff6b35,#e63946);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.topbar a { text-decoration: underline; font-weight: 800; color: #fff; }

/* ===== Header ===== */
.header {
    position: sticky; top: 0;
    background: #fff;
    z-index: 100;
    border-bottom: 2px solid #0a3d6b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 0;
    padding: 0;
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 6px 16px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
}
.logo { font-weight: 800; font-size: 16px; color: #0a3d6b; line-height: 1.2; display: inline-flex; align-items: center; }
.logo small { display: block; font-size: 9px; color: #6b7b8c; font-weight: 500; letter-spacing: 0.1em; margin-top: 2px; }
.logo img { max-height: 44px; width: auto; display: block; }
.logo .custom-logo-link img { max-height: 44px; width: auto; }
.header-right { display: flex; align-items: center; gap: 8px; }
.header-tel { display: none; text-align: right; font-weight: 800; color: #0a3d6b; font-size: 20px; line-height: 1.1; }
.header-tel small { display: block; font-size: 10px; color: #6b7b8c; font-weight: 600; }
.btn-head { background: #ff6b35 !important; color: #fff !important; padding: 10px 14px; border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
@media (min-width: 768px) {
    .logo { font-size: 20px; }
    .header-tel { display: block; }
    .btn-head { padding: 12px 20px; font-size: 14px; }
}

/* ===== Hero Image ===== */
.hero-image {
    width: 100%;
    line-height: 0;
    background: #0a3d6b;
    margin: 0;
    padding: 0;
}
.hero-image picture,
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 40px 16px 50px;
    background: linear-gradient(135deg,#0a3d6b 0%,#0a6fb8 60%,#1a8fd9 100%);
    color: #fff;
    overflow: hidden;
}
.hero::before { content:""; position:absolute; top:-50%; right:-30%; width:500px; height:500px; background:radial-gradient(circle,rgba(255,193,7,0.15) 0%,transparent 70%); border-radius:50%; }
.hero::after { content:""; position:absolute; bottom:-50%; left:-20%; width:400px; height:400px; background:radial-gradient(circle,rgba(255,255,255,0.08) 0%,transparent 70%); border-radius:50%; }
.hero .container { position: relative; z-index: 2; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero-badge { background:#ffc107; color:#0a3d6b; padding:5px 12px; border-radius:100px; font-size:11px; font-weight:800; letter-spacing:0.05em; }
.hero-location { display:inline-block; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.4); padding:4px 12px; border-radius:4px; font-size:11px; font-weight:700; margin-bottom:16px; letter-spacing:0.08em; color: #fff; }
.hero h1 { font-size: 26px; font-weight: 900; line-height: 1.35; margin-bottom: 20px; color: #fff; }
.hero h1 .marker { background: linear-gradient(transparent 60%,#ffc107 60%); padding: 0 2px; }
.hero h1 .big { font-size: 1.3em; color: #ffc107; }
.hero-sub { font-size: 14px; margin-bottom: 24px; line-height: 1.7; opacity: 0.95; }
.hero-points { background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); border-radius:10px; padding:18px 16px; margin-bottom:24px; list-style:none; }
.hero-points li { padding:6px 0 6px 28px; position:relative; font-size:14px; font-weight:600; }
.hero-points li::before { content:""; position:absolute; left:0; top:9px; width:14px; height:14px; background:#ffc107; border-radius:50%; }
.hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
.btn-cta-main { background:#ff6b35 !important; color:#fff !important; padding:16px; border-radius:8px; font-weight:800; font-size:15px; text-align:center; box-shadow:0 6px 16px rgba(255,107,53,0.5); }
.btn-cta-tel { background:#fff !important; color:#0a3d6b !important; padding:12px; border-radius:8px; text-align:center; font-weight:900; }
.btn-cta-tel .num { font-size:22px; letter-spacing:0.02em; display:block; }
.btn-cta-tel small { display:block; font-size:10px; font-weight:600; color:#6b7b8c; margin-top:2px; }
@media (min-width: 768px) {
    .hero { padding: 70px 20px 80px; }
    .hero h1 { font-size: 42px; }
    .hero-sub { font-size: 16px; }
    .hero-cta { grid-template-columns: 1fr 1fr; max-width: 700px; }
}

/* ===== Numbers ===== */
.numbers { background: #fff; padding: 30px 16px; border-bottom: 1px dashed #dae1e8; }
.numbers-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; text-align: center; }
.num-box { padding: 12px 8px; }
.num-box .label { display:block; font-size:11px; font-weight:700; color:#6b7b8c; margin-bottom:4px; letter-spacing:0.08em; }
.num-box .val { display:block; font-size:28px; font-weight:900; color:#0a3d6b; line-height:1; }
.num-box .val .unit { font-size:14px; color:#0a6fb8; margin-left:2px; }
.num-box .val .plus { color:#ff6b35; margin-left:2px; }
@media (min-width: 640px) {
    .numbers-inner { grid-template-columns: repeat(4,1fr); }
    .num-box .val { font-size: 36px; }
}

/* ===== Recruit Banner ===== */
.recruit-banner { background: linear-gradient(135deg,#ffc107 0%,#ff6b35 100%); padding: 24px 16px; color: #fff; position: relative; overflow: hidden; }
.recruit-banner-inner { max-width:1000px; margin:0 auto; position:relative; z-index:2; display:grid; grid-template-columns:1fr; gap:16px; align-items:center; }
.recruit-banner .tag { display:inline-block; background:#0a3d6b; color:#fff; padding:4px 12px; font-size:11px; font-weight:800; border-radius:4px; margin-bottom:8px; letter-spacing:0.1em; }
.recruit-banner h2 { font-size:22px; font-weight:900; line-height:1.35; margin-bottom:8px; color:#fff; }
.recruit-banner p { font-size:13px; font-weight:600; opacity:0.95; color: #fff; }
.recruit-btn { background:#fff !important; color:#ff6b35 !important; padding:14px 20px; border-radius:8px; font-weight:900; font-size:14px; text-align:center; box-shadow:0 4px 12px rgba(0,0,0,0.15); }
@media (min-width: 768px) {
    .recruit-banner { padding: 32px 20px; }
    .recruit-banner-inner { grid-template-columns: 1fr auto; gap: 30px; }
    .recruit-banner h2 { font-size: 28px; }
}

/* ===== Sections ===== */
section { padding: 60px 16px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .en { display:block; color:#0a6fb8; font-size:12px; font-weight:800; letter-spacing:0.2em; margin-bottom:6px; }
.section-head h2 { font-size:24px; font-weight:900; color:#0a3d6b; line-height:1.4; }
.section-head h2 .marker { background: linear-gradient(transparent 60%,#ffc107 60%); padding: 0 3px; }
.section-head h2::after { content:""; display:block; width:40px; height:3px; background:#ff6b35; margin:14px auto 0; }
@media (min-width: 768px) {
    section { padding: 80px 20px; }
    .section-head h2 { font-size: 32px; }
}

/* ===== News Latest ===== */
.news-latest { background: #f7f9fc; }
.news-list { max-width: 800px; margin: 0 auto; }
.news-list li { border-bottom: 1px solid #e4ebf3; }
.news-list li a { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:16px 4px; transition: background .2s; }
.news-list li a:hover { background:#fff; }
.news-date { color:#6b7b8c; font-size:12px; font-weight:700; letter-spacing:0.05em; flex-shrink:0; }
.news-cat { background:#0a3d6b; color:#fff; font-size:11px; font-weight:800; padding:3px 10px; border-radius:4px; flex-shrink:0; }
.news-title { font-size:14px; font-weight:700; color:#1a2332; flex:1; min-width:100%; }
.news-more { text-align:center; margin-top:24px; }
.news-more a { color:#0a6fb8; font-weight:800; font-size:14px; }
.news-more a:hover { color:#ff6b35; }
@media (min-width: 640px) {
    .news-title { min-width: 0; }
}

/* ===== Problems ===== */
.problems { background: #f4f7fb; position: relative; }
.problems::after { content:""; position:absolute; bottom:-20px; left:50%; transform:translateX(-50%); width:0; height:0; border-left:25px solid transparent; border-right:25px solid transparent; border-top:25px solid #f4f7fb; z-index:2; }
.problems-lead { text-align:center; font-size:18px; font-weight:800; color:#0a3d6b; margin-bottom:30px; line-height:1.5; }
.problems-lead .highlight { color: #e63946; }
.problems-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 700px; margin: 0 auto; }
.problem-item { background:#fff; border:2px solid #dae1e8; border-radius:10px; padding:16px 16px 16px 52px; font-size:14px; font-weight:600; position:relative; }
.problem-item::before { content:"!"; position:absolute; left:14px; top:50%; transform:translateY(-50%); width:28px; height:28px; background:#e63946; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:16px; }
@media (min-width: 640px) {
    .problems-grid { grid-template-columns: repeat(2,1fr); }
    .problems-lead { font-size: 22px; }
}

/* ===== Solution / Reasons ===== */
.solution { background: linear-gradient(180deg,#0a3d6b 0%,#0a6fb8 100%); color: #fff; padding-top: 80px; }
.solution .section-head h2 { color: #fff; }
.solution .section-head .en { color: #ffc107; }
.solution-lead { text-align:center; font-size:18px; font-weight:800; margin-bottom:30px; line-height:1.5; color: #fff; }
.solution-lead .big { display:block; font-size:1.4em; color:#ffc107; margin-top:8px; }
.reasons-list { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.reason { background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.15); border-radius:14px; padding:24px 20px; position:relative; }
.reason-num { position:absolute; top:-16px; left:20px; background:#ffc107; color:#0a3d6b; font-weight:900; font-size:14px; padding:6px 14px; border-radius:100px; letter-spacing:0.05em; }
.reason h3 { font-size:20px; font-weight:900; margin:12px 0 10px; line-height:1.4; color: #fff; }
.reason h3 .marker { background: linear-gradient(transparent 60%,rgba(255,193,7,0.5) 60%); padding: 0 3px; }
.reason p { font-size:14px; opacity:0.92; line-height:1.75; color: #fff; }
@media (min-width: 768px) {
    .solution-lead { font-size: 24px; }
    .reason h3 { font-size: 22px; }
}

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service-card { background:#fff; border:1px solid #eaeef3; border-radius:12px; padding:24px 20px; position:relative; overflow:hidden; }
.service-card::before { content:""; position:absolute; top:0; left:0; width:5px; height:100%; background: linear-gradient(180deg,#0a6fb8,#0a3d6b); }
.service-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.service-icon { width:48px; height:48px; background: linear-gradient(135deg,#0a6fb8,#0a3d6b); border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px; font-weight:900; flex-shrink:0; }
.service-card h3 { font-size:17px; font-weight:900; color:#0a3d6b; line-height:1.3; }
.service-card p { font-size:13px; color:#5a6b7c; margin-bottom:12px; }
.service-meta { display:flex; gap:8px; flex-wrap:wrap; padding-top:12px; border-top:1px dashed #dae1e8; }
.service-meta span { background:#eaf4fb; color:#0a6fb8; padding:3px 10px; border-radius:4px; font-size:11px; font-weight:700; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

/* ===== Area ===== */
.area { background: #f4f7fb; }
.area-map-box { background:#fff; border:2px solid #0a6fb8; border-radius:14px; padding:24px 20px; max-width:900px; margin:0 auto; }
.area-map-box h3 { text-align:center; font-size:18px; font-weight:900; color:#0a3d6b; margin-bottom:20px; }
.area-tags { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:20px; }
.area-tag { background:#0a3d6b; color:#fff; padding:6px 14px; border-radius:6px; font-size:13px; font-weight:700; }
.area-tag.main { background:#ff6b35; font-size:14px; padding:8px 18px; }
.area-note { text-align:center; font-size:13px; color:#5a6b7c; padding-top:16px; border-top:1px dashed #dae1e8; }

/* ===== Works ===== */
.works-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.work-card { background:#fff; border:1px solid #eaeef3; border-radius:14px; overflow:hidden; box-shadow:0 2px 10px rgba(10,61,107,0.06); display:block; transition: transform .2s; color: inherit; }
.work-card:hover { transform: translateY(-3px); }
.work-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #dae1e8; }
.ba-img { aspect-ratio: 4/3; position: relative; }
.ba-img::before { content:attr(data-label); position:absolute; top:8px; left:8px; background:rgba(10,61,107,0.9); color:#fff; padding:3px 10px; font-size:11px; font-weight:800; border-radius:4px; z-index:2; }
.ba-img.after::before { background: rgba(255,107,53,0.95); }
.ba-before { background: repeating-linear-gradient(45deg,#5a6b7c 0 8px,#6b7b8c 8px 16px); }
.ba-after-1 { background: linear-gradient(135deg,#4a7ba8,#6b9ac7); }
.ba-after-2 { background: linear-gradient(135deg,#3d6b94,#5a8db8); }
.ba-after-3 { background: linear-gradient(135deg,#2d5278,#4a7ba8); }
.work-body { padding: 18px; }
.work-cat { display:inline-block; background:#eaf4fb; color:#0a6fb8; padding:3px 10px; border-radius:4px; font-size:11px; font-weight:800; margin-bottom:10px; }
.work-body h3 { font-size:16px; font-weight:800; color:#0a3d6b; margin-bottom:8px; line-height:1.4; }
.work-body p { font-size:13px; color:#6b7b8c; }
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .works-grid { grid-template-columns: repeat(3,1fr); } }

/* ===== Price ===== */
.price { background: #f4f7fb; }
.price-table-box { max-width:800px; margin:0 auto; background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 4px 16px rgba(10,61,107,0.08); }
.price-row { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #eaeef3; }
.price-row:last-child { border-bottom: none; }
.price-row.header { background: linear-gradient(90deg,#0a3d6b,#0a6fb8); color:#fff; font-weight:800; }
.price-row > div { padding:14px 16px; font-size:13px; }
.price-row > div:first-child { font-weight:700; color:#0a3d6b; background:#f7f9fc; }
.price-row.header > div { background: transparent; color: #fff; }
.price-row > div:last-child { color:#ff6b35; font-weight:800; }
.price-row.header > div:last-child { color: #ffc107; }
.price-note { max-width:800px; margin:16px auto 0; font-size:12px; color:#6b7b8c; text-align:center; }
@media (min-width: 640px) {
    .price-row > div { font-size: 15px; padding: 16px 20px; }
}

/* ===== Voice ===== */
.voice-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.voice-card { background:#fff; border-radius:14px; padding:24px 20px; border:1px solid #eaeef3; box-shadow:0 2px 10px rgba(10,61,107,0.06); position:relative; }
.voice-stars { color:#ff6b35; font-size:13px; margin-bottom:10px; letter-spacing:0.05em; font-weight: 900; }
.voice-card h3 { font-size:16px; font-weight:800; color:#0a3d6b; margin-bottom:12px; line-height:1.4; }
.voice-card p { font-size:13px; color:#3a4a5c; margin-bottom:14px; line-height:1.75; }
.voice-meta { font-size:12px; color:#6b7b8c; padding-top:12px; border-top:1px dashed #dae1e8; }
@media (min-width: 768px) { .voice-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== Flow ===== */
.flow { background: #f4f7fb; }
.flow-list { max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.flow-item { background:#fff; border-radius:12px; padding:20px; display:flex; gap:16px; align-items:flex-start; box-shadow:0 2px 8px rgba(10,61,107,0.06); }
.flow-step { flex-shrink:0; width:50px; height:50px; background: linear-gradient(135deg,#0a6fb8,#0a3d6b); color:#fff; border-radius:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; font-weight:900; line-height:1; }
.flow-step small { font-size:9px; opacity:0.9; margin-bottom:2px; }
.flow-step span { font-size: 18px; }
.flow-body h3 { font-size:16px; font-weight:800; color:#0a3d6b; margin-bottom:4px; }
.flow-body p { font-size: 13px; color: #5a6b7c; }

/* ===== FAQ ===== */
.faq-list { max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:#fff; border:1px solid #eaeef3; border-radius:10px; overflow:hidden; }
.faq-q { padding:16px 20px 16px 52px; font-size:14px; font-weight:800; color:#0a3d6b; position:relative; background:#f7f9fc; }
.faq-q::before { content:"Q"; position:absolute; left:16px; top:50%; transform:translateY(-50%); width:26px; height:26px; background:#0a3d6b; color:#fff; border-radius:50%; font-size:12px; font-weight:900; display:flex; align-items:center; justify-content:center; }
.faq-a { padding:16px 20px 16px 52px; font-size:13px; color:#3a4a5c; position:relative; line-height:1.8; }
.faq-a::before { content:"A"; position:absolute; left:16px; top:16px; width:26px; height:26px; background:#ff6b35; color:#fff; border-radius:50%; font-size:12px; font-weight:900; display:flex; align-items:center; justify-content:center; }

/* ===== Recruit Full ===== */
.recruit-full { background: linear-gradient(135deg,#0a3d6b 0%,#0a6fb8 50%,#1a4d7a 100%); color:#fff; position:relative; overflow:hidden; }
.recruit-full::before { content:""; position:absolute; top:10%; right:-10%; width:400px; height:400px; background:radial-gradient(circle,rgba(255,193,7,0.15),transparent 70%); border-radius:50%; }
.recruit-full .container { position: relative; z-index: 2; }
.recruit-full .section-head h2 { color: #fff; }
.recruit-full .section-head .en { color: #ffc107; }
.recruit-inner { max-width: 900px; margin: 0 auto; }
.recruit-lead { text-align:center; font-size:16px; margin-bottom:32px; opacity:0.95; line-height:1.8; color: #fff; }
.recruit-lead strong { color:#ffc107; font-size:1.15em; }
.recruit-table { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); border-radius:14px; overflow:hidden; margin-bottom:28px; }
.recruit-row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid rgba(255,255,255,0.1); }
.recruit-row:last-child { border-bottom: none; }
.recruit-row dt { padding:14px 16px; font-weight:800; font-size:13px; color:#ffc107; background:rgba(0,0,0,0.15); }
.recruit-row dd { padding:14px 16px; font-size:13px; line-height:1.7; color: #fff; }
.recruit-cta { text-align: center; }
.recruit-cta .btn { display:inline-block; background:#ffc107 !important; color:#0a3d6b !important; padding:16px 40px; border-radius:8px; font-weight:900; font-size:15px; box-shadow:0 6px 16px rgba(0,0,0,0.2); }
@media (min-width: 768px) {
    .recruit-row { grid-template-columns: 150px 1fr; }
    .recruit-row dt, .recruit-row dd { font-size: 14px; padding: 16px 20px; }
    .recruit-lead { font-size: 18px; }
}

/* ===== Company ===== */
.company-table { max-width:800px; margin:0 auto; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 10px rgba(10,61,107,0.06); border:1px solid #eaeef3; }
.company-row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid #eaeef3; }
.company-row:last-child { border-bottom: none; }
.company-row dt { background:#f7f9fc; padding:14px 16px; font-weight:800; font-size:13px; color:#0a3d6b; }
.company-row dd { padding: 14px 16px; font-size: 13px; color: #3a4a5c; }
@media (min-width: 768px) {
    .company-row { grid-template-columns: 160px 1fr; }
    .company-row dt, .company-row dd { font-size: 14px; padding: 16px 20px; }
}

/* ===== Final CTA ===== */
.final-cta { background: linear-gradient(135deg,#ff6b35 0%,#e63946 100%); color:#fff; text-align:center; padding:60px 16px; }
.final-cta h2 { font-size:24px; font-weight:900; margin-bottom:14px; line-height:1.4; color: #fff; }
.final-cta h2 .big { display:block; font-size:1.3em; color:#ffc107; margin-top:6px; }
.final-cta p { font-size:14px; opacity:0.95; margin-bottom:30px; max-width:600px; margin-left:auto; margin-right:auto; color: #fff; }
.final-cta-box { max-width:500px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.final-tel { background:#fff; color:#0a3d6b; padding:20px; border-radius:12px; box-shadow:0 6px 16px rgba(0,0,0,0.15); }
.final-tel small { display:block; font-size:11px; color:#6b7b8c; font-weight:700; margin-bottom:4px; }
.final-tel .num { font-size:30px; font-weight:900; letter-spacing:0.02em; color:#0a3d6b; }
.final-tel .hours { font-size:11px; color:#6b7b8c; margin-top:4px; font-weight:600; }
.final-form { background:#0a3d6b !important; color:#fff !important; padding:20px; border-radius:12px; font-weight:900; font-size:16px; box-shadow:0 6px 16px rgba(0,0,0,0.15); display: block; text-align: center; }
@media (min-width: 768px) { .final-cta h2 { font-size: 32px; } }

/* ===== Footer ===== */
.footer { background: #fff; color: #1a2332; padding: 40px 16px 20px; border-top: 1px solid #eaeef3; }
.footer a { color: #1a2332; }
.footer-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:26px; margin-bottom:24px; }
.footer-brand { font-size:18px; font-weight:800; color:#0a3d6b; margin-bottom:10px; }
.footer-brand small { display:block; font-size:10px; color:#6b7b8c; font-weight:500; letter-spacing:0.15em; margin-top:2px; }
.footer-col p { font-size: 12px; margin-bottom: 3px; color: #5a6b7c; }
.footer-col h4 { color:#0a3d6b; font-size:14px; margin-bottom:12px; letter-spacing:0.05em; }
.footer-col li { font-size: 12px; padding: 3px 0; }
.footer-col a:hover { color: #0a6fb8; }
.footer-bottom { border-top: 1px solid #eaeef3; padding-top: 16px; font-size: 11px; text-align: center; color: #6b7b8c; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

/* ===== Floating Bar ===== */
.fb { position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid #eaeef3; display:grid; grid-template-columns:1fr 1fr; z-index:99; box-shadow:0 -4px 12px rgba(0,0,0,0.08); }
.fb a { padding:12px 8px; text-align:center; font-weight:800; font-size:13px; color:#fff !important; display:flex; align-items:center; justify-content:center; gap:6px; }
.fb .fb-t { background: #0a3d6b; }
.fb .fb-f { background: #ff6b35; }
@media (min-width: 960px) {
    .fb { display: none; }
    body { padding-bottom: 0; }
}

/* ============================================================
   Page Layouts
============================================================ */

.page-hero { background: linear-gradient(135deg,#0a3d6b,#0a6fb8); color:#fff; padding: 50px 16px 40px; text-align:center; }
.page-hero h1 { font-size:26px; font-weight:900; margin-bottom:8px; color: #fff; }
.page-hero .en { font-size:11px; font-weight:800; letter-spacing:0.2em; color:#ffc107; }
@media (min-width: 768px) {
    .page-hero { padding: 80px 20px 60px; }
    .page-hero h1 { font-size: 36px; }
}

.bc { max-width:1100px; margin:0 auto; padding:14px 16px; font-size:12px; color:#6b7b8c; }
.bc a { color:#0a6fb8; }
.bc span { margin:0 6px; color:#c4ccd5; }

.page-content { max-width: 800px; margin: 0 auto; padding: 40px 16px 60px; }
.page-content h2 { font-size: 20px; font-weight: 900; color: #0a3d6b; margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid #ff6b35; }
.page-content h3 { font-size: 17px; font-weight: 800; color: #0a3d6b; margin: 24px 0 10px; }
.page-content p { font-size: 14px; margin-bottom: 16px; line-height: 1.9; }
.page-content ul, .page-content ol { margin: 0 0 16px 22px; list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { font-size: 14px; margin-bottom: 8px; line-height: 1.8; }
.page-content a { color: #0a6fb8; text-decoration: underline; }
.page-content img { border-radius: 6px; margin: 12px 0; }
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.page-content th, .page-content td { padding: 10px 12px; border: 1px solid #eaeef3; text-align: left; }
.page-content th { background: #f7f9fc; font-weight: 700; color: #0a3d6b; }

.archive-wrap { max-width: 900px; margin: 0 auto; padding: 40px 16px 60px; }
.archive-news-list { background: #fff; border: 1px solid #eaeef3; border-radius: 12px; overflow: hidden; }
.archive-news-list li { border-bottom: 1px solid #eaeef3; }
.archive-news-list li:last-child { border-bottom: none; }
.archive-news-list li a { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:18px 16px; transition: background .2s; }
.archive-news-list li a:hover { background: #f7f9fc; }

.single-news-article { max-width: 800px; margin: 0 auto; padding: 40px 16px 60px; }
.single-news-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.single-news-meta .news-date { color: #6b7b8c; font-size: 13px; font-weight: 700; }
.single-news-article h1 { font-size: 22px; font-weight: 900; color: #0a3d6b; line-height: 1.4; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #0a3d6b; }
.single-news-body { font-size: 14px; line-height: 1.9; }
.single-news-body h2, .single-news-body h3 { margin: 26px 0 12px; color: #0a3d6b; }
.single-news-body p { margin-bottom: 16px; }
.single-news-body img { border-radius: 6px; margin: 14px 0; }
.back-link { text-align: center; margin-top: 40px; }
.back-link a { display: inline-block; background: #0a3d6b; color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 800; font-size: 13px; }

.works-archive-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1100px; margin: 0 auto; padding: 40px 16px 60px; }
@media (min-width: 640px) { .works-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .works-archive-grid { grid-template-columns: repeat(3, 1fr); } }

.single-works-article { max-width: 900px; margin: 0 auto; padding: 30px 16px 60px; }
.single-works-article h1 { font-size: 22px; font-weight: 900; color: #0a3d6b; line-height: 1.4; margin-bottom: 16px; }
.single-works-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.single-works-meta .tag { background: #eaf4fb; color: #0a6fb8; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.single-works-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #dae1e8; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.single-works-ba .ba-img { aspect-ratio: 4/3; background-size: cover; background-position: center; position: relative; }
.single-works-body { font-size: 14px; line-height: 1.9; }
.single-works-body h2, .single-works-body h3 { margin: 26px 0 12px; color: #0a3d6b; }
.single-works-body p { margin-bottom: 16px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; background: #fff; border: 1px solid #eaeef3; border-radius: 6px; font-size: 13px; font-weight: 700; color: #0a3d6b; }
.pagination .current { background: #0a3d6b; color: #fff; border-color: #0a3d6b; }
.pagination a:hover { background: #f7f9fc; }

.form-wrap { max-width: 700px; margin: 0 auto; padding: 40px 16px 60px; }
.form-intro { background: #f4f7fb; border-left: 4px solid #0a6fb8; padding: 16px 18px; margin-bottom: 30px; font-size: 14px; line-height: 1.8; border-radius: 4px; }

/* ===== 独自フォーム ===== */
.sw-form-errors {
    background: #fff3f3;
    border: 2px solid #e63946;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    color: #c41e2e;
    font-size: 13px;
}
.sw-form-errors strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #c41e2e;
}
.sw-form-errors ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}
.sw-form-errors li { margin: 2px 0; }

.sw-form { background: #fff; }
.sw-field {
    margin-bottom: 22px;
}
.sw-field label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #0a3d6b;
    margin-bottom: 8px;
}
.sw-req {
    background: #e63946;
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 800;
    vertical-align: middle;
}
.sw-opt {
    background: #c4ccd5;
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 800;
    vertical-align: middle;
}
.sw-field input[type="text"],
.sw-field input[type="tel"],
.sw-field input[type="email"],
.sw-field textarea,
.sw-field select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #dae1e8;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #1a2332;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.sw-field select {
    background-image: linear-gradient(45deg, transparent 50%, #0a6fb8 50%), linear-gradient(135deg, #0a6fb8 50%, transparent 50%);
    background-position: calc(100% - 18px) center, calc(100% - 13px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}
.sw-field input:focus,
.sw-field textarea:focus,
.sw-field select:focus {
    outline: none;
    border-color: #0a6fb8;
    box-shadow: 0 0 0 3px rgba(10, 111, 184, 0.15);
}
.sw-field textarea {
    min-height: 140px;
    resize: vertical;
}
.sw-radio-group {
    display: flex;
    gap: 24px;
    padding: 6px 0;
}
.sw-radio-group label {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #1a2332;
    cursor: pointer;
    margin-bottom: 0;
}
.sw-radio-group input[type="radio"] {
    margin-right: 6px;
    transform: scale(1.3);
    accent-color: #0a6fb8;
}
.sw-privacy {
    background: #f7f9fc;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 12px;
    color: #5a6b7c;
    margin: 24px 0;
    line-height: 1.7;
}
.sw-privacy a {
    color: #0a6fb8;
    text-decoration: underline;
    font-weight: 700;
}
.sw-submit-row {
    text-align: center;
    margin-top: 10px;
}
.sw-submit-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 18px 50px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255,107,53,0.45);
    transition: transform .15s, box-shadow .15s;
    width: 100%;
    max-width: 400px;
    font-family: inherit;
    letter-spacing: 0.05em;
}
.sw-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,107,53,0.55);
}
.sw-submit-btn:active { transform: translateY(0); }

/* ===== Thanks ページ ===== */
.thanks-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 16px 80px;
    text-align: center;
}
.thanks-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a6fb8, #0a3d6b);
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    line-height: 1;
}
.thanks-wrap h1 {
    font-size: 22px;
    font-weight: 900;
    color: #0a3d6b;
    margin-bottom: 16px;
    line-height: 1.4;
}
.thanks-wrap p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #3a4a5c;
}
.thanks-contact-box {
    background: #f4f7fb;
    border-left: 4px solid #0a6fb8;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 30px 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
}
.thanks-back {
    display: inline-block;
    background: #0a3d6b;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    margin-top: 20px;
}
.thanks-back:hover { background: #0a6fb8; }
@media (min-width: 768px) {
    .thanks-wrap h1 { font-size: 28px; }
}

.error-404 { text-align: center; padding: 80px 20px; }
.error-404 h1 { font-size: 80px; font-weight: 900; color: #0a3d6b; line-height: 1; margin-bottom: 10px; }
.error-404 p { font-size: 15px; color: #5a6b7c; margin-bottom: 30px; }
.error-404 a { background: #0a3d6b; color: #fff; padding: 14px 30px; border-radius: 8px; font-weight: 800; font-size: 14px; display: inline-block; }