/* basic */

body {
  display: none;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
  line-height: 2;
  color: #1f1d1b;
  font-size: 14px;
}

p {
  line-height: 2;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 540px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* header */

.index-header-content {
  position: relative;
  background-image: linear-gradient(
      rgba(31, 29, 27, 0.7),
      rgba(31, 29, 27, 0.7)
    ),
    url("./img/header-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.site-header {
  padding-top: 10px;
}

.site-branding h1 {
  font-size: 1.5rem;
  padding-left: 20px;
  color: #fff;
}

.index-header-content-title {
  padding: 60px 0 60px 0;
  color: #fff;
}

.index-header-content-title .site-title {
  font-size: 3.5rem;
  color: #fff;
}

.site-description {
  font-size: 2rem;
  color: #fff;
}

.site-intro {
  padding: 10px;
  font-size: 1rem;
  line-height: 2;
  color: #fff;
}

.site-search .site-input {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
}

.site-search .site-input img {
  margin-right: 10px;
  margin-bottom: 5px;
}

.site-search .site-input input[type="search"] {
  text-align: left;
  width: 300px;
}

.site-search .site-input input[type="submit"] {
  background: transparent;
  color: #fff;
  padding: 0.6em 0.8em 0.6em 0.8em;
  border-radius: 0;
}

.main-navigation li {
  margin: 10px 0;
  padding-right: 20px;
}

.main-navigation li a {
  font-size: 1rem;
  color: #fff;
  transition: 0.3s;
}

.main-navigation li a:hover {
  color: #a19c99;
}

.site-attention {
  font-size: 1rem;
  padding: 20px;
  color: #fff;
}

.site-attention a {
  position: relative;
  transition: 0.3s;
  padding-left: 18px;
}

.site-attention a:hover {
  opacity: 0.5;
}

.site-attention a img {
  position: absolute;
  top: calc(50% + 2px);
  left: 0;
  transform: translateY(-50%);
}

.page-content-title {
  max-width: 800px;
  padding: 50px 20px 60px 20px;
  color: #fff;
}

.page-content-title .page-title {
  line-height: 1.0;
  font-size: 3rem;
  margin-bottom: 10px;
}

.page-content-title .page-subtitle {
  font-size: 1rem;
}

@media screen and (max-width: 832px) {
  .index-header-content-title .site-title {
    font-size: 3rem;
  }

  .page-content-title .page-title {
    font-size: 2.5rem;
  }

  .site-description {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 540px) {
  .site-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }
}

/* header single */

.single .index-header-content {
  position: relative;
  background-image: none;
  padding-bottom: 5rem;
}

.single .site-branding h1 {
  color: #000;
}

.single .main-navigation li a {
  color: #000;
}

.single .main-navigation li a:hover {
  color: #a19c99;
}

/* hamburger */

.main-menu .site-branding h1 {
  display: none;
}

.main-menu form {
  display: none;
}

@media screen and (max-width: 833px) {

  .single .index-header-content {
    padding-bottom: 3rem;
  }

}

@media screen and (max-width: 540px) {
  .site-header .main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
  }

  .site-header .menu-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #000;
    transition: 0.5s;
    z-index: 101;
  }

  .site-header .menu-toggle.active {
    background-color: transparent;
  }

  .menu-toggle span:nth-child(1) {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 40%;
    left: 50%;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: 0.5s;
  }

  .menu-toggle span:nth-child(2) {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 60%;
    left: 50%;
    border-radius: 2px;
    transform: translateX(calc(-50% + 5px));
    transition: 0.5s;
  }

  .menu-toggle.active span:nth-child(1) {
    width: 27px;
    transform: translate(-10px, 5px) rotate(-45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    width: 27px;
    transform: translate(-10px, -5px) rotate(45deg);
  }

  .main-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-color: #000;
    opacity: 0.8;
    padding-top: 20svh;
    padding-left: 10%;
    padding-right: 10%;
  }

  .main-menu .site-branding {
    margin-bottom: 30px;
  }

  .main-menu .site-branding h1 {
    display: block;
    padding: 0;
  }

  .menu-header-menu-container {
    margin-bottom: 50px;
  }

  .main-menu form {
    display: block;
  }

  .main-menu .site-search .site-input {
    width: 100%;
  }

  .main-menu .site-search .site-input input[type="search"] {
    width: calc(100% - 90px);
  }

  .main-navigation.hamburger .site-branding h1 {
    color: #fff;
  }
  .single .main-navigation.hamburger li a {
    color: #fff;
  }
}

