/*
Theme Name: Toranomondo
Author: Toranomondo Inc.
Description: Theme for Toranomondo
Version: 1.0
*/
html {
  height: 100%;
}
body {
  height: 100%;
  margin: 0;
  /* font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, 游ゴシック体,
    "ヒラギノ角ゴ Pro W3", メイリオ, sans-serif; */
  font-family: ten-mincho-text, serif;
  font-weight: 400;
  font-style: normal;
}
a {
  text-decoration: none;
  color: #000;
}
a:hover {
  color: rgba(113, 113, 113, 1);
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
.container {
  /* width: 1180px; */
  margin: 0 auto;
}
.home.container {
  /* display: flex; */
  width: 100%;
  height: 100%;
  position: relative;
}
.home .logo {
  display: none;
}
/* 元テーマの top_logo.jpg (縦ロゴ画像) はWP停止済みで入手不能のため、
   虎マーク画像＋縦書きテキストで同等の見た目に再構成している */
.home .big-logo {
  height: 300px;
  padding: 20px 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.big-logo-mark {
  width: 60px;
  height: 60px;
}
.big-logo-text {
  writing-mode: vertical-rl;
  display: flex;
  /* vertical-rl 下では column が「右→左の横並び」になる */
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  white-space: nowrap;
}
.big-logo-text .main {
  font-size: 28px;
  letter-spacing: 10px;
  font-weight: bold;
}
.big-logo-text .sub {
  font-size: 13px;
  letter-spacing: 6px;
  padding-top: 6px;
}
.home .menu {
  width: 245px;
  /* width: 25%; */
  position: absolute;
  /* flex-shrink: 0; */
  text-align: center;
}
.home .logo {
  height: 300px;
}
.home .menu-list {
  font-size: 18px;
  line-height: 27px;
}
.home .menu-list li {
  padding-bottom: 20px;
  font-weight: bold;
}
.home .main-visual {
  /* width: 930px; */
  width: calc(100% - 245px);
  position: absolute;
  right: 0;
  height: 100%;
  overflow: hidden;
}
.home .main-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media all and (max-width: 1024px) {
  .home .big-logo {
    height: 240px;
    padding: 10px 0;
    margin-top: 20px;
  }
  .big-logo-mark {
    width: 52px;
    height: 52px;
  }
  .big-logo-text .main {
    font-size: 24px;
    letter-spacing: 8px;
  }
  .big-logo-text .sub {
    font-size: 12px;
    letter-spacing: 5px;
  }
  .home .menu {
    width: 200px;
  }
  .home .menu-list li {
    padding-bottom: 15px;
  }
  .home .menu-list {
    font-size: 16px;
    line-height: 25px;
  }
  .home .main-visual {
    width: calc(100% - 200px);
  }
}
@media all and (max-width: 480px) {
  .container {
    width: 100vw;
  }
  .home.container {
    display: block;
  }
  .home .logo {
    display: block;
    opacity: 0;
    transition: 0.8s;
    max-height: 50px;
  }
  .home .menu {
    width: 100vw;
    height: 60%;
    position: relative;
  }
  .home .big-logo {
    padding: 0;
    margin: 0;
    height: calc(100% - 80px);
  }
  .home .big-logo img {
    max-height: 90%;
  }
  .home .menu-list {
    display: none;
    transition: 0.8s;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100vw;
    background: #fff;
    overflow: hidden;
  }
  .home .menu-list ul {
    padding: 20px 0;
  }
  .navbar {
    display: flex;
    padding: 10px;
  }
  .navbar-burger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: block;
    position: relative;
    margin-left: auto;
  }
  .navbar-burger span {
    background-color: currentColor;
    display: block;
    height: 1px;
    width: 20px;
    left: calc(50% - 10px);
    position: absolute;
    transform-origin: center;
    transition-duration: 86ms;
    transition-property: background-color, opacity, transform;
    transition-timing-function: ease-out;
    width: 20px;
  }
  .navbar-burger span:first-child {
    top: calc(50% - 6px);
  }
  .navbar-burger span:nth-child(2) {
    top: calc(50% - 1px);
  }
  .navbar-burger span:nth-child(3) {
    top: calc(50% + 4px);
  }
  .navbar-burger.is-active span:first-child {
    transform: translateY(5px) rotate(45deg);
  }
  .navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  .home .menu-list {
    font-size: 20px;
    line-height: 27px;
  }
  .home .menu-list li {
    padding-bottom: 25px;
  }
  .home .main-visual {
    width: 100vw;
    position: absolute;
    height: 40%;
    bottom: 0;
  }
}
