@import url("global.css");
#contents {
  --radius: 40px;
}
#contents .inner {
  max-width: 1300px;
  margin-inline: auto;
}

#glossarytitle {
  margin-block: 40px 90px;
  background: #E5E2DE url("../img/glossary-bg.png") repeat center center;
  background-size: 178px auto;
  border-radius: 20px;
  text-align: center;
  padding-block: 55px 100px;
  position: relative;
}
#glossarytitle span {
  display: block;
  width: 430px;
  margin-inline: auto;
  animation: showtitle 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s 1;
  animation-fill-mode: both;
}
#glossarytitle::after {
  content: "";
  width: 84px;
  height: 93px;
  display: block;
  position: absolute;
  bottom: -13px;
  left: 50%;
  margin-left: -42px;
  background: url("../img/tatero-glossary.png") no-repeat center center;
  background-size: contain;
  animation: titletatero 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.6s 1;
  animation-fill-mode: both;
}

@keyframes showtitle {
  0% {
    opacity: 0;
    filter: blur(10px);
    scale: 1.1;
  }
  100% {
    opacity: 1;
    filter: none;
    scale: 1;
  }
}
@keyframes titletatero {
  0% {
    opacity: 0;
    filter: blur(10px);
    translate: 0 20px;
  }
  100% {
    opacity: 1;
    filter: none;
    translate: 0;
  }
}
.introduction {
  display: flex;
  margin-bottom: 90px;
  gap: 60px;
}
.introduction .catch {
  flex-shrink: 0;
  font-size: min(23px,2vw);
  font-weight: 700;
}
.introduction .text {
  flex-grow: 1;
  font-size: 15px;
  font-weight: 500;
}

.sectitle {
  display: flex;
  align-items: center;
}
.sectitle::before {
  content: "";
  margin-right: 10px;
}
.sectitle span {
  display: block;
}
.sectitle .en {
  font-size: 26px;
  font-weight: 700;
  font-family: "Satoshi-Variable", "Noto Sans JP", sans-serif;
  letter-spacing: .1em;
  margin-right: 10px;
}
.sectitle .ja {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

#hotword {
  background-color: #706D65;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
  padding: 60px 70px 70px;
}
#hotword .sectitle {
  color: #FFE2B4;
}
#hotword .sectitle::before {
  width: 15px;
  height: 22px;
  background: url("../img/icon-hot2.png") no-repeat center center;
  background-size: contain;
}
#hotword ul.hotword {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
}
#hotword ul.hotword li a {
  font-weight: 700;
  font-size: clamp(16px, 3.2vw, 38px);
  color: #fff;
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 1px;
  transition: background-size 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9), color 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9);
}
@media (any-hover: hover) {
  #hotword ul.hotword li a:hover {
    background-position: bottom right;
    background-size: 0 1px;
  }
}

#glossaryindex {
  background-color: #fff;
  border: #E5E2DE 1px solid;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  padding: 50px 70px 80px;
}
#glossaryindex .sectitle {
  margin-bottom: 30px;
}
#glossaryindex .sectitle::before {
  width: 22px;
  height: 22px;
  background: url("../img/icon-glossary.png") no-repeat center center;
  background-size: contain;
}
#glossaryindex .glossarylist {
  display: grid;
  gap: 50px 60px;
  grid-template-columns: repeat(3, 1fr);
}
#glossaryindex .glossarylist dl dt {
  border-bottom: #c2c2c2 1px solid;
  font-size: 21px;
  font-weight: 700;
  color: #706D65;
  padding-bottom: 10px;
  margin-bottom: 15px;
  letter-spacing: .1em;
}
#glossaryindex .glossarylist dl dd {
  margin-top: 8px;
}
#glossaryindex .glossarylist dl dd a {
  display: block;
  width: fit-content;
  padding: 3px 0 3px 15px;
  position: relative;
  line-height: 1.5;
  font-size: 15px;
  font-weight: 500;
  background-image: linear-gradient(#706D65, #706D65);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1px;
  transition: background-size 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9), color 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9);
}
@media (any-hover: hover) {
  #glossaryindex .glossarylist dl dd a:hover {
    background-position: bottom left;
    background-size: 100% 1px;
  }
  #glossaryindex .glossarylist dl dd a:hover::before {
    translate: 4px 0;
  }
}
#glossaryindex .glossarylist dl dd a::before {
  content: "";
  width: 7px;
  height: 8px;
  background-color: #706D65;
  position: absolute;
  left: 0;
  top: 11px;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 40% 50%);
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
}

