:root {
  --c-base: #fff;
  --c-main: #FB7319;
  --c-main-light: #F39939;
  --c-brown: #B44A04;
  --c-text: #333;
  --c-gray: #3E4E57;
  --c-bg-gray: #E4EDEE;
  --g-main: linear-gradient(180deg, #FB7319 0%, #E86A17 66.346%, #AA4400 100%);
  --f-shippori-min: "Shippori Mincho B1", serif;
  --f-noto-serif: "Noto Serif JP", serif;
  --f-faramond: "EB Garamond", serif;
  --f-gothic: "Noto Sans JP", sans-serif;
  --round: calc(1px / 0);
  --transi-bg: background-color 0.3s;
  --transi-color: color 0.3s;
  --transi-fill: fill 0.3s;
  --transi-opc: opacity 0.3s;
}

/* ------------------------------------- */

/* base
/* ------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 62.5%;
}

body {
  width: 100%;
  color: var(--c-text);
  font-style: normal;
  font-weight: 400;
  font-size: 1.6rem;
  font-family: var(--f-gothic);
}

body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding-bottom: 160px;
}

img {
  max-width: 100%;
}

p {
  line-height: 2;
  letter-spacing: 0.8px;
}

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

button {
  -ms-touch-action: manipulation;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

svg {
  -webkit-transition: var(--transition-fill);
  display: block;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  transition: var(--transition-fill);
}

/* button
/* ------------------------------------- */

.c-button {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-transition: var(--transi-bg);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 35px 20px;
  background: var(--c-main);
  color: var(--c-base);
  transition: var(--transi-bg);
}

.c-button__text {
  font-weight: 600;
  font-size: 3.2rem;
  font-family: var(--f-noto-serif);
}

.c-button__icon {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 50%;
  right: 20px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border-radius: var(--round);
  background: var(--c-base);
}

.c-button__icon img {
  width: 40%;
  height: auto;
}

/* ------------------------------------- */

/* component heading
/* ------------------------------------- */

.c-heading {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.c-heading__sub {
  color: var(--c-brown);
  font-size: 2.8rem;
  line-height: 1;
  font-family: var(--f-faramond);
}

.c-heading__main {
  color: var(--c-main);
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1.8;
  font-family: var(--f-shippori-min);
}

/* ------------------------------------- */

/* note
/* ------------------------------------- */

.c-note {
  margin-top: 40px;
  font-size: 2.4rem;
  font-family: var(--f-noto-serif);
}

/* ------------------------------------- */

/* layout main
/* ------------------------------------- */

.l-wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.l-inner {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 30px;
}

.l-mv__image {
  display: block;
}

.l-mv__image img {
  display: block;
  width: 100%;
  height: auto;
}

.l-intro {
  padding: 60px 0 100px;
}

.l-intro__text {
  color: var(--c-brown);
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1.8;
  font-family: var(--f-shippori-min);
}

.l-chapter {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  padding: 100px 0;
  gap: 40px;
  border-top: 6px solid var(--c-main);
}

.l-chapter.--pb0 {
  padding-bottom: 0;
}

.l-chapter__text {
  color: var(--c-text);
  font-size: 3.2rem;
  line-height: 1.8;
  font-family: var(--f-noto-serif);
}

.l-chapter__figure {
  -ms-flex-item-align: center;
  align-self: center;
  width: 100%;
  max-width: 620px;
}

.l-chapter__image {
  display: block;
  width: 100%;
  height: auto;
}

.l-chapter__caption {
  margin-top: 10px;
  color: var(--c-text);
  font-size: 2.4rem;
  line-height: 1.5;
  font-family: var(--f-gothic);
}

.l-chapter__caption a {
  text-decoration: underline;
}

/* ------------------------------------- */

/* layout header
/* ------------------------------------- */

.l-header {
  border-bottom: 1px solid var(--c-main-light);
  background: var(--c-base);
}

.l-header__inner {
  padding: 12px 30px;
}

.l-header__logo {
  display: inline-block;
  width: 220px;
}

.l-header__logo img {
  width: 100%;
  height: auto;
}

/* ------------------------------------- */

/* layout tab
/* ------------------------------------- */

.l-tab {
  max-width: 750px;
  margin: 30px auto;
  padding: 0 30px;
}

.l-tab__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.l-tab__item {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border: 1.149px solid var(--c-gray);
  color: var(--c-gray);
  opacity: 0.5;
}

.l-tab__item.is-current {
  border-color: var(--c-main);
  background: var(--c-main);
  color: var(--c-base);
  opacity: 1;
}

.l-tab__link {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

.l-tab__label {
  font-size: 2rem;
  line-height: 1.2;
  font-family: var(--f-faramond);
  white-space: nowrap;
}

.l-tab__title {
  font-size: 2rem;
  line-height: 1.3;
  font-family: var(--f-noto-serif);
  text-align: center;
}

.l-tab__line {
  width: 100%;
  height: auto;
}

/* ------------------------------------- */

/* layout footer
/* ------------------------------------- */

.l-footer {
  border-top: 1px solid var(--c-base);
  background: var(--c-bg-gray);
}

.l-footer__inner {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 30px 10px;
  gap: 40px;
}

.l-footer__logo {
  display: inline-block;
  width: 100%;
  max-width: 220px;
  margin-inline: auto;
}

.l-footer__logo img {
  width: 100%;
  height: auto;
}

.l-footer__copyright {
  width: 100%;
  color: var(--c-text);
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: var(--f-gothic);
  text-align: center;
}

/* ------------------------------------- */

/* utility
/* ------------------------------------- */

.u-db-md-max {
  display: none;
}

.u-w50p {
  width: 50%;
}

@media screen and (max-width: 750px) {
  main {
    padding-bottom: 80px;
  }

  .c-button {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    padding: 17px 10px;
  }

  .c-button__text {
    font-size: 1.6rem;
  }

  .c-button__icon {
    right: 17.5px;
    width: 20px;
    height: 20px;
  }

  .c-heading {
    gap: 20px;
  }

  .c-heading__sub {
    font-size: 1.4rem;
  }

  .c-heading__main {
    font-size: 2.4rem;
  }

  .c-note {
    margin-top: 20px;
    font-size: 1.2rem;
  }

  .l-inner {
    padding: 0 15px;
  }

  .l-mv {
    width: calc(100% - 30px);
    margin: 0 auto;
  }

  .l-intro {
    padding: 50px 0;
  }

  .l-intro__text {
    font-size: 1.6rem;
  }

  .l-chapter {
    border-width: 1px;
  }

  .l-chapter {
    padding: 50px 0;
    gap: 20px;
  }

  .l-chapter__text {
    font-size: 1.6rem;
  }

  .l-chapter__figure {
    max-width: 320px;
  }

  .l-chapter__caption {
    margin-top: 10px;
    font-size: 1.4rem;
  }

  .l-header__inner {
    padding: 11.5px 15px;
  }

  .l-header__logo {
    width: 144px;
  }

  .l-tab {
    width: 100%;
    min-width: 0;
    margin: 20px auto 30px;
    padding: 0 15px 10px;
    overflow-x: auto;
  }

  .l-tab__list {
    grid-template-columns: repeat(5, 120px);
    gap: 8px;
  }

  .l-tab__item {
    padding: 10px 6px;
    border-width: 0.844px;
  }

  .l-tab__label {
    font-size: 1.4rem;
  }

  .l-tab__title {
    font-size: 1.4rem;
  }

  .l-footer__inner {
    padding: 20px 15px 5px;
    gap: 20px;
  }

  .l-footer__logo {
    max-width: 144px;
  }

  .l-footer__copyright {
    font-size: 1rem;
  }

  .u-db-md-max {
    display: block;
  }
}

@media (any-hover: hover) {
  .c-button:hover {
    background: #f7a903;
  }
}