/* home-content villa */

.villa {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.villa .content-box .item {
  position: relative;
  width: calc((100% - 40px) / 3);
  margin-right: 20px;
  margin-bottom: 20px;
}

.swiper-container {
  position: relative;
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;

  &:after {
    content: "";
    position: absolute;
    width: 30px; /* 背景画像の幅を必ず指定 */
    height: 30px; /* 背景画像の高さを必ず指定 */
    top: 50%;
    transform: translateY(-50%);
  }
}

.swiper-button-next {
  /* 次へ矢印の背景画像 */
  &::after {
    background: transparent
      url(https://villa.oyado.world/wp-content/themes/villa/img/arrow-next.svg)
      no-repeat center / contain;
    opacity: 0.8;
  }
}

.swiper-button-prev {
  /* 前へ矢印の背景画像 */
  &::after {
    background: transparent
      url(https://villa.oyado.world/wp-content/themes/villa/img/arrow-prev.svg)
      no-repeat center / contain;
    opacity: 0.8;
  }
}

.swiper-slide img {
  width: 100%;
  height: auto;
}

.villa .content-box .item:nth-child(3n) {
  margin-right: 0px;
}

.villa .content-box .item:before {
  position: absolute;
  content: "Guest Choice";
  top: 0;
  left: 10px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 0.8rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  background-color: #a6936f;
  border-radius: 5px;
  padding: 4px 8px 4px 8px;
  z-index: 90;
}

.category a {
  display: block;
  padding: 12px 18px 12px 18px;
  border: 1px solid #a19c99;
  border-radius: 3px;
  transition: 0.3s;
}

.category a:hover {
  background-color: #a19c99;
  color: #fff;
}

.category .current a {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.more {
  margin: 0 auto;
  display: inline-block;
  padding: 10px 20px 10px 20px;
  border-bottom: 1px solid #a19c99;
  transition: 0.3s;
}

.more:hover {
  opacity: 0.5;
}

.category-box {
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-x: auto; /* 横方向にスクロールバーを表示 */
  white-space: nowrap; /* 子要素を改行させずに一行に保つ */
}

.category-box ul {
  display: flex;
  justify-content: center;
  padding: 35px 20px 35px 20px;
  margin: 0 auto;
}

.category-box ul:after {
  content: "";
  clear: both;
  display: block;
}

.category-box ul li {
  padding-right: 20px;
  float: left;
}

.category-box ul li:last-child {
  padding-right: 0;
}

.category-box ul li button {
  display: block;
  padding: 12px 18px 12px 18px;
  border: 1px solid #a19c99;
  border-radius: 3px;
  transition: 0.3s;
}

.category-box button:hover {
  background-color: #a19c99;
  color: #fff;
}

.category button.current {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.head {
  padding: 30px 0 30px 0;
  color: #ccc;
  display: flex;
  align-items: center;
}

.lm-b {
  background-color: #ddd;
  border: 3px solid #ddd;
  border-left: 3px solid #ddd;
  border-right: 3px solid #ddd;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.m-b {
  background-color: #ddd;
  border: 3px solid #ddd;
  border-radius: 5px;
  width: 50px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.l-b {
  background-color: #ddd;
  border: 3px solid #ddd;
  border-radius: 5px;
  width: 50px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lm-b .active {
  background-color: #fff;
  border: 3px solid #fff;
}

#l.hidden,
#m.hidden {
  display: none !important;
}

.l-s {
  margin: 2rem 0 5rem;
}

.m-s {
  margin: 5rem 0;
}

.villa .entry {
  padding: 10px 5px 10px 5px;
}

.villa h2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 0.3rem;
}

.value {
  color: #a6936f;
  padding-right: 10px;
}

.stay {
  color: #302b2780;
}

@media screen and (max-width: 1024px) {
  .villa .content-box .item {
    width: calc((100% - 20px) / 2);
    margin-right: 20px;
  }

  .villa .content-box .item:nth-child(3n) {
    margin-right: 20px;
  }

  .villa .content-box .item:nth-child(2n) {
    margin-right: 0px;
  }

  .category-box {
    display: block;
    overflow-x: auto; /* 横方向にスクロールバーを表示 */
    white-space: nowrap; /* 子要素を改行させずに一行に保つ */
  }

  .category-box ul {
    display: flex;
    width: max-content;
    margin: 0 auto;
    padding: 30px;
  }

  .category-box ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    padding: 10px 25px;
  }
}

@media screen and (max-width: 540px) {
  .villa .content-box .item {
    width: 100%;
    margin-right: 0;
  }

  .home .site-intro {
    display: none;
  }
}

/* google map */

/* インフォウィンドウのスタイリング */
#map .gm-style .gm-style-iw {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* タイトルと内容のコンテナ */
#map .gm-style .gm-style-iw-c {
  padding: 0px;
}

/* タイトル */
#map .gm-style .gm-style-iw h3 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

/* 内容のスタイル */
#map .gm-style .gm-style-iw p {
  font-size: 1rem;
  margin-bottom: 5px;
}

#map .entry {
  padding: 15px;
}

#map .entry h2 {
  font-size: 1.2rem;
  font-weight: bold;
}

