/* =========================================================
  Reset & Base
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

* {
  margin: 0;
  padding: 0;
}

img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  /* colors */
  --ink: #111827;
  --text: #333;
  --muted: #6b7280;
  --line: #e1e8ed;
  --line-soft: #eef2f7;
  --bg: #fff;
  --bg-soft: #f8f9fa;
  --bg-gray: #fafafa;
  --brand: #1e293b;
  --accent: #ffd700;
  --accent-2: #ffa500;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 15px 50px rgba(0, 0, 0, 0.1);
  --shadow-3: 0 20px 60px rgba(0, 0, 0, 0.2);

  /* spacing/sizing */
  --container: 1200px;
  --header-h: 70px;

  /* read-more vars */
  --arrow-gap: 0.55em;
  --arrow-w: 1.05em;
  --underline-trim: 0px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* =========================================================
   Header / Navigation
========================================================= */
header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

nav {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 65px;
  width: auto;
  max-width: 400px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* CTA Button */
.contact-btn {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: 0.3s ease;
  box-shadow: 0 3px 15px rgba(255, 215, 0, 0.3);
}

.contact-btn:hover {
  background: #fff;
  color: var(--accent) !important;
  border: 3px solid var(--accent);
  box-shadow: 0 5px 20px rgba(255, 165, 0, 0.3);
}

.contact-btn::after {
  display: none;
}

/* =========================================================
   Mobile Menu
========================================================= */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu .nav-menu {
  width: 100%;
  gap: 0;
  flex-direction: column;
  display: flex;
}

.mobile-menu .nav-menu li {
  width: 100%;
}

.mobile-menu .nav-menu li:not(:last-child) a {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-weight: 700;
  transition: 0.3s ease;
}

.mobile-menu .nav-menu li:not(:last-child) a:hover,
.mobile-menu .nav-menu li:not(:last-child) a.active {
  background: #f8f9fa;
  color: var(--accent);
}

.mobile-menu .nav-menu li:not(:last-child) a::after {
  display: none;
}

.mobile-menu .nav-menu li:last-child {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.mobile-menu .nav-menu li:last-child .contact-btn {
  font-size: 0.9rem;
  padding: 12px 24px;
  margin: 0 20px;
}

/* =========================================================
   Hero
========================================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(134, 196, 186, 0.3) 0%,
    rgba(134, 196, 186, 0.5) 50%,
    rgba(134, 196, 186, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5%;
  max-width: 600px;
  width: 100%;
  text-align: left;
  animation: fadeInUp 1s ease-out;
}

.hero-title,
.section-title,
.section-title-top,
.contact-title {
  font-size: clamp(1.5rem, 6vw, 3rem);
  overflow-wrap: anywhere;
  word-break: break-word;
  letter-spacing: clamp(0.5px, 1vw, 3px);
}

.hero-title {
  font-weight: 1000;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.title-main,
.title-sub,
.title-highlight {
  display: inline;
}

.title-highlight {
  font-weight: 1000;
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
  opacity: 0.95;
}

/* Traditional hero header */
.hero-header {
  position: relative;
  height: 380px;
  color: #fff;
  overflow: hidden;
  padding-inline: 16px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23b8c6db;stop-opacity:1" /><stop offset="100%" style="stop-color:%23f5f7fa;stop-opacity:1" /></linearGradient></defs><rect fill="url(%23bg)" width="1200" height="500"/><circle fill="rgba(255,255,255,0.1)" cx="900" cy="150" r="60"/><circle fill="rgba(255,255,255,0.1)" cx="1050" cy="200" r="40"/><circle fill="rgba(255,255,255,0.05)" cx="800" cy="300" r="80"/></svg>')
      center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.hero-header .hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.7s forwards;
}

/* =========================================================
   Section Common
========================================================= */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  max-width: var(--container);
  margin: 0 auto;
}

.company-profile,
.history-section,
.services-intro {
  margin: 80px 0;
}

.section-title,
.section-title-top,
.contact-title {
  text-align: left;
  color: #333;
  position: relative;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 60px;
}

.section-title-top {
  text-align: center;
}

.section-subtitle,
.contact-subtitle {
  display: block;
  font-size: 1rem;
  color: #666;
  font-weight: 800;
  margin-top: 5px;
  letter-spacing: 1px;
  text-transform: none;
}

.section-title::after,
.section-title-top::after,
.contact-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.section-title-top::after,
.contact-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   Business Scheme / Company Info
========================================================= */
.business-scheme {
  background: url("images/background3.jpg") center / cover no-repeat;
  padding: 100px 20px;
}

.scheme-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.scheme-image {
  max-width: 680px;
  width: min(100%, 680px);
  margin: 40px auto;
  box-shadow: var(--shadow-3);
  border-radius: 20px;
  overflow: hidden;
}

.scheme-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.scheme-lead {
  max-width: 880px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--ink);
  font-size: clamp(1.35rem, 3.3vw, 1.9rem);
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.scheme-points {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important; /* パソコンは2列 */
  gap: 12px;
  max-width: 980px;
  margin: 20px auto 0 auto;
}

/* Company Info Table */
.company-info-table {
  background: #fff;
  border: 1px solid var(--line);
  width: 100%;
  overflow: hidden;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(120px, 32%) 1fr;
  border-bottom: 1px solid var(--line);
  min-height: 60px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row.multi-column {
  grid-template-columns:
    minmax(120px, 30%) minmax(100px, 22%) minmax(100px, 22%)
    1fr;
}

.info-label {
  background: var(--bg-soft);
  padding: 20px;
  border-right: 1px solid var(--line);
  font-weight: 600;
  color: #555;
  font-size: 13px;
  display: flex;
  align-items: center;
  word-break: keep-all;
}

.info-content {
  padding: 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  line-height: 1.7;
}

.info-content:last-child {
  border-right: none;
}

.company-info-table .info-label,
.company-info-table .info-content {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* =========================================================
   Services
========================================================= */
.services {
  position: relative;
  padding: 100px 20px;
  background: url("images/background1.jpeg") center / cover no-repeat;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
  inline-size: 64px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cfd7df;
  margin-bottom: 10px;
}

.service-icon .mi {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--brand);
  transform: translateY(-1px);
}

.service-title {
  margin: 6px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.4;
  color: #111827;
  font-weight: 800;
}

.service-subtitle {
  margin: 2px 0 6px;
  font-size: 0.95rem;
  color: #eab308;
  letter-spacing: 0.02em;
}

.service-description {
  margin: 6px 0 10px;
  font-size: 0.95rem;
  color: #6b7280;
}

/* Read More Link */
.read-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #eab308;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.read-more::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.read-more::after {
  content: "→";
  display: inline-block;
  width: var(--arrow-w);
  margin-left: var(--arrow-gap);
  text-align: left;
  transition: transform 0.15s ease;
}

.read-more:hover {
  color: #ffa500;
}

.read-more:hover::after {
  transform: translateX(2px);
}

.read-more:hover::before {
  width: 100%;
}

/* Service Details */
.services-detail {
  text-align: left;
}

.service-detail-item {
  margin-bottom: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-1);
  transition: 0.3s ease;
}

