/* Font Awesome Icons - Only required icons */
/* @font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fa-brands-400.woff2') format('woff2');
} */

.fas {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-style: normal;
}

.fab {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
  font-style: normal;
}

/* Required icons only */
.fa-desktop::before { content: "\f108"; }
.fa-user-graduate::before { content: "\f501"; }
.fa-user-cog::before { content: "\f4fe"; }
.fa-user::before { content: "\f007"; }
.fa-cog::before { content: "\f013"; }
.fa-file-alt::before { content: "\f15c"; }
.fa-shopping-cart::before { content: "\f07a"; }
.fa-search::before { content: "\f002"; }
.fa-question-circle::before { content: "\f059"; }
.fa-comment-dots::before { content: "\f4ad"; }
.fa-check-square::before { content: "\f14a"; }
.fa-bell::before { content: "\f0f3"; }
.fa-hand-holding-usd::before { content: "\f3d1"; }
.fa-edit::before { content: "\f044"; }
.fa-wordpress::before { content: "\f19a"; }
.fa-certificate::before { content: "\f0a3"; }

/* Reset CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

/* ID指定のリンクでスクロールした時のヘッダー分の調整 */
[id] {
  scroll-margin-top: 70px; /* ヘッダーの高さ分 */
}

ul,
ol {
  list-style: none;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: keep-all;  
  line-break: strict; 
  overflow-wrap: anywhere;
}



/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color-1: #1e3a8a; /* Dark Blue */
  --accent-color-2: #f39c12; /* Orange */
  --accent-color-3: #3498db; /* Blue */
  --background-color: #f8f9fa;
  --text-color: #333;
  --heading-color: #2c3e50;
  --white-color: #ffffff;
  --border-color: #e9ecef;
  
  /* 日本語＋ラテンを両立し、できるだけ"軽い"ゴシック体を優先 */
  --jp-sans: 
    /* 1. OS が expose する"UI 系"システムフォント */
    system-ui, -apple-system, BlinkMacSystemFont,
    /* 2. macOS/iOS */
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    /* 3. Windows 10/11 */
    "Yu Gothic", "YuGothic", "Yu Gothic UI",
    /* 4. Windows 7/8 用フォールバック */
    "Meiryo", "MS PGothic",
    /* 5. Android／Linux */
    "Noto Sans CJK JP", "Roboto",
    /* 6. 最終フォールバック */
    sans-serif;
}

body {
  color: var(--text-color);
  background-color: var(--white-color);
  font-family: var(--jp-sans);
  font-size: 1rem;
  line-height: 1.8;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden; /* For background shapes */
}

main {
  flex-grow: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--jp-sans);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  position: relative;
  color: var(--heading-color);
}

h2::after {
  content: none;
}

h2.text-center {
  padding: 0;
  padding-bottom: 1rem;
  border-left: none;
  background-color: transparent;
}

h2.text-center::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 700px;
  height: 1px;
  background-color: var(--secondary-color);
  border-radius: 1px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  line-height: 1.8;
}

a {
  color: var(--accent-color-1);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-color-2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 100px 0;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-noto-sans-jp), sans-serif;
  font-weight: 700;
  padding: 22px 60px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  border: none;
}

.btn-primary {
  background-color: var(--accent-color-2);
  color: var(--white-color);
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
  background-color: #e67e22;
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(243, 156, 18, 0.4);
}

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

.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  z-index: 1;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  z-index: 2;
}

.page-header h1 {
  position: relative;
  z-index: 3;
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  position: relative;
  z-index: 3;
  color: white;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  
  .page-header {
    margin-top: 70px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  
  p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 20px 55px;
    font-size: 1.2rem;
  }
  
  h2.text-center::after {
    width: 90%;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .container {
    padding: 0 1rem;
  }

}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }
  
  p {
    margin-left: 1em;
    margin-right: 1em;
  }
  
  .btn {
    padding: 14px 40px;
    font-size: 1rem;
  }
  
  h2.text-center::after {
    width: 95%;
  }
  
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 50px 0;
  }

  /* .section.first-content  {
    padding: 40px 0;
  } */
}

/* CTA Section Styles */
.ctaSection {
  background-color: var(--accent-color-1);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.ctaInner {
  max-width: 1112px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ctaSection h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.ctaSection p {
  font-size: 1rem;
  color: white;
  line-break: strict;
  text-wrap: pretty; 
}
.ctaNote {
  font-size: 0.9rem;
  opacity: 0.8;
}

.ctaArea {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
}

.ctaArea strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.ctaArea span {
  font-size: 0.95rem;
  line-height: 1.6;
}

.ctaButtonWrap {
  margin-top: 2rem;
}

.ctaGreenBtn {
  background: #008000 !important;
  border: 2px solid #0A9F3D !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.ctaGreenBtn:hover {
  background: #fff !important;
  color: #258a4d !important;
  border-color: #258a4d !important;
}

@media (max-width: 768px) {
  .ctaArea {
    padding: 1.5rem;
  }
  
  .ctaArea span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .ctaSection {
    padding: 3rem 0;
  }

  .ctaContent {
    text-align: left;
  }
  
  .ctaArea {
    padding: 1rem;
  }
} 