/* スライダーのコンテナ */
#map .swiper-container {
  width: 350px;
  height: 250px;
  margin-top: 0px;
}

/* スライダーの画像 */
#map .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* インフォウィンドウの閉じるボタンのスタイル変更 */
.gm-ui-hover-effect {
  background: white !important; /* 背景を白に設定 */
  border-radius: 50% !important; /* 円形にする */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 影を追加 */
  opacity: 1 !important; /* 不透明度を100%に */
  z-index: 999;
  top: 6px !important;
  right: 6px !important;
}

/* その他のカスタムスタイル... */

/* home-content news */

.home .news {
  padding: 70px 0 70px 0;
  background: #eeeded;
  max-width: initial;
  margin: 0;
}

.home .news .inner {
  max-width: 948px;
  margin: 0 auto;
}

.home .news .title {
  padding-bottom: 70px;
}

.home .news .content-box {
  max-width: 800px;
  margin-bottom: 70px;
  padding-left: 20px;
  padding-right: 20px;
}

.home .news h3 {
  font-size: 2.5rem;
  text-align: center;
}

.home .news .content-box .item {
  border-top: 1px #a19c99 solid;
}

.home .news .content-box .item:last-child {
  border-bottom: 1px #a19c99 solid;
}

/* facility */

.facility {
  max-width: 948px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.facility h1 {
  font-size: 2rem;
  font-weight: 700;
}

.facility .share {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  height: 40px;
  line-height: 40px;
}

.facility .contact {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 5px;
  color: #fff;
  height: 40px;
  line-height: 40px;
}

.button-container {
  display: flex; /* ボタンを横並びに配置 */
  align-items: center; /* ボタンの高さを揃える */
}

.button {
  border: 1px solid black; /* 黒枠 */
  border-radius: 5px;
  padding: 5px 16px; /* 横の余白 */
  height: 40px; /* ボタンの高さを固定 */
  display: flex; /* ボタン内要素をフレックスボックスに */
  align-items: center; /* 中央揃え（垂直方向） */
  justify-content: center; /* 中央揃え（水平方向） */
}

.share-button {
  padding: 5px 10px;
  margin-right: 10px; /* 画像の高さをボタンの高さに合わせる */
}

.share-button img {
  max-height: 100%; /* 画像の高さをボタンの高さに合わせる */
  max-width: 100%; /* 画像がボタンより大きくならないように */
}

.contact-button {
  background-color: #000;
  color: #fff;
  /* お問い合わせボタンに特有のスタイルがあればここに追加 */
}

.facility .eyecatch img {
  width: 100%;
}

.facility .eyecatch > .left {
  width: calc(100% * (557 + 27) / 948);
  padding-right: 27px;
}

.facility .eyecatch > .right {
  width: calc(100% * 364 / 948);
}

.facility .right .top {
  padding-bottom: 12px;
}

.facility .right .bottom .left {
  padding-right: 12px;
}

.facility .concept {
  font-size: 2rem;
  font-weight: bold;
}

.facility table {
  border: 1px solid #ccc;
  border-radius: 5px;
  border-collapse: separate;
  padding: 20px 40px 20px 40px;
  border-spacing: 0 20px;
}

.facility table tr {
  padding-bottom: 40px;
}

.facility .review .i-0 {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 20px;
}

.facility .review .i-0:last-child {
  margin-right: 0px;
}

.facility .review .title {
  font-size: 1.2rem;
  font-weight: bold;
}

.facility #vue-facility {
  padding-bottom: 5rem;
}

