/*
Theme Name: Vessel EID Legacy
Theme URI: https://hotel-vessel.com/
Author: Vessel Hotel
Description: Serene Bach(eidページ)の見た目を引き継ぐシンプルな移行用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: vessel-eid-legacy
*/

:root {
  --content-width: 670px;
  --sidebar-width: 250px;
  --wrapper-width: 1000px;
  --main-width: 950px;
  --entry-title: #51816f;
  --text-main: #333;
  --line: #ddd;
}

* {
  box-sizing: border-box;
}

body.topics {
  margin: 0;
  color: var(--text-main);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

a {
  color: #2a6d58;
}

a:hover {
  opacity: 0.85;
}

#wrapper {
  width: var(--wrapper-width);
  margin: 0 auto;
}

#header {
  width: var(--wrapper-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 0;
  display: block;
  padding: 0;
}

#header .left img {
  display: block;
}

#header .left {
  float: left;
}

#subnavi {
  float: right;
  width: 295px;
  height: auto;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

#subnavi li {
  float: left;
  height: 37px;
  margin: 0 0 0 2px;
  padding: 0;
  list-style: none;
}

#subnavi li:last-child {
  float: none;
  clear: both;
  height: auto;
  margin: 5px 0 0;
  text-align: right;
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #555;
}

#subnavi li:last-child p {
  margin: 0;
}

#gnavibox {
  clear: both;
  width: var(--wrapper-width);
  height: 46px;
  margin: 0 auto 5px;
  padding: 1px 0 0;
  text-align: center;
  border: 0;
}

#gnavi {
  width: 920px;
  margin: 0;
  margin-inline: auto;
  padding: 0;
  list-style: none;
  display: block;
}

#gnavi li {
  float: left;
  height: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#gnavi img {
  display: block;
  max-width: 100%;
  height: auto;
}

#blogmain {
  width: var(--main-width);
  margin: 37px auto 0;
  padding-right: 10px;
}

#blogcontents {
  float: right;
  width: var(--content-width);
}

#navigation {
  float: left;
  width: var(--sidebar-width);
}

.entry {
  margin: 0 0 55px;
  position: relative;
}

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
  position: static;
  left: auto;
  top: auto;
}

.entrytitle {
  margin: 10px 0 8px;
  padding: 0 8px 6px;
  border-bottom: 1px dashed #ccc;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: left;
}

.entrytitle a {
  color: var(--entry-title);
  text-decoration: none;
}

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

.entrybody {
  text-align: left;
  padding: 0;
  margin: 0 10px 30px;
  line-height: 1.6;
}

.entrymore {
  padding: 0;
  margin: 0 0 5px;
}

.entrybody img {
  margin: 5px 5px 10px;
  max-width: 100%;
  height: auto;
}

.entrymore img {
  margin: 5px 5px 10px;
  max-width: 100%;
  height: auto;
}

.entrybody blockquote,
.entrymore blockquote {
  margin: 5px;
  padding: 0;
}

.entrybody ul,
.entrymore ul,
.entrybody ol,
.entrymore ol {
  margin: 0 0 0 35px;
  padding: 0;
}

.entrybody ul,
.entrymore ul {
  list-style: disc outside;
}

.entrybody ol,
.entrymore ol {
  list-style: decimal outside;
}

.entrybody li,
.entrymore li {
  list-style: inherit;
}

.entrybody table,
.entrymore table {
  margin: 5px;
  border-collapse: collapse;
  max-width: 100%;
}

.entrybody table th,
.entrymore table th,
.entrybody table td,
.entrymore table td {
  padding: 3px;
  margin: 0;
  border: 1px solid #000;
}

.entrybody iframe,
.entrymore iframe,
.entrybody embed,
.entrymore embed,
.entrybody object,
.entrymore object {
  max-width: 100%;
}

.entrybody .alignleft,
.entrymore .alignleft {
  float: left;
  margin: 5px 12px 10px 0;
}

.entrybody .alignright,
.entrymore .alignright {
  float: right;
  margin: 5px 0 10px 12px;
}

.entrybody .aligncenter,
.entrymore .aligncenter {
  display: block;
  margin: 8px auto 12px;
}

.entrybody .has-text-align-center,
.entrymore .has-text-align-center,
.entrybody .wp-block-image.aligncenter,
.entrymore .wp-block-image.aligncenter,
.entrybody figure.aligncenter,
.entrymore figure.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.entrybody .wp-block-image.aligncenter img,
.entrymore .wp-block-image.aligncenter img,
.entrybody figure.aligncenter img,
.entrymore figure.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

.entrybody .wp-block-group.has-text-align-center,
.entrymore .wp-block-group.has-text-align-center {
  text-align: center;
}

.entrybody .wp-caption,
.entrymore .wp-caption {
  max-width: 100%;
}

.entrybody::after,
.entrymore::after {
  content: "";
  display: block;
  clear: both;
}

.comments,
.trackback {
  margin: 0 0 20px;
  padding: 0;
}

.comments h3,
.trackback h4 {
  margin: 0 0 10px;
  padding: 0 0 3px 5px;
  border-bottom: 1px dashed #ccc;
}

.comments p,
.trackback p {
  margin: 0 0 10px;
}

