:root {
  /* color */
  --color: #234a87;
  --cat-color: #fcee21;

  /* font-size */
  --fs-base: 14px;
  --fs-lg: 16px;
  --fs-heading-lg: 20px;
  --fs-category: 11px;
  --fs-heading: 18px;
  --fs-subheading: 18px;
  --fs-name: 18px;
  --fs-price: 20px;
  --fs-note: 12px;
  --fs-button: 14px;
  --fs-caution-heading: 18px;
  --fs-caution-text: 12px;
  --fs-copyright: 12px;

  /* frame */
  --cut: 30px;
  --border-width: 2px;
}

.protect {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  /* iOS 長押しメニュー防止 */
  pointer-events: auto;
}

body {
  color: #000;
  background-color: #fff;
  font-family: "BIZ UDPGothic", sans-serif;
  font-optical-sizing: auto;
  font-size: var(--fs-base);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: unset;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
}

a {
  color: var(--color);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--color);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #000;
  text-decoration: underline;
}

a.tn_link {
  color: var(--color);
  text-decoration: none;
  transition: all 0.3s ease;
}

:root {
  --anchor-offset: 60px;
  --header-h: 80px;
}

html {
  scroll-padding-top: var(--anchor-offset);
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  position: relative;
  overflow: hidden;
}

section {
  position: relative;
}

.content {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 8% 4rem;
  border: var(--color) solid 3px;
  box-shadow: 3px 3px 0 var(--color);
  background-color: #fff;
  overflow: hidden;
}

.f-cornner-1 {
  background-image:
    url(../img/common/bgc-1.png), url(../img/common/bgc-2.png),
    url(../img/common/bgc-3.png), url(../img/common/bgc-4.png);
  background-repeat: no-repeat;
  background-position:
    top 3px left 3px,
    top 3px right 3px,
    bottom 3px left 3px,
    bottom 3px right 3px;
  background-size: 3% auto;
}

.f-cornner-2 {
  background-image:
    url(../img/common/bgc-5.png), url(../img/common/bgc-6.png),
    url(../img/common/bgc-7.png), url(../img/common/bgc-8.png);
  background-repeat: no-repeat;
  background-position:
    top 3px left 3px,
    top 3px right 3px,
    bottom 3px left 3px,
    bottom 3px right 3px;
  background-size: 3% auto;
}

.heading {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px; /* ここだけ変えれば文字とマスが一緒に変わる */
  line-height: 1;
  background-color: #fff;
  color: var(--color);
  transform: translateY(22px);
  position: relative;
  z-index: 2;
}

.heading span {
  display: grid;
  width: 1.35em;
  height: 1.35em;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid var(--color);
  border-left: 0;
}

.heading span:first-child {
  border-left: 1px solid var(--color);
}

.frame {
  position: relative;
  width: 100%;
  padding: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.frame-btm-2 {
  padding: 0 0 1.5rem;
}

.frame-btm-3 {
  padding: 2rem 0;
}

.frame-border {
  width: 100%;
  height: 20px;
  background-image:
    url(../img/common/border-parts.png), url(../img/common/border-line.png),
    url(../img/common/border-parts.png);
  background-repeat: no-repeat;
  background-position:
    center left -2px,
    center,
    center right -2px;
  background-size:
    auto 100%,
    100% 1px,
    auto 100%;
}

.frame-inner {
  position: relative;
  width: 100%;
  padding: 0 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.frame:last-child {
  margin: 0;
}

.frame-text {
  width: 100%;
  color: var(--color);
  font-size: var(--fs-heading-lg);
  font-weight: 600;
  padding: 0 0 1em;
}

.frame-image {
  margin: 0 0 2rem;
}

.cat {
  width: 23%;
  margin: 0 3% 0 0;
  padding: 0 1em;
  color: var(--color);
  font-size: var(--fs-category);
  font-weight: 600;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-ideograph;
  background-image: url(../img/common/cat-bg.png);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 100% 40%;
}

.cont {
  width: 74%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--fs-lg);
  transform: translateY(-0.2em);
  font-weight: 400;
}

.cont-btm {
  margin: 0 0 1rem;
}

.cont-2 {
  width: 100%;
  font-size: var(--fs-heading);
  transform: translateY(-0.2em);
  font-weight: 400;
}

.note-top {
  width: 100%;
  margin: 0;
  letter-spacing: 0;
}

.note {
  width: 100%;
  margin: 1em 0 0;
  letter-spacing: 0;
}

.note-top p,
.note p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}

p.note-b {
  color: var(--color);
  font-size: 14px;
  font-weight: 600;
  padding: 0 0 0.3em;
}

.int {
  padding-left: 1em;
  text-indent: -1em;
}

.nowrap {
  white-space: nowrap;
}