#b-fix {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 1;
  padding: 20px;
  border-top: 1px solid rgba(31, 29, 27, 0.2);
  z-index: 999;
  transition: bottom 0.5s;
}

#b-fix .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#b-fix.active {
  bottom: 0; /* アクティブ状態で画面内に表示 */
}

#b-fix h3 {
  padding-bottom: 5px;
}

@media screen and (max-width: 540px) {
  .entry-header .button-container {
    display: none;
  }

  #b-fix .title {
    display: none;
  }

  #b-fix .button-container {
    width: 100%;
  }

  #b-fix .button-container .button {
    width: 100%;
  }

  .facility .eyecatch .i-1 {
    margin-bottom: 20px;
  }

  .facility .eyecatch .i-2 {
    margin-right: 20px;
  }

  .facility .eyecatch .i-3 {
    margin-right: 20px;
  }

  .facility .review {
    flex-wrap: wrap;
  }

  .facility .review .i-0 {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .facility .image {
    flex-wrap: wrap;
  }

  .facility .image .i-0 {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  .facility .image .i-0 img {
    width: 100%;
  }
}

/* information */

.news-post {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 5rem;
  padding-left: 20px;
  padding-right: 20px;
}

.news-post h1 {
  font-size: 2rem;
}

.news-post .content-box {
  padding-bottom: 2rem;
}

.news-post .entry .date {
  margin-right: 10px;
}

.news-post .entry .category {
  color: #000;
  opacity: 0.5;
}

/* Service */

/* .page-id-11 .index-header-content {
  height: 100svh;
} */
.index-header-content:has( > .index-header-service) {
  height: 100svh;
}

.index-header-service {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.service {
  padding-left: 20px;
  padding-right: 20px;
}

.service .content-box-1 {
  position: relative;
  padding: 200px 0 200px 0;
}

.service .content-box-1 .inner {
  max-width: 450px;
  margin: 0 auto;
}

.service .t-1 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
  letter-spacing: 5px;
}

.service .t-2 {
  margin-top: 2rem;
  line-height: 2;
}

.service .i-1 {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
}

.service .i-2 {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(calc(-50% + 200px));
}

.service .i-4 {
  display: none;
}

.service .i-5 {
  display: none;
}

.service .i-6 {
  display: none;
}

.service .content-box-2 .i-3 {
  height: 450px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.service .content-box-3 {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 0 100px 0;
}

.service .t-3 {
  font-size: 1.5rem;
  letter-spacing: 5px;
}

.service .t-4 {
  margin-top: 2rem;
  line-height: 2;
}

.scroll {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translate(-50%, -10px);
  font-size: 0.8rem;
  color: #fff;
}

.scroll:before {
  position: absolute;
  content: "";
  display: block;
  background-color: #fff;
  width: 1px;
  height: 50px;
  bottom: -50px;
  left: 50%;
  transform: translate(-50%, 10px);
  color: #fff;
}

@media screen and (max-width: 540px) {
  .service .content-box-1 {
    padding: 70px 0 50px 0;
  }

  .service .i-1 {
    display: none;
  }

  .service .i-2 {
    display: none;
  }

  .service .i-3 {
    display: none;
  }

  .service .i-4 {
    display: block;
    text-align: right;
    transform: translateX(20px);
  }

  .service .i-5 {
    display: block;
    text-align: left;
    transform: translateX(-20px);
  }

  .service .i-6 {
    display: block;
  }

  .service .t-1 {
    padding: 50px 0 30px 0;
  }

  .service .t-2 {
    margin-top: 50px;
  }

  .service .content-box-2 .i-3 {
    background-size: contain;
  }

  .service .content-box-3 {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .service .t-3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .service .t-4 {
    margin-top: 20px;
  }
}

/* News */

.news {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5rem;
}

.news .item {
  position: relative;
  border-top: 1px solid #ccc;
}

.news .item a {
  display: block;
  padding: 30px 20px 30px 20px;
  transition: 0.3s;
}

.news .item a:hover {
  opacity: 0.5;
}

.news .item:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.news .item:last-child {
  border-bottom: 1px solid #ccc;
}

.news .entry {
  padding-top: 0.5rem;
  font-size: 0.8rem;
}

.news .entry .date {
  padding-right: 10px;
}

.news .entry .category {
  color: #a19c99;
}

.news .pagination {
  padding-top: 30px;
}

.news .pagination span,
.news .pagination a {
  padding: 5px 10px 5px 10px;
  margin-right: 8px;
  border-bottom: 1px solid #ccc;
}

.news .pagination .page-numbers:last-child {
  margin-right: 0;
}

.news .pagination .prev,
.news .pagination .next {
  position: relative;
}

.news .pagination .prev:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 0px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  transform: translateY(-50%) rotate(225deg);
}

.news .pagination .next:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  right: 0px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  transform: translateY(-50%) rotate(45deg);
}

.news .pagination .current {
  border-color: #1f1d1b;
  color: #1f1d1b;
}

.news .pagination a {
  transition: 0.3s;
}

.news .pagination a:hover {
  opacity: 0.5;
}

/* faq */

.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 100px 20px;
}

