@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
* {
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
html {
  font-size: 62.5%!important;
}
body {
  font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  color:#505050;
  font-size:1.4rem!important;
  line-height:2;
  letter-spacing:.02em;
  overflow-x: hidden;
  position: relative;
}
a {
  text-decoration: none;
  color:#505050;
}
a:hover {
  color:#505050;
}
.sa {
  opacity: 0;
  transition: all 2s ease;
  transform: translate(-50%,-50%);
}
.sa.show {
  opacity: 1;
  transform: none;
}
.sa--up {
  transform: translate(0, 30px);
}
.sa--up2 {
  transform: translate(0, 30px);
  transition-delay: .4s;
}
.sa--up3 {
  transform: translate(0, 30px);
  transition-delay: .8s;
}
.sa--down {
  transform: translate(0, -30px);
}
main {
  width: 100%;
  height: auto;
  position: relative;
  background: #7D664E;
  overflow: hidden;
}
.widget-entry-card {display:flex;justify-content:space-between;}
.widget-entry-card-content {width:100%;max-width:calc(100% - 126px);display:flex;flex-direction:column;margin-left:0;font-family: 'Noto Sans JP', sans-serif;font-size:1.3rem;padding:8px 0;}
.iPhone .widget-entry-card-content {font-family:initial;}
.popular-entry-card-date.widget-entry-card-date.display-none,
.new-entry-card-date.widget-entry-card-date.display-none {display:block;font-size:1rem;color:#7D664E;margin-top:auto;}
.post-update {display:none;}
.widget_archive ul li a .post-count::before,
.widget_categories ul li a .post-count::before {display:inline-block;content:'('!important;margin-left:5px;}
.widget_archive ul li a .post-count:after,
.widget_categories ul li a .post-count::after {display:inline-block;content:')'!important;}
/*--------------------------------------------------------------------------
  header
--------------------------------------------------------------------------*/
header {
  width: 100%;
  height: auto;
  position:fixed;
  top:0;
  left: 0;
  z-index: 999;
  letter-spacing: .05em;
}
#header01 {
  width: 100%;
  height: auto;
  margin: 0 auto;
  box-sizing: border-box;
  transition: 1s cubic-bezier(.4, 0, .2, 1);
}
.head-animation {
  transform: translateY(-100%);
}
.scroll {
  background: #7D664E;
  transition: 1s cubic-bezier(.4, 0, .2, 1);
}
#global-nav {
  width: 90%;
  max-width: 1280px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.global-nav-logo {
  display: none;
  width: auto;
  height: 46px;
}
.global-nav-logo img {
  display: block;
  width: auto;
  height: 46px;
}
nav {
  width:100%;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
nav > ul {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}
nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 60px;
  padding: 0 12px;
  font-family: 'Cinzel', serif;
}
nav li:first-child img {
  width: auto;
  height: 46px;
  display: block;
}
nav li a {
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color:#fff;
}
nav li a:hover {
	color:#fff;
}
.line {
  font-size: 1.2rem;
}
.nav-tel {
  display: none;
}
nav li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}
nav li img {
  width: auto;
  height: 20px;
  display: block;
}
.nav-text {
  font-size: 1rem;
  letter-spacing: initial;
}
.online-booking {
  display: flex;
  justify-content: center;
  align-items: center;
}
.online-booking a {
  display: flex;
  width: 150px;
  height: 40px;
  line-height: 60px;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  color:#7D664E;
  font-weight: bold;
  font-size: 1.3rem;
  background:linear-gradient(60deg,#90867C 0%,#fff 50%,#90867C 100%);
}
.online-booking a:hover {
	color:#7D664E;
}
.online-booking a i {
  margin-right: 5px;
}
.online-booking-sp {
  display: none;
}
/*--------------------------------------------------------------------------
  スマホ　トグル
--------------------------------------------------------------------------*/
#nav-toggle {
  display: none;
  position: fixed;
  top: 0;
  right:2%;
  width: 60px;
  height: 60px;
  z-index: 10001;
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 36px;
  height: 60px;
}
.menu-trigger span {
  position: absolute;
  left: 50%;
  width: 65%;
  height: 3px;
  transform: translate(-50%,0);
  background-color: #fff;
  border-radius: 2px;
}
.menu-trigger span:nth-of-type(1) {
  top:14px;
}
.menu-trigger span:nth-of-type(2) {
  position: absolute;
  right: 0;
  top:28px;
}
.menu-trigger span:nth-of-type(3) {
  top:42px;
}
#nav-toggle.active span {
  position: absolute;
  left: 20%;
}
#nav-toggle.active span:nth-of-type(1) {
  top:5px;
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(20px) rotate(-45deg);
}
#nav-toggle.active span:nth-of-type(2) {
  left: 50%;
  opacity: 0;
  -webkit-animation: active-menu-bar .8s forwards;
  animation: active-menu-bar02 .8s forwards;
}
@-webkit-keyframes active-menu-bar {
  100% {
    height: 0;
  }
}
@keyframes active-menu-bar {
  100% {
    height: 0;
  }
}
#nav-toggle.active span:nth-of-type(3) {
  top:45px;
  -webkit-transform: translateY(-20px) rotate(45deg);
  transform: translateY(-20px) rotate(45deg);
}