/* ---------- Post-Page ---------- */
.post #glossarytitle {
  margin-block: 40px 65px;
  border-radius: 20px;
  padding-block: 25px 30px;
}
.post #glossarytitle span {
  width: 300px;
}
.post #glossarytitle::after {
  display: none;
}

#glossarypost {
  margin-bottom: -40px;
}
#glossarypost .wordtitle {
  text-align: center;
  line-height: 1.4;
  margin-bottom: 45px;
}
#glossarypost .wordtitle strong {
  display: block;
  width: fit-content;
  padding-inline: 50px;
  margin-inline: auto;
  position: relative;
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 700;
}
#glossarypost .wordtitle strong::before, #glossarypost .wordtitle strong::after {
  content: "";
  width: 33px;
  height: 24px;
  display: block;
  position: absolute;
}
#glossarypost .wordtitle strong::before {
  top: 0;
  left: 0;
  background: url("../img/quote-l.png") no-repeat center center;
  background-size: contain;
}
#glossarypost .wordtitle strong::after {
  bottom: 0;
  right: 0;
  background: url("../img/quote-r.png") no-repeat center center;
  background-size: contain;
}
#glossarypost .wordtitle .yomi {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #706D65;
  padding-top: 5px;
}
#glossarypost .wordbody {
  max-width: 800px;
  margin-inline: auto;
}
#glossarypost .wordbody .lead {
  padding-inline: 60px;
  font-weight: 600;
  margin-bottom: 50px;
}
#glossarypost .wordbody .ex {
  background-color: #fff;
  border-radius: 20px;
  border: #E5E2DE 1px solid;
  padding: 45px 60px 50px;
}
#glossarypost .wordbody .ex .title {
  font-size: 19px;
  font-weight: 700;
  color: #706D65;
  letter-spacing: .1em;
  margin-bottom: 15px;
  display: flex;
  gap: 8px;
  align-items: center;
}
#glossarypost .wordbody .ex .title::before {
  content: "";
  width: 19px;
  height: 22px;
  display: block;
  background: url("../img/icon-ex.png") no-repeat center center;
  background-size: contain;
}
#glossarypost .wordbody .ex .extext {
  font-size: 14px;
}
#glossarypost .wordbody .ex .extext p + p {
  margin-top: 20px;
}
#glossarypost .wordbody .author {
  margin-top: 50px;
  background-color: #E5E2DE;
  border-radius: 8px;
  padding: 1px 40px 35px 40px;
}
#glossarypost .wordbody .author .title {
  background-color: #fff;
  border-radius: 100px;
  border: #c2c2c2 1px solid;
  padding: 3px 15px;
  margin: -16px 0 20px -15px;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}
