:root {
  --layout-padding-x: clamp(16px, 11.111vw, 160px);

  --color-text: #000000;
  --color-text-dark: #222222;
  --color-white: #fff;
  --color-beige: #e9e5de;
  --color-border: #e5e5e5;
  --color-blue: #1a4b8c;
  --color-red: #c4003a;
  --color-footer-bg: #42413e;
  --color-mobile-nav-bg: #2e3338;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
}

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

ul {
  list-style: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  /* position: sticky; */
  top: 0;
  z-index: 100;
  background: var(--color-beige);
}

.header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--layout-padding-x);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  height: 44px;
  width: auto;
}

.header-home-mobile {
  display: none;
}

.header-nav {
  align-self: stretch;
}

.header-nav ul {
  display: flex;
  gap: 32px;
  height: 100%;
}

.header-nav li {
  height: 100%;
}

.header-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  font-size: 14px;
  color: var(--color-text-dark);
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-red);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.header-nav a:hover::after {
  opacity: 1;
}

main {
  flex: 1;
  width: 100%;
  padding-top: 72px !important;
}

.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-blue);
  /* background-image: url("../images/mv-bg.jpg");
  background-size: cover;
  background-position: center; */
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--layout-padding-x);
}

.page-hero__content {
  color: var(--color-white);
}

.page-hero__label {
  font-size: 20px;
  font-weight: bold;
}

.page-hero__divider {
  display: block;
  width: 27px;
  height: 2px;
  background: var(--color-red);
  margin: 10px 0 15px;
}

.page-hero__title {
  font-size: 42px;
  font-weight: bold;
}

.main-content {
  flex: 1;
  width: 100%;
}

.main-content__inner {
  padding: 48px var(--layout-padding-x);
}

.site-footer {
  background: var(--color-footer-bg);
  margin-top: auto;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--layout-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 10px;
  color: var(--color-beige);
}

@media (max-width: 768px) {
  :root {
    --layout-padding-x: 16px;
  }

  .header-inner {
    height: 65px;
    padding: 0 0 0 var(--layout-padding-x);
  }

  .logo {
    height: 25px;
  }

  .header-nav {
    display: none;
  }

  .header-home-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 60px;
    height: 100%;
    background: var(--color-mobile-nav-bg);
    color: var(--color-white) !important;
    flex-shrink: 0;
  }

  .header-home-mobile__text {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  main {
    padding-top: 65px !important;
  }

  .page-hero {
    height: 200px;
  }

  .page-hero__label {
    font-size: 18px;
  }

  .page-hero__title {
    font-size: 30px;
  }

  .site-footer {
    height: 134px;
    padding-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}