@charset "UTF-8";
:root {
  --color-primary: #3f7652;
  --color-primary-dark: #315e40;
  --color-primary-soft: #eaf2ec;
  --color-green-light: #83a96f;
  --color-accent: #d99a5e;
  --color-flag: #e45132;
  --color-text: #26342b;
  --color-text-light: #6d776f;
  --color-background: #fdfcf8;
  --color-background-soft: #f4f7f2;
  --color-surface: #ffffff;
  --color-border: #dfe6df;
  --border-radius: 14px;
  --content-width: 720px;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-weight: 600;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--color-primary);
}

.app {
  width: calc(100% - 32px);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 0;
}

.logo,
.round-date,
.round-time,
.progress-number {
  font-family: "proxima-nova", sans-serif;
}

.logo-text {
  font-family: "proxima-nova", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-fairway {
  color: var(--color-primary);
}

.logo-day {
  color: var(--color-accent);
}

.primary-button {
  min-height: 52px;
  padding: 12px 20px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border: 0;
  border-radius: var(--border-radius);
}

.primary-button {
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.primary-button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.primary-button:hover:not(:disabled) {
  background: var(--color-primary-dark);
}
.primary-button:active:not(:disabled) {
  transform: translateY(1px);
}

.site-header {
  padding: 18px 20px 8px;
}

.site-header__inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.site-logo img {
  display: block;
  width: 42px;
  height: 42px;
}

.site-logo__text {
  font-family: "proxima-nova", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--color-primary);
}

.site-logo__day {
  color: var(--color-accent);
}

.footer {
  margin-top: 96px;
  padding: 40px 24px;
  border-top: 1px solid var(--color-border);
}
.footer__inner {
  max-width: 960px;
  margin: 0 auto;
}
.footer__brand span {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
}
.footer__brand p {
  margin: 6px 0 0;
  font-size: 0.8rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}
.footer__nav a {
  color: inherit;
  font-size: 0.8rem;
  text-decoration: none;
}
.footer__nav a:hover {
  color: var(--color-primary);
}
.footer__copyright {
  margin: 32px 0 0;
  font-size: 0.75rem;
  opacity: 0.65;
}

@media (max-width: 767px) {
  .footer {
    margin-top: 64px;
    padding: 32px 24px;
  }
  .footer__nav {
    flex-direction: column;
    gap: 12px;
  }
}
/* cookie consent */
.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-consent__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e3ebe5;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.cookie-consent__text {
  flex: 1;
  margin: 0;
  color: #4b554e;
  font-size: 0.875rem;
  line-height: 1.7;
}
.cookie-consent__text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__text a:hover {
  text-decoration: none;
}
.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}
.cookie-consent__button {
  min-height: 40px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}
.cookie-consent__button--accept {
  color: #fff;
  background: var(--color-primary);
}
.cookie-consent__button--accept:hover {
  background: #315f41;
}
.cookie-consent__button--deny {
  color: var(--color-primary);
  background: #fff;
}
.cookie-consent__button--deny:hover {
  background: #f4f8f5;
}
@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
  .cookie-consent__inner {
    display: block;
    padding: 16px;
  }
  .cookie-consent__text {
    font-size: 0.8125rem;
  }
  .cookie-consent__actions {
    justify-content: flex-end;
    margin-top: 14px;
  }
  .cookie-consent__button {
    padding-right: 14px;
    padding-left: 14px;
  }
}

.home {
  padding: 48px 24px 80px;
}

.home-hero {
  max-width: 720px;
  margin-inline: auto;
  padding: 0 0 56px;
  text-align: center;
}
.home-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.home-hero__lead {
  max-width: 560px;
  margin: 24px auto 32px;
  line-height: 1.9;
}
.home-hero .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  text-decoration: none;
}

/* recent-round */
.recent-round {
  max-width: 720px;
  margin-inline: auto;
  margin: 0 auto;
  display: none;
}
.recent-round.is-visible {
  display: block;
}
.recent-round h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.recent-round__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.recent-round__card:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}
.recent-round__content {
  min-width: 0;
}
.recent-round__content strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}
.recent-round__content strong svg {
  color: var(--color-primary);
}
.recent-round__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  font-size: 0.875rem;
}
.recent-round__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.recent-round__meta svg {
  color: var(--color-primary);
}
.recent-round__action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
}
.recent-round__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.recent-round__location {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.recent-round__chevron {
  width: 16px;
  height: 16px;
}

.recent-round__more {
  margin: 16px 0 0;
  text-align: right;
}
.recent-round__more a {
  color: #3f7652;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.recent-round__more a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .home {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .home-hero {
    padding: 0 0 44px;
  }
  .home-hero__lead {
    margin-top: 20px;
    margin-bottom: 28px;
  }
  .home-hero .primary-button {
    width: 100%;
  }

  .recent-round__card {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }
  .recent-round__action {
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
  }
}
/* features */
.home-features {
  max-width: 960px;
  margin: 96px auto 0;
}

.home-section-heading {
  margin-bottom: 40px;
  text-align: center;
}
.home-section-heading p {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.home-section-heading h2 {
  margin: 0;
  font-size: 1.75rem;
}

.home-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-feature {
  padding: 36px 32px;
}
.home-feature + .home-feature {
  border-left: 1px solid var(--color-border);
}
.home-feature__number {
  display: block;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.home-feature h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 1.6;
}
.home-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .home-features {
    margin-top: 64px;
  }

  .home-section-heading {
    margin-bottom: 28px;
  }
  .home-section-heading h2 {
    font-size: 1.5rem;
  }

  .home-features__grid {
    grid-template-columns: 1fr;
  }

  .home-feature {
    padding: 28px 8px;
  }
  .home-feature + .home-feature {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }
}
/* howto */
.home-howto {
  max-width: 960px;
  margin: 112px auto 0;
}