#glossarypost .wordbody .author .name {
  margin-bottom: 10px;
  line-height: 1.6;
}
#glossarypost .wordbody .author .name span {
  display: block;
  color: #706D65;
  font-size: 13px;
  font-weight: 500;
}
#glossarypost .wordbody .author .name strong {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .1em;
}
#glossarypost .wordbody .author .text {
  font-size: 13px;
}

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

 Responsive-Breakpoint ( 1300px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1300px) {
  .introduction {
    gap: 4.5vw;
  }

  #hotword {
    padding: 60px 5vw 70px;
  }

  #glossaryindex {
    padding: 50px 5vw 80px;
  }
  #glossaryindex .glossarylist {
    gap: 50px 5vw;
  }

  /* ---------- Post-Page ---------- */
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  #contents {
    --radius: 30px;
  }

  #glossarytitle {
    margin-block: 40px 50px;
    padding-block: 50px 100px;
  }
  #glossarytitle span {
    width: 380px;
  }

  .introduction {
    display: block;
    margin-bottom: 70px;
  }
  .introduction .catch {
    font-size: min(24px,5vw);
    margin: 0 auto 30px;
    width: fit-content;
  }
  .introduction .catch br.pc {
    display: none;
  }
  .introduction .text {
    font-weight: 400;
  }

  #hotword {
    padding: 40px 6vw 60px;
  }

  #glossaryindex {
    padding: 40px 6vw 60px;
  }
  #glossaryindex .glossarylist {
    gap: 40px 6vw;
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- Post-Page ---------- */
  .post #glossarytitle {
    margin-block: 40px 50px;
  }
  .post #glossarytitle span {
    width: 240px;
  }

  #glossarypost .wordtitle {
    margin-bottom: 35px;
  }
  #glossarypost .wordtitle strong {
    padding-inline: 45px;
  }
  #glossarypost .wordtitle strong::before, #glossarypost .wordtitle strong::after {
    width: 28px;
    height: 20px;
  }
  #glossarypost .wordbody .lead {
    padding-inline: 6vw;
    margin-bottom: 40px;
  }
  #glossarypost .wordbody .ex {
    padding: 40px 6vw 45px;
  }
  #glossarypost .wordbody .author {
    margin-top: 40px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  #contents {
    --radius: 20px;
  }

  #glossarytitle {
    margin-block: 30px 40px;
    padding-block: 40px 80px;
    background-size: 90px auto;
    border-radius: 15px;
  }
  #glossarytitle span {
    width: 250px;
  }
  #glossarytitle::after {
    width: 70px;
    height: 78px;
    bottom: -12px;
    margin-left: -35px;
  }

  .introduction {
    display: block;
    margin-bottom: 50px;
    gap: 4.5vw;
  }
  .introduction .catch {
    font-size: min(24px,5vw);
    margin: 0 auto 20px;
  }
  .introduction .text {
    font-size: 14px;
  }

  .sectitle {
    display: block;
    line-height: 1.3;
    text-align: center;
  }
  .sectitle::before {
    display: block;
    margin: 0 auto 5px;
  }
  .sectitle .en {
    font-size: 24px;
    margin-right: 0;
  }
  .sectitle .ja {
    font-size: 12px;
  }

  #hotword {
    padding: 30px 6vw 45px;
  }
  #hotword .sectitle {
    margin-bottom: 15px;
  }
  #hotword ul.hotword {
    gap: 5px 20px;
  }

  #glossaryindex {
    padding: 30px 6vw 40px;
  }
  #glossaryindex .sectitle {
    margin-bottom: 30px;
  }
  #glossaryindex .sectitle::before {
    width: 22px;
    height: 22px;
    background: url("../img/icon-glossary.png") no-repeat center center;
    background-size: contain;
  }
  #glossaryindex .glossarylist {
    display: grid;
    gap: 30px 6vw;
  }
  #glossaryindex .glossarylist dl dt {
    font-size: 18px;
    padding: 0 0 7px 3px;
    margin-bottom: 12px;
  }
  #glossaryindex .glossarylist dl dd {
    margin-top: 6px;
  }
  #glossaryindex .glossarylist dl dd a {
    padding: 3px 0 3px 12px;
    font-size: 13px;
  }
}
@media only screen and (max-width: 644px) and (any-hover: hover) {
  #glossaryindex .glossarylist dl dd a:hover::before {
    translate: 0;
  }
}
@media only screen and (max-width: 644px) {
  #glossaryindex .glossarylist dl dd a::before {
    top: 9px;
  }

  /* ---------- Post-Page ---------- */
  .post #glossarytitle {
    margin-block: 30px 35px;
    border-radius: 10px;
    padding-block: 20px 25px;
  }
  .post #glossarytitle span {
    width: 180px;
  }

  #glossarypost {
    margin-bottom: -30px;
  }
  #glossarypost .wordtitle {
    margin-bottom: 30px;
  }
  #glossarypost .wordtitle strong {
    padding-inline: 30px;
  }
  #glossarypost .wordtitle strong::before, #glossarypost .wordtitle strong::after {
    width: 18px;
    height: 14px;
  }
  #glossarypost .wordtitle .yomi {
    font-size: 12px;
    padding-top: 4px;
  }
  #glossarypost .wordbody .lead {
    padding-inline: 1vw;
    margin-bottom: 30px;
    font-weight: 500;
  }
  #glossarypost .wordbody .ex {
    border-radius: 12px;
    padding: 30px 6vw 35px;
  }
  #glossarypost .wordbody .ex .title {
    justify-content: center;
  }
  #glossarypost .wordbody .ex .extext {
    font-size: 13px;
  }
  #glossarypost .wordbody .ex .extext p + p {
    margin-top: 1em;
  }
  #glossarypost .wordbody .author {
    margin-top: 35px;
    border-radius: 5px;
    padding: 1px 30px 30px 30px;
  }
  #glossarypost .wordbody .author .title {
    margin: -16px 0 15px -15px;
  }
  #glossarypost .wordbody .author .name span {
    font-size: 12px;
  }
  #glossarypost .wordbody .author .name strong {
    font-size: 17px;
  }
  #glossarypost .wordbody .author .text {
    font-size: 12px;
  }
}

/*# sourceMappingURL=glossary.css.map */
