/* =========================================
   Base
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  color: #2f3a3a;
  background: #f7fbfa;
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: #2f6f6a;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================
   Header
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #dbe9e6;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.site-logo {
  color: #2c4440;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.global-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-item a,
.nav-item span {
  display: inline-block;
  color: #3d4a4a;
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
}

.lang-switcher a,
.lang-switcher span {
  padding-left: 8px;
  border-left: 1px solid #cfdedb;
}

/* =========================================
   Hero
========================================= */
.hero {
  padding: 88px 0 72px;
  background:
    linear-gradient(180deg, #eef8f6 0%, #f7fbfa 100%);
}

.hero-inner {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
}

.hero-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  color: #356b65;
  background: #e3f3ef;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-title {
  margin: 0;
  display: inline-block;
  max-width: none;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--text-strong);
  text-align: center;
  word-break: keep-all; /* 単語の途中で改行しない */
  overflow-wrap: normal;
}

.hero-text {
  max-width: 44rem;
  margin: 0 auto 32px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: center;
  word-break: keep-all; /* 単語の途中で改行しない */
  overflow-wrap: normal;
}

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

/* =========================================
   Common Section
========================================= */
section {
  padding: 72px 0;
}

.section-inner {
  display: block;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 12px;
  color: #243533;
  font-size: 1.8rem;
  line-height: 1.4;
}

.section-heading p {
  max-width: 52rem;
  color: #586866;
}

.section-action,
.section-link {
  margin-top: 24px;
}

/* =========================================
   Cards
========================================= */
.card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #deece8;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(47, 58, 58, 0.05);
}

.card h3 {
  margin-bottom: 12px;
  color: #2b3d3b;
  font-size: 1.15rem;
  line-height: 1.5;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  margin-top: 16px;
  font-weight: 700;
}

/* =========================================
   Mission
========================================= */
.mission {
  background: #f9fcfb;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* =========================================
   Products
========================================= */
.products-preview {
  background: #f3f9f7;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* =========================================
   About Summary
========================================= */
.about-summary {
  background: #ffffff;
}

.about-summary-content {
  max-width: 720px;
}

/* =========================================
   News
========================================= */
.news-preview {
  background: #f9fcfb;
}

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

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #deece8;
  border-radius: 14px;
}

.news-item time {
  min-width: 7.5rem;
  color: #5c6d6a;
  font-size: 0.95rem;
  font-weight: 600;
}

.news-item a {
  color: #334544;
  font-weight: 600;
}

/* =========================================
   CTA
========================================= */
.cta {
  background: linear-gradient(180deg, #eef7f5 0%, #e9f5f2 100%);
}

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

.cta-inner h2 {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #243533;
  font-size: 1.7rem;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   Buttons
========================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.button-primary {
  color: #ffffff;
  background: #4f9a8f;
  border-color: #4f9a8f;
}

.button-primary:hover {
  color: #ffffff;
  opacity: 0.92;
}

.button-secondary {
  color: #356b65;
  background: #ffffff;
  border-color: #bcd9d3;
}

.button-secondary:hover {
  color: #2f5e59;
  background: #f9fffd;
}

/* =========================================
   Footer
========================================= */
.site-footer {
  padding: 32px 0;
  background: #edf5f3;
  border-top: 1px solid #dbe9e6;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-nav-list a {
  color: #4b5c5a;
  font-size: 0.95rem;
}

.copyright {
  margin: 0;
  color: #687876;
  font-size: 0.9rem;
}

/* =========================================
   Responsive
========================================= */
/* PC */
@media (max-width: 900px) {
  .mission-cards,
  .product-cards {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }

  .news-item time {
    min-width: auto;
  }
}

/* SP */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 0;
  }

  .global-nav {
    margin-left: 0;
    width: 100%;
  }

  .nav-list {
    gap: 12px 18px;
  }

  .lang-switcher a,
  .lang-switcher span {
    padding-left: 0;
    border-left: none;
  }

  .hero {
    padding: 68px 0 52px;
  }

  section {
    padding: 56px 0;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .cta-inner h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1100px, calc(100% - 24px));
  }

  .hero-title {
    font-size: 1.78rem;
    line-height: 1.45;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================
   Page Hero
========================================= */
.page-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #eef8f6 0%, #f7fbfa 100%);
}

.page-hero-inner {
  max-width: 760px;
}

.page-hero-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  color: #356b65;
  background: #e3f3ef;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.page-title {
  margin-bottom: 16px;
  color: #243533;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.4;
}