.service-detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-detail-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-number {
  background: linear-gradient(45deg, var(--accent), var(--accent-2));
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service-detail-description {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

/* CTA Section */
.services-cta {
  margin-top: 50px;
  text-align: left;
  padding: 80px 20px;
}

.cta-content {
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 60px;
  line-height: 1.8;
}

/* =========================================================
   History / Case Study
========================================================= */
.history-timeline {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--line);
  overflow-x: auto;
}

.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  min-width: 300px;
}

.history-item:last-child {
  border-bottom: none;
}

.history-date {
  font-weight: 600;
  color: #666;
  font-size: 14px;
}

.history-content {
  color: #333;
  line-height: 1.7;
  font-size: 14px;
}

.case-study {
  background: url("images/background2.jpg") center / cover no-repeat;
  padding: 100px 20px;
  text-align: center;
}

.case-study-image {
  width: 100%;
  max-width: 600px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 20px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

/* =========================================================
   Contact
========================================================= */
.contact-intro {
  margin: 80px 0 60px;
  text-align: center;
}

.contact-description {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
  margin: 30px auto 0 auto;
}

.contact-title {
  text-align: center;
}

/* Contact Form */
.contact-form-section {
  margin: 60px 0;
}

.contact-form {
  background: #fff;
  padding: 50px;
  border: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto !important; /* 左右を auto に変更 */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-inline: auto;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label,
.contact-form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.required {
  color: #e74c3c;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 15px;
  background: #fff;
  border: 2px solid var(--line);
  font-size: 16px;
  transition: 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
  padding-right: 2.5rem;
  overflow: hidden;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01IDZMMCA5LjUzNjc0ZS0wN0wxMCAwTDUgNloiIGZpbGw9IiM2NjYiLz4KPHN2Zz4K");
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
}

.checkbox-group label {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.privacy-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.privacy-consent input[type="checkbox"] {
  margin: 0;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 18px 60px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--accent-2), #ff8c00);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 165, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Contact Cards */
.contact-title1 {
  font-size: clamp(1.5rem, 6vw, 3rem);
  font-weight: 600;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
  position: relative;
}

.contact-title1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
  flex: 1 1 30%;
  max-width: 373px;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.contact-title2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  position: relative;
}

.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.contact-card:hover .icon {
  transform: scale(1.1);
}

.icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.phone-card .icon {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
}

.phone-card:hover .icon {
  background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.email-card .icon {
  background: linear-gradient(45deg, #3498db, #2980b9);
}

.email-card:hover .icon {
  background: linear-gradient(45deg, #2980b9, #3498db);
}

.location-card .icon {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.location-card:hover .icon {
  background: linear-gradient(45deg, #c0392b, #e74c3c);
}

.contact-card .contact-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
}

.contact-card .contact-title::after {
  display: none;
}

.contact-card .contact-info {
  font-size: 28px;
  font-weight: 700;
  color: #f39c12;
  margin: 0 0 15px !important;
  word-break: break-all;
}

.contact-details {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* =========================================================
   Footer
========================================================= */
footer,
.footer {
  background: #2c2c2c;
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
  overflow-x: clip;
}

.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--accent);
}

.footer-text {
  color: #ccc;
  margin-bottom: 30px;
}

.contact-section,
.area-section {
  padding: 20px 0;
}

.contact-section h3,
.area-section h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 2px;
}

.footer .contact-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.contact-section p,
.area-section p {
  color: #ccc;
  margin-bottom: 20px;
  font-size: 14px;
}

.read-more-btn {
  background: transparent;
  color: #fff;
  padding: 12px 25px;
  border: 1px solid #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
}

.read-more-btn:hover {
  background: #fff;
  color: #2c2c2c;
}

.company-footer {
  text-align: center;
  padding-top: 40px;
  color: #999;
}

.company-footer h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 1px;
}

.company-address {
  font-size: 13px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.social-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.company-footer .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1;
}

.company-footer .social-links svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* =========================================================
   News Page
========================================================= */
.main-content {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

.news-section {
  padding: 100px 0;
  max-width: var(--container);
  margin: 0 auto;
}

.news-list {
  margin-top: 60px;
}

.news-item {
  position: relative;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-2);
  transition: 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.news-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.news-item:last-child {
  margin-bottom: 0;
}

.news-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.02),
    rgba(255, 165, 0, 0.02)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-item:hover::before {
  opacity: 1;
}

.news-header {
  border-bottom: 3px solid var(--accent);
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.news-title {
  font-size: 1.8rem;
  color: #333;
  margin: 15px 0;
  font-weight: 700;
  line-height: 1.4;
}

.news-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 0.9rem;
  color: #666;
  flex-wrap: wrap;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.news-category {
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  order: -1;
  align-self: flex-start;
  margin-top: -2px;
  flex-shrink: 0;
}

.news-category.important {
  background: linear-gradient(45deg, #ff6b6b, #ee5a52);
}

.news-category.maintenance {
  background: linear-gradient(45deg, #ffa726, #ff9800);
}

.news-category.feature {
  background: linear-gradient(45deg, #66bb6a, #4caf50);
}

.news-category.other {
  background: linear-gradient(45deg, #78909c, #607d8b);
}

.news-content {
  line-height: 1.8;
  color: #444;
  font-size: 1rem;
}

.news-content p {
  margin-bottom: 15px;
  white-space: pre-wrap;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.no-news {
  display: none;
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  margin-top: 60px;
}

.no-news-content h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}

.no-news-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
  margin-inline: auto;
}

.news-icon {
  margin-top: 40px;
}

.icon-animation {
  font-size: 4rem;
  display: inline-block;
  animation: pulse 2s infinite;
}

.news-meta.is-hidden {
  display: none;
}

.news-header.is-hidden {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* =========================================================
   Daily Life Assistance (Detail Pages)
========================================================= */
.breadcrumbs {
  margin: 16px 0;
  font-size: 0.95rem;
  color: #777;
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Service Detail Cards */
.services-detail .cards.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.service-detail-item.card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-detail-item.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-detail-item.card .service-detail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 18px;
}

.service-detail-item.card .service-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.service-detail-item.card .service-detail-description {
  color: #55606d;
  margin: 0;
  line-height: 1.8;
}

/* Flow Section */
.flow-heading {
  writing-mode: horizontal-tb !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  line-height: 1;
  color: #111;
}

.services-flow {
  text-align: left;
  margin-bottom: 50px;
}

.flow-list {
  counter-reset: step;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.flow-list li,
.flow-list li * {
  writing-mode: horizontal-tb;
}

.flow-list li {
  counter-increment: step;
  position: relative;
  display: block;
  line-height: 1.8;
  color: #444;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  padding: 16px 0 16px 56px;
  border-bottom: 1px dashed #e8edf3;
  margin: 20px 0 0;
}

.flow-list li:last-child {
  border-bottom: none;
}

.flow-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.flow-list li strong {
  display: inline;
  margin-right: 0.4em;
}

/* Pricing Section */
.services-pricing .pricing-note {
  padding-left: 16px;
  margin: 12px 0 14px !important;
  color: #666;
  line-height: 1.8;
}

.services-pricing .price-notes {
  list-style: none;
  padding-left: 16px;
  margin: 16px 0 40px !important;
  color: #666;
  line-height: 1.8;
}

.services-pricing .price-notes li {
  position: relative;
  padding-left: 1.1em;
  margin: 4px 0;
}

.services-pricing .price-notes li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
}

/* Column widths */
.services-pricing table.table th:nth-child(1),
.services-pricing table.table td:nth-child(1) {
  width: 20%;
  white-space: nowrap;
  font-weight: 700;
}

.services-pricing table.table th:nth-child(2),
.services-pricing table.table td:nth-child(2) {
  width: 62%;
  word-break: break-word;
}

.services-pricing table.table th:nth-child(3),
.services-pricing table.table td:nth-child(3) {
  width: 20%;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* FAQ Section */
.services-faq details {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.services-faq details + details {
  margin-top: 12px;
}

.services-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  outline: none;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  line-height: 1.6;
  user-select: none;
}

.services-faq summary::-webkit-details-marker {
  display: none;
}

.services-faq summary::before {
  content: "▶";
  font-size: 0.9rem;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.2s ease;
  color: #555;
}

.services-faq details[open] summary::before {
  transform: rotate(90deg);
}

.services-faq .faq-a {
  margin: 0;
  padding: 0 16px 16px 40px;
  color: #4b5563;
  line-height: 1.8;
}

.services-faq summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 215, 0, 0.35);
  border-radius: 10px;
}

/* =========================================================
   Animations
========================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-news {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-news.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Utilities
========================================================= */
.nowrap {
  white-space: nowrap !important;
}

.scroll-lock {
  overflow: hidden;
}

/* Point List */
.point-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 12px 4px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.02rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.point-icon {
  inline-size: 40px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d1d5db;
  color: var(--brand);
  flex-shrink: 0;
}

.point-icon.material-icons-round {
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  transform: translateY(-1px);
}

.point-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

@supports (text-wrap: balance) {
  .scheme-lead {
    text-wrap: balance;
  }
}

/* =========================================================
   Map Section
========================================================= */
.map-container {
  margin: 40px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-map-frame {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.access-info {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--line);
  overflow-x: auto;
  margin: 40px 0;
}

.access-method {
  margin-bottom: 24px;
  line-height: 1.6;
}

.access-method:last-child {
  margin-bottom: 0;
}

.access-method-title {
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.access-method-detail {
  color: #555555;
  font-size: 15px;
  line-height: 1.5;
  margin-left: 16px;
}

/* =========================================================
   Responsive Design
========================================================= */

/* Desktop adjustments (≤1024px) */
@media (max-width: 1024px) {
  :root {
    --header-h: 60px;
  }

  .container {
    padding: 0 30px;
  }

  header {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .logo img {
    height: 48px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section-title,
  .section-title-top {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .hero-header {
    min-height: 44vh;
    display: grid;
    place-items: center;
  }

  .hero-content {
    padding: 0 6vw;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    line-height: 1.35;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  }

  .services-detail .cards.grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .service-detail-item.card {
    padding: 18px;
  }

  .services-cta .cta-content {
    text-align: center;
    padding: 36px 20px;
    border-radius: 16px;
    background: #fff;
  }

  .services-cta .cta-content h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .services-cta .cta-content p {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
  }

  .services-cta .cta-content .contact-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 0;
    font-size: 1rem;
    border-radius: 999px;
    text-align: center;
  }

  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-card {
    flex: 1 1 47%;
    max-width: 100%;
    padding: 32px 24px;
  }

  /* Pricing table adjustments */
  .services-pricing table.table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: separate;
  }

  .services-pricing table.table th,
  .services-pricing table.table td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 10px 12px;
    vertical-align: top;
    font-size: 0.95rem;
  }

  .services-pricing table.table th:nth-child(1),
  .services-pricing table.table td:nth-child(1) {
    width: 22%;
  }

  .services-pricing table.table th:nth-child(2),
  .services-pricing table.table td:nth-child(2) {
    width: 50%;
  }

  .services-pricing table.table th:nth-child(3),
  .services-pricing table.table td:nth-child(3) {
    width: 28%;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    overflow-x: clip !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* History fixes */
  .history-section,
  .history-timeline,
  .history-item,
  .history-date,
  .history-content {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .history-section {
    overflow-x: clip;
  }

  .history-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }

  .history-date {
    white-space: nowrap;
  }
}

/* Tablet adjustments (≤768px) */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .mobile-menu {
    top: var(--header-h);
    z-index: 2000;
  }

  .mobile-menu-toggle {
    z-index: 2100;
  }

  .mobile-menu .nav-menu {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu .nav-menu li:not(:last-child) a {
    padding: 18px 22px;
    font-size: 15px;
  }

  .mobile-menu .contact-btn {
    padding: 14px 26px;
  }

  .hero-section {
    height: 70vh;
    min-height: 380px;
    justify-content: center;
  }

  .hero-content {
    padding: 0 8%;
    max-width: 520px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    line-height: 1.45;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title,
  .section-title-top,
  .contact-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 40px;
  }

  .section-title::after,
  .section-title-top::after,
  .contact-title::after {
    height: 3px;
    width: 64px;
  }

  .company-profile,
  .history-section,
  .services-intro {
    margin: 50px 0;
  }

  .services {
    padding: 60px 20px; /* パディングも調整 */
    background: url("images/background4.jpg") center / cover no-repeat;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 30px;
  }

  .business-scheme {
    padding: 60px 20px;
  }

  .scheme-image {
    margin: 30px auto;
    border-radius: 14px;
  }

  .scheme-lead {
    font-size: clamp(1.1rem, 4.4vw, 1.5rem);
  }

  .scheme-points {
    grid-template-columns: 1fr !important; /* スマホは1列 */
    gap: 12px 0;
  }

  /* Company info table stack */
  .info-row,
  .info-row.multi-column {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .info-label {
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 15px 20px !important;
    white-space: normal;
  }

  .info-content {
    border-right: none !important;
    padding: 15px 20px !important;
    padding-top: 14px;
    line-height: 1.8;
  }

  .history-timeline {
    padding: 20px;
  }

  .history-item {
    grid-template-columns: 96px 1fr;
    gap: 14px;
  }

  .case-study {
    padding: 60px 20px;
  }

  .case-study-image {
    height: 200px;
    font-size: 1.5rem;
  }

  .contact-form-section {
    margin: 40px auto;
    padding: 0 10px;
  }

  .contact-form {
    padding: 20px 15px;
    margin: 0 10px;
    width: 100%;
    border-radius: 12px;
  }

  .form-row {
    display: block;
    max-width: none;
  }

  .form-group {
    width: 100%;
    margin-bottom: 20px;
  }

  .form-group.full-width {
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    font-size: 16px;
    line-height: 1.6;
    padding: 12px 14px;
    box-sizing: border-box;
  }

  .contact-form textarea {
    min-height: 160px;
  }

  .contact-form label {
    display: block;
    margin-bottom: 6px;
    line-height: 1.5;
  }

  .contact-form select {
    white-space: normal;
  }

  .form-submit {
    margin-top: 10px;
  }

  .submit-btn {
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 1rem;
  }

  .privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.7;
    margin-top: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
  }

  .privacy-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex: 0 0 auto;
  }

  .privacy-consent .privacy-text {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .privacy-consent .privacy-text a {
    text-decoration: underline;
  }

  .privacy-consent .required {
    margin-left: 0.4em;
    color: #a66;
  }

  .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-inline: 16px;
    max-width: 600px;
    margin-inline: auto;
  }

  .contact-card {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 28px 22px;
  }

  .contact-title1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .contact-title2 {
    font-size: 18px;
  }

  .contact-card .contact-title {
    font-size: 28px;
  }

  .contact-card .contact-info {
    font-size: 22px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer .contact-number {
    font-size: 2rem;
  }

  .footer-links,
  .social-links {
    flex-wrap: wrap;
    gap: 15px;
  }

  .news-section {
    padding: 60px 20px;
  }

  .news-item {
    padding: 24px;
    margin-bottom: 25px;
  }

  .news-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .news-header {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }

  .service-detail-item {
    padding: 25px 20px;
    margin-bottom: 30px;
  }

  .service-detail-title {
    font-size: 1.3rem;
    gap: 12px;
  }

  .service-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .services-cta {
    margin-top: 100px;
    padding: 60px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 50px;
  }

  /* FLOW adjustments */
  .flow-list li {
    padding-left: 50px;
    padding-block: 14px;
  }

  .flow-list li::before {
    width: 32px;
    height: 32px;
  }

  .access-info {
    padding: 24px;
    margin: 24px 0;
  }

  .access-method {
    margin-bottom: 20px;
  }

  .access-method-title {
    font-size: 15px;
  }

  .access-method-detail {
    font-size: 14px;
    margin-left: 12px;
  }

  .google-map-frame {
    height: 300px;
  }

  /* History additional fixes */
  .history-item {
    grid-template-columns: 120px 1fr;
  }

  .history-date {
    white-space: nowrap;
  }
}

/* Mobile adjustments (≤640px) */
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 22px;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex: 1 1 100%;
  }

  .contact-title1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .contact-title2 {
    font-size: clamp(1.1rem, 4.6vw, 1.25rem);
  }

  .contact-card .contact-title {
    font-size: 28px;
  }

  .contact-card .contact-info {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .breadcrumbs {
    display: block;
    line-height: 1.7;
    padding: 0 16px;
  }

  .breadcrumbs a,
  .breadcrumbs span {
    white-space: normal;
  }

  .services-detail .cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px;
    max-width: 100%;
    min-width: 0;
  }

  .service-detail-item {
    padding: 20px;
  }

  .service-detail-title {
    font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  }

  .service-detail-description {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  /* Pricing table stack for mobile */
  .services-pricing table.table thead {
    display: none !important;
  }

  .services-pricing table.table,
  .services-pricing table.table tbody,
  .services-pricing table.table tr {
    display: block;
    width: 100%;
  }

  .services-pricing table.table tr {
    margin: 12px 0;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
  }

  .services-pricing table.table td {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    line-height: 1.85 !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .services-pricing table.table td:first-child {
    font-weight: 700 !important;
    line-height: 1.5 !important;
    background: linear-gradient(180deg, #fafafa, #f6f6f6);
    border-bottom: 1px solid #eee;
    border-radius: 12px 12px 0 0;
    padding: 12px 14px 10px !important;
  }

  .services-pricing table.table td:nth-child(2) {
    border-bottom: 1px dashed #e6e6e6;
    padding-bottom: 10px !important;
  }

  .services-pricing table.table td:nth-child(2)::before {
    content: "内容";
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    margin: 2px 0 6px;
  }

  .services-pricing table.table td:nth-child(3)::before {
    content: "料金の目安";
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    margin: 2px 0 6px;
  }

  .services-pricing table.table td ul {
    list-style: disc;
    padding-left: 1.2em;
    margin: 0.2em 0 0.6em;
  }

  .services-pricing table.table td li {
    margin: 0.15em 0;
  }

  .services-pricing table.table td p {
    margin: 0.25em 0 0.6em;
    line-height: 1.9;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-date {
    white-space: normal;
  }
}

/* Small mobile adjustments (≤560px) */
@media (max-width: 560px) {
  .hero-header {
    height: 300px;
  }

  .service-detail-item.card .service-detail-title {
    font-size: 1rem;
  }

  .service-detail-item.card .service-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .flow-list li {
    padding: 14px 0 14px 46px;
  }

  .flow-list li::before {
    width: 28px;
    height: 28px;
  }

  .services-pricing .price-notes {
    font-size: 0.95rem;
  }

  .services-faq details {
    padding: 16px;
  }

  .services-faq summary {
    grid-template-columns: 20px 1fr;
    padding: 12px 14px;
  }

  .services-faq .faq-a {
    padding: 0 14px 14px 34px;
    font-size: 0.95rem;
  }

  .services-pricing table.table th,
  .services-pricing table.table td {
    border-right: 1px solid #f0f2f5;
  }

  .services-pricing table.table th:nth-child(3),
  .services-pricing table.table td:nth-child(3) {
    white-space: nowrap;
  }
}

/* Extra small mobile (≤480px) */
@media (max-width: 480px) {
  nav {
    padding: 0 15px;
    height: 60px;
  }

  .logo img {
    height: 40px;
    max-width: 180px;
  }

  .main-content {
    margin-top: 60px;
  }

  .hero-section {
    height: 80vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
    line-height: 1.5;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-content {
    padding: 0 3%;
  }

  .hero-header {
    min-height: 38vh;
  }

  .hero-content {
    padding: 0 7vw;
  }

  .hero-title {
    letter-spacing: 0.06em;
  }

  .section-title,
  .section-title-top,
  .contact-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .section-subtitle,
  .contact-subtitle {
    font-size: 0.9rem;
  }

  .company-profile,
  .history-section {
    margin: 40px 0;
  }

  .services {
    padding: 40px 15px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .business-scheme {
    padding: 40px 15px;
  }

  .scheme-image {
    margin: 20px auto;
  }

  .info-label,
  .info-content {
    padding: 12px 15px;
    font-size: 12px;
  }

  .history-timeline {
    padding: 15px;
  }

  .history-item {
    padding: 12px 0;
  }

  .history-date,
  .history-content {
    font-size: 13px;
  }

  .case-study {
    padding: 40px 15px;
  }

  .case-study-image {
    height: 150px;
    font-size: 1.2rem;
    margin: 30px auto;
  }

  .contact-intro {
    margin: 40px 0 30px;
  }

  .contact-description {
    font-size: 14px;
  }

  . {
    padding: 20px 15px;
    margin: 0 15px;
  }

  .submit-btn {
    padding: 15px 40px;
    font-size: 16px;
    width: 100%;
  }

  .contact-card {
    padding: 30px 20px;
    margin: 0;
  }

  .contact-title2 {
    font-size: 20px;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .icon svg {
    width: 30px;
    height: 30px;
  }

  .contact-card .contact-info {
    font-size: 20px;
  }

  .contact-details {
    font-size: 14px;
  }

  .footer {
    padding: 40px 0 30px;
  }

  .footer-content {
    padding: 0 15px;
    gap: 30px;
  }

  .footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .footer .contact-number {
    font-size: 1.8rem;
  }

  .contact-section h3,
  .area-section h3 {
    font-size: 1.2rem;
  }

  .company-footer h2 {
    font-size: 1.3rem;
  }

  .company-address {
    font-size: 12px;
  }

  .news-section {
    padding: 40px 15px;
  }

  .news-item {
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
  }

  .news-title {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .news-content {
    font-size: 0.95rem;
  }

  .news-date {
    font-size: 0.85rem;
  }

  .news-category {
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .service-detail-item {
    padding: 20px 15px;
    margin-bottom: 25px;
  }

  .service-detail-title {
    font-size: 1.2rem;
    gap: 10px;
  }

  .service-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .service-detail-description {
    font-size: 0.95rem;
  }

  .services-cta {
    margin-top: 80px;
    padding: 40px 15px;
  }

  .services-cta .cta-content {
    padding: 28px 16px;
  }

  .services-cta .cta-content h2 {
    font-size: 1.2rem;
  }

  .services-cta .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 40px;
  }

  .services-cta .cta-content .contact-btn {
    font-size: 0.95rem;
    padding: 12px 0;
  }

  .no-news {
    padding: 40px 15px;
    margin-top: 30px;
  }

  .no-news-content h2 {
    font-size: 1.4rem;
  }

  .no-news-content p {
    font-size: 0.9rem;
  }

  .icon-animation {
    font-size: 2.5rem;
  }

  .access-info {
    padding: 20px;
    margin: 20px 0;
  }

  .access-method {
    margin-bottom: 16px;
  }

  .access-method-title {
    font-size: 14px;
  }

  .access-method-detail {
    font-size: 13px;
    margin-left: 8px;
  }

  .google-map-frame {
    height: 250px;
  }

  .services-pricing table.table th,
  .services-pricing table.table td {
    padding: 9px 10px;
    font-size: 0.92rem;
  }

  .services-pricing table.table th:nth-child(3),
  .services-pricing table.table td:nth-child(3) {
    white-space: nowrap;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Very small screens (≤400px) */
@media (max-width: 400px) {
  .hero-header {
    height: 260px;
  }

  .services-cta .contact-btn {
    padding: 12px 16px;
  }

  .services-pricing table.table th,
  .services-pricing table.table td {
    padding: 9px 10px;
    font-size: 0.9rem;
  }
}

/* Ultra small screens (≤320px) */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title,
  .section-title-top,
  .contact-title {
    font-size: 1.3rem;
  }

  .service-card {
    padding: 20px 15px;
  }

  .contact-form {
    padding: 15px 10px;
    margin: 0 5px; /* さらに狭く */
  }

  .news-item {
    padding: 20px 15px;
  }

  .service-detail-item {
    padding: 15px 10px;
  }
}

/* ================================================
   LINE登録ボタン
   ================================================ */

/* LINE登録ボタン - 右側固定 */
.line-button-container {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

.line-button {
  background: linear-gradient(135deg, #ffd700 0%, #ffc700 100%);
  border: none;
  border-radius: 40px 0 0 40px;
  padding: 20px 16px;
  cursor: pointer;
  box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  min-width: 80px;
  position: relative;
}

.line-button:hover {
  transform: translateX(-5px);
  box-shadow: -6px 6px 16px rgba(0, 0, 0, 0.2);
}

.line-button:active {
  transform: translateX(-3px);
}

/* LINEアイコン */
.line-icon {
  width: 48px;
  height: 48px;
  background: #06c755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

.line-icon svg {
  display: block;
}

/* テキスト部分 */
.line-text {
  writing-mode: vertical-rl;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
  color: #333;
}

/* 小さな点滅アニメーション */
.pulse-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  background: #ff6b6b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* タブレット対応 */
@media (max-width: 768px) {
  .line-button {
    padding: 16px 12px;
    min-width: 70px;
  }

  .line-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .line-text {
    font-size: 13px;
    letter-spacing: 1.5px;
  }
}

/* スマホ対応 */
@media (max-width: 480px) {
  .line-button {
    padding: 14px 10px;
    min-width: 65px;
  }

  .line-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .line-text {
    font-size: 12px;
  }

  .pulse-dot {
    width: 10px;
    height: 10px;
    top: 8px;
    right: 8px;
  }
}

/* 軽引越しプラン - SVGアイコン版 */

.moving-plan-modern {
  margin: 24px 0;
}

.plan-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* ヘッダー部分 */
.card-header {
  background: #111;
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-left {
  flex: 1;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.header-right {
  text-align: right;
}

.price-display {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.price-unit {
  font-size: 18px;
  font-weight: 600;
}

/* カード本体 */
.card-body {
  padding: 24px;
}

/* セクション共通 */
.info-section {
  margin-bottom: 24px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #111;
  color: #ffffff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.section-titles {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* 基本料金の特徴リスト */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.feature-icon {
  flex-shrink: 0;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 13px;
  color: #6b7280;
}

/* 追加料金グリッド */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  gap: 16px;
}

.price-condition {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.condition-icon {
  flex-shrink: 0;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-text {
  color: #374151;
  font-size: 14px;
}

.price-value {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 注意事項ボックス */
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #111;
  border-radius: 8px;
}

.notice-icon {
  flex-shrink: 0;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-content {
  flex: 1;
}

.notice-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* タブレット対応 */
@media (max-width: 768px) {
  .card-header {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-right {
    text-align: left;
  }

  .plan-name {
    font-size: 20px;
  }

  .price-display {
    font-size: 28px;
  }

  .card-body {
    padding: 20px;
  }

  .info-section {
    margin-bottom: 20px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* スマートフォン対応 */
@media (max-width: 640px) {
  .moving-plan-modern {
    margin: 20px 0;
  }

  .plan-card {
    border-radius: 10px;
  }

  .card-header {
    padding: 16px;
  }

  .plan-name {
    font-size: 18px;
  }

  .price-display {
    font-size: 26px;
  }

  .price-unit {
    font-size: 16px;
  }

  .card-body {
    padding: 16px;
  }

  .info-section {
    margin-bottom: 18px;
  }

  .section-header {
    gap: 8px;
    margin-bottom: 12px;
  }

  .section-number {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .section-titles {
    font-size: 15px;
  }

  .feature-card {
    padding: 12px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-title {
    font-size: 13px;
  }

  .feature-desc {
    font-size: 12px;
  }

  .pricing-grid {
    gap: 8px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 8px;
  }

  .condition-icon svg {
    width: 16px;
    height: 16px;
  }

  .condition-text {
    font-size: 13px;
  }

  .price-value {
    font-size: 14px;
    align-self: flex-end;
    width: 100%;
    text-align: right;
    padding-top: 6px;
    border-top: 1px dashed #d1d5db;
  }

  .notice-box {
    padding: 12px 14px;
    gap: 10px;
  }

  .notice-icon svg {
    width: 20px;
    height: 20px;
  }

  .notice-text {
    font-size: 12px;
  }
}

/* 家具移動プラン */

.moving-plan-modern {
  margin: 24px 0;
}

.plan-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* ヘッダー部分 */
.card-header {
  background: #111;
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-left {
  flex: 1;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.header-right {
  text-align: right;
}

.price-display {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.price-unit {
  font-size: 18px;
  font-weight: 600;
}

/* カード本体 */
.card-body {
  padding: 24px;
}

/* セクション共通 */
.info-section {
  margin-bottom: 24px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #111;
  color: #ffffff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.section-titles {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* 追加料金グリッド */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  gap: 16px;
}

/* 強調行（主要料金） */
.highlight-row {
  background: #f9fafb;
  border-color: #d1d5db;
}

.price-condition {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.condition-icon {
  flex-shrink: 0;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-text {
  color: #374151;
  font-size: 14px;
}

.price-value {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 料金例グリッド */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.example-card {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.example-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.example-calc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.calc-item {
  font-size: 13px;
  color: #4b5563;
  padding-left: 12px;
  position: relative;
}

.calc-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111;
  font-weight: bold;
}

.calc-plus {
  font-size: 12px;
  color: #9ca3af;
  padding-left: 12px;
}

.example-total {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  padding-top: 10px;
  border-top: 2px solid #d1d5db;
}

/* タブレット対応 */
@media (max-width: 768px) {
  .card-header {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-right {
    text-align: left;
  }

  .plan-name {
    font-size: 20px;
  }

  .price-display {
    font-size: 28px;
  }

  .card-body {
    padding: 20px;
  }

  .info-section {
    margin-bottom: 20px;
  }

  .example-grid {
    grid-template-columns: 1fr;
  }
}

/* スマートフォン対応 */
@media (max-width: 640px) {
  .moving-plan-modern {
    margin: 20px 0;
  }

  .plan-card {
    border-radius: 10px;
  }

  .card-header {
    padding: 16px;
  }

  .plan-name {
    font-size: 18px;
  }

  .price-display {
    font-size: 26px;
  }

  .price-unit {
    font-size: 16px;
  }

  .card-body {
    padding: 16px;
  }

  .info-section {
    margin-bottom: 18px;
  }

  .section-header {
    gap: 8px;
    margin-bottom: 12px;
  }

  .section-number {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .section-titles {
    font-size: 15px;
  }

  .pricing-grid {
    gap: 8px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 8px;
  }

  .condition-icon svg {
    width: 16px;
    height: 16px;
  }

  .condition-text {
    font-size: 13px;
  }

  .price-value {
    font-size: 14px;
    align-self: flex-end;
    width: 100%;
    text-align: right;
    padding-top: 6px;
    border-top: 1px dashed #d1d5db;
  }

  .example-card {
    padding: 14px;
  }

  .example-title {
    font-size: 13px;
  }

  .calc-item {
    font-size: 12px;
  }

  .example-total {
    font-size: 15px;
  }
}

.news-content a {
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.news-content a:hover {
  color: #004499;
  text-decoration: none;
}

.tire-announcement {
  color: white;
}

.date {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.main-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.link-text {
  font-size: 1.1rem;
}

.link-text a {
  color: #8b4513;
  text-decoration: underline;
  font-weight: bold;
}

.link-text a:hover {
  color: #654321;
}
