/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
:root {
  --color-primary: #ffd803;
  --color-secondary: #bae8e8;
  --color-text: #272343;
  --color-text-light: #2d334a;
  --color-background: #fffefa;
  --color-background-alt: #e3f6f5;
  --color-notice: #aeaeae;
  --font-family: "Noto Sans JP", sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

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

/* Header */
.header {
  background-color: #fffefa;
  padding: 20px 40px;
}

.header-container {
  max-width: 1460px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}

.logo-image {
  width: 194px;
  height: 30px;
}

.logo-text {
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #272343;
}

.header-buttons {
  display: flex;
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 30px;
  border-radius: 30px;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

.btn-login {
  background-color: #bae8e8;
  color: #272343;
}

.btn-register {
  background-color: #ffd803;
  color: #272343;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 800px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 100px;
}

.hero-title {
  font-weight: 300;
  font-size: 50px;
  line-height: 1.4;
  letter-spacing: 0.11em;
  color: #ffffff;
  margin-bottom: 40px;
}

.hero-box {
  background-color: #ffffff;
  border-radius: 32px;
  padding: 39px 24px;
  width: 372px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-box-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2d334a;
  width: 100%;
  text-align: center;
}

.hero-box-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #2d334a;
  width: 100%;
  text-align: center;
}

.hero-box-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}

.hero-section.pages {
  height: 300px;
  .hero-title {
    font-weight: 300;
    text-align: center;
  }
}

.pages-title {
  text-align: center;
  margin-bottom: 60px;
}

.btn-primary {
  background-color: #ffd803;
  color: #272343;
  width: 100%;
}

.btn-secondary {
  background-color: #bae8e8;
  color: #272343;
  width: 100%;
}

.hero-box-note {
  font-size: 12px;
  line-height: 1.5;
  color: #aeaeae;
  margin-top: 20px;
}

.section-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-text {
  font-size: 1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.button {
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-primary {
  background-color: #ffd803;
  color: #272343;
}

.button-secondary {
  background-color: #bae8e8;
  color: #272343;
}

.notice-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.content {
  background-color: #fffefa;
  padding: 60px 0;
}

.steps {
  display: grid;
  place-items: center;
}

.terms-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.terms-introduction,
.terms-section {
  margin-bottom: 40px;
}

.terms-section h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #2d334a;
  margin-bottom: 20px;
}

.terms-section p,
.terms-introduction p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 1em;
}

.terms-section ul {
  list-style: none;
  padding: 0;
}

.terms-section li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 1em;
  padding-left: 1.5em;
  position: relative;
}

.terms-section li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.terms-date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #2d334a;
  text-align: right;
  margin-top: 40px;
}

.footer {
  background-color: #fffefa;
  border-top: 1px solid #272343;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 80px 0;
}

.footer-link {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #272343;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-info {
  background-color: #272343;
  padding: 30px 0;
  text-align: center;
}

.footer-info p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

/* About Section */
.about {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  line-height: 2;
}

/* Features Section */
.features {
  background-color: var(--color-background-alt);
  text-align: center;
  padding: 80px 60px;
}

.feature-steps {
  max-width: 1400px;
  margin-inline: auto;
  img {
    max-width: 100%;
    margin-inline: auto;
  }
}

/* Simple Section */
.simple-section {
  background-color: var(--color-background-alt);
  padding: 120px 20px 100px;
  text-align: center;
}

.simple-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1317px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.simple-feature {
  background-color: white;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.features {
  padding: 60px 16px;
}
.feature-steps {
  picture {
    display: block;
    max-width: 1200px;
    margin-inline: auto;
  }
}

.feature-icon {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0;
}

.feature-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0;
}

/* Natural Meeting Section */
.natural-meeting {
  position: relative;
}

.natural-meeting-image {
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.natural-meeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.natural-meeting-content {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  background-color: rgba(215, 215, 215, 0.5);
  padding: 30px 60px;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  color: white;
  line-height: 2;
  .section-title {
    font-size: 22px;
  }
}

.natural-meeting-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  max-width: 300px;
  margin-inline: auto;
}

