:root {
  --header-height: 72px;
  --guide-nav-height: 72px;
  --content-max-width: 1200px;
  --header-color: #2e9e8f;
  --hero-color: #52a090;
  --button-color: #ffffff;
  --button-text: #2e7d72;
  --page-background: #f4f8f7;
  --text-dark: #103430;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  background: var(--page-background);
  color: var(--text-dark);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-main {
  padding-top: var(--header-height);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: var(--header-color);
  box-shadow: 0 10px 30px rgba(16, 52, 48, 0.15);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px 0 8px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.site-header__press-area {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.site-header__press-area:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.site-logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.site-version {
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.site-header--show-version .site-version {
  opacity: 1;
  transform: translateY(0);
}

.header-open-button,
.header-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-open-button {
  background: #ffffff;
  color: #355753;
  border-color: #ffffff;
}

.header-open-button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.header-dropdown {
  position: relative;
}

.header-dropdown__trigger {
  gap: 10px;
  cursor: pointer;
}

.header-dropdown__trigger strong {
  font-weight: 800;
}

.header-dropdown__icon {
  width: 11px;
  height: 11px;
  object-fit: contain;
}

.header-dropdown__icon--open {
  display: none;
}

.header-dropdown.is-open .header-dropdown__icon--closed {
  display: none;
}

.header-dropdown.is-open .header-dropdown__icon--open {
  display: block;
}

.header-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid #cdd7d4;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 52, 48, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.header-dropdown.is-open .header-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #27413d;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.header-dropdown__item img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.header-dropdown__item:not(.is-selected) img {
  display: none;
}

.header-dropdown__item:hover,
.header-dropdown__item:focus-visible {
  background: #eef5f3;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: calc(100dvh - var(--header-height) - var(--guide-nav-height));
  background: linear-gradient(
    to right,
    var(--hero-color) 0,
    var(--hero-color) 50%,
    #ffffff 50%,
    #ffffff 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--hero-color) 0,
    var(--hero-color) calc(50% - 600px),
    transparent calc(50% - 600px),
    transparent calc(50% + 600px),
    #ffffff calc(50% + 600px),
    #ffffff 100%
  );
  pointer-events: none;
}

.hero__panel {
  min-height: calc(100dvh - var(--header-height) - var(--guide-nav-height));
}

.hero__panel--content {
  flex: 0 1 600px;
}

.hero__panel--visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 600px;
  padding: 26px 40px 30px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  min-height: 100%;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 34px 40px 30px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.hero__icon {
  width: clamp(60px, 5vw, 86px);
  height: clamp(60px, 5vw, 86px);
  flex: 0 0 auto;
  object-fit: contain;
}

.hero__title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.hero__text-group {
  display: grid;
  gap: 22px;
}

.hero__description {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 500;
  line-height: 1.75;
  color: #ffffff;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--button-color);
  color: var(--button-text);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(20, 67, 61, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__button:hover,
.hero__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(20, 67, 61, 0.23);
}

.hero__image-card {
  width: 100%;
  max-width: 410px;
  padding: 14px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(18, 60, 55, 0.14);
}

.hero__image {
  width: 100%;
  max-height: calc(100dvh - var(--header-height) - var(--guide-nav-height) - 72px);
  border-radius: 20px;
  object-fit: contain;
}

.guide-nav {
  height: var(--guide-nav-height);
  padding: 0 24px 24px;
  overflow-x: clip;
  background: var(--page-background);
}

.guide-nav__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: var(--content-max-width);
  height: 100%;
  margin: 0 auto;
  border: 1px solid #111111;
  background: #ffffff;
}

.guide-nav__inner::before,
.guide-nav__inner::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: max(0px, calc((100vw - min(100vw, var(--content-max-width))) / 2));
  background: #ffffff;
}

.guide-nav__inner::before {
  right: 100%;
  border-top: 1px solid #111111;
  border-bottom: 1px solid #111111;
  border-left: 1px solid #111111;
}

.guide-nav__inner::after {
  left: 100%;
  border-top: 1px solid #111111;
  border-right: 1px solid #111111;
  border-bottom: 1px solid #111111;
}

.guide-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 700;
}

.guide-nav__item + .guide-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #b7b7b7;
}

.guide-nav__item img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.news-section {
  padding: 48px 24px 88px;
  background: #ffffff;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.news-section__inner,
.about-section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section-heading {
  margin: 0 0 28px;
  color: #111111;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.news-card {
  display: block;
  overflow: hidden;
  border: 1px solid #d6dfdc;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 52, 48, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(16, 52, 48, 0.12);
}

.news-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f7f6;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 22px 22px 24px;
}

.news-card__title {
  margin: 0 0 14px;
  color: #111111;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.5;
}

.news-card__date {
  display: inline-block;
  color: #5d6764;
  font-size: 0.95rem;
  font-weight: 600;
}

.about-section {
  padding: 0 24px 96px;
  background: #ffffff;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.about-copy {
  max-width: 920px;
  color: #183633;
  font-size: 1.08rem;
  line-height: 2;
}

.about-copy p {
  margin: 0 0 1.15em;
}

.about-subheading {
  margin: 2.1em 0 0.8em;
  color: #111111;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.5;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 980;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #2e9e8f;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(16, 52, 48, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(16, 52, 48, 0.28);
}

