*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

.l-inner {
  width: min(1100px, 100% - 48px);
  margin-inline: auto;
}

.l-section {
  padding-block: 96px;
}

@media (max-width: 767px) {
  .l-section {
    padding-block: 56px;
  }

  .l-inner {
    width: min(1100px, 100% - 32px);
  }
}

.p-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  padding-block: 28px 0;
  background-color: transparent;
  transition:
    padding var(--anim-ui-duration) var(--anim-ease-ui),
    box-shadow var(--anim-ui-duration) var(--anim-ease-ui);
}

@media (prefers-reduced-motion: reduce) {
  .p-header {
    transition-duration: 0.01ms;
  }
}

.p-header.is-animScrolled {
  padding-block: 0;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.p-header__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-header__nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-header__navItem--mega {
  position: static;
}

.p-header__navItem {
  position: relative;
}

.p-header__navLink {
  display: block;
  padding: 22px 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.p-dropdown {
  min-width: 220px;
  padding: 12px 0;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
}

.p-dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
}

.p-dropdown a:hover {
  background-color: #f3f4f6;
}

.p-mega {
  left: auto;
  right: 0;
  width: min(760px, calc(100vw - 48px));
  padding: 28px 32px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

.p-mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-mega__ttl {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.p-mega__list a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
}

.p-hamburger {
  color: #1f2937;
}

.p-drawer {
  background-color: #12263f;
  color: #fff;
}

.p-drawer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
}

.p-drawer__logo {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-drawer__link {
  display: block;
  padding: 10px 24px;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.p-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
}

.p-fv {
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding-top: 68px;
  background: linear-gradient(135deg, #eef2f7 0%, #dde7f2 100%);
}

.p-fv__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-block: 40px 80px;
}

.p-fv__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
}

.p-fv__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-fv__deco {
  position: absolute;
  right: 0;
  top: -8px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7c93ad;
}

.p-fv__scroll {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #4b6a8f;
}

.p-fv__scroll span {
  display: block;
  width: 40px;
  height: 1px;
  background-color: #4b6a8f;
}

@media (max-width: 767px) {
  .p-fv__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .p-fv__deco {
    display: none;
  }
}

.p-fv__lead {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #4b6a8f;
}

.p-fv__ttl {
  margin: 0 0 20px;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.p-fv__text {
  margin: 0 0 32px;
  max-width: 34em;
  color: #4b5563;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #fff;
  background-color: #1f3a5f;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.c-btn--ghost {
  color: #1f3a5f;
  background-color: transparent;
  border: 1px solid #1f3a5f;
}

.c-sectionHead {
  margin-bottom: 44px;
}

.c-sectionHead__en {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #7c93ad;
}

.c-sectionHead__ttl {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.c-lead {
  max-width: 40em;
  margin: 0 0 40px;
  color: #4b5563;
}

.c-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 767px) {
  .c-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .p-mega__grid {
    grid-template-columns: 1fr;
  }
}

.c-card {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.c-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #e8edf2;
}

.c-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-card__body {
  padding: 22px 24px 26px;
}

.c-card__ttl {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.c-card__text {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.p-faq {
  background-color: #f6f8fa;
}

.p-faq__list {
  max-width: 820px;
}

.p-faq__item {
  margin-bottom: 14px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.p-faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.p-faq__qMark {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1f3a5f;
  line-height: 1;
}

.p-faq__qText {
  flex: 1;
  font-size: 16px;
}

.p-faq__aInner {
  display: flex;
  gap: 16px;
  padding: 4px 24px 24px;
  border-top: 1px solid #eef1f4;
  padding-top: 18px;
}

.p-faq__aMark {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: #b4553f;
  line-height: 1;
}

.p-faq__aText {
  margin: 0;
  font-size: 15px;
  color: #4b5563;
}

.p-tabs__bar {
  position: relative;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f3a5f;
}

.p-tabs__btn {
  padding: 14px 22px;
  font-size: 15px;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  color: #6b7280;
}

.p-tabs__btn.is-animCurrent {
  color: #1f3a5f;
  font-weight: 700;
}

.p-tabs__panel {
  padding-top: 26px;
  color: #4b5563;
}

.p-modal__body {
  width: min(560px, calc(100vw - 40px));
  padding: 36px 36px 32px;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
}

.p-modal__ttl {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
}

.p-modal__text {
  margin: 0 0 24px;
  color: #4b5563;
}

.p-parallax {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.p-parallax__bg {
  position: absolute;
  inset: -22% 0;
}

.p-parallax__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-parallax__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 30, 50, 0.42);
}

.p-parallax__body {
  position: relative;
  z-index: 1;
}

.p-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .p-works {
    grid-template-columns: 1fr;
  }
}

.p-works__item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background-color: #e8edf2;
}

.p-works__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-footer {
  padding-block: 40px;
  font-size: 13px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

.c-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.c-tag--default {
  color: #1f5f3a;
  background-color: #e3f2e8;
}

.c-tag--optin {
  color: #7a5320;
  background-color: #fbf0dc;
}

.p-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 300px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 18px 18px 20px;
  font-size: 13px;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid #d7dde5;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.p-panel.is-collapsed .p-panel__body {
  display: none;
}

.p-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
}

.p-panel__toggle {
  padding: 2px 10px;
  background-color: #eef1f5;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.p-panel__row {
  margin-bottom: 12px;
}

.p-panel__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 12px;
  color: #4b5563;
}

.p-panel__row input[type="range"] {
  width: 100%;
}

.p-panel__row select {
  width: 100%;
  padding: 5px;
  font-size: 12px;
}

.p-panel__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.p-panel__btn {
  flex: 1 1 calc(50% - 4px);
  padding: 8px 6px;
  font-size: 12px;
  color: #fff;
  background-color: #1f3a5f;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.p-panel__btn--sub {
  color: #1f3a5f;
  background-color: #eef1f5;
}

.p-panel__out {
  margin-top: 12px;
  padding: 10px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  background-color: #f6f8fa;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .p-panel {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 12px;
  }
}

.p-panel2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px;
  margin-bottom: 40px;
  background-color: #dff2ea;
  border-radius: 16px;
}

.p-panel2__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.p-panel2__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-zig {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.p-zig__item:nth-child(2) {
  transform: translateY(40px);
}

.p-zig__item:nth-child(3) {
  transform: rotate(-3deg);
}

.p-illust {
  max-width: 720px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
}

.p-illust img {
  display: block;
  width: 100%;
  height: auto;
}

.p-full {
  position: relative;
  min-height: 460px;
}

.p-full > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-full__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 40px 24px;
  text-align: center;
  background-color: rgba(15, 30, 50, 0.4);
}

@media (max-width: 767px) {
  .p-panel2 {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .p-zig {
    grid-template-columns: 1fr;
  }

  .p-zig__item:nth-child(2) {
    transform: none;
  }
}