/* CTA Section */
.cta {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 80px 20px;
}

.cta-box {
  border: 4px solid var(--color-text);
  border-radius: 16px;
  padding: 50px 0;
  width: 570px;
  text-align: center;
  .section-title {
    font-size: 20px;
  }
  .button {
    width: 300px;
    margin-top: 20px;
    display: block;
    margin-inline: auto;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-content,
  .natural-meeting-content {
  }

  .cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-box {
    width: 100%;
    max-width: 570px;
  }

  .footer-links {
    flex-wrap: wrap;
    padding-inline: 20px;
  }
  .footer-info {
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px;
  }
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  .header-container {
    justify-content: center;
  }

  .feature-steps {
    picture {
      display: block;
      max-width: 600px;
      margin-inline: auto;
    }
  }

  .logo-text {
    font-size: 18px;
  }
  .logo-image {
    width: 120px;
    height: auto;
  }
  .header-logo a {
    gap: 8px;
  }
  .header-buttons {
    gap: 8px;
  }
  .btn {
    padding: 12px;
  }
  .hero-content {
    padding: 0;
  }
  .hero-section {
    height: 600px;
  }
  .hero-title {
    font-size: 32px;
    text-align: center;
  }
  .hero-box {
    margin-inline: auto;
    background-color: rgba(255, 255, 255, 0.7);
  }
  .natural-meeting-image {
    height: 600px;
  }
  .natural-meeting-content {
    background-color: rgba(215, 215, 215, 0.5);
    padding: 30px;
    text-align: center;
    color: white;
    line-height: 2;
    width: 80%;
  }

  .button-large {
    min-width: auto;
    width: 100%;
  }
  .button {
    font-size: 14px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 20px;
  }

  .simple-section {
    padding: 80px 20px;
  }

  .simple-features {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .simple-feature {
    padding: 24px;
  }

  .section-title {
    font-size: 1.2rem;
  }
  .header-buttons {
    display: none;
  }
}

@media (max-width: 480px) {
}

/* Registration Form Styles */
.forms {
  max-width: 1036px;
  margin: 60px auto 0;
  padding: 0 20px;
  border-top: 2px solid #272343;
}

.completion-message {
  background-color: #e3f6f5;
  border-radius: 16px;
  padding: 60px;
  max-width: 664px;
  margin: 60px auto 60px;
  text-align: center;
}

.completion-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #2d334a;
  margin-bottom: 32px;
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
}

.completion-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  text-align: left;
}

@media (max-width: 768px) {
  .completion-message {
    padding: 40px 20px;
  }
}

.registration-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 60px 0 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 470px;
}

.form-group label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
}

.required {
  color: #ff0000;
  font-size: 12px;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background-color: #ffffff;
  border: 2px solid #272343;
  border-radius: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.form-input:focus {
  outline: none;
  border-color: #ffd803;
}

.form-input[type="textarea"],
.form-input[rows] {
  height: auto;
  padding: 16px;
  resize: vertical;
  min-height: 120px;
}

.form-file {
  width: 100%;
}

.form-file:focus {
  outline: none;
  border-color: #ffd803;
}

.id-document-info {
  background-color: rgba(227, 246, 245, 0.5);
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.id-document-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 16px;
}

.id-document-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 16px;
}

.id-document-list {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 2;
  color: #2d334a;
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.id-document-list li {
  margin-bottom: 8px;
}

.id-document-note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 2;
  color: #ff0000;
}

.submit-button {
  background-color: #ffd803;
  color: #272343;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  padding: 24px 50px;
  border: none;
  border-radius: 1000px;
  cursor: pointer;
  transition: opacity 0.3s;
  align-self: center;
  margin-top: 30px;
}

.submit-button:hover {
  opacity: 0.8;
}

@media (max-width: 1200px) {
}