.btn-box {
  width: 100%;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.btn-box-2 {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.btn-box-top {
  margin: 1.5rem 0 0;
}

.disco-btn-box {
  gap: 20px 30px;
}

.button {
  position: relative;
  transition: all 0.2s;
  filter: drop-shadow(3px 3px 0 var(--color));
}

.button a {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 0 0 0 1em;
  color: var(--color);
  font-size: var(--fs-button);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  background-color: #fff;
  background-image:
    url(../img/common/bgc-5.png), url(../img/common/bgc-2.png),
    url(../img/common/bgc-3.png), url(../img/common/bgc-4.png),
    url(../img/common/arrow.png);
  background-repeat: no-repeat;
  background-position:
    top 2px left 2px,
    top 2px right 2px,
    bottom 2px left 2px,
    bottom 2px right 2px,
    center right 4%;
  background-size:
    5% auto,
    5% auto,
    5% auto,
    5% auto,
    4% auto;
  border: var(--color) solid 2px;
  transition: all 0.2s;
}

.button a::after {
  content: "";
  display: block;
  padding-top: 26%;
}

.off {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 0 0 0 1em;
  color: #d6d9e8;
  font-size: var(--fs-button);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  background-color: #9097ba;
  background-image:
    url(../img/common/end-1.png), url(../img/common/end-2.png),
    url(../img/common/end-3.png), url(../img/common/end-4.png);
  background-repeat: no-repeat;
  background-position:
    top 2px left 2px,
    top 2px right 2px,
    bottom 2px left 2px,
    bottom 2px right 2px;
  background-size:
    5% auto,
    5% auto,
    5% auto,
    5% auto;
  border: #9097ba solid 2px;
}

.off::after {
  content: "";
  display: block;
  padding-top: 26%;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  :root {
    /* font-size */
    --fs-base: 12px;
    --fs-lg: 14px;
    --fs-heading-lg: 16px;
    --fs-category: 10px;
    --fs-heading: 14px;
    --fs-subheading: 14px;
    --fs-name: 14px;
    --fs-price: 18px;
    --fs-note: 10px;
    --fs-button: 12px;
    --fs-caution-heading: 16px;
    --fs-caution-text: 10px;
    --fs-copyright: 10px;

    /* frame */
    --cut: 20px;
    --border-width: 1px;
  }

  .menu-none {
    display: none;
  }

  .content {
    width: 94%;
    margin: 0 auto 1.5rem;
  }

  .inner {
    z-index: 1;
    padding: 4rem 5% 2rem;
    border: var(--color) solid 2px;
  }

  .f-cornner-1 {
    background-size: 5% auto;
  }

  .f-cornner-2 {
    background-size: 5% auto;
  }

  .heading {
    font-size: 5vw;
    line-height: 1;
    transform: translateY(15px);
  }

  .frame {
    padding: 1rem 0 1.5rem;
  }

  .frame-btm-2 {
    padding: 0 0 1.5rem;
  }

  .frame-btm-3 {
    padding: 0 0 1.5rem;
  }

  .frame-border {
    height: 12px;
  }

  .frame-inner {
    padding: 0 0 1rem;
  }

  .frame:last-child {
    margin: 0;
  }

  .frame-text {
    width: 100%;
    color: var(--color);
    font-size: var(--fs-heading-lg);
    font-weight: 500;
    padding: 0 0 1rem;
  }

  .frame-image {
    margin: 0 0 1.5rem;
  }

  .cat {
    width: 44%;
    margin: 0 0 1rem;
    padding: 0.2em 0.5em;
  }

  .cat-btm {
    margin: 0 0 1.5rem;
  }

  .cont {
    width: 100%;
    margin: 0 0 1rem;
    transform: none;
  }

  .frame-inner .cont {
    margin: 0;
  }

  .cont-btm {
    margin: 0;
  }

  .cont-2 {
    width: 100%;
    transform: none;
  }

  .note-top {
    width: 100%;
    margin: 0;
    letter-spacing: 0;
  }

  .note {
    width: 100%;
    margin: 1rem 0;
    letter-spacing: 0;
  }

  .note-top p,
  .note p {
    margin: 0;
    font-size: var(--fs-note);
  }

  p.note-b {
    font-size: var(--fs-base);
  }

  .btn-box {
    width: 60%;
    margin: 0;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .btn-box-2 {
    width: 60%;
    margin: 0;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .btn-box-top {
    margin: 0;
  }

  .disco-btn-box {
    gap: 20px 30px;
  }

  .button {
    width: 100%;
    max-width: 200px;
    margin: 0 0 1.5rem;
  }

  .button:last-child {
    margin: 0;
  }

  .button a::before {
    padding-top: 32%;
  }

  .off {
    margin: 0;
  }

  .off::before {
    padding-top: 32%;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .sp {
    display: none;
  }

  .menu-none {
    display: none;
  }

  :root {
    --fs-base: 1.71vw;
    --fs-lg: 1.95vw;
    --fs-heading-lg: 2.44vw;
    --fs-category: 1.3vw;
    --fs-heading: 2vw;
    --fs-subheading: 1.95vw;
    --fs-name: 2vw;
    --fs-price: 2.68vw;
    --fs-note: 1.22vw;
    --fs-button: 1.46vw;
    --fs-caution-heading: 1.95vw;
    --fs-caution-text: 1.22vw;
    --fs-copyright: 1.22vw;

    /* frame */
    --cut: 30px;
    --border-width: 2px;
  }

  .inner {
    padding: 5rem 6% 3rem;
    box-shadow: 3px 3px 0 var(--color);
  }

  .heading {
    font-size: 2.93vw;
    transform: translateY(18px);
  }

  .btn-box {
    gap: 15px;
  }

  .btn-box-2 {
    gap: 15px;
  }
}

@media screen and (min-width: 1025px) {
  .sp {
    display: none;
  }

  .button:hover {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  .button a:hover {
    transform: translate(3px, 3px);
  }

  .alpha a {
    display: block;
  }

  .alpha a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
  }

  .alpha a {
    display: block;
  }

  .alpha a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
  }

  a.btn-hover img {
    -webkit-transition: -weblit-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition:
      transform 0.3s,
      -webkit-transform 0.3s;
  }

  a.btn-hover img:hover {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
  }
}
