/*
Theme Name: Voyage Ride
Theme URI: https://voyage-ride.com
Author: 株式会社ボヤージュ
Author URI: https://voyage-ride.com
Description: 精神特化型訪問看護ステーション ライドの公式テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voyage-ride
*/

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

:root {
  --voyage-primary: #2b82b8;
  --voyage-accent: #ffc107;
  --voyage-accent-hover: #ffb300;
  --voyage-bg-light: #f5f9fc;
  --voyage-text: #333333;
  --voyage-white: #ffffff;
  --voyage-border: #e5e5e5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--voyage-text);
  background-color: var(--voyage-white);
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--voyage-white);
  border-bottom: 1px solid var(--voyage-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.site-logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo-text .subtitle {
  font-size: 12px;
  color: rgba(51, 51, 51, 0.7);
  line-height: 1.2;
}

.site-logo-text .title {
  font-size: 20px;
  font-weight: 700;
  color: var(--voyage-primary);
  line-height: 1.2;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 14px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--voyage-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--voyage-accent);
  color: var(--voyage-text);
}

.btn-primary:hover {
  background-color: var(--voyage-accent-hover);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--voyage-primary);
  color: var(--voyage-primary);
}

.btn-outline:hover {
  background-color: var(--voyage-primary);
  color: var(--voyage-white);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 96px 16px;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--voyage-primary);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(43, 130, 184, 0.2);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: rgba(51, 51, 51, 0.8);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  white-space: nowrap;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--voyage-text);
  line-height: 1.2;
  margin-bottom: 32px;
}

.hero-title .highlight {
  color: var(--voyage-primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(255, 193, 7, 0.4);
  border-radius: 2px;
  z-index: -1;
}

.hero-description {
  font-size: 14px;
  color: rgba(51, 51, 51, 0.8);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

/* Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--voyage-bg-light);
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--voyage-primary);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--voyage-text);
  text-align: center;
  margin-bottom: 48px;
}

/* About Section */
.about-intro {
  max-width: 800px;
  margin: 0 auto 64px;
}

.about-intro h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 14px;
  color: var(--voyage-text);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  background-color: var(--voyage-white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(43, 130, 184, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--voyage-primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--voyage-text);
  line-height: 1.8;
}

/* Services Section */
.services-content {
  max-width: 1000px;
  margin: 0 auto;
}

.services-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.service-item {
  display: flex;
  gap: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(43, 130, 184, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--voyage-primary);
}

.service-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 8px;
}

.service-item p {
  font-size: 14px;
  color: var(--voyage-text);
  line-height: 1.8;
}

.target-list {
  list-style: disc;
  list-style-position: inside;
  margin-bottom: 48px;
}

.target-list li {
  font-size: 14px;
  color: var(--voyage-text);
  margin-bottom: 8px;
}

.info-card {
  background-color: var(--voyage-bg-light);
  border: 1px solid var(--voyage-primary);
  border-radius: 8px;
  padding: 24px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 14px;
  color: var(--voyage-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Flow Section */
.flow-content {
  max-width: 768px;
  margin: 0 auto;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.flow-step {
  display: flex;
  gap: 24px;
}

.flow-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step-number {
  width: 48px;
  height: 48px;
  background-color: var(--voyage-primary);
  color: var(--voyage-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.flow-step-line {
  width: 2px;
  flex-grow: 1;
  background-color: rgba(43, 130, 184, 0.3);
  margin-top: 8px;
}

.flow-step-content {
  padding-bottom: 32px;
}

.flow-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 8px;
}

.flow-step-content p {
  font-size: 14px;
  color: var(--voyage-text);
  line-height: 1.8;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--voyage-primary);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--voyage-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--voyage-text);
}

.contact-item .value {
  font-size: 14px;
  color: var(--voyage-text);
}

.contact-cta {
  margin-top: 32px;
  background-color: var(--voyage-bg-light);
  border-radius: 8px;
  padding: 24px;
}

.contact-cta p {
  font-size: 14px;
  color: var(--voyage-text);
  margin-bottom: 16px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-buttons .btn {
  width: 100%;
}

.contact-buttons .btn svg {
  margin-right: 8px;
}

.contact-map {
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* Footer */
.site-footer {
  background-color: var(--voyage-primary);
  padding: 32px 0;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.site-footer p {
  color: var(--voyage-white);
  font-size: 12px;
}

.site-footer .copyright {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--voyage-text);
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--voyage-white);
  border-bottom: 1px solid var(--voyage-border);
  padding: 16px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--voyage-border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Responsive */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-bg img {
    object-position: center center;
  }

  .hero-badge {
    font-size: 14px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

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

  .hero-title .highlight::after {
    height: 16px;
    bottom: 8px;
  }

  .hero-description {
    font-size: 16px;
  }

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

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-map {
    height: auto;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }
}
