﻿/*Common
-------------------------------------------------------------------*/

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ",
    sans-serif;
  line-height: 1.6;
  color: #534741;
  font-size: 100%;
  height: 100%;
}

a {
  color: #df6968;
}

h2 {
  font-family: YuMincho, /* Mac用 */ "Yu Mincho", /* Windows用 */ serif;
  font-size: 140%;
  text-align: center;
  line-height: 1.4;
}

h2 span {
  font-size: 60%;
  color: #baa183;
  display: block;
}

.btn_more a {
  display: block;
  color: #fff;
  text-decoration: none;
  background: url("../img/allow_white_LR.svg") no-repeat right 15px center
    #9c272d;
  background-size: 6px;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 5px;
  font-weight: bold;
  padding: 8px 20px;
}

/*footer*/
footer {
  background: #534741;
  color: #fff;
  padding: 15px;
}

.footerlogo_text {
  text-align: center;
  font-size: 90%;
}

#footer_logo {
  text-align: center;
  margin: 8px 0;
}

#footer_logo img {
  width: 280px;
}

.footer_rightarea ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_rightarea li {
  margin: 0 5px;
}

.footer_rightarea li a {
  display: block;
  line-height: 1;
}

.footer_rightarea li img {
  width: 60px;
}

#copyright {
  text-align: center;
  font-size: 65%;
  margin-top: 15px;
  line-height: 1.3;
}

#page_titlearea {
  background: linear-gradient(
    0deg,
    rgba(176, 171, 168, 1) 0%,
    rgba(180, 175, 172, 1) 4.68%,
    rgba(203, 199, 196, 1) 37.27%,
    rgba(217, 213, 210, 1) 67.62%,
    rgba(222, 218, 215, 1) 93.3%,
    rgba(220, 216, 213, 1) 96.55%,
    rgba(213, 209, 206, 1) 97.9%,
    rgba(201, 197, 194, 1) 98.9%,
    rgba(184, 179, 176, 1) 99.72%,
    rgba(176, 171, 168, 1) 100%
  );
  text-align: center;
  padding: 15px 0;
}

#page_titlearea h2 {
  font-size: 160%;
  letter-spacing: 0.1em;
  line-height: 1;
}

#page_titlearea span {
  color: #fff;
  font-size: 85%;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
}

.wp-pagenavi a,
.wp-pagenavi span {
  padding: 10px !important;
  border-radius: 3px;
}

.pagenav {
  margin: 30px 0 15px;
}

/* mobile only*/
@media all and (max-width: 767px) {
  /*common*/
  .sp_none {
    display: none;
  }

  /*header*/
  #headerarea {
    /* background : linear-gradient(90deg, rgba(83, 71, 65, 1) 0%, rgba(0, 0, 0, 1) 100%); */
    background: none;
    padding: 0 10px;
    text-align: right;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #google_language_translator,
  .glt-translate-trigger,
  .glt-toolbar {
    line-height: 1 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #sp_head {
    position: relative;
    padding: 0 10px;
    margin: 0;
  }

  #sp_head h1 {
    width: 220px;
    margin: 0;
  }

  #sp_head h1 img {
    width: 100%;
  }

  .drawer-hamburger {
    position: absolute !important;
  }

  .drawer-nav ul {
    padding: 15px;
  }

  .drawer-nav li {
    border-bottom: 1px dotted #534741;
  }

  .drawer-nav li a {
    display: block;
    color: #534741;
    padding: 10px 5px 10px 10px;
    background: url("../img/allow_red_LR.svg") no-repeat left center;
    background-size: 6px;
    text-decoration: none;
  }

  #pagewrapper {
    padding: 20px 10px;
  }

  /*footer*/
  .footer_leftarea {
    padding-bottom: 10px;
  }

  .footer_rightarea {
    padding: 15px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: 15px;
  }
}

