@charset "utf-8";

body {
  overflow-x: hidden;
}

html {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 10px;
  overflow-x: hidden;
}

.pn600 {
  display: none;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.fadein {
  opacity: 0;
  -webkit-transform: translate(0, 50px);
  transform: translate(0, 50px);
  -webkit-transition: all 1500ms;
  transition: all 1500ms;
}

.fadein.scrollin {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

#main-visual {
  width: 100%;
  height: auto;
  margin-top: 245px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-bottom: 1px solid #aa360e;
  position: relative;
}

#main-visual img {
  width: 100%;
}

@media screen and (min-width: 1001px) {
  header {
    width: 100%;
    height: 285px;
    border-bottom: 3px solid #4d4d4d;
    position: fixed;
    background-color: #ffffff;
    top: 0px;
    left: 0px;
    z-index: 90;
  }

  #header-inner {
    width: 1100px;
    height: 185px;
    margin: 0px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

  }

  .title-link {
    color: #000000;
    text-decoration: none;
  }

  header h1 {
    font-size: 2.6rem;
    background-image: url("../img/logo.png");
    height: 100px;
    width: 900px;
    background-size: 100px;
    padding-top: 25px;
    padding-left: 110px;
    line-height: 1.1;
    margin-top: 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .title-big {
    font-weight: 500;
  }

  .title-small {
    font-size: 1.6rem;
    font-weight: 500;
  }

  #booking {
    background-color: #aa360e;
    width: 200px;
    height: 130px;
    margin: 0px auto;
    position: relative;
    text-align: center;
    font-size: 1.6rem;
    color: #ffffff;
    z-index: 50;
    line-height: 1.6;
  }

  #booking:after {
    width: calc(100% - 55px);
    height: 0;
    display: block;
    position: absolute;
    left: 0;
    content: "";
    border-top: solid 55px #aa360e;
    border-left: solid 55px transparent;
    top: 100%;
    z-index: 50;
  }

  #booking-inner {
    position: absolute;
    z-index: 60;
    top: 70px;
    left: 0px;
  }

  #booking address a {
    font-size: 1.8rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
  }

  #booking p a {
    background-image: url("../img/arrow-1.png");
    background-size: 20px;
    background-position: 140px 12px;
    display: block;
    width: 160px;
    height: 35px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 0px;
    margin-top: 5px;
    text-decoration: none;
    color: #ffffff;
    margin-left: 30px;
  }

  .bookingonline {
    line-height: 1.2;
  }

  header nav ul {
    width: 1102px;
      height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
      flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: flex-start;
    margin: 0px auto;
    margin-top: 15px;
      row-gap:15px;
  }

  header nav ul li {
    width: 157px;
    height: 30px;
    border-left: 1px solid #4d4d4d;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 8px;
  }

  header nav ul li:last-child {
      margin-top: 0;
    border-right: 1px solid #4d4d4d;
  }

  header nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    display: block;
    width: 157px;
    height: 30px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  header nav ul li a:hover {
    color: #aa360e;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    display: block;
    width: 157px;
    height: 30px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #scrolled-header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 160px;
    background-color: #ffffff;
    border-bottom: 3px solid #424242;
    display: none;
    z-index: 90;
  }

  #scrolled-header-inner {
    width: 1100px;
    margin: 0px auto;
  }

  #scrolled-header-inner a {
    color: #000000;
    text-decoration: none;
  }

  #scrolled-header-inner img {
    height: 50px;
    float: left;
    margin-top: 10px;
    margin-right: 20px;
  }

  .scrolled-title {
    font-size: 1.8rem;
    display: block;
    padding-top: 15px;
    font-weight: 500;
  }

  .scrolled-sub {
    font-size: 1.4rem;
    padding-top: 25px;
    font-weight: 400;
    line-height: 2.4;
  }

  #scrolled-reserve {
    width: 200px;
    height: 45px;
    background-color: #aa360e;
    float: right;
    margin-top: -67px;
    position: relative;
  }

  #scrolled-reserve:after {
    width: calc(100% - 20px);
    height: 0;
    display: block;
    position: absolute;
    left: 0;
    content: "";
    border-top: solid 20px #aa360e;
    border-left: solid 20px transparent;
    top: 100%;
    z-index: 50;
  }

  #scrolled-reserve address a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    padding-top: 5px;
    margin-left: 20px;
  }

  #scrolled-reserve p a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.6rem;
    background-image: url("../img/arrow-1.png");
    background-size: 20px;
    background-position: 150px 5px;
    display: block;
    width: 180px;
    height: 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    z-index: 60;
    padding-top: 3px;
    margin-top: 2px;
    margin-left: 15px;
    text-align: center;
  }

  #scrolled-header nav ul {
       width: 1102px;
      height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
      flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: flex-start;
    margin: 0px auto;
    margin-top: 15px;
  }

  #scrolled-header nav ul li {
    width: 157px;
    height: 30px;
    border-left: 1px solid #4d4d4d;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 8px;
  }

  #scrolled-header nav ul li:last-child {
    border-right: 1px solid #4d4d4d;
  }

  #scrolled-header nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    display: block;
    width: 157px;
    height: 30px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #scrolled-header nav ul li a:hover {
    color: #aa360e;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    display: block;
    width: 157px;
    height: 30px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  main {
    width: 100vw;
    background-color: #f2f2f2;
      margin-top: 280px;
  }

  #main-1 {
    width: 100vw;
    position: relative;
  }

  #main-1-left {
    width: calc((100vw - 1300px) / 2);
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #ddaf9f;
  }

  #main-1-back {
    width: 154px;
    height: 100%;
    position: absolute;
    top: 0px;
    left: calc((100vw - 1300px) / 2);
    background-image: url("../img/background-1.png");
    background-repeat: repeat-y;
  }

  #main-1-content {
    width: 1100px;
    margin: 0 auto;
    padding-top: 220px;
    padding-bottom: 60px;
  }

  #menu-1 {
    width: 1100px;
  }

  #menu-1 li {
    width: 48%;
    height: 555px;
    background: #fff;
    background-size: contain;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 2vw;
    text-align: center;
    position: relative;
    border: solid 5px #e6e6e6;
  }

  #menu-1 li:before {
    position: absolute;
    bottom: 0;
    right: 0;
    content: '';
    width: 0;
    border-width: 0px 0px 50px 50px;
    border-style: solid;
    border-color: transparent transparent #e6e6e6 transparent;
  }

  #menu-1 li p {
    font-size: 2.8rem;
    font-weight: 500;
    color: #4d4d4d;
    line-height: 1.75em;
  }

  .red {
    color: #aa360e;
    font-size: 2.2rem;
    font-weight: 500;
    display: block;
    margin-top: 35px;
    line-height: 1.5em;
  }

  #menu-1 li a {
    display: block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    color: #4d4d4d;
    width: 90%;
    height: 45px;
    text-align: center;
    border-top: 1px solid #aa360e;
    margin: 0px auto;
    position: absolute;
    bottom: 35px;
    left: 25px;
    padding-top: 15px;
    background-image: url("../img/arrow-3.png");
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: right 20px top 10px;
    -webkit-transition-property: background-size;
    -webkit-transition-duration: 0.1s;
    -webkit-transition-timing-function: linear;
  }

  #menu-1 li a:hover {
    color: #aa360e;
    text-decoration: underline;
    background-size: 45px;
  }

  #menu-2 {
    width: 1100px;
    margin-top: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #menu-2 li {
    width: 256px;
    height: 368px;
    background-image: url("../img/tile-2.png");
    background-size: contain;
    margin-right: 25px;
    position: relative;
    text-align: center;
  }

  #menu-2 li:last-child {
    margin-right: 0px;
  }

  #menu-2 li img {
    width: 254px;
    position: absolute;
    top: 3px;
    left: 1px;
  }

  #menu-2 p {
    padding-top: 270px;
    font-size: 1.6rem;
  }

  #menu-2 li a {
    display: block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    color: #4d4d4d;
    width: 196px;
    height: 35px;
    text-align: center;
    border-top: 1px solid #aa360e;
    margin: 0px auto;
    position: absolute;
    bottom: 35px;
    left: 25px;
    padding-top: 15px;
  }

  #menu-2 li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  #news {
    width: 905px;
    height: 155px;
    background-image: url("../img/frame-1.png");
    background-size: 905px;
    margin: 0px auto;
    margin-top: 80px;
    position: relative;
  }

  #news h2 {
    display: block;
    width: 115px;
    height: 145px;
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #aa360e;
    color: #ffffff;
    font-size: 1.6rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    padding-top: 63px;
  }

  #news ul {
    border: 1px solid #aa360e;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 759px;
    height: 145px;
    overflow: auto;
  }

  #news ul li a {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 10px;
    padding-right: 60px;
    font-size: 1.6rem;
    line-height: 1.4;
    background-image: url("../img/arrow-4.png");
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: right 20px center;
    color: #4d4d4d;
    text-decoration: none;
  }

  #news ul li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  #information {
    margin-top: 50px;
    text-align: center;
  }

  #information img {
    width: 230px;
  }

  #info-content {
    width: 1100px;
    margin: 0px auto;
    border-top: 1px solid #aa360e;
    border-bottom: 1px solid #aa360e;
    margin-top: 30px;
    padding: 15px 0px 15px 0px;
  }

  .chart-wrap {
    float: left;
  }

  .time-note {
    margin-left: 35px;
    margin-top: 15px;
  }

  #info-content table {
    margin-left: 20px;
    margin-right: 30px;
  }

  #info-content table tr {
    border-bottom: 1px solid #4d4d4d;
  }

  #info-content table tr:last-child {
    border-bottom: 0px;
  }

  #info-content table tr th {
    border-right: 1px solid #4d4d4d;
    padding: 15px 20px 15px 20px;
    font-size: 1.6rem;
  }

  #info-content table tr td {
    border-right: 1px solid #4d4d4d;
    padding: 15px 20px 15px 20px;
  }

  .day {
    font-size: 1.6rem;
  }

  .available {
    font-size: 2.2rem;
  }

  #info-content table tr td:last-child {
    border-right: 0px;
  }

  #info-content h2 {
    font-size: 1.9rem;
    text-align: left;
    line-height: 2;
    font-weight: 500;
    color: #aa360e;
  }

  #info-content p {
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.8;
  }

  #info-content p a {
    color: #4d4d4d;
    text-decoration: none;
  }

  #info-content p a:hover {
    color: #aa360e;
    font-weight: 600;
  }

  #access {
    width: 1100px;
    height: 500px;
    margin: 0px auto;
    position: relative;
    border: 1px solid #cccccc;
    margin-top: 150px;
  }

  #access p a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-top: 60px;
    text-decoration: none;
    color: #000000;
    font-size: 1.6rem;
  }

  #access p a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  .frame-titles {
    width: 220px;
    height: 65px;
    background-image: url("../img/frame-2.png");
    background-size: 220px;
    position: absolute;
    top: -30px;
    left: 440px;
    background-color: #f2f2f2;
    text-align: center;
  }

  .frame-titles h2 {
    color: #aa360e;
    font-size: 2rem;
    font-weight: 500;
    background-color: #ffffff;
    display: block;
    width: 180px;
    padding: 8px 0px 8px 0px;
    margin: 0px auto;
    margin-top: 10px;
  }

  #map {
    width: 100vw;
    height: 400px;
    position: absolute;
    top: 100px;
    left: calc(-50vw + 550px);
  }

  #main-2 {
    width: 100vw;
    height: 1450px;
    position: relative;
  }

  #main-2-right {
    width: calc((100vw - 1300px) / 2);
    height: 1450px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #ddaf9f;
  }

  #main-2-back {
    width: 154px;
    height: 1450px;
    position: absolute;
    top: 0px;
    right: calc((100vw - 1300px) / 2);
    background-image: url("../img/background-2.png");
    background-repeat: repeat-y;
  }

  #main-2-content {
    width: 1100px;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -550px;
  }

  #indication {
    width: 1100px;
    height: 470px;
    margin: 0px auto;
    position: relative;
    border: 1px solid #cccccc;
    margin-top: 100px;
  }

  #menu-3 {
    width: 1100px;
    position: absolute;
    top: 100px;
    left: 0px;
  }

  #menu-3 li {
    width: 256px;
    height: 225px;
    float: left;
    margin-right: 25px;
  }

  #menu-3 li:nth-child(4n) {
    margin-right: 0px;
  }

  #menu-3 li:nth-child(-n + 4) {
    background-image: url("../img/tile-3.png");
    background-size: 256px;
  }

  #menu-3 li:nth-child(n + 5) {
    background-image: url("../img/tile-4.png");
    background-size: 256px;
    margin-top: 25px;
  }

  #menu-3 a {
    text-decoration: none;
    display: block;
    width: 256px;
    height: 225px;
    text-align: center;
  }

  #menu-3 a:hover {
    text-decoration: underline;
    color: #aa360e;
  }

  #menu-3 h3 {
    color: #4d4d4d;
    font-size: 2rem;
    font-weight: 500;
    margin-top: 50px;
  }

  #menu-3 p {
    color: #cccccc;
    font-size: 1.6rem;
    display: block;
    width: 206px;
    line-height: 2;
    border-bottom: 1px solid #aa360e;
    margin: 0px auto;
    padding-bottom: 10px;
  }

  #colum {
    width: 1100px;
    height: 470px;
    margin: 0px auto;
    position: relative;
    border: 1px solid #cccccc;
    margin-top: 230px;
  }

  /* メニュー全体 */