@media (max-width: 768px) {
  .registration-form {
    padding: 40px 20px 0;
  }

  .form-group {
    width: 100%;
  }

  .submit-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Confirmation Form Styles */
.confirmation-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.confirmation-section {
  text-align: center;
  margin-bottom: 40px;
}

.confirmation-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.confirmation-text {
  font-size: 16px;
  color: var(--color-text-light);
}

.confirmation-details {
  background-color: var(--color-background-alt);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 40px;
}

.detail-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(39, 35, 67, 0.1);
}

.detail-group:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-light);
}

.detail-value {
  font-size: 16px;
  color: var(--color-text);
}

.confirmation-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.confirmation-buttons .btn {
  min-width: 200px;
}

@media (max-width: 768px) {
  .confirmation-form {
    padding: 20px;
  }

  .confirmation-details {
    padding: 24px;
  }

  .detail-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .confirmation-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .confirmation-buttons .btn {
    width: 100%;
  }
}

.form-links {
  width: 470px;
  text-align: right;
  margin-top: -16px;
}

.forgot-password {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #2d334a;
  text-decoration: none;
  transition: opacity 0.3s;
}

.forgot-password:hover {
  opacity: 0.7;
}

.register-link {
  margin-top: 32px;
  text-align: center;
}

.register-link p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #2d334a;
}

.register-link a {
  color: #2d334a;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.register-link a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .form-links {
    width: 100%;
  }
}

/* Password Forgot Form Styles */
.password-forgot-form {
  max-width: 1036px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.password-forgot-message {
  background-color: #e3f6f5;
  border-radius: 16px;
  padding: 60px;
  max-width: 664px;
  margin: 60px auto 60px;
  text-align: center;
}

.password-forgot-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 32px;
}

.password-forgot-link {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  text-decoration: none;
  transition: opacity 0.3s;
}

.password-forgot-link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .password-forgot-message {
    padding: 40px 20px;
  }
}

.age-verification-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.age-verification-intro {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
  color: #2d334a;
}

.age-verification-section {
  margin-bottom: 60px;
}

.age-verification-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #2d334a;
}

.age-verification-section h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 30px 0 20px;
  color: #2d334a;
}

.age-verification-section p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
  color: #2d334a;
}

.age-verification-section ol,
.age-verification-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.age-verification-section li {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 10px;
  color: #2d334a;
}

.age-verification-section strong {
  font-weight: 700;
}

/* コミュニティガイドライン */
.guidelines-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.guidelines-intro {
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 40px;
}

.guidelines-section {
  margin-bottom: 60px;
}

.guidelines-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2d334a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #bae8e8;
}

.guidelines-section p {
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 20px;
}

.guidelines-section ul {
  list-style-type: none;
  padding-left: 0;
}

.guidelines-section ul li {
  font-size: 16px;
  line-height: 2;
  color: #2d334a;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.guidelines-section ul li:before {
  content: "•";
  color: #ffd803;
  position: absolute;
  left: 0;
  font-size: 20px;
}

.guidelines-section ul li strong {
  color: #272343;
  font-weight: 700;
}

/* Company Info and Privacy Policy */
.company-info-container,
.privacy-policy-container {
  margin-bottom: 60px;
}

.company-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.company-info-table th,
.company-info-table td {
  padding: 16px;
  border: 1px solid #e3f6f5;
  text-align: left;
  vertical-align: top;
}

.company-info-table th {
  background-color: #e3f6f5;
  font-weight: 700;
  width: 200px;
}

.company-info-table td {
  background-color: #fff;
}

.privacy-policy-section {
  margin-bottom: 60px;
}

.privacy-policy-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.privacy-policy-section p {
  line-height: 2em;
  margin-bottom: 20px;
}

.privacy-policy-section ul {
  line-height: 2em;
  margin-left: 20px;
  margin-bottom: 20px;
}

.privacy-policy-section h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 20px 0 10px;
}

/* Wrapper */
.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.message {
  display: none;
  color: red;
  font-weight: bold;
}