/* PC only*/
@media all and (min-width: 768px) {
  .pc_none {
    display: none !important;
  }

  h2 {
    font-size: 170%;
  }

  /*header*/
  #headerarea {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 86%;
  }

  .header_right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .header_right ul {
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
  }

  .header_right li {
    margin-left: 20px;
  }

  .header_right li a {
    text-decoration: none;
    color: #534741;
    padding-left: 9px;
    background: url("../img/allow_red_LR.svg") no-repeat left center;
    background-size: 6px;
    display: block;
    transition: 0.5s all;
  }

  .header_right li a:hover {
    text-decoration: underline;
    color: #df6968;
  }

  #sp_head {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
  }

  #sp_head h1 {
    width: 290px;
  }

  #sp_head h1 img {
    width: 100%;
  }

  .header_linkbtn {
    display: flex;
    justify-content: flex-end;
    vertical-align: middle;
  }

  .header_linkbtn li {
    margin-left: 10px;
    vertical-align: middle;
  }

  .header_linkbtn li:first-child {
    margin-left: 10px;
  }

  .header_linkbtn li a {
    display: block;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    font-weight: bold;
    padding: 12px 30px 12px 20px;
    border-radius: 5px;
    transition: 0.7s all;
    position: relative;
    vertical-align: middle;
  }

  .insta a {
    padding: 0 !important;
    margin: 0 !important;
  }

  .header_linkbtn li a::after {
    content: "\025b6";
    position: absolute;
    right: 13px;
    top: calc(50% - 0.4em);
    font-size: 50%;
  }

  .headbtn_contact a {
    background: #fff;
    color: #df6968;
    position: relative;
    border: 1px solid #df6968;
  }

  .headbtn_contact a:hover {
    background: #df6968;
    color: #fff;
    border: 1px solid #df6968;
  }

  .headbtn_contact a::after {
    color: #df6968;
  }

  .headbtn_contact a:hover::after {
    color: #fff;
  }

  .headbtn_recruit a {
    border: 1px solid #29a9e0;
    min-width: 120px;
    color: #29a9e0;
  }

  .headbtn_recruit a:hover {
    background: #29a9e0;
    color: #fff;
    border: 1px solid #29a9e0;
  }

  .headbtn_recruit a::after {
    color: #29a9e0;
  }

  .headbtn_recruit a:hover::after {
    color: #fff;
  }

  /*メインナビゲーション*/
  #main_nav {
    background: linear-gradient(
      180deg,
      rgba(101, 91, 85, 1) 0%,
      rgba(63, 50, 43, 1) 100%
    );
    border-bottom: 3px solid #998678;
  }

  #main_nav ul {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.3;
    position: relative;
  }

  #main_nav ul::before {
    content: "";
    display: block;
    border-left: 1px solid #978475;
    min-height: 16px;
    position: absolute;
    left: 0;
    top: calc(50% - 8px);
  }

  #main_nav li {
    width: calc(100% / 6);
    position: relative;
  }

  #main_nav li::after {
    content: "";
    display: block;
    border-left: 1px solid #978475;
    min-height: 16px;
    position: absolute;
    right: 0;
    top: calc(50% - 8px);
  }

  #main_nav a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 100%;
    text-align: center;
    transition: 0.7s all;
  }

  #main_nav a span {
    font-size: 70%;
    color: #baa183;
    display: block;
  }

  #main_nav a:hover {
    background: #fff;
    color: #534741;
    border-radius: 5px 5px 0 0;
  }

  /*page*/

  #pagewrapper > section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
  }

  /*contents*/

  #page_titlearea {
    padding: 40px 0;
  }

  #page_titlearea h2 {
    font-size: 200%;
  }

  /*footer*/
  #return_TOP {
    height: 30px;
    overflow: hidden;
    text-align: center;
  }

  #return_TOP a {
    display: block;
    height: 30px !important;
    background: url("../img/backbtn_on.png") no-repeat top center;
    width: 168px;
    margin: 0 auto;
  }

  #return_TOP a img {
    transition: 0.5s all;
  }

  #return_TOP a:hover img {
    opacity: 0;
  }

  .footer_linkarea {
    max-width: 1200px;
    margin: 0 auto 20px;
  }

  .footer_linkarea ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 85%;
    margin: 10px 0 0px;
    letter-spacing: 0.1em;
  }

  .footer_linkarea li {
    border-right: 1px solid #fff;
  }

  .footer_linkarea li:last-of-type {
    border-right: none;
  }

  .footer_linkarea a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0 0.5em;
    line-height: 1;
  }

  .footer_linkarea a:hover {
    text-decoration: underline;
  }

  .pc_footer {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
  }

  .footer_leftarea {
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .footer_logoarea {
    margin-right: 15px;
  }

  .footer_caution {
    text-align: center;
    font-size: 90%;
    border-top: 1px solid #655b55;
    border-bottom: 1px solid #655b55;
    padding: 5px 0;
  }
}