#menu-4{
  display: flex;
  flex-wrap: wrap;
  align-items: center;        /* 各行の縦方向揃えを固定 */
  align-content: flex-start;  /* 複数行になった時の詰め方を固定 */
  gap: 0;                     /* 線の位置がズレやすいのでまず0推奨 */
}

/* 各項目（高さを揃えるのがコツ） */
#menu-4 > li{
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;               /* 行の高さを固定（好みで調整） */
  padding: 0 18px;            /* 左右余白 */
}

/* 縦線：2つ目以降の項目の「左側」に出す */
#menu-4 > li + li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.8em;              /* 文字サイズ基準で一定（好みで調整） */
  background: #999;
}

/* リンク側の文字の上下ズレを抑える */
#menu-4 a{
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}
    
  .title {
    width: 50px;
    height: 50px;
    background-color: #aa360e;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    color: #ffffff;
    font-size: 1.3rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 19px;
    text-align: center;
  }
    
  #backnumber {
    width: 276px;
    height: 57px;
    background-image: url("../img/frame-3.png");
    background-size: 276px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    padding-top: 20px;
    position: absolute;
    bottom: -29px;
    left: 412px;
  }

  #backnumber a {
    display: block;
    width: 276px;
    height: 57px;
    color: #4d4d4d;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
  }

  #contact {
    width: 100vw;
    background-color: #ffffff;
    text-align: center;
  }

  #contact h2 {
    font-size: 1.8rem;
    color: #4d4d4d;
    font-weight: 500;
    padding-top: 80px;
  }

  #telephone {
    width: 320px;
    height: 60px;
    font-size: 2.4rem;
    background-image: url("../img/tel.png");
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: left center;
    margin: 0px auto;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 20px;
    margin-top: 15px;
  }

  #telephone a {
    color: #4d4d4d;
    text-decoration: none;
    font-weight: 800;
  }

  #telephone a:hover {
    color: #aa360e;
  }

  #contact p {
    display: block;
    width: 360px;
    height: 120px;
    border-top: 1px solid #aa360e;
    color: #aa360e;
    padding-top: 12px;
    font-size: 2rem;
    font-weight: 500;
    margin: 0px auto;
    margin-top: 15px;
  }

  footer {
    width: 100vw;
    background-color: #f2f2f2;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  #footer-inner {
    width: 1100px;
    margin: 0px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  footer ul li a {
    font-size: 1.6rem;
    color: #4d4d4d;
    text-decoration: none;
    display: block;
    width: 200px;
    height: 35px;
  }

  footer ul li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  footer p {
    text-align: center;
    color: #4d4d4d;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 60px;
  }

  #to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    z-index: 80;
  }

  #to-top img {
    width: 60px;
  }

  #sp-header {
    display: none;
  }

  .menu-trigger {
    display: none;
  }

  #sp-menu {
    display: none;
  }

  .sp-br {
    display: none;
  }

  #sp-header h1 {
    display: none;
  }

  .sp-title {
    display: none;
  }

  #sp-reserve {
    display: none;
  }

  .remark-1 {
    font-weight: 600;
    color: #aa360e;
  }

  .ctr-box a {
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
    position: relative;
  }

  .ctr-box img {
    pointer-events: none;
  }

}

