/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f5f4eb;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  color: #fff;
  background: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.logo:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Navigation */
.nav {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav a {
  color: #1a52a8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.4rem 1.1rem;
  margin: 0 0.3rem;
}

.nav a:hover,
.nav a:focus {
  opacity: 0.8;
  color: #1a52a8;
  outline: 2px solid #1a52a8;
  outline-offset: 2px;
  transform: translateY(-2px);
}

.nav a.active {
  background-color: #1a52a8;
  color: #fff;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  width: 30px;
  height: 34px;
  justify-content: space-around;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1a52a8;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 99;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  padding: 20px 0;
}

.nav-mobile li {
  padding: 5px 20px;
}

.nav-mobile a {
  color: #1a52a8;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  outline: 2px solid #1a52a8;
  /*  outline-offset: 2px; */
}

.nav-mobile a:hover,
.nav-mobile a:focus {
  color: white;
  background-color: #1a52a8;
}

/* Main Content */
.main {
  min-height: calc(100vh - 140px);
  /*  padding: 4rem 0; */
  padding: 2rem 0;

}

/* Footer Section */
.footer {
  background: #333;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.icon-heading {
  position: relative;
  padding-left: 2.5em;	/* アイコン分の余白を追加 */
}

.icon-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 2em;
  height: 2em;
  background-image: url("icon.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.footer-section p,
.footer-section li {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #999;
}

.font-big {
  font-size: 2.5em;
}


/* Back to Top Button */
.totop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.totop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a52a8;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.totop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a52a8;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.totop a:hover {
  background: #154490;
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 60px 0 40px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  opacity: 0.9;
  margin: 0 auto;
}

.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* レスポンシブなサイズ調整 */
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  max-width: 75ch;        /* 読みやすい行長に制限 */
  margin-bottom: 2rem;
}

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #dee2e6;
}

.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb a {
  color: #6c757d;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #1a52a8;
}

.breadcrumb .current {
  color: #1a52a8;
  font-weight: 500;
}

/* Contact Section */
.contact-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-top: 1.5rem;
}

/* Form Styles */
.form-section h2 {
  color: #1a52a8;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-intro {
  margin-bottom: 2rem;
  color: #666;
}

.privacy-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.privacy-notice h4 {
  color: #856404;
  margin-bottom: 0.5rem;
}