/*--------------------------------------------------------------------------
  main-img
--------------------------------------------------------------------------*/
#main-img {
  width: 100%;
  height: 45vh;
  position: relative;
  background: #7D664E;
}
.iPad #main-img,.android #main-img{
  height: 25vh;
}
#main-img::after {
  display: block;
  content:'';
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
  background: url("https://romu-sabai.com/img/top/bg-block.png");
  background-size: cover;
  background-position: center;
  opacity: .4;
}
#main-img::before {
  display: block;
  content:'';
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
  background: url("https://romu-sabai.com/img/top/thai-bg.png");
  background-size: cover;
  background-position: center;
  opacity: .1;
  z-index: 1;
}
.main-title {
  width: 100%;
  height: auto;
  position: absolute;
  left: 50%;
  top:50%;
  transform: translate(-50%,-50%);
  z-index: 1;
}
.main-title h2 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color:#fff;
  font-size: 3.2rem;
  line-height: 1.4;
}
.main-title h2 span {
  font-size: 1.2rem;
  letter-spacing: .25em;
}

#pager-post-navi {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.pager-post-navi a figure {
  max-width: 60px;
  min-width: 60px;
}
.pager-post-navi a.prev-next-home {
  font-size: 1.6rem;
}
.article-header {
  position: relative;
  top:initial;
  left: initial;
}
.menu-content {
  top:0!important;
  right:0;
  bottom:0;
  padding: 70px 0;
  box-sizing: border-box;
  overflow-y: auto;
}
.ect-vertical-card {
  font-family: 'Noto Sans JP', sans-serif;
}
.iPhone .ect-vertical-card {font-family:initial;}
.ect-vertical-card .entry-card-wrap .entry-card-thumb img {
  object-fit: cover;
  border-radius: 8px;
}
.ect-vertical-card .entry-card-wrap .entry-card-content {
	display:flex;
	flex-direction:column;
	width:100%;height:auto;
}
.entry-card-title, .related-entry-card-title {
  font-size: 1.4rem;
  line-height: 1.75;
  letter-spacing: .025em;
}
.entry-card-snippet {
	display: -webkit-box;
	font-size: 1.2rem;
	line-height:1.8;
	letter-spacing: .025em;
    -webkit-line-clamp:4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.entry-card-meta, .related-entry-card-meta {
	position:relative;
	bottom:initial;
	right:initial;
	margin-top:8px;
}
.post-date {
  font-size: 1.2rem!important;
}
.sidebar a:hover {
  background: none!important;
}
.sidebar h3 {
  margin-bottom: 0;
  padding: 6px 12px!important;
}

input[type="text"], .sidebar h3,.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a{
  font-size: 1.4rem!important;
  font-family: 'Noto Sans JP', sans-serif;
}
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
  padding: 6px 12px!important;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.widget_recent_entries ul li a::after, .widget_categories ul li a::after, .widget_archive ul li a::after, .widget_pages ul li a::after, .widget_meta ul li a::after, .widget_rss ul li a::after, .widget_nav_menu ul li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(to right,#91ABCC,#DFE7F0);
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.widget_recent_entries ul li a:hover::after, .widget_categories ul li a:hover::after, .widget_archive ul li a:hover::after, .widget_pages ul li a:hover::after, .widget_meta ul li a:hover::after, .widget_rss ul li a:hover::after, .widget_nav_menu ul li a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
.article h1 {
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  color:#003c88;
}
/*--------------------------------------------------------------------------
 footer
--------------------------------------------------------------------------*/
#footer .wrap {
width:100%;
}
.footer {padding:0;}
#footer01 {
  width: 100%;
  height: auto;
  background: #3C3125;
  color:#fafafa;
}
#footer01 a {
  color:#fafafa;
  text-decoration: underline;
}
.footer01 {
  width: 100%;
  height: auto;
  text-align: center;
  padding: 50px 0;
}
.footer-logo {
  width: 160px;
  height: auto;
  margin: 0 auto;
}
.footer-logo a {
  display: block;
  width: 100%;
  height: auto;
}
.footer-logo a img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-logo a {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.footer-logo a img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-address ul {
  list-style: none;
  font-size: 1.2rem;
}
.footer-attention {
  font-size: 1rem;
}
.copyright {
  width: 100%;
  height: auto;
  text-align: center;
  font-size: .8rem;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}
.iPhone .copyright {
  font-family: initial;
}
@media screen and (max-width: 1280px){
  html {
    font-size: calc(100vw/128.0);
  }
}

@media screen and (max-width: 1023px){
  #header01 {
    position: fixed;
    z-index: 1001;
  }
  .global-nav-logo {
    display: block;
  }
  #nav-toggle {
    display: block;
  }
  /*--------------------------------------------------------------------------
    toggle オーバーレイ (896px以下)
  --------------------------------------------------------------------------*/
  .overlay {
    position: fixed;
    display: block;
    top:0;
    left: 0;
    right:0;
    bottom:0;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    min-width: 100%;
    height: auto;
    padding:0!important;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: .3s linear;
    animation: .3s linear overlay-close;
  }
  .overlay.is-open {
    width: 100%;
    height: 100vh;
    opacity: 1;
    visibility: visible;
    animation: .3s linear overlay-open;
    background: #7D664E;
	z-index:10000;
  }

  @keyframes overlay-open {
    0% {
      transform: scaleY(0);
      transform-origin: bottom;
    }
    100% {
      transform: scaleY(1);
      transform-origin: bottom;
    }
  }
  @keyframes overlay-close {
    0% {
      transform: scaleY(1);
      transform-origin: top;
    }
    100% {
      transform: scaleY(0);
      transform-origin: top;
    }
  }
  nav {
    width:100%;
    min-width: 100%;
  }
  nav ul {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: absolute;
    top:45%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  nav li {
    width: 50%;
    height: auto;
    padding: 10px 0;
  }
  nav li:first-child {
    display: none;
  }
  nav li > a {
    height: auto;
  }
  .nav-tel {
    display: block;
    width: 100%;
    height: auto;
  }
  .nav-tel-lead {
    display:flex; align-items:center; text-align:center;
    font-size: 3.2rem;
    margin-bottom: 10px;
    color:#fafafa;
  }
  .nav-tel-lead:before {
    margin-right:5px;
    border-top:1px solid #ccc;
    content:"";
    flex-grow:1;
  }
  .nav-tel-lead:after {
    margin-left:5px;
    border-top:1px solid #ccc;
    content:"";
    flex-grow:1;
  }
  .nav-tel a {
    background: #3D2C1A;
    height: 48px;
    border-radius: 4px;
  }
  .nav-tel img {
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
  }
  .nav-tel-text {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
    color:#fafafa;
  }
  .online-booking {
    display: none;
  }
  .online-booking-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }
  .online-booking-sp a {
    display: flex;
    width: 100%;
    height: 48px;
    line-height: 60px;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    color:#7D664E;
    font-weight: bold;
    font-size: 1.6rem;
    background:linear-gradient(60deg,#90867C 0%,#fff 50%,#90867C 100%);
  }
  .online-booking-sp a i {
    margin-right: 5px;
  }
}
/*834px以下*/
@media screen and (max-width: 834px){
   html {
    font-size: calc(100vw/83.4)!important;
  }
}
@media screen and (max-width: 480px){
  html {
    font-size: 62.5%!important;
  }
  body {
	font-size:1.4rem!important;
	font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	letter-spacing:0;
  }
  #global-nav {
    width: 100%;
    max-width: calc(100% - 65px);
    margin: 0;
    padding-left: 10px;
  }
　.nav-tel-lead {
    font-size:2rem!important;
    padding:20px 0 10px 0;
  }
  .nav-tel-text {
    font-size: 1rem;
  }
	article > p {
		font-size:1.4rem!important;
	}
  .no-sp-snippet .entry-card-snippet {
	display:block!important;	
 }
  .footer01 {
    padding: 50px 20px 100px 20px;
    box-sizing: border-box;
  }
  .footer-logo {
    width: 120px;
    height: auto;
    margin: 0 auto;
  }
  .footer-attention {
    padding: 10px;
    box-sizing: border-box;
    border: 1px dotted #fff;
    margin-top: 10px;
  }
  .footer-attention br {
    display: none;
  }
  .footer-attention {
    font-size: 1rem;
  }
}