@media screen and (max-width: 1000px) {
  header {
    display: none;
  }

  #scrolled-header {
    display: none;
  }

  #scrolled-header-inner {
    display: none;
  }

  #sp-header {
    width: 100vw;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 90;
  }

  #sp-header img {
    height: 35px;
    margin-top: 12px;
    float: left;
    padding-left: 10px;
  }

  #sp-header p {
    float: left;
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 500;
    padding-top: 12px;
    padding-left: 10px;
  }

  #sp-header p a {
    color: #000000;
    text-decoration: none;
  }

  #button {
    background-color: #aa360e;
    width: 60px;
    height: 60px;
    float: right;
  }

  .sp-sub-catch {
    font-size: 1rem;
  }

  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .menu-trigger {
    position: fixed;
    top: 20px;
    right: 15px;
    width: 25px;
    height: 22px;
    z-index: 100;
  }

  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 4px;
  }

  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }

  .menu-trigger span:nth-of-type(2) {
    top: 10px;
  }

  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(11px) rotate(-315deg);
    transform: translateY(11px) rotate(-315deg);
    background-color: #4d4d4d;
  }

  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(315deg);
    transform: translateY(-9px) rotate(315deg);
    background-color: #4d4d4d;
  }

  #sp-menu {
    width: 100%;
    height: 200vh;
    position: fixed;
    top: 0px;
    right: -100%;
    background-color: #ffffff;
    z-index: 90;
    opacity: 0;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
  }

  #sp-menu.open {
    width: 100%;
    height: 200vh;
    background-color: #ffffff;
    z-index: 90;
    opacity: 1;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  #menu-one {
    width: 100vw;
    margin-top: 5px;
  }

  #menu-one img {
    height: 35px;
    margin-bottom: 10px;
  }

  .menu-big {
    width: 100vw;
    border-bottom: 1px solid #ffffff;
    background-color: #aa360e;
    font-size: 1.2rem;
    padding: 8px 0px;
    color: #ffffff;
  }

  .menu-big:first-child {
    background-color: #ffffff;
    color: #4d4d4d;
  }

  .menu-big h2 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
  }

  #menu-reserve {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  #menu-reserve li a {
    color: #aa360e;
    font-size: 1.2rem;
    font-weight: 600;
  }

  #menu-reserve li {
    margin-right: 30px;
  }

  #menu-reserve li:last-child {
    margin-right: 0px;
  }

  .menu-big-2 {
    width: 100vw;
    padding: 0px;
    background-color: #aa360e;
    font-size: 1.2rem;
  }

  .menu-two {
    width: 100vw;
  }

  .menu-small {
    width: 50vw;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #aa360e;
    float: left;
    background-color: #ffffff;
    padding: 8px 0px;
  }

  .menu-small-2 {
    width: 50vw;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #ffffff;
    float: left;
    background-color: #aa360e;
    padding: 8px 0px;
  }

  .menu-small:nth-child(odd) {
    border-right: 1px solid #aa360e;
  }

  .menu-small-2:nth-child(odd) {
    border-right: 1px solid #ffffff;
  }

  .menu-big a {
    text-decoration: none;
    color: #ffffff;
  }

  .menu-small a {
    text-decoration: none;
    color: #4d4d4d;
    font-size: 1.2rem;
  }

  .menu-small-2 a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
  }

  .noborder {
    border-bottom: 0px;
  }

  .sub-catch {
    font-size: 2.4rem;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 1px 2px 3px #4d4d4d;
    display: block;
    margin-top: 20px;
  }

  h2.sp-title {
    font-size: 1.6rem;
    color: #ffffff;
    line-height: 1.2;
    font-weight: 600;
    text-shadow: 1px 2px 3px #4d4d4d;
    margin-top: 30px;
    margin-left: 4vw;
  }

  main {
    width: 100vw;
    background-color: #f2f2f2;
  }

  #main-1 {
    width: 100vw;
    position: relative;
  }

  #main-1-left {
    width: 5vw;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #ddaf9f;
    height: 100%;
  }

  #main-1-back {
    width: 10vw;
    position: absolute;
    top: 0px;
    left: 5vw;
    background-image: url("../img/background-1.png");
    background-size: 10vw;
    background-repeat: repeat-y;
    height: 100%;
  }

  #main-1-content {
    width: 94vw;
    margin: 0 auto;
    padding-top: 190px;
    padding-bottom: 60px;
  }

  #menu-1 {
    width: 94vw;
  }

  #menu-1 li {
    width: 48%;
    height: 60vw;
    background: #fff;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 2vw;
    text-align: center;
    position: relative;
    border: solid 5px #ccc;
    /* background: #fff; */
  }

  #menu-1 li:before {
    position: absolute;
    bottom: 0;
    right: 0;
    content: '';
    width: 0;
    border-width: 0px 0px 20px 30px;
    border-style: solid;
    border-color: transparent transparent #ccc transparent;
  }

  #menu-1 li:nth-child(2n) {
    margin-right: 0px;
  }

  #menu-1 li p {
    font-size: 3vw;
    font-weight: 500;
    color: #4d4d4d;
    line-height: 1.5em;
  }

  #menu-1 li p {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .red {
    color: #aa360e;
    font-size: 2.3vw;
    font-weight: 500;
    display: block;
    margin-top: 11px;
    line-height: 1.3em;
  }

  p.cont-img {
    display: block;
    margin-bottom: 5px;
  }

  p.cont-img img {
    width: 100%;
    display: block;
  }

  #menu-1 li a {
    display: block;
    text-decoration: none;
    font-size: 2vw;
    font-weight: 500;
    color: #4d4d4d;
    width: 40vw;
    height: 10vw;
    text-align: center;
    border-top: 1px solid #aa360e;
    margin: 0px auto;
    position: absolute;
    bottom: 0px;
    left: 3vw;
    padding-top: 11px;
    background-image: url("../img/arrow-3.png");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: right 0px top 12px;
  }

  #menu-1 li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  #menu-2 {
    width: 94vw;
    margin-top: 5vw;
  }

  #menu-2 li {
    width: 46vw;
    height: 66vw;
    background-image: url("../img/tile-2.png");
    background-size: 46vw;
    margin-right: 2vw;
    margin-top: 2vw;
    position: relative;
    text-align: center;
    float: left;
  }

  #menu-2 li:nth-child(2n) {
    margin-right: 0px;
  }

  #menu-2 li img {
    width: calc(46vw - 2px);
    position: absolute;
    top: 1px;
    left: 1px;
  }

  #menu-2 p {
    padding-top: 42vw;
    font-size: 1.1rem;
  }

  #menu-2 li a {
    display: block;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    color: #4d4d4d;
    width: 42vw;
    height: 17vw;
    text-align: center;
    border-top: 1px solid #aa360e;
    margin: 0px auto;
    position: absolute;
    bottom: 0px;
    left: 2vw;
    padding-top: 15px;
  }

  #menu-2 li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  #news {
    width: 94vw;
    height: 40vw;
    margin: 0px auto;
    margin-top: 10vw;
    position: relative;
    border: 1px solid #cccccc;
    background-color: #ffffff;
  }

  #news h2 {
    display: block;
    width: 60px;
    height: 38.5vw;
    position: absolute;
    top: 0.5vw;
    left: 0.5vw;
    background-color: #aa360e;
    color: #ffffff;
    font-size: 1.2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    padding-top: 63px;
  }

  #news ul {
    border: 1px solid #aa360e;
    position: absolute;
    top: 0.5vw;
    right: 0.5vw;
    width: calc(100% - 60px);
    height: 38.5vw;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 10px;
    overflow: auto;
  }

  #news ul li a {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 30px 10px 10px;
    font-size: 1.2rem;
    line-height: 1.4;
    background-image: url("../img/arrow-4.png");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 10px center;
    color: #4d4d4d;
    text-decoration: none;
  }

  #news ul li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  #information {
    text-align: center;
  }

  #information img {
    width: 120px;
  }

  #info-content {
    width: 94vw;
    margin: 0px auto;
    border-top: 1px solid #aa360e;
    border-bottom: 1px solid #aa360e;
    margin-top: 20px;
    padding: 15px 10px 15px 10px;
  }

  .time-note {
    margin-top: 15px;
  }

  #info-content table {
    margin: 0px auto;
  }

  #info-content table tr {
    border-bottom: 1px solid #4d4d4d;
  }

  #info-content table tr:last-child {
    border-bottom: 0px;
  }

  #info-content table tr th {
    border-right: 1px solid #4d4d4d;
    padding: 10px 10px 10px 10px;
    font-size: 1.2rem;
  }

  #info-content table tr td {
    border-right: 1px solid #4d4d4d;
    padding: 10px 10px 10px 10px;
    vertical-align: middle;
  }

  .day {
    font-size: 1.2rem;
  }

  .available {
    font-size: 1.3rem;
  }

  #info-content table tr td:last-child {
    border-right: 0px;
  }

  #info-content h2 {
    font-size: 1.4rem;
    text-align: left;
    line-height: 2;
    font-weight: 500;
    margin-top: 20px;
    color: #aa360e;
  }

  #info-content p {
    text-align: left;
    font-size: 1.2rem;
    line-height: 2;
  }

  #info-content p a {
    color: #4d4d4d;
    text-decoration: none;
  }

  #info-content p a:hover {
    color: #aa360e;
    font-weight: 600;
  }

  #access {
    width: 94vw;
    height: 460px;
    margin: 0px auto;
    position: relative;
    border: 1px solid #cccccc;
    margin-top: 70px;
  }

  #access p a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-top: 50px;
    text-decoration: none;
    color: #000000;
    font-size: 1.2rem;
  }

  .frame-titles {
    width: 220px;
    height: 65px;
    background-image: url("../img/frame-2.png");
    background-size: 220px;
    position: absolute;
    top: -30px;
    left: calc(47vw - 110px);
    background-color: #f2f2f2;
    text-align: center;
  }

  .frame-titles h2 {
    color: #aa360e;
    font-size: 1.6rem;
    font-weight: 500;
    background-color: #ffffff;
    display: block;
    width: 180px;
    padding: 8px 0px 8px 0px;
    margin: 0px auto;
    margin-top: 14px;
  }

  #map {
    width: 100vw;
    height: 400px;
    position: absolute;
    top: 80px;
    left: -3vw;
  }

  #main-2 {
    width: 100vw;
    height: 350vw;
    position: relative;
  }

  #main-2-right {
    width: 5vw;
    height: 350vw;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #ddaf9f;
  }

  #main-2-back {
    width: 10vw;
    height: 350vw;
    position: absolute;
    top: 0px;
    right: 5vw;
    background-image: url("../img/background-2.png");
    background-size: 10vw;
    background-repeat: repeat-y;
  }

  #main-2-content {
    width: 1100px;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -550px;
  }
    
  #indication {
    width: 94vw;
    height: 140vw;
    margin: 0px auto;
    position: relative;
    border: 1px solid #cccccc;
    margin-top: 12vw;
  }

  #menu-3 {
    width: 94vw;
    position: absolute;
    top: 15vw;
    left: 0px;
  }

  #menu-3 li {
    width: 46vw;
    height: 41vw;
    float: left;
    margin-right: 2vw;
    text-align: center;
  }

  #menu-3 li:nth-child(2n) {
    margin-right: 0px;
  }

  #menu-3 li:nth-child(-n + 4) {
    background-image: url("../img/tile-3.png");
    background-size: 46vw;
  }

  #menu-3 li:nth-child(n + 5) {
    background-image: url("../img/tile-4.png");
    background-size: 46vw;
    margin-top: 2vw;
  }

  #menu-3 a {
    text-decoration: none;
    display: block;
    width: 46vw;
    height: 41vw;
  }

  #menu-3 a:hover {
    text-decoration: underline;
    color: #aa360e;
  }

  #menu-3 h3 {
    color: #4d4d4d;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 35px;
  }

  #menu-3 p {
    color: #cccccc;
    font-size: 1.2rem;
    display: block;
    width: 38vw;
    line-height: 2;
    border-bottom: 1px solid #aa360e;
    margin: 0px auto;
    padding-bottom: 10px;
  }

  #colum {
    width: 94vw;
    height: 105vw;
    margin: 0px auto;
    position: relative;
    border: 1px solid #cccccc;
    margin-top: 60vw;
  }

  #menu-4 {
    width: 94vw;
    position: absolute;
    top: 15vw;
    left: 0px;
  }

  #menu-4 li {
    width: 46vw;
    height: 37vw;
    background-image: url("../img/tile-5.png");
    background-size: 46vw;
    margin-right: 2vw;
    margin-bottom: 2vw;
    position: relative;
    float: left;
  }

  #menu-4 li:nth-child(2n) {
    margin-right: 0px;
  }

  #menu-4 a {
    display: block;
    width: 46vw;
    height: 37vw;
    text-decoration: none;
  }

  #menu-4 a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  .title {
    width: 30px;
    height: 30px;
    background-color: #aa360e;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    color: #ffffff;
    font-size: 0.8rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 12px;
    text-align: center;
  }

  #menu-4 li p {
    display: block;
    margin-top: 8vw;
    padding: 0px 5vw 0px 5vw;
    color: #4d4d4d;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.4;
  }

  #backnumber {
    width: 276px;
    height: 57px;
    background-image: url("../img/frame-3.png");
    background-size: 276px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    padding-top: 23px;
    position: absolute;
    bottom: -29px;
    left: calc(47vw - 138px);
  }

  #backnumber a {
    display: block;
    width: 276px;
    height: 57px;
    color: #4d4d4d;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
  }

  #contact {
    width: 100vw;
    background-color: #ffffff;
    text-align: center;
  }

  #contact h2 {
    font-size: 1.4rem;
    color: #4d4d4d;
    font-weight: 500;
    padding-top: 13vw;
  }

  #telephone {
    width: 300px;
    height: 40px;
    font-size: 2rem;
    background-image: url("../img/tel.png");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: left center;
    margin: 0px auto;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 10px;
    margin-top: 15px;
  }

  #telephone a {
    color: #4d4d4d;
    text-decoration: none;
    font-weight: 800;
  }

  #telephone a:hover {
    color: #aa360e;
  }

  #contact p {
    display: block;
    width: 300px;
    height: 90px;
    border-top: 1px solid #aa360e;
    color: #aa360e;
    padding-top: 12px;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0px auto;
    margin-top: 15px;
  }

  footer {
    width: 100vw;
    background-color: #f2f2f2;
    padding-top: 20px;
    padding-bottom: 80px;
    margin-bottom: 80px;
  }

  #footer-inner {
    display: none;
  }

  footer ul li a {
    font-size: 1.6rem;
    color: #4d4d4d;
    text-decoration: none;
    display: block;
    width: 200px;
    height: 30px;
  }

  footer ul li a:hover {
    color: #aa360e;
    text-decoration: underline;
  }

  footer p {
    text-align: center;
    color: #4d4d4d;
    font-size: 1rem;
    font-weight: 500;
  }

  #to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: none;
    z-index: 80;
  }

  #to-top img {
    width: 40px;
  }

  #sp-reserve {
    width: 100vw;
    background-color: #aa360e;
    position: fixed;
    bottom: 0px;
    left: 0px;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    padding-top: 10px;
    z-index: 80;
    opacity: 0.9;
  }

  #sp-reserve p {
    font-size: 1.4rem;
  }

  #sp-reserve ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 10px;
  }

  #sp-reserve ul li {
    width: 50%;
    background-image: url("../img/bottom-tel.png");
    background-size: 15px;
    background-position: top 10px center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 30px 10px 5px 10px;
    border-top: 1px solid #ce5831;
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
  }

  #sp-reserve ul li a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0);
  }

  #sp-reserve ul li:last-child {
    width: 50%;
    background-image: url("../img/bottom-online.png");
    background-size: 15px;
    padding: 30px 10px 5px 10px;
    background-position: top 5px center;
    border-left: 1px solid #ce5831;
  }

  #sp-reserve ul li:last-child {
    width: 50%;
    background: url(../img/bottom-online.png), #0fa816;
    background-repeat: no-repeat;
    background-size: 15px;
    padding: 30px 10px 5px 10px;
    background-position: top 5px center;
    border-left: 1px solid #ce5831;
    /* background: #31ce40; */
  }

  #sp-reserve a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
  }

  .pc-br {
    display: block;
  }

  .remark-1 {
    font-weight: 600;
    color: #aa360e;
  }
}

