@charset "UTF-8";

/* header.css */
html {
  scroll-padding-top: 4.125rem;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 6.75rem;
  }
}

.p-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.875rem;
  background-color: #0a5da7;
  transition: translate 0.3s ease;
}

.p-header.is-hidden {
  translate: 0 -100%;
}

@media (min-width: 768px) {
  .p-header {
    height: 5.5rem;
    background-color: #ffffff;
    border-top: 0.75rem solid #0a5da7;
    border-bottom: 1px solid #606060;
  }
}

.p-header__inner {
  height: 100%;
}

.p-header__contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2.375rem);
  height: 2.375rem;
  margin-block-start: 0.5rem;
  padding-inline: 0.3125rem 0.125rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-header__contents {
    width: 100%;
    height: 100%;
    margin-block-start: 0;
    padding-inline: 2.5rem 5.625rem;
  }
}

@media (min-width: 1024px) {
  .p-header__contents {
    padding-inline: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .p-header__contents {
    padding-inline: clamp(1.25rem, 5vw, 6rem);
  }
}

.p-header__logo {
  display: flex;
  align-items: center;
  column-gap: 0.5625rem;
}

@media (min-width: 768px) {
  .p-header__logo {
    column-gap: 0.75rem;
  }
}

.p-header__logo a {
  flex-shrink: 0;
  display: block;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-header__logo a:hover {
    opacity: 0.7;
  }
}

.p-header__logo img {
  display: block;
  width: 7.25rem;
}

@media (min-width: 768px) {
  .p-header__logo img {
    width: clamp(8.75rem, 12.96875vw, 15.5625rem);
  }
}

.p-header__logo h1 {
  margin: 0;
  color: #606060;
  font-size: max(0.525rem, 6.4px);
  font-weight: 400;
  line-height: 1.375;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .p-header__logo h1 {
    font-size: max(0.75rem, 9.6px);
    font-weight: 400;
    line-height: 1.4166666667;
    letter-spacing: 0;
  }
}

@media (min-width: 768px) and (min-width: 0px) {
  .p-header__logo h1 {
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .p-header__logo h1 {
    font-size: max(0.625rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

@media (min-width: 1024px) and (min-width: 0px) {
  .p-header__logo h1 {
    font-size: 0.625rem;
  }
}

@media (min-width: 1200px) {
  .p-header__logo h1 {
    font-size: max(0.75rem, 9.6px);
    font-weight: 400;
    line-height: 1.4166666667;
  }
}

@media (min-width: 1200px) and (min-width: 0px) {
  .p-header__logo h1 {
    font-size: 0.75rem;
  }
}

.p-header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .p-header__nav {
    display: flex;
    align-items: center;
    column-gap: clamp(1.25rem, 3.3333333333vw, 4rem);
  }
}

.p-header__list {
  display: flex;
  align-items: center;
  column-gap: clamp(1.25rem, 3.3333333333vw, 4rem);
}

.p-header__item {
  position: relative;
  white-space: nowrap;
}

.p-header__item p {
  color: #606060;
  font-size: max(1.125rem, 14.4px);
}

@media (min-width: 0px) {
  .p-header__item p {
    font-size: 1.125rem;
  }
}

.p-header__item p {
  font-weight: 400;
  line-height: 1.5;
}

.p-header__item::after {
  content: "";
  position: absolute;
  top: calc(100% + 0.3125rem);
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0a5da7;
  scale: 0 1;
  transform-origin: left center;
  transition: scale 0.3s ease;
  pointer-events: none;
}

.p-header__item.is-current::after {
  scale: 1 1;
}

@media (any-hover: hover) {
  .p-header__item:hover {
    opacity: 1;
  }

  .p-header__item:hover::after {
    scale: 1 1;
  }
}

.p-header__contact {
  display: grid;
  place-items: center;
  min-width: 11.75rem;
  min-height: 3.125rem;
  padding-inline: 1.25rem;
  background-color: #0a5da7;
  border: 2px solid #0a5da7;
  border-radius: 100vmax;
  transition: background-color 0.3s ease;
}

.p-header__contact p {
  color: #ffffff;
  transition: color 0.3s ease;
  font-size: max(1.125rem, 14.4px);
}

@media (min-width: 0px) {
  .p-header__contact p {
    font-size: 1.125rem;
  }
}

.p-header__contact p {
  font-weight: 400;
  line-height: 1.5;
}

@media (any-hover: hover) {
  .p-header__contact:hover {
    opacity: 1;
    background-color: #ffffff;
  }

  .p-header__contact:hover p {
    color: #0a5da7;
  }
}

/*----------------------------------
  ドロワーアイコン
-----------------------------------*/
.p-drawer__icon {
  cursor: pointer;
  position: fixed;
  z-index: 102;
  display: grid;
  place-items: center;
  top: 0.5rem;
  right: 0;
  width: 2.375rem;
  height: 2.375rem;
  background-color: #0a5da7;
  transition: translate 0.3s ease;
}

.p-drawer__icon.is-hidden {
  translate: 0 -200%;
}

@media (min-width: 768px) {
  .p-drawer__icon {
    top: 1.5625rem;
    right: 1.25rem;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 0.25rem;
  }
}

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

.p-drawer__icon--bar {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  row-gap: 0.4375rem;
}

.p-drawer__icon--bar1,
.p-drawer__icon--bar2,
.p-drawer__icon--bar3 {
  height: 2px;
  width: 1.625rem;
  background: #ffffff;
  border-radius: 100vmax;
  transition: all 0.5s ease;
}

.p-drawer__icon.js-show .p-drawer__icon--bar1 {
  rotate: 45deg;
  translate: 0 0.5625rem;
  width: 2.125rem;
}

.p-drawer__icon.js-show .p-drawer__icon--bar2 {
  opacity: 0.2;
  scale: 0 1;
}

.p-drawer__icon.js-show .p-drawer__icon--bar3 {
  rotate: -45deg;
  translate: 0 -0.5625rem;
  width: 2.125rem;
}

.p-drawer {
  position: fixed;
  z-index: 101;
  overflow-y: scroll;
  top: 2.875rem;
  right: 0;
  width: 100%;
  height: calc(100svh - 2.875rem);
  background: #ffffff;
  border-top: 1px solid #c7c7c7;
  padding-block: 4rem 3.75rem;
  translate: 101%;
  transition: translate 0.5s ease;
}

@media (min-width: 768px) {
  .p-drawer {
    top: 5.5rem;
    height: calc(100svh - 5.5rem);
  }
}

.p-drawer.js-show {
  translate: 0;
}

.p-drawer__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.75rem;
}

.p-drawer__item {
  text-align: center;
}

.p-drawer__item p {
  color: #0a5da7;
  font-size: max(1.25rem, 16px);
}

@media (min-width: 0px) {
  .p-drawer__item p {
    font-size: 1.25rem;
  }
}

.p-drawer__item p {
  font-weight: 500;
  line-height: 1.5;
}

.p-drawer__sub {
  text-align: center;
}

.p-drawer__sub p {
  color: #606060;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-drawer__sub p {
    font-size: 1rem;
  }
}

.p-drawer__sub p {
  font-weight: 400;
  line-height: 1.875;
}