.page-lead {
  max-width: 42rem;
  color: #4b5c5a;
  font-size: 1.02rem;
}

/* =========================================
   Status Badge
========================================= */
.status-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-live {
  color: #225b53;
  background: #dff3ee;
}

.status-plan {
  color: #6a5b2b;
  background: #f6efd9;
}

/* =========================================
   Detail Blocks
========================================= */
.detail-blocks {
  display: grid;
  gap: 20px;
}

.detail-card h3 {
  margin-bottom: 20px;
}

.detail-item + .detail-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e6f0ed;
}

.detail-item h4 {
  margin: 0 0 8px;
  color: #314240;
  font-size: 1rem;
}

/* =========================================
   Future
========================================= */
.future-section {
  background: #ffffff;
}

.future-text {
  max-width: 760px;
  margin: 0;
  color: #4f605d;
}

/* =========================================
   Profile
========================================= */
.profile-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.profile-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  color: #5f716e;
  background: #edf5f3;
  border: 1px solid #dbe9e6;
  border-radius: 24px;
  font-weight: 700;
}

.profile-name {
  margin-bottom: 4px;
  color: #243533;
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-role {
  margin-bottom: 20px;
  color: #5a6b68;
  font-weight: 600;
}

@media (max-width: 768px) {
  .profile-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .profile-image {
    max-width: 180px;
  }
}

/* =========================================
   News Archive
========================================= */
.news-archive-list {
  display: grid;
  gap: 20px;
}

.news-archive-item {
  display: block;
}

.news-date {
  display: inline-block;
  margin-bottom: 12px;
  color: #5c6d6a;
  font-size: 0.95rem;
  font-weight: 700;
}

.news-archive-item h3 {
  margin-bottom: 12px;
}

/* =========================================
   Contact
========================================= */
.contact-intro-section,
.contact-note-section {
  background: #f9fcfb;
}

.contact-form-section {
  background: #ffffff;
}

.contact-intro,
.contact-note,
.contact-form {
  max-width: 760px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: #314240;
  font-weight: 700;
}

.required {
  color: #7a5a38;
  font-size: 0.84rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  color: #2f3a3a;
  background: #ffffff;
  border: 1px solid #cfe0dc;
  border-radius: 12px;
  font: inherit;
  line-height: 1.6;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #7bb4aa;
  box-shadow: 0 0 0 4px rgba(123, 180, 170, 0.15);
}

textarea {
  resize: vertical;
  min-height: 180px;
}

.checkbox-group {
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.3em;
}

.recaptcha-note {
  margin: 0;
  padding: 14px 16px;
  color: #5b6b69;
  background: #f4f8f7;
  border: 1px dashed #cfe0dc;
  border-radius: 12px;
}

.form-actions {
  margin-top: 8px;
}

.contact-note-list {
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
  list-style: disc;
}

.contact-note-list li {
  color: #4f605d;
}

.form-note {
  margin: -4px 0 0;
  color: #5b6b69;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================================
   Legal / Guide Pages
========================================= */
.legal-section {
  background: #ffffff;
}

.legal-blocks {
  display: grid;
  gap: 20px;
}

.legal-card h2 {
  margin-bottom: 16px;
  color: #243533;
  font-size: 1.3rem;
  line-height: 1.5;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 12px 0 16px;
  padding-left: 1.2em;
  list-style: disc;
}

.legal-list li {
  color: #4f605d;
}

@media (max-width: 768px) {
  .legal-card h2 {
    font-size: 1.15rem;
  }
}

/* =========================================
   Sitemap
========================================= */
.sitemap-section {
  background: #ffffff;
}

.sitemap-groups {
  display: grid;
  gap: 20px;
}

.sitemap-group h3 {
  margin-bottom: 18px;
  color: #243533;
  font-size: 1.2rem;
  line-height: 1.5;
}

.sitemap-list {
  display: grid;
  gap: 18px;
}

.sitemap-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid #e6f0ed;
}

.sitemap-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sitemap-list a {
  display: inline-block;
  margin-bottom: 8px;
  color: #2f6f6a;
  font-weight: 700;
}

.sitemap-list p {
  margin: 0;
  color: #4f605d;
}

/* =========================================
   Contact Send Result
========================================= */
.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-status.is-loading {
  color: #5b6b69;
}

.form-status.is-success {
  color: #225b53;
}

.form-status.is-error {
  color: #8a3b3b;
}

.form-actions .button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