@media screen and (max-width: 1000px) {
  #main-visual {
    margin-top: 60px;
  }
}

.mv-chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -220px;
  max-width: 700px;
  padding: 40px;
  background-color: #fff;
  margin: 0 auto;
  z-index: 1;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.mv-chart table {
  width: 100%;
}

.mv-chart table tr {
  border-bottom: 1px solid #4d4d4d;
}

.mv-chart table tr:last-child {
  border-bottom: 0px;
}

.mv-chart table tr th {
  border-right: 1px solid #4d4d4d;
  padding: 10px;
  font-size: 1.6rem;
}

.mv-chart table tr td {
  border-right: 1px solid #4d4d4d;
  padding: 10px;
  text-align: center;
}

.mv-chart-time-note p {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 20px;
  line-height: 1.5em;
}

.ctr {
  margin-top: 50px;
}

.ctr-box {
  width: 48.5%;
}

.ctr-box img {
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .mv-chart table tr th {
    font-size: 1.2rem;
    padding: 5px;
  }

  .mv-chart table tr td {
    font-size: 1.2rem;
    padding: 8px 5px;
  }

  .mv-chart {
    bottom: -170px;
    padding: 20px;
    width: 90%;
  }

  .mv-chart-time-note p {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 600px) {
  .pn600 {
    display: block;
  }

  .sn600 {
    display: none;
  }

  .ctr {
    margin-top: 20px;
  }

  .header-sp-btn a {
    cursor: pointer;
  }

  .header-sp-btn img {
    pointer-events: none;
  }

  .ctr-box a {
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
    position: relative;
  }

  .ctr-box img {
    pointer-events: none;
  }

}

@media screen and (max-width: 450px) {
  .ctr-box {
    width: 100%;
  }
}

#top-doctor {
  padding: 70px 15px 40px;
  background-color: #f2f2f2;
  position: relative;
}

