:root {
  --color-text: #1f2d3d;
  --color-text-sub: #6b7785;
  --color-text-soft: #d8dde4;
  --color-text-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-concept: #e9f6fe;
  --color-bg-light: #f4f4f4;
  --color-accent: #2a5d8f;
  --color-accent-dark: #16386d;
  --color-accent-light: #3a6fb0;
  --color-accent-contact-to: #416eb5;
  --color-cta: #3f6bac;
  --color-cta-hover: #2a5d8f;
  --color-nav-en: #708eb0;
  --color-sub-concept: #507196;
  --color-line: #cfd6df;
  --color-line-soft: #e5e9ee;
  --color-line-name: #4d4d4d;
  --content-width: 1180px;
  --side-padding: 16px;
  --section-padding-y: 60px;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --z-header: 100;
  --z-drawer: 1000;
  --z-modal: 1100;
  --scrollbar-width: 0px;
}

@media (min-width: 768px) {
  :root {
    --side-padding: 30px;
    --section-padding-y: 100px;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-bg);
}

body.is-drawer-open,
body.is-modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }
}

@media screen and (min-width: 1024px) {
  .u-tab-only {
    display: none;
  }
  
}

.l-main {
  display: block;
}

.p-shared-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  min-height: 48px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-white);
  background-color: var(--color-cta);
  text-align: center;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.p-shared-button:hover {
  background-color: var(--color-cta-hover);
}

.p-shared-button--large {
  min-width: 280px;
  min-height: 56px;
  font-size: 16px;
}

.p-shared-button__icon {
  display: block;
  filter: brightness(0) invert(1);
}

.p-shared-modal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  background-color: var(--color-bg-concept);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: var(--color-accent);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.p-shared-modal-trigger:hover {
  background-color: var(--color-accent);
  color: var(--color-text-white);
}

.p-shared-modal-trigger__icon {
  display: block;
  transition: filter 0.2s ease;
}

.p-shared-modal-trigger:hover .p-shared-modal-trigger__icon {
  filter: brightness(0) invert(1);
}

.p-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-line-soft);
  z-index: var(--z-header);
}

.p-header__inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 4px var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.p-header__logo {
  flex-shrink: 0;
  width: 120px;
}

@media (min-width: 768px) {

  .p-header__inner {
    padding: 12px clamp(16px, calc(30 / 1440 * 100vw), 30px);
  }

  .p-header__logo {
    width: clamp(120px, calc(180 / 1440 * 100vw), 180px);
  }
}

.p-header__logo-link {
  display: block;
}

.p-header__nav {
  display: none;
}

@media (min-width: 768px) {
  .p-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, calc(64 / 1440 * 100vw), 64px);
    flex: 1;
    justify-content: flex-end;
  }
}

.p-header__nav-list {
  display: flex;
  gap: clamp(24px, calc(80 / 1440 * 100vw), 80px);
}

.p-header__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.p-header__nav-link:hover {
  color: var(--color-accent);
}

.p-header__nav-jp {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.275;
}

.p-header__nav-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-nav-en);
  line-height: 1;
}

.p-header__cta {
  min-width: 200px;
  min-height: 48px;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.p-header__burger {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: calc(var(--z-header) + 1);
}

@media (min-width: 768px) {
  .p-header__burger {
    display: none;
  }
}

.p-header__burger-bar {
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.p-header__burger-bar:nth-child(2) {
  width: 28px;
}

.p-header__burger-bar:nth-child(3) {
  width: 24px;
}

.p-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.p-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}

.p-drawer__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  padding: 8px 16px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.p-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 4px;
}

.p-drawer__logo {
  width: 120px;
}

.p-drawer__logo-link {
  display: block;
}

.p-drawer__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.p-drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 40px 6px;
}

.p-drawer__nav-list {
  display: flex;
  flex-direction: column;
}

.p-drawer__nav-item {
  padding: 24px 0;
  text-align: center;
}

.p-drawer__nav-item + .p-drawer__nav-item {
  border-top: 1px solid #cccccc;
}

.p-drawer__nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.p-drawer__nav-link:hover {
  opacity: 0.7;
}

.p-drawer__nav-jp {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.275;
  color: var(--color-text);
}

.p-drawer__nav-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-nav-en);
  line-height: 1;
}

.p-drawer__cta {
  align-self: center;
  width: 100%;
  max-width: 240px;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .p-drawer {
    display: none;
  }
}

.p-shared-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.p-shared-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.p-shared-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(31, 45, 61, 0.7);
  cursor: pointer;
}

.p-shared-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  max-height: 90dvh;
  background-color: var(--color-bg);
  border-radius: 8px;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(12px);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.p-shared-modal.is-open .p-shared-modal__dialog {
  transform: translateY(0);
}

.p-shared-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.p-shared-modal__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
  min-height: 0;
}

.p-shared-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  align-self: stretch;
}

.p-shared-modal__photo {
  flex-shrink: 0;
  width: 60%;
  max-width: 200px;
  margin: 0 auto;
  aspect-ratio: 187 / 231;
  overflow: hidden;
}

.p-shared-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-shared-modal__header {
  margin-bottom: 16px;
}

.p-shared-modal__role {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.p-shared-modal__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}

.p-shared-modal__company,
.p-shared-modal__title {
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.p-shared-modal__text {
  font-size: 13px;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .p-shared-modal__dialog {
    padding: 20px;
  }

  .p-shared-modal__content {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }

  .p-shared-modal__photo {
    width: 38%;
    max-width: 200px;
    margin: 0;
  }

  .p-shared-modal__company,
  .p-shared-modal__title {
    font-size: 14px;
  }

  .p-shared-modal__text {
    font-size: 15px;
  }
}

.p-footer {
  background-color: var(--color-cta);
  color: var(--color-text-white);
  padding: 32px 0 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .p-footer {
    padding: 60px 0 30px;
    text-align: left;
  }
}

.p-footer__inner {
  max-width: calc(var(--content-width) + var(--side-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

@media (min-width: 768px) {
  .p-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: start;
  }
}

.p-footer__logo {
  width: 130px;
  margin: 0 auto 20px;
}

@media (min-width: 768px) {
  .p-footer__logo {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    width: 140px;
    margin: 0 0 11px;
  }
}

.p-footer__logo-link {
  display: block;
}

.p-footer__info {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .p-footer__info {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    margin-bottom: 0;
    font-size: 16px;
  }
}

.p-footer__org-name {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1;
}

@media (min-width: 768px) {
  .p-footer__org-name {
    margin-bottom: 7px;
  }
}

.p-footer__address,
.p-footer__tel,
.p-footer__mail {
  font-size: 16px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .p-footer__address,
  .p-footer__tel,
  .p-footer__mail {
    font-size: 16px;
  }
}

.p-footer__tel-link,
.p-footer__mail-link {
  color: inherit;
  transition: opacity 0.2s ease;
}

.p-footer__mail-link:hover {
  opacity: 0.8;
}

.p-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .p-footer__links {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    padding-top: 8px;
  }
}

.p-footer__links-link {
  color: var(--color-text-soft);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.p-footer__links-link:hover {
  opacity: 0.8;
}

.p-footer__copyright {
  font-size: 14px;
  text-align: center;
  padding-top: 17px;
  border-top: 1px solid #f8f9fb;
  margin-top: 16px;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .p-footer__copyright {
    font-size: 16px;
    margin-top: 72px;
  }
}

@media (min-width: 768px) {
  .p-footer__copyright {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
    text-align: center;
  }
}