/* 段落の基本余白を戻す */
.contentsarea p {
  margin: 1em 0;
  line-height: 1.8; /* 必要ならSP側にも適用 */
}

/* 段落が連続するとき、上の余白を少し増やす（任意） */
.contentsarea p + p {
  margin-top: 1.6em;
}

/* 念のため、br が消されていたら見えるように */
.contentsarea br {
  display: inline;
}





:root{
  --sub-gap-pc: 25px;  /* 下層に付けたい上余白 */
  --sub-gap-sp: 20px;
}

/* 1) home/front-page は絶対ゼロ固定（他のCSSやinlineを上書き） */
html body:is(.home, .front-page){
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body:is(.home, .front-page)[style*="padding-top"]{ padding-top: 0 !important; }

/* 2) “下層ページだけ”に余白を付ける（広めホワイトリスト） */
html body:is(
  /* 固定ページ・投稿・アーカイブ系 */
  .page, .single, .archive, .search, .error404, .author, .date,
  /* 投稿一覧（ブログトップ）。front-page でないトップに使われることがある */
  .blog,
  /* カスタム投稿・タクソノミー系をワイルドに拾う */
  .post-type-archive, .tax, .category, .tag
),
/* ↑さらに “派生クラス” も拾う（例：.single-hotel, .tax-hotel_area 等） */
html body[class*="single-"],
html body[class*="page-template-"],
html body[class*="post-type-archive-"],
html body[class*="tax-"],
html body[class*="category-"],
html body[class*="tag-"]
{
  padding-top: var(--sub-gap-pc);
}
@media (max-width: 767px){
  html body:is(.page, .single, .archive, .search, .error404, .author, .date, .blog, .post-type-archive, .tax, .category, .tag),
  html body[class*="single-"],
  html body[class*="page-template-"],
  html body[class*="post-type-archive-"],
  html body[class*="tax-"],
  html body[class*="category-"],
  html body[class*="tag-"]
  {
    padding-top: var(--sub-gap-sp);
  }
}

/* 3) ログイン時の管理バー分を加算（任意） */
body.admin-bar:is(.page, .single, .archive, .search, .error404, .author, .date, .blog, .post-type-archive, .tax, .category, .tag),
body.admin-bar[class*="single-"],
body.admin-bar[class*="page-template-"],
body.admin-bar[class*="post-type-archive-"],
body.admin-bar[class*="tax-"],
body.admin-bar[class*="category-"],
body.admin-bar[class*="tag-"]{
  padding-top: calc(var(--sub-gap-pc) + 32px);
}
@media (max-width: 782px){
  body.admin-bar:is(.page, .single, .archive, .search, .error404, .author, .date, .blog, .post-type-archive, .tax, .category, .tag),
  body.admin-bar[class*="single-"],
  body.admin-bar[class*="page-template-"],
  body.admin-bar[class*="post-type-archive-"],
  body.admin-bar[class*="tax-"],
  body.admin-bar[class*="category-"],
  body.admin-bar[class*="tag-"]{
    padding-top: calc(var(--sub-gap-sp) + 46px);
  }
}
