@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ==========================================================================
   Design System variables (Ashidoraku Web Page Style)
   ========================================================================== */
:root {
  --c-primary: #3c8141; /* Ashidoraku Green */
  --c-accent: #e60012; /* Red for emphasis */
  --c-text: #333333;
  --c-text-light: #666666;
  --c-bg: #ffffff;
  --c-bg-sub: #f8f9fa; /* Very subtle grey for text emphasis */
  --c-border: #dddddd;
  
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  
  --content-width: 900px;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.section--sm {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

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

/* Flex Grid for Image & Text */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: var(--space-md);
}

.col-text, .col-img {
  flex: 1 1 300px;
}

.row.reverse {
  flex-direction: row-reverse;
}

@media (min-width: 768px) {
  .col-text {
    flex: 1;
  }
  .col-img {
    flex: 0 0 380px;
  }
  .col-img--large {
    flex: 0 0 450px;
  }
}

/* ==========================================================================
   Typography & Headings
   ========================================================================== */
.red-text {
  color: var(--c-accent);
  font-weight: bold;
}

/* Top-level heading with green left border */
.h1-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-text);
  border-left: 6px solid var(--c-primary);
  padding-left: 12px;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

/* Centered heading with green underline */
.h2-center-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: 16px;
  color: var(--c-text);
}
.h2-center-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background-color: var(--c-primary);
}

/* The Green Bar Section Heading */
.bar-title {
  background-color: var(--c-primary);
  /* Adding a very subtle diagonal line pattern typical for these bars */
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.1) 4px,
    rgba(255, 255, 255, 0.1) 8px
  );
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 12px 16px;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
}
.bar-title::before {
  content: '▶';
  margin-right: 8px;
  font-size: 0.9em;
  color: #ffffff;
}

.bold-green {
  font-weight: bold;
  color: var(--c-primary);
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Callout Text Box */
.callout-box {
  background-color: var(--c-bg-sub);
  border: 1px solid var(--c-border);
  padding: 24px;
  margin: var(--space-md) 0;
  color: var(--c-text);
  font-size: 0.95rem;
  line-height: 1.8;
  border-radius: 4px;
}

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

.callout-box p:first-child {
  margin-top: 0;
}

/* Image styling */
.img-card {
  background-color: #fff;
  display: block;
}

/* Logo Header/Footer */
.site-header {
  padding: 20px 0;
  border-bottom: 2px solid var(--c-border);
  background: #fff;
}

.site-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 2px solid var(--c-border);
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--c-text-light);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--c-primary);
  color: #ffffff !important;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 16px 64px 16px 48px;
  border-radius: 50px;
  border: 2px solid var(--c-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  margin: 20px 0;
}

.cta-button::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transition: border-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ffffff;
  color: var(--c-primary) !important;
}

.cta-button:hover::after {
  border-color: var(--c-primary);
}

/* Bullet list */
.bullet-list {
  padding-left: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
}

.bullet-list li::before {
  content: '■'; /* Changed to square to match Gothic feel */
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-size: 0.8em;
  top: 0.2em;
}

/* Separation Line (Hidden) */
.hr-separator {
  display: none;
}

@media (max-width: 767px) {
  .h1-title {
    font-size: 1.5rem;
  }
  .h2-center-title {
    font-size: 1.5rem;
  }
  .bar-title {
    font-size: 1.15rem; 
  }
  .row {
    flex-direction: column;
    gap: 20px;
  }
  .row.reverse {
    flex-direction: column;
  }
  .col-img {
    text-align: center;
  }
  .col-img img {
    margin: 0 auto;
  }
}