.faq .f {
  border-top: 1px solid #ccc;
}

.faq .f:last-child {
  border-bottom: 1px solid #ccc;
}

.faq .f span {
  padding-right: 10px;
}

.faq .q {
  position: relative;
  display: block;
  position: relative;
  padding: 30px;
  padding-right: 33px;
}

.faq .q:before {
  position: absolute;
  top: 29px;
  left: 12px;  
  display: flex;
  align-items: center;
  justify-content: center;
  content: "Q";
}


.faq .qa-toggle {
  display: none; /* チェックボックスを非表示に */
}

.faq .q.arrow {
  cursor: pointer; /* ホバー時にカーソルをポインターに変更 */
  position: relative;
}

.faq .q.arrow::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  -webkit-transform: rotate(135deg) translateY(50%);
  transform: rotate(135deg) translateY(50%);
}

.faq .a {
  position: relative;
  display: none;
  padding: 0 35px 30px 48px;
}

.faq .a:before {
  position: absolute;
  content: "";
  top: 14px;
  left: 0px;
  width: 20px;
  height: 1px;
  background-color: #ccc;
}

.faq .a:after {
  position: absolute;
  top: 0px;
  left: 31px;  
  display: flex;
  align-items: center;
  justify-content: center;
  content: "A";
}


/*
.faq .qa-toggle:checked + .q.arrow::after {
    -webkit-transform: rotate(-45deg) translateY(50%);
	transform: rotate(-45deg) translateY(50%);
}

.faq .qa-toggle:checked + .q.arrow + .a {
    display: block;
    opacity: 1;
}

.faq .qa-toggle:checked + .q.arrow + .a:before {
    display: block;
    opacity: 1;
}
*/

/* contact */

.contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 0;
  padding-left: 20px;
  padding-right: 20px;
}

.contact .box {
  display: flex;
  justify-content: space-between;
}

.contact .left {
  width: 45%;
  padding-right: 50px;
}

.contact .right {
  width: auto;
}

.contact .intro {
  padding-bottom: 50px;
  line-height: 2;
}

.contact .title {
  font-size: 2rem;
  font-weight: bold;
  transform: translateY(-12px);
}

.contact .select,
.contact .name,
.contact .mail,
.contact .textarea,
.contact .code,
.contact .id,
.contact .code_name,
.contact .require {
  margin-bottom: 30px;
}

.contact .select .radio {
  margin-left: 20px;
}

.contact .select .radio > span {
  display: block;
  margin: 20px 0;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0px;
}