.privacy-notice p {
  color: #856404;
  margin: 0;
  font-size: 0.9rem;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.form-table th,
.form-table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.form-table th {
  background: #f8f9fa;
  font-weight: 500;
  width: 30%;
  color: #555;
}

.form-table td {
  background: white;
}

.required {
  color: #dc3545;
  font-weight: bold;
  margin-left: 0.2rem;
}

/* Form Input Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #1a52a8;
  box-shadow: 0 0 0 2px rgba(26, 82, 168, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  cursor: pointer;
}

/* Radio and Checkbox Styles */
.radio-group,
.checkbox-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Button Styles */
.form-buttons {
  text-align: center;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 0 0.5rem;
}

.btn-primary {
  background: #1a52a8;
  color: white;
}

.btn-primary:hover {
  background: #154490;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 82, 168, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}

/* Responsive Design */
/*@media (max-width: 768px) {*/
@media (max-width: 870px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .contact-content {
    padding: 2rem 1rem;
  }

  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .form-table th {
    background: #1a52a8;
    color: white;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 4px 4px 0 0;
  }

  .form-table td {
    padding: 1rem;
    border-radius: 0 0 4px 4px;
    margin-bottom: 1rem;
  }

  .form-table tr {
    display: block;
    margin-bottom: 0.5rem;
  }

  .radio-group,
  .checkbox-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Additional spacing for mobile */
@media screen and (max-width: 572px) {
  /*
  .container {
    padding: 0 15px;
  }
*/
  .header-container {
    padding: 1rem 15px;
  }
  /*
  .page-header {
    padding: 2rem 0;
  }
*/
  .page-header h1 {
    font-size: 2rem;
  }





  .main {
    padding: 2rem 0;
  }
}

/* --------------------------------------
  thanks.html
-------------------------------------- */
.thanks-content {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thanks-card {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a52a8, #0d47a1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.thanks-icon i {
  color: white;
  font-size: 2.5rem;
}

.thanks-title {
  font-size: 2.5rem;
  color: #1a52a8;
  margin-bottom: 20px;
  font-weight: 700;
}

.thanks-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.thanks-message {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border-left: 4px solid #1a52a8;
}

.thanks-message p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

.thanks-message p:last-child {
  margin-bottom: 0;
}

.contact-info {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  text-align: left;
}

.contact-info h3 {
  color: #1a52a8;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.contact-info p {
  margin-bottom: 10px;
  color: #555;
}

.contact-info a {
  color: #1a52a8;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.btn-home {
  display: inline-block;
  background: linear-gradient(135deg, #1a52a8, #0d47a1);
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 30px;
  transition: all 0.3s ease;
}

.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 82, 168, 0.3);
  color: white;
  text-decoration: none;
}

.btn-home i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .thanks-card {
    padding: 40px 20px;
    margin: 0 15px;
  }

  .thanks-title {
    font-size: 2rem;
  }

  .thanks-subtitle {
    font-size: 1.1rem;
  }

  .thanks-message {
    padding: 20px;
  }

  .contact-info {
    padding: 20px;
  }
}

/* FAQ部分のスタイル */
.container-faq {
  max-width: 1000px;
  margin: 0 auto;
/*  padding: 2rem; */
}
.page-faq {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 3rem 0; 
}
.page-faq h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin: 0.5rem 0 2rem;
/*  margin: 0 0 2rem 0; */
  position: relative;
  padding-bottom: 1rem;
}
/* h2の下線装飾 */
.page-faq h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 2px;
}
/* FAQ項目のスタイル */
.page-faq dl {
  margin: 0;
}
.page-faq dt {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  background: #f8f9fa;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid #3498db;
  border-radius: 8px;
  margin: 0 0 0.8rem 0;
  position: relative;
  transition: all 0.3s ease;
}
/* 質問アイコン */
.page-faq dt::before {
  content: '\f059';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #3498db;
  margin-right: 0.8rem;
  font-size: 1.1em;
}
/* ホバー効果 */
.page-faq dt:hover {
  background: #e8f4f8;
  transform: translateX(5px);
}
.page-faq dd {
  font-size: 1rem;
  color: #555;
  background: #ffffff;
  padding: 1.2rem 1.5rem;
  margin: 0 0 1.5rem 0;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  position: relative;
}
/* 回答アイコン */
.page-faq dd::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #2ecc71;
  margin-right: 0.8rem;
  font-size: 1.1em;
}
/* 最後の項目の余白調整 */
.page-faq dl dt:last-of-type {
  margin-bottom: 0.8rem;
}
.faq dl dd:last-of-type {
  margin-bottom: 0;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page-faq {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
  }
  .page-faq h2 {
    font-size: 1.5rem;
  }
  .page-faq dt,
  .page-faq dd {
    padding: 1rem 1.2rem;
  }
  .faq dt::before,
  .faq dd::before {
    margin-right: 0.6rem;
  }
}

/* CTAボタンの配置コンテナ */
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* 青色のCTAボタン（例：問い合わせ） */
.cta-button--primary {
  background-color: #1a52a8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}
.cta-button--primary:hover {
  background-color: #153d82;
}

/* 黄色のCTAボタン（お問い合わせ） */
.cta-button--highlight {
  display: inline-block;
  margin-top: 1.1rem;
  background: #ffd700;
  color: #333;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.cta-button--highlight:hover,
.cta-button--highlight:focus {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* 補助的な配置用 */
.cta-buttons-container {
  text-align: left;
}