.home-howto__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-howto__step {
  padding: 38px 32px;
  background: var(--color-primary-soft);
  border-radius: 16px;
}
.home-howto__step h3 {
  margin: 14px 0 12px;
  font-size: 1.1rem;
}
.home-howto__step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
}

.home-howto__number {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

@media (max-width: 767px) {
  .home-howto {
    margin-top: 72px;
  }

  .home-howto__steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-howto__step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 22px;
  }
  .home-howto__step h3 {
    margin: 0 0 8px;
  }

  .home-howto__number {
    padding-top: 3px;
  }
}
/* cta */
.home-cta {
  max-width: 960px;
  margin: 112px auto 0;
  padding: 64px 32px;
  text-align: center;
  background: var(--color-primary-soft);
  border-radius: 20px;
}
.home-cta__eyebrow {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.home-cta h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.5;
}
.home-cta__text {
  margin: 20px auto 28px;
  font-size: 0.95rem;
  line-height: 1.9;
}
.home-cta .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  text-decoration: none;
}

@media (max-width: 767px) {
  .home-cta {
    margin-top: 72px;
    padding: 48px 24px;
    border-radius: 16px;
  }
  .home-cta h2 {
    font-size: 1.6rem;
  }
  .home-cta .primary-button {
    width: 100%;
  }
}
/* faq */
.home-faq {
  max-width: 720px;
  margin: 112px auto 0;
}

.home-faq__list {
  border-top: 1px solid var(--color-border);
}
.home-faq__list details {
  border-bottom: 1px solid var(--color-border);
}
.home-faq__list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.home-faq__list summary::-webkit-details-marker {
  display: none;
}
.home-faq__list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  content: '+';
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.home-faq__list details[open] summary::after {
  content: '−';
}
.home-faq__list p {
  margin: 0;
  padding: 0 48px 22px 0;
  font-size: 0.9rem;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .home-faq {
    margin-top: 72px;
  }

  .home-faq__list summary {
    padding: 20px 40px 20px 0;
  }
  .home-faq__list p {
    padding: 0 40px 20px 0;
  }
}
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 64px;
}
.legal-page__header {
  margin-bottom: 56px;
}
.legal-page__eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.legal-page h1 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.4;
}
.legal-page__content {
  font-size: 0.9rem;
  line-height: 2;
}
.legal-page__content > p {
  margin: 0 0 20px;
}
.legal-page__content section {
  margin-top: 48px;
}
.legal-page__content h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 1.6;
}
.legal-page__content ol {
  margin: 0;
  padding-left: 1.6em;
}
.legal-page__content li + li {
  margin-top: 8px;
}
.legal-page__meta {
  margin-top: 64px;
}
.legal-page__meta p {
  margin: 4px 0;
}

@media (max-width: 767px) {
  .legal-page {
    padding-top: 40px;
  }
  .legal-page__header {
    margin-bottom: 40px;
  }
  .legal-page h1 {
    font-size: 2rem;
  }
  .legal-page__content {
    font-size: 0.875rem;
  }
  .legal-page__content section {
    margin-top: 40px;
  }
}
.contact-page {
  width: 100%;
  max-width: var(--content-width);
  margin: 72px auto 0;
  padding: 0 24px;
}

.contact-page__header {
  margin-bottom: 48px;
}
.contact-page__header h1 {
  margin: 8px 0 0;
  font-size: 2rem;
  line-height: 1.4;
}

.contact-page__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-family: "proxima-nova", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.contact-page__lead {
  margin: 24px 0 0;
  line-height: 1.9;
}

.contact-form {
  display: grid;
  gap: 32px;
}

.contact-form__field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.contact-form__field textarea {
  resize: vertical;
  line-height: 1.7;
}

.contact-form__required,
.contact-form__optional {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.7rem;
  font-weight: 400;
}

.contact-form__required {
  color: var(--color-primary);
}

.contact-form__optional {
  opacity: 0.6;
}

.contact-form__agreement label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.contact-form__agreement input {
  margin-top: 4px;
}
.contact-form__agreement a {
  color: var(--color-primary);
}

.contact-form__actions {
  text-align: center;
}

.contact-form__submit {
  min-width: 180px;
  padding: 14px 32px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 767px) {
  .contact-page {
    margin-top: 48px;
    padding: 0 20px;
  }

  .contact-page__header {
    margin-bottom: 40px;
  }
  .contact-page__header h1 {
    font-size: 1.75rem;
  }

  .contact-form {
    gap: 28px;
  }

  .contact-form__submit {
    width: 100%;
  }
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__errors {
  margin-bottom: 32px;
  padding: 18px 20px;
  border: 1px solid #e6d8c5;
  border-radius: 10px;
  background: #fffaf3;
}
.contact-form__errors p {
  margin: 0;
  font-weight: 600;
}
.contact-form__errors ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.contact-form__errors li {
  position: relative;
  padding-left: 1.4em;
  line-height: 1.7;
}
.contact-form__errors li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: #b77935;
  font-weight: 700;
}
.contact-form__errors li + li {
  margin-top: 4px;
}
.contact-form__errors--notice {
  border-color: var(--color-border);
  background: #f4f8f4;
}
.contact-form__errors--notice li::before {
  color: var(--color-primary);
}
