/* ============================================================
   みなみデザイン - style.css
   ============================================================ */

/* ===== BASE ===== */

html {
 scroll-behavior: smooth;
 scroll-padding-top: 80px;
}

body {
 font-family: "Noto Sans JP", sans-serif;
 background: #f8f3eb;
 color: #5a4636;
 margin: 0;
 overflow-x: hidden;
}

* {
 box-sizing: border-box;
}

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

a {
 text-decoration: none;
 color: inherit;
}

h1,
h2,
h3,
p,
ul {
 margin: 0;
 padding: 0;
}

ul {
 list-style: none;
}

/* ===== UTILITIES ===== */

.hidden {
 display: none !important;
}

.logo-color {
 color: #2ca8b5;
 letter-spacing: 0.7em;
}

.profile-png {
 width: 32px;
 height: 32px;
 border-radius: 50%;
 object-fit: cover;
 vertical-align: middle;
 display: inline;
}

/* ===== SECTION COMMON ===== */

.section-label {
 display: block;
 color: #2ca8b5;
 font-size: 14px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 margin-bottom: 12px;
}

.section-title {
 font-size: 36px;
 font-weight: 500;
 line-height: 1.25;
 margin-bottom: 16px;
}

.section-title--lg {
 font-size: 36px;
 font-weight: 500;
 line-height: 1.25;
 margin-bottom: 24px;
}

.section-desc {
 font-size: 18px;
 line-height: 2;
 color: #7a6555;
}

.section-head {
 margin-bottom: 56px;
}

.section-head--center {
 margin-bottom: 56px;
 text-align: center;
}

/* ===== LAYOUT CONTAINERS ===== */

.inner-xl {
 max-width: 1280px;
 margin-inline: auto;
 padding-inline: 24px;
}

.inner-xxl {
 max-width: 1152px;
 margin-inline: auto;
 padding-inline: 24px;
}

.inner-lg {
 max-width: 1024px;
 margin-inline: auto;
 padding-inline: 24px;
}

.inner-md {
 max-width: 896px;
 margin-inline: auto;
 padding-inline: 24px;
}

.inner-sm {
 max-width: 768px;
 margin-inline: auto;
 padding-inline: 24px;
}

/* ===== HEADER ===== */

.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: rgba(248, 243, 235, 0.9);
 backdrop-filter: blur(8px);
 border-bottom: 1px solid #e7dccd;
}

.header-inner {
 max-width: 1280px;
 margin-inline: auto;
 padding: 16px 24px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.brand-name {
 font-size: 24px;
 font-weight: 600;
 letter-spacing: 0.025em;
 display: flex;
 align-items: center;
 gap: 8px;
}

.brand-logo-img {
 height: 40px;
 display: inline-block;
}

.brand-sub {
 font-size: 14px;
}

.header-nav {
 display: none;
 align-items: center;
 gap: 32px;
 font-size: 16px;
}

.nav-link {
 transition: color 0.2s;
}

.nav-link:hover {
 color: #2ca8b5;
}

.header-actions {
 display: flex;
 align-items: center;
 gap: 12px;
}

.btn-header-cta {
 display: none;
 background: #2ca8b5;
 color: #fff;
 padding: 12px 20px;
 border-radius: 9999px;
 font-size: 16px;
 transition: opacity 0.2s;
}

.btn-header-cta:hover {
 opacity: 0.9;
}

.hamburger-btn {
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0;
}

/* ===== MOBILE MENU ===== */

#mobileMenu {
 position: fixed;
 inset: 0;
 z-index: 60;
 visibility: hidden;
 opacity: 0;
 transition:
  opacity 0.3s ease,
  visibility 0.3s ease;
}

#mobileMenu.is-open {
 visibility: visible;
 opacity: 1;
}

#menuOverlay {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.35);
}

#menuPanel {
 position: absolute;
 top: 0;
 right: 0;
 height: 100%;
 width: 280px;
 background: #f8f3eb;
 box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
 display: flex;
 flex-direction: column;
 transform: translateX(100%);
 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.is-open #menuPanel {
 transform: translateX(0);
}

.menu-panel-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 20px 24px;
 border-bottom: 1px solid #e7dccd;
}

.menu-panel-title {
 font-weight: 600;
 font-size: 18px;
}