.contact input {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.contact textarea {
  padding: 5px 10px 5px 10px;
  border: 1px solid #ccc;
}

.contact .send input {
  width: 100%;
  display: block;
  text-align: center;
  border: 1px solid #1f1d1b;
  border-radius: 5px;
  background-color: #1f1d1b;
  color: #fff;
  padding: 10px 0 10px 0;
  letter-spacing: 1px;
}

.hissu label {
  position: relative;
}

.hissu label:before {
  position: absolute;
  content: "※必須";
  display: inline-block;
  font-size: 0.8rem;
  color: #ff0000;
  top: 2px;
  right: 0;
  transform: translateX(calc(100% + 10px));
}

@media screen and (max-width: 782px) {
  .contact .box {
    display: block;
  }

  .contact .left {
    width: 100%;
    margin-bottom: 40px;
  }

  .contact .right {
    width: 100%;
  }

  .contact .select .radio {
    margin: 0;
  }

  .contact input[type="text"],
  .contact input[type="email"] {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  .contact .box {
    display: block;
  }

  .contact .left {
    width: 100%;
  }

  .contact .right {
    width: 100%;
  }

  .contact .select .radio {
    margin: 0;
  }

  .contact input[type="text"],
  .contact input[type="email"] {
    width: 100%;
  }
}

/* search */

@media screen and (max-width: 540px) {
  .site-search .site-input input[type="search"] {
    width: 200px;
  }
}

/* not-found */

.not-found {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 0;
  padding-left: 20px;
  padding-right: 20px;
}

.not-found h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}


/* breadcrumb */

.breadcrumb {
  padding: 0 20px 0 20px;
}

.breadcrumb span {
  padding: 0 5px 0 5px;
  color: #ccc;
}

.breadcrumb a {
  transition: 0.3s;
}

.breadcrumb a:hover {
  opacity: 0.5;
}

/* footer */

.site-footer {
  background: #1f1d1b;
  color: #fff;
  padding-top: 70px;
}

.site-footer li a {
  font-size: 1rem;
  color: #fff !important;
  transition: 0.3s;
}

.site-footer li a:hover {
  color: #a19c99 !important;
}

.site-footer .site-title {
  font-size: 1.5rem;
}

.site-footer .site-info {
  font-size: 0.8rem;
  padding: 10px 0 10px 0;
  opacity: 0.2;
}

.site-footer .credit {
  display: flex;
  padding-top: 50px;
}

.site-footer .credit .insta {
  display: none;
}

.site-footer .credit .main-navigation li a {
  font-size: 0.8rem;
}

.site-footer .inner {
  position: relative;
}

.site-footer .inner > .insta {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.site-footer .inner .insta a {
  transition: 0.3s;
}

.site-footer .inner .insta a:hover {
  opacity: 0.5;
}

.site-footer .main-navigation ul {
  display: flex;
}

.site-footer form {
  display: none;
}

@media screen and (max-width: 540px) {
  .site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .site-footer .inner {
    width: auto;
    padding: 0 20px 0 20px;
  }

  .site-footer .inner > .insta {
    display: none;
  }

  .site-footer .credit {
    display: block;
    padding-top: 25px;
  }

  .site-footer .credit .main-navigation {
    display: flex;
  }

  .site-footer .credit .main-navigation .insta {
    display: block;
    padding-right: 15px;
  }

  .site-footer .credit .main-navigation .insta a {
    margin-top: 4px;
  }

  .site-footer .main-navigation ul {
    display: block;
  }

  .site-footer .menu-header-menu-container {
    margin-bottom: 20px;
  }

  .site-footer .site-info {
    text-align: center;
  }

  .site-footer .site-search .site-input input[type="search"] {
    width: 180px;
  }

  .site-footer .menu-foot-menu-container {
    display: flex;
  }

  .site-footer form {
    display: block;
  }
}

/* animation */

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.item-enter-active,
.item-leave-active {
  transition: opacity 0.5s ease;
}
.item-enter, .item-leave-to /* .item-leave-active in <2.1.8 */ {
  opacity: 0;
}

/* font */

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.zen-old {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.title-font {
  font-family: "Montserrat", "Zen Old Mincho", serif;
}