.comment-respond {
  margin-top: 16px;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list li {
  margin: 0 0 14px;
}

.entrybody p,
.entrymore p {
  margin: 0 0 1em;
}

.entrybody strong,
.entrymore strong {
  font-weight: 700;
  color: inherit;
  letter-spacing: inherit;
  margin: 0;
}

.entrybody p:last-child,
.entrymore p:last-child {
  margin-bottom: 0;
}

.entrybody pre,
.entrymore pre {
  overflow-x: auto;
}

.entrybody code,
.entrymore code {
  word-break: break-word;
}

.entrystate {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-align: right;
  color: #666;
}

.textcenter {
  margin: 12px 0 20px;
  text-align: center;
  font-size: 0.9rem;
}

#navigation dl {
  margin: 0 0 18px;
}

#navigation dt {
  margin-bottom: 10px;
  font-weight: 700;
}

#navigation ul {
  margin: 0 0 0 10px;
  padding: 0;
  list-style: none;
}

#navigation li {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

#navigation .widget_search,
#navigation .wp-block-search {
  display: none;
}

#footnavi {
  width: var(--wrapper-width);
  margin: 170px auto 0;
  text-align: center;
}

#footnavi p {
  margin: 0;
  padding: 0;
  font-size: 10px;
}

#footer {
  margin-top: 0;
  height: auto;
  min-height: 82px;
}

#footer .ftblock02 {
  clear: both;
}

.postpager {
  text-align: center;
}

.clear {
  clear: both;
}

.sp-header,
.sp-content-top,
.sp-footer {
  display: none;
}

.sp-menu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
}

@media (max-width: 980px) {
  .sp-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    display: block;
    overflow: hidden;
    line-height: 0;
  }

  .sp-header .left {
    float: left;
    width: 84%;
  }

  .sp-header .left img {
    width: 100%;
    height: auto;
    display: block;
  }

  .sp-header .icon_btn {
    float: right;
    width: 16%;
  }

  .sp-header .icon_btn img {
    width: 100%;
    display: block;
  }

  .sp-content-top {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sp-content-top .menu {
    display: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #242322;
    overflow: hidden;
    list-style: none;
  }

  .sp-content-top .menu.is-open {
    display: block;
  }

  .sp-content-top .menu li {
    width: 50%;
    float: left;
    border-bottom: 1px solid #1b1b1b;
    font-size: 14px;
    line-height: 16px;
  }

  .sp-content-top .menu li a {
    width: 100%;
    display: block;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    text-decoration: none;
  }

  .sp-content-top .menu li.s_menu_mail {
    width: 33%;
    background: url(https://hotel-vessel.com/sp/images/common/line.gif) no-repeat right center;
  }

  .sp-content-top .menu li.s_menu_mail a {
    padding: 20px 0;
    background: url(https://hotel-vessel.com/sp/images/common/mail_s.gif) no-repeat center center;
    background-size: cover;
  }

  .sp-content-top .menu li.s_menu_access {
    width: 34%;
    background: url(https://hotel-vessel.com/sp/images/common/line.gif) no-repeat right center;
  }

  .sp-content-top .menu li.s_menu_phone {
    width: 33%;
  }

  .sp-content-top .menu li.s_menu_phone a {
    padding: 20px 0;
    background: url(https://hotel-vessel.com/sp/images/common/phone_s.gif) no-repeat center center;
    background-size: cover;
  }

  .sp-content-top .menu li.s_menu_l {
    width: 49%;
    background: url(https://hotel-vessel.com/sp/images/common/line.gif) no-repeat right center;
  }

  .sp-footer {
    display: block;
    background: url(https://hotel-vessel.com/sp/images/common/foot_bg.jpg);
    padding: 10% 0;
    color: #fff;
    clear: both;
  }

  .sp-footer .f_logo {
    width: 50%;
    margin: 0 auto 5%;
  }

  .sp-footer .f_logo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .sp-footer p {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    float: none;
  }

  .sp-footer span {
    font-weight: 700;
    font-size: 1rem;
  }

  .sp-footer a {
    color: #fff;
  }

  #header,
  #gnavibox,
  #footnavi,
  #footer {
    display: none;
  }

  #wrapper,
  #blogmain {
    width: 100%;
    padding: 0 14px;
  }

  #blogmain {
    margin-top: 82px;
    padding-right: 14px;
  }

  #subnavi {
    width: 100%;
    float: none;
    margin-top: 10px;
    text-align: left;
  }

  #subnavi li {
    float: none;
    height: auto;
    margin: 0 0 6px;
  }

  #subnavi li:nth-child(1),
  #subnavi li:nth-child(2) {
    margin: 0 6px 0 0;
    display: inline-block;
  }

  #subnavi li:last-child {
    text-align: left;
    white-space: normal;
  }

  #gnavi {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  #gnavi li {
    float: none;
    display: inline-block;
  }

  #blogcontents,
  #navigation {
    float: none;
    width: 100%;
  }

  .entrybody table,
  .entrymore table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .entrytitle {
    font-size: 1.2rem;
  }

  #footnavi {
    width: 100%;
    margin-top: 170px;
    padding: 0 14px;
  }

  #footer {
    height: auto;
    padding-bottom: 14px;
  }

  #footer .ftblock01,
  #footer .ftblock02 {
    width: 100%;
    padding: 0 14px;
  }

  #footer .ftblock01 .left,
  #footer .ftblock01 .right,
  #footer .ftblock02 .left,
  #footer .ftblock02 .right,
  #footer p {
    float: none;
    width: 100%;
    margin: 0 0 10px;
    text-align: center;
  }
}