.menu-close-btn {
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: none;
 border: none;
 cursor: pointer;
 color: inherit;
 transition: color 0.2s;
}

.menu-close-btn:hover {
 color: #2ca8b5;
}

.menu-panel-nav {
 display: flex;
 flex-direction: column;
 flex: 1;
 padding: 16px 24px 0;
}

.menu-panel-link {
 display: block;
 padding: 16px 0;
 font-size: 18px;
 border-bottom: 1px solid #ece1d2;
 transition: color 0.2s;
}

.menu-panel-link:hover {
 color: #2ca8b5;
}

.menu-panel-footer {
 padding: 24px;
 border-top: 1px solid #e7dccd;
}

.btn-menu-cta {
 display: block;
 background: #2ca8b5;
 color: #fff;
 padding: 16px;
 border-radius: 9999px;
 text-align: center;
 font-weight: 500;
 transition: opacity 0.2s;
}

.btn-menu-cta:hover {
 opacity: 0.9;
}

/* Hamburger SVG animation */

#menuBtn .bar-top,
#menuBtn .bar-bot {
 transform-origin: center;
 transform-box: fill-box;
 transition: transform 0.3s ease;
}

#menuBtn .bar-mid {
 transition: opacity 0.2s ease;
}

#menuBtn.is-open .bar-top {
 transform: translateY(6px) rotate(45deg);
}

#menuBtn.is-open .bar-mid {
 opacity: 0;
}

#menuBtn.is-open .bar-bot {
 transform: translateY(-6px) rotate(-45deg);
}

/* ===== HERO ===== */

.hero {
 position: relative;
 overflow: hidden;
}

.hero-bg-wrap {
 position: relative;
}

.hero-bg-img {
 width: 100%;
 height: auto;
 object-fit: cover;
}

.hero-bg-overlay {
 position: absolute;
 inset: 0;
 background: rgba(248, 243, 235, 0.55);
}

.hero-content-wrap {
 position: relative;
 max-width: 1280px;
 margin-inline: auto;
 padding: 40px 24px;
}

.hero-content-box {
 border: 1px dashed #cfc2b3;
 padding: 24px;
 background: rgba(255, 255, 255, 0.15);
 backdrop-filter: blur(2px);
}

.hero-text-area {
 max-width: 896px;
}

.hero-title {
 font-size: 48px;
 line-height: 1.2;
 font-weight: 700;
 letter-spacing: -0.025em;
 margin-bottom: 40px;
 color: #5a4636;
}

.hero-title .accent {
 color: #2ca8b5;
}

.hero-lead {
 font-size: 20px;
 line-height: 2;
 color: #5f4a3a;
 margin-bottom: 48px;
 font-weight: 500;
}

.hero-buttons {
 display: flex;
 flex-wrap: wrap;
 gap: 20px;
 margin-bottom: 56px;
}