.article-page {
  min-height: 100vh;
  background: #f5f8f7;
}

.article-main {
  padding: calc(var(--header-height) + 40px) 24px 96px;
}

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

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #2e7d72;
  font-size: 0.98rem;
  font-weight: 800;
}

.article-back-link img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.article-card {
  padding: 40px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 52, 48, 0.08);
}

.article-card__title {
  margin: 0 0 12px;
  color: #111111;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
}

.article-card__date {
  display: inline-block;
  margin-bottom: 28px;
  color: #5d6764;
  font-size: 1rem;
  font-weight: 700;
}

.article-card__image {
  width: 100%;
  margin-bottom: 32px;
  border-radius: 22px;
}

.article-card__content {
  color: #183633;
  font-size: 1.08rem;
  line-height: 2;
}

.article-card__content p {
  margin: 0 0 1.2em;
}

.article-card__content a {
  color: #2e9e8f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 1100px) {
  .hero {
    display: grid;
    min-height: auto;
    background: none;
  }

  .hero::before {
    display: none;
  }

  .hero__panel {
    min-height: auto;
  }

  .hero__panel--content {
    background: var(--hero-color);
  }

  .hero__content {
    max-width: 640px;
    margin: 0;
    padding: 48px 32px 40px;
    gap: 32px;
  }

  .hero__panel--visual {
    padding: 28px 24px 48px;
    background: #ffffff;
  }

  .guide-nav {
    height: auto;
    padding: 0 24px 24px;
  }

  .guide-nav__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-nav__item:nth-child(4)::before {
    display: none;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
    --guide-nav-height: 64px;
  }

  .site-header__inner {
    padding: 0 20px 0 8px;
  }

  .site-header__actions {
    gap: 8px;
    margin-left: 12px;
  }

  .header-open-button,
  .header-dropdown__trigger {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .site-header__press-area {
    width: 38px;
    height: 38px;
  }

  .site-logo {
    font-size: 1.5rem;
  }

  .hero__content {
    padding: 38px 20px 32px;
    gap: 24px;
  }

  .hero__brand {
    gap: 14px;
  }

  .hero__description {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero__button {
    width: 100%;
    padding: 18px 24px;
    text-align: center;
  }

  .hero__panel--visual {
    padding: 18px 16px 32px;
  }

  .hero__image-card {
    padding: 10px;
    border-radius: 20px;
  }

  .guide-nav {
    padding: 0 16px 16px;
  }

  .guide-nav__inner {
    grid-template-columns: 1fr 1fr;
  }

  .guide-nav__inner::before,
  .guide-nav__inner::after {
    width: 16px;
  }

  .guide-nav__item {
    min-height: 54px;
    font-size: 0.88rem;
  }

  .guide-nav__item:nth-child(3)::before,
  .guide-nav__item:nth-child(5)::before {
    display: none;
  }

  .news-section {
    padding: 36px 16px 72px;
  }

  .about-section {
    padding: 0 16px 72px;
  }

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

  .article-main {
    padding: calc(var(--header-height) + 24px) 16px 72px;
  }

  .article-card {
    padding: 24px 20px 28px;
    border-radius: 22px;
  }

  .article-card__content {
    font-size: 1rem;
    line-height: 1.9;
  }

  .about-copy {
    font-size: 1rem;
    line-height: 1.9;
  }

  .about-subheading {
    font-size: 1.08rem;
    line-height: 1.6;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@supports not (height: 100dvh) {
  .hero {
    min-height: calc(100vh - var(--header-height) - var(--guide-nav-height));
  }

  .hero__panel {
    min-height: calc(100vh - var(--header-height) - var(--guide-nav-height));
  }

  .hero__image {
    max-height: calc(100vh - var(--header-height) - var(--guide-nav-height) - 72px);
  }
}

.howto-carousel {
  margin-top: 32px;
}

.howto-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.howto-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.howto-slide {
  flex: 0 0 100%;
  display: flex;
  gap: 32px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 24px;
  padding: 32px;
  box-sizing: border-box;
  min-height: 320px;
}

.howto-slide__image {
  flex: 0 0 42%;
  min-height: 240px;
  border: 2px dashed #cfcfcf;
  border-radius: 20px;
  background: #f7f7f7;
}

.howto-slide__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.howto-slide__title {
  margin: 0 0 20px;
  font-size: 2rem;
  line-height: 1.3;
  color: #111111;
}

.howto-slide__text {
  margin: 0;
  min-height: 120px;
  color: #444444;
  line-height: 1.8;
}

.howto-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.howto-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.howto-carousel__arrow img {
  width: 40px;
  height: 40px;
  display: block;
}

.howto-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.howto-carousel__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #111111;
  background: #ffffff;
  cursor: pointer;
}

.howto-carousel__dot.is-active {
  background: #111111;
}

@media (max-width: 768px) {
  .howto-slide {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    min-height: auto;
  }

  .howto-slide__image {
    flex: none;
    width: 100%;
    min-height: 200px;
  }

  .howto-slide__title {
    font-size: 1.5rem;
  }

  .howto-carousel__controls {
    gap: 16px;
  }
}