@charset "utf-8";

/* 画面サイズが1260px以下の場合に適用 */
@media only screen and (max-width: 1260px) {
  .onsen {
    height: auto;
    padding-bottom: 10px;
    -webkit-background-size: cover;
    background-size: cover;
  }

  .yuzen {
    height: auto;
    padding-bottom: 10px;
    -webkit-background-size: cover;
    background-size: cover;
  }
}

/* 画面サイズが900px以下の場合に適用 */
@media only screen and (max-width: 900px) {
  .main .left {
    margin-bottom: 1rem;
  }

  /* pc用非表示
---------------------------------------------------*/
  .pc {
    display: none;
  }

  /* header
---------------------------------------------------*/
  header {
    padding-top: 100px;
    height: 123vh;
  }

  header .head_wrapper {
    display: block;
    z-index: 100;
    position: fixed;
    top: 0;
    background-color: #191919;
    margin-bottom: 0;
    height: 66px;
  }

  header .head_wrapper .head_l {
    background-image: none;
    padding-left: 0;
    padding-right: 0;
    width: 105px;
    position: absolute;
    top: 11px;
    left: 8px;
  }

  header .head_wrapper .head_l img.smp {
    width: 100%;
    height: auto;
  }

  header .head_wrapper .head_l h1 {
    font-size: 0.8rem;
  }

  header .head_wrapper .head_l img.pc {
    display: none;
  }

  header .head_wrapper .head_l img.smp {
    display: block;
    max-width: 250px;
    height: auto;
  }

  /*新着情報
---------------------------------------------------*/
  .news_wrapper .news .midashi02 h2 {
    font-size: 1.1rem;
  }

  .news_wrapper .news .midashi02 a {
    font-size: 1rem;
  }

  /*あいさつ
---------------------------------------------------*/
  .aisatsu {
    background-size: cover;
    height: auto;
    padding-bottom: 0;
    display: none;
  }

  .aisatsu .main p {
    font-size: 1rem;
    letter-spacing: 5px;
  }

  .aisatsu .main p .txt01,
  .aisatsu .main p .txt02,
  .aisatsu .main p .txt03,
  .aisatsu .main p .txt04 {
    line-height: 2;
    margin-bottom: 35px;
  }

  .aisatsu .main p .green,
  .aisatsu .main p .red,
  .aisatsu .main p .blue,
  .aisatsu .main p .yellow {
    display: inline-block;
    width: 35px;
    height: 35px;
    padding-top: 1px;
    margin-right: 5px;
    font-size: 1.6rem;
  }

  .kenmin_sp {
    display: block;
    margin-bottom: 25px;
  }

  /*天然温泉
---------------------------------------------------*/
  .onsen {
    height: auto;
    background-image: none;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .onsen .flexbox-reverse {
    display: block;
  }

  .onsen .midashi {
    margin-bottom: 40px;
    padding-top: 0;
  }

  .onsen .midashi h2 {
    text-align: center;
    white-space: nowrap;
  }

  .onsen .midashi h2 .smp {
    display: block;
    font-size: 1.4rem;
    color: #000;
  }

  .onsen .date {
    margin-top: 0;
    margin-right: 0;
  }

  .onsen .date .photo li {
    max-width: 100%;
  }

  .onsen .date .photo li:nth-child(1) {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .onsen .date .photo {
    display: block;
  }

  .onsen .date .txt {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
  }

  .onsen .date .link {
    display: block;
    text-align: center;
  }

  /*湯膳
---------------------------------------------------*/
  .yuzen {
    height: auto;
    background-image: none;
    padding-bottom: 40px;
  }

  .yuzen .flexbox02 {
    display: block;
  }

  .yuzen .midashi {
    margin-bottom: 40px;
  }

  .yuzen .midashi h2 {
    text-align: center;
    white-space: nowrap;
  }

  .yuzen .midashi h2 .smp {
    display: block;
    font-size: 1.4rem;
    color: #000;
  }

  .yuzen .date {
    margin-top: 0;
    margin-left: 0;
  }

  .yuzen .date .photo p img {
    margin-right: 0;
  }

  .yuzen .date .photo li {
    max-width: 100%;
  }

  .yuzen .date .photo li:nth-child(1) {
    margin-bottom: 20px;
    margin-right: 0;
  }

  .yuzen .date .photo {
    display: block;
  }

  .yuzen .date .txt {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
  }

  .yuzen .date .link {
    display: block;
    text-align: center;
  }
}

/* 画面サイズが750px以下の場合に適用 */
@media only screen and (max-width: 750px) {
  /*新着情報
---------------------------------------------------*/
  .news_wrapper {
    display: block;
    padding: 7px 7px 10px 7px;
  }

  .news_wrapper .news {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .news_wrapper .news .date .title {
    width: 100%;
  }

  .news_wrapper .bnr {
    margin-left: 0;
    max-width: 100%;
  }
}