.btn-hero-dark {
 display: inline-block;
 background: #6b5240;
 color: #fff;
 padding: 20px 40px;
 border-radius: 9999px;
 font-size: 18px;
 font-weight: 500;
 transition: opacity 0.2s;
 box-shadow:
  0 10px 15px -3px rgba(0, 0, 0, 0.1),
  0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-hero-dark:hover {
 opacity: 0.9;
}

.btn-hero-outline {
 display: inline-block;
 background: rgba(248, 243, 235, 0.9);
 border: 1px solid #9b8777;
 padding: 20px 40px;
 border-radius: 9999px;
 font-size: 18px;
 font-weight: 500;
 transition:
  background 0.2s,
  color 0.2s;
}

.btn-hero-outline:hover {
 background: #5a4636;
 color: #fff;
}

.hero-icons {
 display: flex;
 flex-wrap: nowrap;
 gap: 12px;
}

.icon-circle {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(8px);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
 width: 64px;
 height: 64px;
 object-fit: contain;
}

.icon-circle p {
 font-size: 14px;
 font-weight: 500;
 text-align: center;
 line-height: 1.4;
 margin: 0;
}

/* ===== WORKS ===== */

.section-works {
 padding: 96px 0;
}

.works-note {
 font-size: 14px;
 color: #9b8777;
}

.works-grid {
 display: grid;
 gap: 48px 32px;
}

.work-card {
 display: block;
 background: #fff;
 border-radius: 32px;
 overflow: hidden;
 border: 1px solid #ece1d2;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
 transition:
  transform 0.2s,
  box-shadow 0.2s;
}

.work-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.work-thumb {
 aspect-ratio: 16 / 10;
 width: 100%;
 object-fit: cover;
}

.work-body {
 padding: 32px;
}

.work-tag {
 display: inline-block;
 background: #eef7f8;
 color: #2ca8b5;
 font-size: 14px;
 padding: 4px 16px;
 border-radius: 9999px;
 margin-bottom: 16px;
}

.work-name {
 font-size: 24px;
 margin-bottom: 12px;
 transition: color 0.2s;
}

.work-card:hover .work-name {
 color: #2ca8b5;
}

.work-desc {
 color: #7a6555;
 line-height: 2;
}

/* ===== ABOUT ===== */

.section-about {
 padding: 96px 0;
 background: #f3ece2;
}

.about-inner {
 max-width: 1152px;
 margin-inline: auto;
 padding-inline: 24px;
 display: grid;
 gap: 64px;
 align-items: center;
}

.about-img {
 aspect-ratio: 1;
 width: 100%;
 object-fit: cover;
 border-radius: 32px;
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
 max-width: 448px;
 margin-inline: auto;
}

.about-name {
 font-size: 18px;
 font-weight: 500;
 margin-bottom: 32px;
}

.about-name .accent {
 color: #2ca8b5;
 margin-left: 8px;
}

.about-text {
 display: flex;
 flex-direction: column;
 gap: 24px;
 font-size: 18px;
 line-height: 1.9;
 color: #6b5645;
}

/* ===== SERVICE ===== */

.section-service {
 padding: 96px 0;
}

.service-head {
 margin-bottom: 64px;
}

.service-grid {
 display: grid;
 gap: 24px;
}

.service-card {
 background: #fff;
 border-radius: 32px;
 padding: 32px;
 border: 1px solid #e7dccd;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.service-icon {
 margin-bottom: 20px;
}

.service-icon img {
 width: 56px;
 height: 56px;
 object-fit: contain;
}

.service-name {
 font-size: 24px;
 font-weight: 500;
 margin-bottom: 16px;
}

.service-desc {
 color: #7a6555;
 line-height: 2;
}

/* ===== PLAN ===== */

.section-plan {
 padding: 96px 0;
 background: #f3ece2;
}

.plan-head {
 margin-bottom: 64px;
 text-align: center;
}

.plan-grid {
 display: grid;
 gap: 24px;
}

.plan-card {
 position: relative;
 background: #fff;
 border-radius: 32px;
 padding: 32px;
 border: 1px solid #e7dccd;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
 display: flex;
 flex-direction: column;
}

.plan-card--featured {
 border: 2px solid #2ca8b5;
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.plan-badge {
 position: absolute;
 top: -16px;
 left: 50%;
 transform: translateX(-50%);
 background: #2ca8b5;
 color: #fff;
 font-size: 14px;
 padding: 6px 20px;
 border-radius: 9999px;
 white-space: nowrap;
}

.plan-name {
 font-size: 24px;
 font-weight: 500;
 margin-bottom: 8px;
}

.plan-sub {
 font-size: 14px;
 color: #9b8777;
 margin-bottom: 24px;
}

.plan-price {
 font-size: 36px;
 font-weight: 700;
 color: #5a4636;
 margin-bottom: 4px;
}

.plan-price--featured {
 color: #2ca8b5;
}

.plan-price-unit {
 font-size: 18px;
 font-weight: 500;
}

.plan-tax {
 font-size: 14px;
 color: #9b8777;
 margin-bottom: 32px;
}

.plan-list {
 display: flex;
 flex-direction: column;
 gap: 12px;
 color: #7a6555;
 margin-bottom: 32px;
 flex: 1;
}

.plan-list li {
 display: flex;
 gap: 8px;
}

.plan-check {
 color: #2ca8b5;
 flex-shrink: 0;
}

.btn-plan {
 display: block;
 background: #f8f3eb;
 border: 1px solid #9b8777;
 text-align: center;
 padding: 16px;
 border-radius: 9999px;
 font-weight: 500;
 transition:
  background 0.2s,
  color 0.2s;
}

.btn-plan:hover {
 background: #5a4636;
 color: #fff;
}

.btn-plan--featured {
 background: #2ca8b5;
 color: #fff;
 border-color: #2ca8b5;
}

.btn-plan--featured:hover {
 opacity: 0.9;
 background: #2ca8b5;
 color: #fff;
}

.plan-note {
 text-align: center;
 font-size: 14px;
 color: #9b8777;
 margin-top: 48px;
 line-height: 1.9;
}

/* ===== PROBLEMS / RESCUE（お悩み・お困りごと＋レスキュー事例）===== */

.section-problems {
 padding: 96px 0;
 background: #f3ece2;
}

.problems-inner {
 max-width: 1024px;
 margin-inline: auto;
 padding-inline: 24px;
 text-align: center;
}

.problem-title {
 font-size: 36px;
 font-weight: 500;
 margin-bottom: 40px;
}

.problems-footer {
 margin-top: 32px;
 font-size: 17px;
 color: #7a6555;
 line-height: 2;
}

/* --- お悩み・お困りごとリスト --- */
.rescue-troubles {
 background: #fff;
 border: 1px solid #ece1d2;
 border-radius: 24px;
 padding: 32px 24px;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
 text-align: left;
}

.rescue-trouble-list {
 display: grid;
 gap: 14px;
}

.rescue-trouble-item {
 position: relative;
 padding: 14px 16px 14px 50px;
 background: #f8f3eb;
 border-radius: 12px;
 font-size: 16px;
 line-height: 1.7;
}

.rescue-trouble-item::before {
 content: "!";
 position: absolute;
 left: 16px;
 top: 50%;
 transform: translateY(-50%);
 width: 22px;
 height: 22px;
 border-radius: 50%;
 background: #2ca8b5;
 color: #fff;
 font-size: 13px;
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
}

/* --- レスキュー事例カード --- */
.rescue-case {
 margin-top: 56px;
}

.rescue-case-label {
 text-align: center;
 font-size: 14px;
 letter-spacing: 0.2em;
 color: #2ca8b5;
 margin-bottom: 20px;
}

.rescue-case-card {
 background: #fff;
 border: 1px solid #ece1d2;
 border-radius: 24px;
 padding: 32px;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rescue-tag {
 display: inline-block;
 background: #eef7f8;
 color: #2ca8b5;
 font-size: 14px;
 padding: 4px 16px;
 border-radius: 9999px;
}

.rescue-case-title {
 font-size: 22px;
 font-weight: 500;
 margin-top: 14px;
}

.rescue-case-store {
 font-size: 15px;
 color: #9b8777;
 margin-top: 4px;
}

.rescue-case-summary {
 margin-top: 14px;
 font-size: 16px;
 line-height: 2;
 color: #7a6555;
}

.rescue-case-action {
 margin-top: 24px;
 display: flex;
}

.btn-rescue-detail {
 font-family: inherit;
 cursor: pointer;
 border: 1px solid #2ca8b5;
 background: #fff;
 color: #2ca8b5;
 font-size: 16px;
 padding: 14px 28px;
 border-radius: 9999px;
 transition:
  background 0.2s,
  color 0.2s;
}

.btn-rescue-detail:hover {
 background: #2ca8b5;
 color: #fff;
}

/* --- モーダル --- */
.rescue-modal {
 position: fixed;
 inset: 0;
 z-index: 1000;
 display: none;
}

.rescue-modal.is-open {
 display: block;
}

.rescue-modal-overlay {
 position: absolute;
 inset: 0;
 background: rgba(43, 33, 24, 0.55);
}

.rescue-modal-panel {
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
 width: calc(100% - 40px);
 max-width: 640px;
 max-height: 86vh;
 overflow-y: auto;
 background: #fff;
 border-radius: 24px;
 padding: 44px 28px 32px;
}

.rescue-modal.is-open .rescue-modal-panel {
 animation: rescueModalIn 0.28s ease;
}

@keyframes rescueModalIn {
 from {
  opacity: 0;
  transform: translate(-50%, -46%);
 }
 to {
  opacity: 1;
  transform: translate(-50%, -50%);
 }
}

.rescue-modal-close {
 position: absolute;
 top: 16px;
 right: 16px;
 width: 40px;
 height: 40px;
 border: none;
 background: #f3ece2;
 color: #5a4636;
 border-radius: 50%;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background 0.2s;
}

.rescue-modal-close:hover {
 background: #e7dccd;
}

.rescue-modal-header {
 text-align: center;
 padding-bottom: 24px;
 border-bottom: 1px solid #ece1d2;
 margin-bottom: 28px;
}

.rescue-modal-title {
 font-size: 22px;
 font-weight: 500;
 margin-top: 14px;
}

.rescue-modal-store {
 font-size: 15px;
 color: #9b8777;
 margin-top: 6px;
}

.rescue-block {
 margin-bottom: 24px;
}

.rescue-block-label,
.rescue-result-label,
.rescue-voice-label {
 font-size: 13px;
 font-weight: 700;
 letter-spacing: 0.12em;
 color: #2ca8b5;
 margin-bottom: 12px;
}

.rescue-block-list {
 display: flex;
 flex-direction: column;
 gap: 8px;
}

.rescue-block-list li {
 position: relative;
 padding-left: 26px;
 font-size: 16px;
 line-height: 1.8;
}

.rescue-block-list--trouble li::before {
 content: "";
 position: absolute;
 left: 4px;
 top: 0.7em;
 width: 10px;
 height: 2px;
 border-radius: 1px;
 background: #c4b3a0;
}

.rescue-block-list--done li::before {
 content: "✓";
 position: absolute;
 left: 0;
 top: 0;
 color: #2ca8b5;
 font-weight: 700;
}

.rescue-result {
 background: #eef7f8;
 border-radius: 16px;
 padding: 24px;
}

.rescue-result-text {
 font-size: 16px;
 line-height: 2;
 color: #5a4636;
}

/* お客様の声 */
.rescue-voice {
 margin-top: 24px;
 background: #f8f3eb;
 border-radius: 16px;
 padding: 24px;
}

.rescue-voice-text {
 font-size: 16px;
 line-height: 2;
 color: #5a4636;
}

.rescue-voice-text::before {
 content: "“";
}

.rescue-voice-text::after {
 content: "”";
}

.rescue-voice-name {
 margin-top: 10px;
 text-align: right;
 font-size: 14px;
 color: #9b8777;
}

.rescue-modal-footer {
 margin-top: 28px;
 text-align: center;
}

.rescue-modal-link {
 display: inline-block;
 color: #2ca8b5;
 font-size: 15px;
 padding: 10px 4px;
 transition: opacity 0.2s;
}

.rescue-modal-link:hover {
 opacity: 0.7;
}

/* --- お悩み・レスキュー レスポンシブ --- */
@media (min-width: 768px) {
 .rescue-troubles {
  padding: 48px;
 }

 .rescue-trouble-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
 }

 .rescue-case-card {
  padding: 40px;
 }
}

@media (max-width: 767px) {
 .section-problems {
  padding: 72px 0;
 }

 .btn-rescue-detail {
  width: 100%;
 }
}

/* 「視差効果を減らす」設定の方にはモーダルの登場演出を無効化 */
@media (prefers-reduced-motion: reduce) {
 .rescue-modal.is-open .rescue-modal-panel {
  animation: none;
 }
}

/* ===== FAQ ===== */

.section-faq {
 padding: 96px 0;
}

.faq-head {
 margin-bottom: 56px;
 text-align: center;
}

.faq-list {
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.faq-item {
 background: #fff;
 border-radius: 16px;
 border: 1px solid #ece1d2;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
 overflow: hidden;
}

.faq-summary {
 cursor: pointer;
 padding: 24px;
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 16px;
 font-size: 18px;
 font-weight: 500;
 list-style: none;
 transition: color 0.2s;
}

.faq-summary:hover {
 color: #2ca8b5;
}

.faq-q-wrap {
 display: flex;
 align-items: flex-start;
 gap: 12px;
}

.faq-q-label {
 color: #2ca8b5;
 font-weight: 700;
 flex-shrink: 0;
}

.faq-toggle {
 color: #2ca8b5;
 font-size: 24px;
 flex-shrink: 0;
 transition: transform 0.3s ease;
 line-height: 1;
}

details[open] .faq-toggle {
 transform: rotate(45deg);
}

.faq-answer {
 padding: 0 24px 24px;
 color: #7a6555;
 line-height: 2;
 margin-top: -8px;
}

/* FAQアコーディオン デフォルト三角マーカーを消す */
details > summary {
 list-style: none;
}
details > summary::-webkit-details-marker {
 display: none;
}
details > summary::marker {
 display: none;
}

/* 開閉アニメーション */
details[open] > div {
 animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
 from {
  opacity: 0;
  transform: translateY(-4px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}

/* ===== CONTACT (トップページ) ===== */

.section-contact {
 padding: 112px 0;
}

.contact-inner {
 max-width: 896px;
 margin-inline: auto;
 padding-inline: 24px;
 text-align: center;
}

.contact-desc {
 font-size: 18px;
 line-height: 2;
 color: #7a6555;
 margin-bottom: 40px;
}

.btn-contact-lg {
 display: inline-block;
 background: #2ca8b5;
 color: #fff;
 padding: 20px 40px;
 border-radius: 9999px;
 font-size: 18px;
 transition: opacity 0.2s;
}

.btn-contact-lg:hover {
 opacity: 0.9;
}
/* ===== CONTACT ボタン2つ並べ ===== */

.contact-buttons {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 16px;
}

.btn-contact {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 min-width: 260px;
 padding: 20px 40px;
 border-radius: 9999px;
 font-size: 18px;
 transition: opacity 0.2s;
}

.btn-contact:hover {
 opacity: 0.9;
}

/* お問い合わせフォーム（サイトのティール） */
.btn-contact--form {
 background: #2ca8b5;
 color: #fff;
}

/* 公式LINE（LINEブランドカラーの緑） */
.btn-contact--line {
 background: #06c755;
 color: #fff;
}

.line-icon {
 width: 22px;
 height: 22px;
}
/* ===== FOOTER ===== */

.site-footer {
 border-top: 1px solid #e7dccd;
 padding: 40px 0;
}

.footer-inner {
 max-width: 1280px;
 margin-inline: auto;
 padding-inline: 24px;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 24px;
}

.footer-logo-text {
 font-size: 24px;
 font-weight: 600;
 display: flex;
 align-items: center;
}

.footer-logo-img {
 height: 48px;
 display: inline-block;
 margin-right: 8px;
}

.footer-tagline {
 font-size: 14px;
 color: #8b7565;
 margin-top: 8px;
}

.footer-copy {
 font-size: 14px;
 color: #8b7565;
}

/* ===== Footer SNS Links ===== */

.sns-links {
 display: flex;
 align-items: center;
 gap: 12px;
}

.sns-links a {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 border: 1.3px solid #5a4636;
 color: #fff;
 background: #5a4636;
 transition:
  opacity 0.2s ease,
  transform 0.2s ease;
}

.sns-links a:hover {
 opacity: 0.6;
 transform: translateY(-2px);
}

.sns-links svg {
 width: 16px;
 height: 16px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.6;
 stroke-linecap: round;
 stroke-linejoin: round;
}

/* ===== FORM PAGE ===== */

.section-form {
 padding: 96px 0;
 background: #f3ece2;
}

.form-head {
 text-align: center;
 margin-bottom: 48px;
}

.contact-form {
 background: #fff;
 border-radius: 32px;
 padding: 32px;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
 display: flex;
 flex-direction: column;
 gap: 24px;
}

.form-group {
 display: flex;
 flex-direction: column;
}

.form-intro {
 font-size: 18px;
 line-height: 1.9;
 color: #7a6555;
}

.form-label {
 display: block;
 margin-bottom: 12px;
 font-size: 14px;
 font-weight: 500;
}

.form-input,
.form-textarea {
 width: 100%;
 border: 1px solid #d8c8b5;
 border-radius: 12px;
 padding: 16px 20px;
 font-size: 18px;
 font-family: inherit;
 color: #5a4636;
 background: #fff;
 outline: none;
 transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
 border-color: #2ca8b5;
}

.btn-submit {
 width: 100%;
 background: #2ca8b5;
 color: #fff;
 font-size: 18px;
 font-weight: 500;
 font-family: inherit;
 padding: 20px;
 border-radius: 9999px;
 border: none;
 cursor: pointer;
 transition: opacity 0.2s;
}

.btn-submit:hover {
 opacity: 0.9;
}

.form-note {
 font-size: 14px;
 text-align: center;
 color: #8b7565;
 line-height: 1.9;
}

.form-success {
 display: none;
 margin-top: 24px;
 text-align: center;
 color: #8b7565;
 font-size: 18px;
}

/* ===== RESPONSIVE ===== */

/* タブレット〜デスクトップ (768px以上) */
@media (min-width: 768px) {
 /* Header */
 .header-nav {
  display: flex;
 }

 .btn-header-cta {
  display: inline-block;
 }

 .hamburger-btn {
  display: none;
 }

 /* Hero */
 .hero {
  min-height: 100vh;
 }

 .hero-bg-wrap {
  position: absolute;
  inset: 0;
 }

 .hero-bg-img {
  height: 100%;
  object-position: 72% center;
 }

 .hero-content-wrap {
  padding: 112px 24px;
 }

 .hero-content-box {
  padding: 40px;
 }

 .hero-title {
  font-size: 88px;
 }

 .hero-lead {
  font-size: 24px;
 }

 .hero-icons {
  gap: 10px;
 }

 /* Works */
 .works-grid {
  grid-template-columns: repeat(2, 1fr);
 }

 /* Service */
 .service-grid {
  grid-template-columns: repeat(2, 1fr);
 }

 /* Plan */
 .plan-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
 }

 .plan-card--featured {
  margin-top: -16px;
  margin-bottom: 16px;
 }

 /* Section title larger */
 .section-title {
  font-size: 48px;
 }

 .section-title--lg {
  font-size: 48px;
 }

 .problem-title {
  font-size: 36px;
 }

 /* Footer */
 .footer-inner {
  flex-direction: row;
  justify-content: space-between;
 }

 /* Form */
 .contact-form {
  padding: 40px;
 }
}

/* デスクトップ (1024px以上) */
@media (min-width: 1024px) {
 /* About */
 .about-inner {
  grid-template-columns: repeat(2, 1fr);
 }

 /* Service */
 .service-grid {
  grid-template-columns: repeat(3, 1fr);
 }
}

/* 中間サイズ (1024px以下) */
@media (max-width: 1024px) {
 .hero-title {
  font-size: 56px;
  line-height: 1.25;
 }
}

/* モバイル (768px以下) */
@media (max-width: 768px) {
 .hero-title {
  font-size: 42px;
  line-height: 1.35;
 }

 .section-title {
  font-size: 32px;
 }

 .section-title--lg {
  font-size: 32px;
 }

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

 .hero-icons {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
 }
}

/* スモール (480px以下) */
@media (max-width: 480px) {
 .hero-title {
  font-size: 34px;
 }

 .section-title {
  font-size: 28px;
 }

 .section-title--lg {
  font-size: 28px;
 }

 .hero-icons {
  flex-wrap: wrap;
  gap: 12px;
 }

 .icon-circle {
  width: 92px;
  height: 92px;
 }
}

/* ============================================
   スクロール演出（控えめ版）
   ※ JSが有効なときだけ動作。無効でも普通に表示される
============================================ */
.js .reveal {
 opacity: 0;
 transform: translateY(16px);
 transition:
  opacity 0.8s ease,
  transform 0.8s ease;
 will-change: opacity, transform;
}

.js .reveal.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* スタッガー（要素を少しずつ遅らせて表示する） */
.js .reveal.d1 {
 transition-delay: 0.1s;
}
.js .reveal.d2 {
 transition-delay: 0.2s;
}
.js .reveal.d3 {
 transition-delay: 0.3s;
}
.js .reveal.d4 {
 transition-delay: 0.4s;
}

/* 実績サムネイル：ホバーで画像がゆっくり少しズーム */
.work-thumb {
 transition: transform 0.5s ease;
}
.work-card:hover .work-thumb {
 transform: scale(1.04);
}

/* サービスカード：軽いホバー（ふわっと浮く）を追加 */
.service-card {
 transition:
  transform 0.3s ease,
  box-shadow 0.3s ease;
}
.service-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 料金カウントアップ：数字の桁ゆれ防止 */
.count-up {
 font-variant-numeric: tabular-nums;
}

/* 「視差効果を減らす」設定の方には演出を無効化（アクセシビリティ配慮） */
@media (prefers-reduced-motion: reduce) {
 .js .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
 }
 .work-card:hover .work-thumb {
  transform: none;
 }
}
