/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 24px;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo {
  display: block;
  width: 200px;
  height: auto;
  margin-right: auto;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__link {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  background: linear-gradient(transparent 60%, #ffdb4f 60%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, opacity 0.3s ease;
}

.header__link:hover {
  opacity: 0.7;
  background-size: 100% 100%;
}

/* Main Content */
.main {
  flex: 1;
  padding: 48px 24px;
}

.main__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
  color: #222;
}

.page-description {
  text-align: center;
  margin-bottom: 32px;
  color: #666;
}

/* Form Container */
.form-container {
}

.form-container iframe {
  display: block;
  margin: 0 auto;
  min-height: 500px;
}

/* Thank You Page */
.thank-you-message {
  text-align: center;
  padding: 48px 24px;
}

.thank-you-message__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #222;
}

.thank-you-message__text {
  margin-bottom: 32px;
  color: #666;
  line-height: 1.8;
  text-align: left;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #008A83;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: rgba(0, 138, 131, 0.85);
}

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 24px;
  text-align: center;
}

.footer__copyright {
  font-size: 0.875rem;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 12px 16px;
  }

  .header__logo {
    width: 160px;
  }

  .main {
    padding: 32px 16px;
  }

  .page-title {
    font-size: 1.5rem;
  }

}
