:root {
  --kz-text: #191B1D;
  --kz-drawer-bg: #DCF1F5;
  --kz-ham-bg: #F7D265;
  --kz-overlay: rgba(25, 27, 29, 0.4);
  --kz-z: 1001;
}

[class^=kz-],
[class^=kz-] *,
[class^=kz-] *::before,
[class^=kz-] *::after {
  box-sizing: border-box;
}

.kz-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 492px;
  height: 122px;
  z-index: calc(var(--kz-z) + 1);
  background: url(https://kozushima.com/489/top_kumo.svg) right bottom/cover no-repeat;
}
@media screen and (max-width: 767px) {
  .kz-header {
    width: 100%;
    background: url(https://kozushima.com/489/top_kumo_sp.svg) left bottom/cover no-repeat;
  }
}
@media screen and (max-width: 500px) {
  .kz-header {
    height: 89px;
  }
}

.kz-logo {
  display: block;
  width: 258px;
  margin: 34px 0 0 45px;
  position: relative;
}
@media screen and (max-width: 500px) {
  .kz-logo {
    width: 100px;
    margin: 20px 0 0 20px;
  }
}
.kz-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.kz-logo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -130px;
  transform: translateY(-50%);
  width: 50%;
  height: 51px;
  background: url(https://kozushima.com/489/dec_logoHeader.png) center center/contain no-repeat;
}
@media screen and (max-width: 500px) {
  .kz-logo::after {
    top: -13px;
    right: -38px;
    transform: none;
    background: url(https://kozushima.com/489/dec_logoHeader_sp.png) center center/contain no-repeat;
  }
}

.kz-ham {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: calc(var(--kz-z) + 4);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--kz-text);
  padding-top: 5px;
  background: var(--kz-ham-bg);
  color: var(--kz-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
@media screen and (max-width: 500px) {
  .kz-ham {
    width: 48px;
    height: 48px;
  }
}
.kz-ham:focus-visible {
  outline: 2px solid var(--kz-text);
  outline-offset: 2px;
}
.kz-ham__txt {
  display: block;
  font-family: "Bitter", serif;
  font-size: 10px;
  line-height: 1.2;
}
.kz-ham--close {
  z-index: 10;
}

.kz-ham__bar,
.kz-ham__bar span {
  display: inline-block;
  box-sizing: border-box;
}

.kz-ham__bar {
  position: relative;
  width: 22px;
  height: calc(7px * 2 + 2px);
}

.kz-ham__bar::before,
.kz-ham__bar::after {
  content: "";
}

.kz-ham__bar::before,
.kz-ham__bar::after,
.kz-ham__bar span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--kz-text);
}

.kz-ham__bar::before {
  top: 0;
  left: 4px;
  transform-origin: 0 0;
  transform: rotate(45deg) scaleX(0);
}

.kz-ham__bar::after {
  bottom: -1px;
  left: 4px;
  transform-origin: 0 100%;
  transform: rotate(-45deg) scaleX(0);
}

.kz-ham__bar span:nth-of-type(1) {
  top: 0;
  left: 0;
}

.kz-ham__bar span:nth-of-type(2) {
  top: 7px;
  left: 0;
}

.kz-ham__bar span:nth-of-type(3) {
  bottom: 0;
  right: 0;
}

.kz-ham--close .kz-ham__bar::before {
  transform: rotate(45deg) scaleX(1);
}

.kz-ham--close .kz-ham__bar::after {
  transform: rotate(-45deg) scaleX(1);
}

.kz-ham--close .kz-ham__bar span {
  transform: scaleX(0);
}

.kz-drawer {
  position: fixed;
  inset: 0;
  z-index: calc(var(--kz-z) + 5);
  color: var(--kz-text);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s 0.5s;
}
.kz-drawer__bg {
  position: absolute;
  inset: 0;
  background: var(--kz-overlay);
  cursor: default;
}
.kz-drawer__in {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  padding: 70px 2rem 74px;
  background: var(--kz-drawer-bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.kz-drawer__logo {
  position: relative;
  margin-bottom: 28px;
}
.kz-drawer__logo a {
  display: inline-block;
  width: 132px;
}
.kz-drawer__logo img {
  width: 100%;
  height: auto;
  display: block;
}
.kz-drawer__logo::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 107px;
  width: 74px;
  height: 100%;
  background: url(https://kozushima.com/489/dec_logoHeader_sp.png) right top/contain no-repeat;
}

.kz-drawer:target {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0s;
}

html:has(.kz-drawer:target) {
  overflow: hidden;
}

.kz-nav {
  letter-spacing: 0.1em;
  font-weight: 700;
}
.kz-nav a {
  color: var(--kz-text);
  text-decoration: none;
}
.kz-nav a.external span {
  display: inline-block;
  position: relative;
  padding-right: 1.25em;
}
.kz-nav a.external span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1em;
  aspect-ratio: 11.122/9.886;
  background-image: url(https://kozushima.com/489/icon_external_link.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translateY(-50%);
}
.kz-nav__col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kz-nav__col > li {
  padding: 16px 10px;
  border-top: 1px solid #fff;
  line-height: 1.2;
}
.kz-nav__col:last-child > li:last-child {
  border-bottom: 1px solid #fff;
}
.kz-nav__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kz-nav__col ul li {
  position: relative;
  padding-left: 1em;
  margin: 1.6em 0 0;
  font-size: 13px;
  line-height: 1;
}
.kz-nav__col ul li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.9em;
  height: 1px;
  background: var(--kz-text);
}
.kz-nav__t {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.kz-btn {
  display: block;
  margin-top: 32px;
  padding: 16px 10px;
  border: 1.5px solid var(--kz-text);
  border-radius: 999px;
  background: var(--kz-ham-bg);
  color: var(--kz-text);
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.kz-btn:hover {
  opacity: 0.8;
}
.kz-btn:focus-visible {
  outline: 2px solid var(--kz-text);
  outline-offset: 2px;
}
.kz-btn.external span {
  display: inline-block;
  position: relative;
  padding-right: 1.5em;
}
.kz-btn.external span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1em;
  aspect-ratio: 11.122/9.886;
  background-image: url(https://kozushima.com/489/icon_external_link.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translateY(-50%);
}

.kz-sns {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 74px 0 0;
  padding: 0;
}
.kz-sns li {
  width: 23px;
  margin-right: 26px;
}
.kz-sns li:last-child {
  margin-right: 0;
}
.kz-sns img {
  width: 100%;
  height: auto;
  display: block;
}

.kz-ext {
  position: relative;
  padding-right: 1.5em;
}
.kz-ext::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background: url(https://kozushima.com/489/icon_external_link.svg) right center/contain no-repeat;
}

.kz-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: url(https://kozushima.com/489/top_bg.webp) center top/cover no-repeat;
}
@media screen and (max-width: 767px) {
  .kz-hero {
    background-size: 180%;
    background-position: center center;
  }
}
.kz-hero__in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 90px;
}
@media screen and (max-width: 767px) {
  .kz-hero__in {
    padding: 120px 5vw 10vw;
  }
}
.kz-hero__title img {
  width: min(60vw, 750px);
  height: auto;
  display: block;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .kz-hero__title img {
    width: min(90%, 480px);
  }
}
.kz-hero__benefit {
  display: block;
  margin-top: 30px;
}
.kz-hero__benefit img {
  width: min(55vw, 560px);
  height: auto;
  display: block;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .kz-hero__benefit img {
    width: min(90%, 480px);
  }
}
.kz-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}
.kz-hero__wave img {
  display: block;
  width: 100%;
  height: auto;
}
