@charset "UTF-8";

/* ====================body==================== */

body {
  background-color: #351812;
  color: #c0a997;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

/* ====================header==================== */

header {
  position: relative;
  background-color: #5b3528;
  background-image: url(../img/yoruniokuru/head.png);
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
}
header h1 {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
}
header img {
  display: block;
  width: 508px;
  height: auto;
}
/* 1600px以下 */
@media screen and (max-width: 1600px) {
  header {
    height: 560px;
    background-size: 1600px 560px;
  }
}
/* 1601px〜1920px */
@media screen and (min-width: 1601px) and (max-width: 1920px) {
  header {
    height: auto;
    aspect-ratio: 1920 / 672;
    background-size: 100% auto;
  }
}
/* 1921px以上 */
@media screen and (min-width: 1921px) {
  header {
    height: 672px;
    background-size: 1920px 672px;
  }
}
/* 767px以下 スマホ向け */
@media screen and (max-width: 767px) {
  header {
    background-image: url(../img/yoruniokuru/head_sp.png);
    height: calc(390 / 400 * 100vw);
    background-size: 100%;
  }
  header h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  header img {
    max-width: 100%;
  }
}

/* ====================catchphrase and link==================== */

.catchphrase {
  padding: 80px 20px 100px;
}
.catchphrase p {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0 0 40px;
  font-size: 2rem;
}
.catchphrase a {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #db7d19;
  display: inline-block;
  padding: 8px 50px;
  margin: 0 16px;
  font-size: 2rem;
  color: #351812;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
@media (hover: hover) {
  .catchphrase a:hover {
    background-color: #eda34a;
    color: #5b3528;
  }
}

/* ====================introduction and screenshot==================== */

.introduction {
  padding: 80px 20px 100px;
  background-color: #5b3528;
}
.txt_introduction {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 0 20px;
  text-align: left;
}
.txt_introduction p {
  padding: 0 0 20px;
}
.screenshot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 840px;
  margin: 0 auto;
}
.screenshot img {
  width: min(400px, 100%);
  height: auto;
}
@media screen and (max-width: 767px) {
  .screenshot {
    gap: 20px;
  }
}

/* ====================story and character==================== */

.char {
  padding: 80px 20px 60px;
}
.char h2 {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0 0 40px;
  font-size: 2rem;
}
.char h3 {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  padding: 0 0 20px;
  text-align: left;
}
.char img {
  width: 390px;
  height: auto;
}
.txt_story {
  padding: 0 0 80px;
}
.space_char {
  display: flex;
  width: 100%;
  max-width: 810px;
  margin: 0 auto 40px;
}
.space_char p {
  text-align: left;
}
.space_char_txt {
  padding: 0 0 0 20px;
  margin: auto 0;
}
/* 767px以下 スマホ向け */
@media screen and (max-width: 767px) {
  .char {
    padding: 80px 20px 70px;
  }
  .char h2 {
    padding: 0 0 20px;
  }
  .char h3 {
    padding: 0;
  }
  .char img {
    max-width: 100%;
    margin: 0 0 5px;
  }
  .space_char {
    flex-direction: column;
    max-width: 390px;
    margin: 0 auto 30px;
  }
  .space_char_txt {
    padding: 0;
  }
}
/* 534px以下 */
@media screen and (max-width: 534px) {
  .char p {
    text-align: left;
  }
}

/* ====================overview==================== */

.overview {
  padding: 80px 20px 100px;
  background-color: #5b3528;
}
.overview_sub {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}
.overview h2 {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0 0 20px;
  font-size: 1.5rem;
}
.overview dl {
  display: grid;
  grid-template-columns: max-content 1fr;
}
.overview dd::before {
  content: "：";
}
/* 357px以下 */
@media screen and (max-width: 357px) {
  .overview {
    padding: 80px 20px 65px;
  }
  .overview dl {
    display: inline;
  }
  .overview dt {
    font-weight: bold;
  }
  .overview dd {
    padding: 0 0 15px;
  }
  .overview dd::before {
    content: "";
  }
}

/* ====================footer==================== */

footer {
  padding: 80px 20px 10px;
  font-size: 0.75rem;
  line-height: 2.2;
}
.btn_logo {
  position: relative;
  display: inline-block;
  margin: 0 0 40px;
  width: 272px;
  max-width: 100%;
}
.btn_logo img {
  display: block;
  width: 100%;
  height: auto;
}
.btn_logo .btn_on {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn_logo:focus-visible .btn_on {
  opacity: 1;
}
footer a {
  color: #db7d19;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .btn_logo:hover .btn_on {
    opacity: 1;
  }
  footer a:hover {
    color: #eda34a;
  }
}
/* 767px以下 スマホ向け */
@media screen and (max-width: 767px) {
  .btn_logo {
    max-width: 100%;
  }
}
