*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== layout ===== */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6%;
}

/* ===== nav ===== */
#global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(4px);
  border-bottom: 2px solid #fd9b00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.gnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6%;
  height: 64px;
}
.gnav-logo img { height: 40px; width: auto; }
.gnav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.gnav-menu a {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
.gnav-cta {
  background: linear-gradient(to right, #ffa81e, #ff2400);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 13px;
  white-space: nowrap;
}

/* ===== hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  max-height: 560px;
}
.hero-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6%;
}
.hero-title {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 3px;
  margin-bottom: 28px;
}
.hero-cta {
  background: linear-gradient(to right, #ffa81e, #ff2400);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(255,100,0,0.4);
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.85; }

/* ===== sections ===== */
.sec-white { padding: 72px 0; }
.sec-dark {
  padding: 72px 0;
  background: #1a6b3c;
}

.sec-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.4;
  color: #222;
}
.sec-title--light { color: #fff; }
.sec-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 32px;
  color: #333;
}
.sec-sub--light { color: #ccc; }
.sec-sub strong { color: #ffa81e; }

/* ===== image grids ===== */
.img-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.img-grid--4 { grid-template-columns: repeat(4, 1fr); }
.img-grid--3 { grid-template-columns: repeat(3, 1fr); }
.img-grid li img { width: 100%; border-radius: 8px; }

.lead-text {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 40px;
  color: #333;
}
.lead-text strong { color: #e05000; }

/* ===== video ===== */
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.video-wrap video {
  width: 100%;
  border-radius: 8px;
}

/* ===== full img ===== */
.full-img {
  width: 100%;
  border-radius: 8px;
}

/* ===== steps ===== */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.step-list li {
  position: relative;
}
.step-list li img { width: 100%; border-radius: 8px; }

/* ===== result ===== */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.result-grid > div {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  padding: 12px;
}
.result-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== merit ===== */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.merit-card {
  background: #f4faf7;
  border-radius: 12px;
  border-left: 4px solid #1a6b3c;
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.merit-num {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #1a6b3c;
}
.merit-label {
  font-size: 16px;
  font-weight: bold;
  color: #1a6b3c;
  line-height: 1.5;
}

/* ===== case ===== */
.case-box {
  background: #f8f8f8;
  border-left: 4px solid #ffa81e;
  border-radius: 0 8px 8px 0;
  padding: 28px 32px;
  font-size: 15px;
  line-height: 1.8;
}
.case-link {
  display: inline-block;
  margin-top: 16px;
  color: #e05000;
  font-weight: bold;
  text-decoration: underline;
}

/* ===== reviews ===== */
.sec-review {
  padding: 72px 0;
  background: #fff;
}
.review-note {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-top: -32px;
  margin-bottom: 40px;
}
.review-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.review-card {
  border-top: 3px solid #1a6b3c;
  background: #f9faf8;
  border-radius: 0 0 8px 8px;
  padding: 28px 28px 24px;
}
.review-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #1a6b3c;
  background: #e0f0e8;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.review-text {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
}
.review-from {
  font-size: 13px;
  color: #999;
  text-align: right;
}

/* ===== news ===== */
.news-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid #e8e8e8;
}
.news-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #e8e8e8;
}
.news-date {
  font-size: 13px;
  color: #1a6b3c;
  font-weight: bold;
  white-space: nowrap;
  letter-spacing: 1px;
}
.news-title {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}
.news-title:hover { color: #1a6b3c; text-decoration: underline; }

/* ===== CTA section ===== */
.sec-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff8ee 0%, #fff 100%);
  text-align: center;
  border-top: 1px solid #ffe0b0;
}
.cta-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}
.btn-cta {
  display: inline-block;
  background: linear-gradient(to right, #ffa81e, #ff2400);
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 16px 48px;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(255,100,0,0.3);
  transition: opacity 0.2s;
}
.btn-cta:hover { opacity: 0.85; }

/* ===== footer ===== */
#site-footer {
  background: #1a6b3c;
  color: #fff;
}
.sf-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 6% 44px;
  gap: 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.sf-brand { flex: 1 1 240px; }
.sf-col { flex: 0 1 180px; }
.sf-name {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 10px;
}
.sf-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}
.sf-head {
  font-size: 11px;
  letter-spacing: 3px;
  color: #ffa81e;
  margin: 0 0 16px;
}
.sf-links li { margin-bottom: 12px; }
.sf-links li a { color: rgba(255,255,255,0.8); font-size: 14px; }
.sf-links li a:hover { color: #fff; text-decoration: underline; }
.sf-cta {
  display: inline-block;
  background: linear-gradient(to right, #ffa81e, #ff6b00);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 24px;
  margin-bottom: 12px;
  white-space: nowrap;
}
.sf-note { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.sf-bottom { text-align: center; padding: 20px 6%; border-top: 1px solid rgba(255,255,255,0.15); }
.sf-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== responsive ===== */
@media (max-width: 768px) {
  .img-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .img-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .merit-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .review-list { grid-template-columns: 1fr; }
  .hero-img { height: 360px; }
}
@media (max-width: 480px) {
  .img-grid--4 { grid-template-columns: 1fr; }
  .gnav-menu a:not(.gnav-cta) { display: none; }
  .sf-inner { flex-direction: column; gap: 32px; }
}
.contact-hero {
  background: linear-gradient(135deg, #1a6b3c 0%, #0f4024 100%);
  padding: 56px 0 48px;
  text-align: center;
}
.contact-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}

.contact-card {
  max-width: 680px;
  margin: 0 auto;
}

/* CF7スタイル */
.form-row {
  margin-bottom: 24px;
}
.form-row .cf-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.form-label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}
.badge-req {
  display: inline-block;
  background: #e05000;
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: normal;
}
.badge-opt {
  display: inline-block;
  background: #999;
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: normal;
}

.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card input[type="tel"],
.contact-card textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #1a6b3c;
}
.contact-card textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.7;
}
.form-error {
  display: block;
  color: #dc3232;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}
.btn-submit {
  background: linear-gradient(to right, #ffa81e, #ff2400);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 48px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,100,0,0.3);
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.85; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* confirm */
.confirm-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #333;
  text-align: center;
}
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 15px;
}
.confirm-table th,
.confirm-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.confirm-table th {
  width: 36%;
  color: #666;
  font-weight: normal;
  white-space: nowrap;
  background: #f9f9f9;
}
.confirm-table td {
  color: #333;
  white-space: pre-wrap;
}
.confirm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-back {
  background: #eee;
  color: #555;
  font-size: 15px;
  font-weight: bold;
  padding: 13px 32px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-back:hover { background: #ddd; }

@media (max-width: 640px) {
  .confirm-table th { width: 30%; }
}
/* ===== news page ===== */
.news-page-wrap {
  padding: 56px 0 80px;
}

.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #1a6b3c; }
.breadcrumb a:hover { text-decoration: underline; }

.news-article {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.article-date {
  display: block;
  font-size: 13px;
  color: #1a6b3c;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.article-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #222;
  line-height: 1.5;
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}
.article-body p { margin-bottom: 20px; }
.article-body a { color: #1a6b3c; text-decoration: underline; }
.article-body a:hover { opacity: 0.75; }
.article-body strong { color: #e05000; }

/* info box */
.info-box {
  background: #f4faf7;
  border-left: 4px solid #1a6b3c;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.info-box-label {
  font-size: 14px;
  font-weight: bold;
  color: #1a6b3c;
  margin-bottom: 8px !important;
}
.info-box-date {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin: 0 !important;
}

/* check list */
.check-list {
  list-style: none;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1a6b3c;
  font-weight: bold;
}

/* article cta */
.article-cta {
  margin: 48px 0 0;
  padding: 40px 32px;
  background: linear-gradient(135deg, #fff8ee 0%, #fff 100%);
  border: 1px solid #ffe0b0;
  border-radius: 12px;
  text-align: center;
}
.article-cta p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}

/* article footer */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #f0f0f0;
}

.btn-back-list {
  font-size: 14px;
  color: #1a6b3c;
  font-weight: bold;
}
.btn-back-list:hover { text-decoration: underline; }