.t-doctor-block {
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.t-doctor-content {
  width: 50%;
  padding: 60px;
  background-color: #fff;
}

.t-doctor-content p {
  font-size: 1.5rem;
  line-height: 1.75em;
}

.t-docter-name {
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  color: #aa360e;
  margin-bottom: 40px;
  font-weight: bold;
}

.t-doctor-head {
  margin-top: 30px;
  font-size: 2rem;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #aa360e;
}

.t-doctor-img {
  width: 50%;
}

.t-doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-doctor-ttl {
  background-color: #aa360e;
  color: #fff;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  padding: 15px;
  margin-bottom: 25px;
}

@media screen and (max-width: 1000px) {
  .t-doctor-block.flex {
    flex-wrap: wrap-reverse;
    max-width: 650px;
    margin: 0 auto;
  }

  .t-doctor-img,
  .t-doctor-content {
    width: 100%;
  }

  .t-doctor-img img {
    width: 100%;
    height: 70vw;
  }

  .t-doctor-content {
    padding: 25px;
  }

  .t-doctor-ttl {
    font-size: 1.8rem;
  }

  .t-docter-name {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .t-doctor-content p {
    font-size: 1.3rem;
    line-height: 1.75em;
  }

  .t-doctor-head {
    margin-top: 20px;
    font-size: 1.5rem;
  }
}

.header-sp-btn {
  position: fixed;
  top: 10px;
  right: 70px;
  width: 150px;
}

.header-sp-btn {
  position: fixed;
  top: 0px;
  right: 80px;
  width: 230px;
}

.header-sp-btn a {
  display: block;
  width: 48%;
}

.header-sp-btn img {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

strong {
  font-weight: bold !important;
}

/* 実運用：適度な強さ＋再利用しやすい */
.h1-like { display:block; font-size: 2.5rem !important;   font-weight:700; line-height:1.3; margin:1.5em 0 .75em; }
.h2-like { display:block; font-size: 2.0rem !important; font-weight:700; line-height:1.3; margin:1.2em 0 .6em; }
.h3-like { display:block; font-size: 1.8rem !important; font-weight:700; line-height:1.3; margin:1.0em 0 .5em; }
/* --- ドクターズファイル相互リンク（フッターに馴染ませる最終版） --- */
.footer-partner{
  width: 1100px;
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.footer-partner__title{
  margin: 0 0 12px 0;
  color: #4d4d4d;
  font-size: 1.4rem;   /* footer p と揃える */
  font-weight: 700;
  text-align: left;
}

.footer-partner__link{
  display: inline-block;
}

.footer-partner__link img{
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}
/* =========================
   コラム本文 基本設定
========================= */
.column-main {
  font-size: 16px;        /* PC基準 */
  line-height: 1.9;       /* 医療・長文向け */
  color: #333;
}

@media screen and (max-width: 768px) {
  .column-main {
    font-size: 15px;      /* スマホ */
    line-height: 1.8;
  }
}
.column-main h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 40px 0 24px;
}

.column-main h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 36px 0 18px;
  border-bottom: 2px solid #aa360e;
  padding-bottom: 6px;
}

.column-main h3 {
  font-size: 18px;
  line-height: 1.6;
  margin: 28px 0 14px;
}
.column-main p {
  margin: 0 0 1.4em;
}

.column-main ul,
.column-main ol {
  margin: 0 0 1.6em 1.5em;
}

.column-main li {
  margin-bottom: 0.6em;
}

.column-main a {
  color: #aa360e;
  text-decoration: underline;
}

.column-main a:hover {
  text-decoration: none;
}
/* ===== WP Column: Layout base (append) ===== */

/* 固定ヘッダーがある前提：本文がヘッダーに潜らないようにする */
:root{
  --header-offset-pc: 280px; /* 以前ちょうど良いと言っていた値。後でここだけ変えれば全ページ一括で変わる */
  --header-offset-sp: 140px;
}

/* 本文の開始位置（index / single / page / archive まとめて） */
body.home main,
body.blog main,
body.single main,
body.page main,
body.archive main,
body.category main,
body.tag main,
body.search main{
  padding-top: var(--header-offset-pc);
}

/* 画面幅が狭い時の“謎の巨大余白”を抑制（必要に応じて後で調整） */
@media (max-width: 768px){
  body.home main,
  body.blog main,
  body.single main,
  body.page main,
  body.archive main,
  body.category main,
  body.tag main,
  body.search main{
    padding-top: var(--header-offset-sp);
  }
}

/* 本文の背景を白にしてフッターと区切る（記事一覧/記事/固定ページ共通） */
main.site-main,
main#main,
main.column-main{
  background: #fff;
}

/* 画面中央寄せ＋読みやすい最大幅（必要なら数値だけ後で調整） */
main.site-main,
main#main,
main.column-main{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* 見出し・本文の最低限の読みやすさ（WPの素の大きさを整える） */
main.site-main h1,
main#main h1,
main.column-main h1{
  font-size: 2.2rem;
  line-height: 1.25;
  margin: 0 0 16px;
}

main.site-main,
main#main,
main.column-main{
  font-size: 1.6rem;
  line-height: 1.8;
}
/* ===== WP Column: FIX double offset (append) ===== */

/* PCだけ余白が巨大＝PC側のオフセットを一旦0にして二重を止める */
:root{
  --header-offset-pc: 0px;
}

/* PCはpadding-topを入れない（入れるのはスマホだけにする） */
body.home main,
body.blog main,
body.single main,
body.page main,
body.archive main,
body.category main,
body.tag main,
body.search main{
  padding-top: 0 !important;
}

/* スマホはさっきのまま効かせる */
@media (max-width: 768px){
  body.home main,
  body.blog main,
  body.single main,
  body.page main,
  body.archive main,
  body.category main,
  body.tag main,
  body.search main{
    padding-top: var(--header-offset-sp) !important;
  }
}
/* ===== Header offset is handled by JS ===== */
main.site-main,
main#main,
main.column-main{
  padding-top: 0 !important;
}
/* ===== Force content below fixed header (final safety net) ===== */

/* WordPress側の main を “必ず” 下げる（body padding が効かないケースの保険） */
main.site-main,
main#main,
main.column-main{
  position: relative !important;
  z-index: 1 !important;
}

/* ヘッダーは常に上（潜り込み防止の基準） */
header,
#scrolled-header,
#sp-header{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* PC：固定ヘッダーぶん必ず下げる（数値は“まず確実に潜らない”方向で大きめ） */
@media (min-width: 1001px){
  main.site-main,
  main#main,
  main.column-main{
    margin-top: 310px !important; /* 余裕を持たせる（+25px） */
  }
  body{ padding-top: 0 !important; }
}

/* SP：SPヘッダー＋下部固定ボタンがあるので、上は控えめ */
@media (max-width: 1000px){
  main.site-main,
  main#main,
  main.column-main{
    margin-top: 60px !important;
  }
  body{ padding-top: 0 !important; }
}
/* ===== Background unification: remove grey/white border line ===== */

/* ページ全体は白に統一（境目を消す） */
html, body{
  background: #fff !important;
}

/* 既存で main にグレーが付いているのを無効化（境目の原因になりがち） */
main.site-main,
main#main,
main.column-main{
  background: transparent !important;
}

/* 記事一覧・記事本文を「白いカード」にする（白はここだけ） */
.site-main > article,
.site-main .post,
.site-main .page,
.site-main .type-post,
.site-main .type-page,
.site-main .hentry{
  background: #fff !important;
  border-radius: 12px;
  padding: 24px;
  margin: 24px auto;
  max-width: 900px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* 一覧ページの各記事（カード化） */
.site-main .post + .post{
  margin-top: 18px;
}

/* タイトル「記事一覧」などの見出しもカード幅に揃える */
.site-main h1,
.site-main h2{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* スマホは余白を少しだけ詰める */
@media (max-width: 600px){
  .site-main > article,
  .site-main .post,
  .site-main .page,
  .site-main .type-post,
  .site-main .type-page,
  .site-main .hentry{
    padding: 16px;
    margin: 16px 12px;
    max-width: 100%;
  }

  .site-main h1,
  .site-main h2{
    margin-left: 12px;
    margin-right: 12px;
    max-width: 100%;
  }
}
/* ===== Typography unification (index & single) ===== */

/* 基本文字サイズ（記事本文） */
.site-main,
.site-main p,
.site-main li{
  font-size: 1.6rem;
  line-height: 1.9;
  color: #222;
}

/* 記事タイトル（single） */
.site-main article h1{
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* 記事一覧タイトル（index） */
.site-main .post h2,
.site-main .entry-title{
  font-size: 2.0rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

/* 見出し（本文内） */
.site-main h2{
  font-size: 2.0rem;
  margin: 40px 0 16px;
}

.site-main h3{
  font-size: 1.8rem;
  margin: 32px 0 12px;
}

.site-main h4{
  font-size: 1.6rem;
  margin: 28px 0 10px;
}

/* 段落間の余白 */
.site-main p{
  margin: 0 0 1.2em;
}

/* リンクの視認性 */
.site-main a{
  color: #005bac;
  text-decoration: underline;
}
.site-main a:hover{
  text-decoration: none;
}

/* スマホ微調整 */
@media (max-width: 600px){
  .site-main,
  .site-main p,
  .site-main li{
    font-size: 1.5rem;
    line-height: 1.85;
  }

  .site-main article h1{
    font-size: 2.0rem;
  }
}
/* ===== Single post title: bold ===== */

/* 記事ページのタイトルだけ太字にする */
.single .site-main article h1,
.single .entry-title{
  font-weight: 700; /* 太字 */
}
/* 見出しがリンク風（青＋下線）になるのを防止 */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content .h1-like,
.entry-content .h2-like,
.entry-content .h3-like,
.entry-content .h4-like {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}
/* =========================
   コラム本文の読みやすさ調整
   ========================= */

/* 本文の基本 */
.entry-content {
  font-size: 16px;
  line-height: 1.9;
  color: #111;
}

/* 段落間 */
.entry-content p {
  margin: 0 0 1.2em;
}

/* 見出しの余白（ヘッダー直下で詰まる/離れすぎるを安定化） */
.entry-content h1,
.entry-content .h1-like {
  font-size: 28px;
  line-height: 1.35;
  margin: 1.1em 0 0.6em;
  font-weight: 700;
}

.entry-content h2,
.entry-content .h2-like {
  font-size: 22px;
  line-height: 1.45;
  margin: 1.4em 0 0.6em;
  font-weight: 700;
}

.entry-content h3,
.entry-content .h3-like {
  font-size: 19px;
  line-height: 1.55;
  margin: 1.2em 0 0.5em;
  font-weight: 700;
}

/* リスト（箇条書き）が薄く/小さく/詰まりすぎるのを改善 */
.entry-content ul,
.entry-content ol {
  margin: 0.6em 0 1.2em 1.3em;
  padding: 0;
}
.entry-content li {
  margin: 0.4em 0;
}

/* 画像が大きすぎたり左右に寄ったりするのを防止 */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2em auto;
}

/* モバイル微調整 */
@media (max-width: 768px) {
  .entry-content { font-size: 15px; line-height: 1.85; }
  .entry-content h1, .entry-content .h1-like { font-size: 24px; }
  .entry-content h2, .entry-content .h2-like { font-size: 20px; }
  .entry-content h3, .entry-content .h3-like { font-size: 18px; }
}