/* トップページ専用。style.css から Top page セクションを抽出。 */
@charset "UTF-8";
/* Settings */
/* ============================================ */
/* Top page */
/* ============================================ */
body {
  background-color: #FAF6F6;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
}

#top {
  min-height: 100vh;
}

.main {
  position: relative;
  display: flex;
  padding-left: 24px;
}
@media screen and (max-width: 767px) {
  .main {
    display: block;
    padding-left: 0;
  }
}

/* Logo */
.logo {
  position: absolute;
  margin-top: 40px;
  z-index: 5;
}
.logo--sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .logo {
    display: none;
  }
  .logo--sp {
    display: block;
    position: relative;
  }
  .logo__mark--sp {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    margin-top: -1px;
    margin-left: -1px;
  }
}

/* Mainvisual */
.mainvisual {
  width: calc(100% - 280px);
  position: relative;
}
.mainvisual::before, .mainvisual::after {
  content: "WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. WELCOME TO HIRAIZUMI TOWN. ";
  display: block;
  color: #E3C9C7;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}
.mainvisual::before {
  padding-left: 160px;
}
@media screen and (max-width: 767px) {
  .mainvisual {
    width: 100%;
    padding: 16px 16px 0;
  }
  .mainvisual::before {
    display: none;
  }
  .mainvisual::after {
    font-size: 0.875rem;
    line-height: 30px;
  }
}

/* Menu */
.menu {
  width: 280px;
  height: 100vh;
  overflow-y: auto;
  background-color: #8E2921;
  color: #FAF6F6;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .menu__inner--upper {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 767px) {
  .menu {
    width: 100%;
    height: auto;
    background: #FAF6F6;
    padding: 0;
  }
}

.gnav__item {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  width: 240px;
  height: 176px;
  background-image: url(../images/gnav_dot.svg);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 2px 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gnav__item:first-child::after {
  display: none;
}
.gnav__item:nth-child(2) .gnav__link {
  padding-top: 6px;
}
.gnav__item:nth-child(n+3) {
  height: 104px;
}
@media (hover: hover) {
  .gnav__item:hover .gnav__link {
    opacity: 0.6;
    transition: all 0.3s ease;
  }
}
.gnav__link {
  display: block;
}
.gnav__icon {
  margin: 0 auto 20px;
}
.gnav__title {
  line-height: 1;
}
.gnav__title--sub {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1;
  margin-bottom: 4px;
}
.gnav__title--br {
  display: none;
}
.gnav__title--en {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
  font-size: 0.75rem;
  margin-top: 4px;
  line-height: 1;
}
.gnav__title--en:nth-of-type(n+3) {
  margin-top: 4px;
}
@media screen and (max-width: 767px) {
  .gnav {
    order: 4;
    background: #8E2921;
    padding: 30px 20px 0;
    margin-top: 48px;
  }
  .gnav__item {
    height: auto;
  }
  .gnav__item:nth-child(3), .gnav__item:last-child {
    height: 122px;
    padding: 30px 0;
  }
  .gnav__item:nth-child(3) .gnav__title--en, .gnav__item:last-child .gnav__title--en {
    font-size: 0.8125rem;
  }
  .gnav__title {
    font-weight: 700;
    font-size: 1.375rem;
  }
  .gnav__item:nth-of-type(3) .gnav__title, .gnav__item:last-of-type .gnav__title {
    font-size: 1.625rem;
  }
  .gnav__title--sub {
    font-size: 0.8125rem;
    margin-bottom: 1.3333333333vw;
  }
  .gnav__title--en {
    margin-top: 1.3333333333vw;
  }
  .gnav__list {
    display: flex;
    flex-wrap: wrap;
  }
  .gnav__item:first-child, .gnav__item:nth-child(2) {
    width: 50%;
    height: 186px;
    flex-direction: row;
    align-items: flex-start;
    padding-top: 17px;
  }
  .gnav__item:first-child .gnav__link, .gnav__item:nth-child(2) .gnav__link {
    width: 100%;
    height: 120px;
  }
  .gnav__item:first-child .gnav__title--en, .gnav__item:nth-child(2) .gnav__title--en {
    margin-top: 6px;
  }
  .gnav__item:first-child {
    position: relative;
  }
  .gnav__item:first-child::after {
    content: "";
    display: block;
    width: 2px;
    height: 154px;
    background-image: url(../images/gnav_dot.svg);
    background-size: 2px 4px;
    background-repeat: repeat-y;
    position: absolute;
    right: 0;
    top: 0;
  }
  .gnav__item:first-child .gnav__icon {
    width: auto;
    height: 60px;
  }
  .gnav .gnav__icon {
    width: auto;
    height: 60px;
  }
  .gnav__item:nth-child(3), .gnav__item:last-child {
    width: 100%;
  }
}
@media screen and (max-width: 540px) {
  .gnav__title--sm {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 375px) {
  .gnav__title--sm {
    font-size: 1rem;
  }
}
@media screen and (max-width: 983px) {
  .gnav__item {
    height: 160px;
  }
  .gnav__title--en {
    margin-top: 6px;
  }
}

.search {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: 34px;
}
.search__title {
  padding-left: 0.5em;
}
.search__title--en {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
}
.search__title--en::before {
  content: "｜";
}
.search__box {
  margin-top: 8px;
  display: flex;
  align-items: center;
}
.search__input {
  color: #000;
  width: 240px;
  background: #FAF6F6;
  border-radius: 16px;
  padding: 6px 30px 6px 16px;
  line-height: 1;
}
.search__input:focus {
  outline-color: #8E2921;
}
.search__input::-moz-placeholder {
  color: #E3C9C7;
}
.search__input::placeholder {
  color: #E3C9C7;
}
.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search__submit {
  margin-left: -28px;
}
@media screen and (max-width: 767px) {
  .search {
    order: 1;
    margin: 16px 16px 0;
  }
  .search__title {
    color: #8E2921;
  }
  .search__input {
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    padding: 10px 30px 10px 16px;
    border-radius: 20px;
    outline: solid 1px #8E2921;
    outline-offset: 0;
  }
  .search__input::-moz-placeholder {
    font-size: 1rem;
    font-weight: 500;
  }
  .search__input::placeholder {
    font-size: 1rem;
    font-weight: 500;
  }
  .search__submit {
    margin-left: -36px;
  }
}

.searched-keywords {
  margin-top: 16px;
}
.searched-keywords__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #EEDFDE;
}
.searched-keywords__title::before {
  content: url(../images/searchedkeywords-icon.svg);
  vertical-align: text-bottom;
  margin-right: 4px;
}
.searched-keywords__list {
  width: 240px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  margin-top: 10px;
  gap: 8px;
}
.searched-keywords__item {
  background: #EEDFDE;
  border-radius: 4px;
}
.searched-keywords__link {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #8E2921;
  display: inline-block;
  padding: 6px 10px;
  line-height: 1;
}
@media (hover: hover) {
  .searched-keywords__link:hover {
    opacity: 0.6;
    transition: all 0.3s ease;
  }
}
@media screen and (max-width: 767px) {
  .searched-keywords {
    order: 2;
    width: 100%;
    padding: 0 16px;
    margin: 10px 0 0 0;
  }
  .searched-keywords__title {
    color: #8E2921;
    line-height: 1;
  }
  .searched-keywords__title::before {
    content: url(../images/searchedkeywords-icon_sp.svg);
  }
  .searched-keywords__list {
    width: 100%;
    margin-top: 8px;
    padding: 0 5px;
    gap: 5px;
  }
  .searched-keywords__link {
    font-size: 0.75rem;
  }
}

.language {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 40px 0;
  position: relative;
  width: 240px;
  height: 32px;
  text-align: center;
}
.language__list,
.language .gt_selector {
  width: 100%;
  height: 100%;
  border: 1px solid #FAF6F6;
  border-radius: 16px;
  outline: 0;
  background-image: url("../images/language-icon.svg");
  background-repeat: no-repeat;
  background-size: 8px auto;
  background-position: right 16px center;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  -webkit-appearance: none;
}
.language__list > option,
.language .gt_selector > option {
  color: #8E2921;
  background: #FAF6F6;
}
@media screen and (max-width: 767px) {
  .language {
    order: 3;
    width: 100%;
    padding: 0 16px;
    margin: 32px 0 0 0;
    height: 40px;
  }
  .language__list,
  .language .gt_selector {
    border-radius: 20px;
    border: none;
    background-color: #8E2921;
    font-size: 1rem;
  }
}

.gtranslate_wrapper {
  height: 100%;
}

@media screen and (max-width: 767px) {
  .menu__inner--lower {
    background: #8E2921;
    padding: 56px 0;
  }
}

.sns__list {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0 16px;
}
.sns__item:last-child {
  margin-right: 0;
}
@media screen and (max-width: 767px) {
  .sns__list {
    gap: 0 24px;
  }
}

.copyright {
  width: 240px;
  color: #EEDFDE;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 400;
  margin: 16px auto 0;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .copyright {
    margin: 4.2666666667vw auto 0;
  }
}

/* Chatbot button */
.chatbot-btn {
  position: absolute;
  bottom: 64px;
  right: 304px;
  z-index: 5;
}
.chatbot-btn__inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FAF6F6;
  box-shadow: 3px 3px 6px 0 rgba(91, 91, 91, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}
@media (hover: hover) {
  .chatbot-btn__inner:hover .chatbot-btn__button, .chatbot-btn__inner:hover .chatbot-btn__text {
    opacity: 0.6;
  }
}
.chatbot-btn__button {
  flex-shrink: 0;
}
.chatbot-btn__text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  color: #8E2921;
  line-height: 1.5;
  white-space: nowrap;
  display: none;
  transform: translateX(-100%);
  transition: all 0.5s ease;
  margin-left: 20px;
}
@media screen and (max-width: 767px) {
  .chatbot-btn {
    right: 26px;
    bottom: 40px;
    position: fixed;
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .chatbot-btn__inner {
    width: 60px;
    height: 60px;
  }
  .chatbot-btn__text {
    font-size: 0.875rem;
    line-height: 1.4285714286;
    margin-left: 11px;
  }
}

/* Chatbot */
.chatbot {
  width: 480px;
  height: 480px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: #FAF6F6;
  border-radius: 8px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #311C1C;
  position: absolute;
  right: 304px;
  bottom: 64px;
  box-shadow: 3px 3px 6px 0 rgba(91, 91, 91, 0.5);
  z-index: 5;
  overflow: hidden;
}
.chatbot__hidden {
  opacity: 0;
  transform: scale(0.8);
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.chatbot__header {
  position: relative;
  width: 100%;
}
.chatbot__title {
  color: #FAF6F6;
  background: #8E2921;
  font-size: 1rem;
  line-height: 48px;
  text-align: center;
}
.chatbot__title--en::before {
  content: "｜";
}
.chatbot__close-btn {
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.chatbot__body {
  height: calc(100% - 112px);
  padding: 24px 20px 0;
  overflow-y: auto;
}
.chatbot__chat {
  width: 100%;
  display: flex;
  margin-top: 16px;
}
.chatbot__chat--user {
  flex-direction: row-reverse;
}
.chatbot__icon {
  width: 36px;
  flex-shrink: 0;
}
.chatbot__bubble {
  color: #311C1C;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  background: #EEDFDE;
  padding: 8px 16px;
  border-radius: 4px;
}
.chatbot__bubble--bot {
  margin-left: 16px;
}
.chatbot__bubble--user {
  margin-right: 16px;
}
.chatbot__footer {
  width: 100%;
  padding: 16px;
  position: absolute;
  bottom: 0;
}
.chatbot__form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.chatbot__input {
  width: 368px;
  padding: 4px 16px;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  border: 1px solid #D2A9A6;
  border-radius: 16px;
}
.chatbot__input:focus {
  outline-color: #8E2921;
}
.chatbot__input::-moz-placeholder {
  color: #EEDFDE;
}
.chatbot__input::placeholder {
  color: #EEDFDE;
}
.chatbot__submit, .chatbot__refresh {
  flex-shrink: 0;
  cursor: pointer;
}
@media screen and (max-width: 983px) {
  .chatbot {
    width: 416px;
  }
  .chatbot__input {
    width: 304px;
  }
}
@media screen and (max-width: 767px) {
  .chatbot {
    width: calc(100% - 48px);
    height: calc(100svh - 62px);
    top: 24px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .chatbot__title {
    line-height: 48px;
  }
  .chatbot__input {
    width: 100%;
    font-size: 0.75rem;
    height: 32px;
  }
}

/* Emergency Information */
.emergency-info {
  width: 460px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  position: absolute;
  left: 24px;
  bottom: 64px;
  z-index: 5;
}
.emergency-info__title {
  color: #FAF6F6;
  text-align: center;
  background: #8E2921;
  box-shadow: 3px 3px 6px 0 rgba(91, 91, 91, 0.5);
}
@media (hover: hover) {
  .emergency-info__title:hover {
    opacity: 0.6;
    transition: all 0.3s ease;
  }
}
.emergency-info__title--en::before {
  content: "｜";
}
.emergency-info__box {
  line-height: 48px;
  border-radius: 24px;
}
.emergency-info__link {
  display: block;
}
.emergency-info__item {
  background: #FAF6F6;
  padding: 0 24px;
  margin-top: 8px;
  box-shadow: 3px 3px 6px 0 rgba(91, 91, 91, 0.5);
}
.emergency-info__link--list {
  color: #311C1C;
  display: flex;
  justify-content: space-between;
}
@media (hover: hover) {
  .emergency-info__link--list:hover {
    opacity: 0.6;
    transition: all 0.3s ease;
  }
}
.emergency-info__time {
  width: 112px;
  margin-right: 24px;
}
.emergency-info__text {
  width: 276px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media screen and (max-width: 983px) {
  .emergency-info {
    width: 416px;
    font-size: 0.875rem;
    bottom: 128px;
  }
  .emergency-info__box {
    line-height: 46px;
  }
  .emergency-info__time {
    width: 100px;
    margin-right: 0;
  }
  .emergency-info__text {
    width: 252px;
    white-space: nowrap;
    overflow: hidden;
  }
}
@media screen and (max-width: 767px) {
  .emergency-info {
    width: 94.1690962099%;
    max-width: 400px;
    height: 172px;
    font-size: 0.8125rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .emergency-info__item {
    padding: 0 20px;
  }
  .emergency-info__box {
    line-height: 37px;
  }
  .emergency-info__text {
    width: 70.8333333333%;
  }
}
