@charset "utf-8";

:root {
  --pcHeader-height: 85.79px;
  --spHeader-height: 70.3px;
}

@media (max-width: 992px) {
  .mv-main-tl {
    font-size: 5rem;
  }

  .mv-main-tl span {
    display: block;
    font-size: 3rem;
  }
}

/* --------タブレット小--------- */
@media (max-width: 768px) {

  /* イントロ */
  .about-sec {
    display: block;
  }

  .a-base {
    border-bottom: 1px solid #B3B3B3;
    padding-bottom: 5rem;
  }



  .about .txt {
    width: 100%;
  }

  .a-base .about-img {
    margin-top: 0;
    margin-right: 0;
    margin-left: auto;
  }

  .a-station {
    display: flex;
    flex-flow: column;
    flex-direction: column-reverse;
  }

  .a-station .about-img {
    margin-top: 5rem;
  }

  /* ルーム */
  .r-header {
    display: block;
    /* margin-bottom: 5rem; */
  }

  .r-header p {
    width: 100%;
    margin-top: 3rem;
  }

  /* ルームナビリスト */
  .room-nav-list .list {
    display: flex;
    flex-flow: column;
  }

  /* ------ルームリスト------ */
  .room-list .box .cont {
    flex-flow: column;
    flex-direction: column-reverse;
  }

  .room-list .box .cont .txt {
    flex: auto;
    padding: 30px;
  }

  .room-list .box .cont .pic {
    flex: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  /* ---------サービス--------- */
  .service {
    display: block;
  }

  /* ---------境界線---------- */
  .horizon {
    width: 95%;
    aspect-ratio: 3 / 1;
  }

  /* ---------アクセス--------- */
  .access .upper {
    width: 100%;
    display: block;
  }

  .g-map {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    flex: auto;
    aspect-ratio: 16 / 9;
  }

  .inside {
    width: 90%;
    flex: auto;
    margin-top: 5rem;
  }

  /* アクセスタブメニュー */
  .access_tabs {
    width: 90%;
    padding-top: 3rem;
  }

  .tab_menu {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: none;
    padding: 0;
    gap: 15px 3rem;
    margin-right: auto;
    margin-left: auto;
    border: none;
    margin-bottom: 3rem;
  }

  .access .tab {
    width: fit-content;
    background: none;
    border: none;
    padding: 6px 0;
    font-size: 1.4rem;
  }

  .tab.active {
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
  }

  .sp_tab_title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--brown-color);
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    margin-left: 2rem;
    border-radius: 5px 5px 0 0;
    margin-top: 10px;
  }

  .access_box {
    flex-direction: column;
    gap: 40px;
  }

  .access_item {
    width: 100%;
  }

  /* PCでは一旦線を消す */
  .access_item {
    border: none;
    margin: 0;
    padding: 0;
  }

  /* 2つ目までに線 */
  .access_item:nth-child(-n+2) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 24px;
  }

  /* -----たびのホテル飛騨高山----- */
  .tabino-takayama {
    width: 100%;
  }
  .tabino-takayama {
    aspect-ratio: 3 / 1;
  }

  .tabino-takayama .chapter {
    margin-bottom: 10px;
  }

  .tabino-takayama .chapter span {
    font-size: 1.1rem;
  }

  .tabino-takayama .chapter::before {
    margin-bottom: 10px;
  }

  .tabino-takayama .txt h3 {
    font-size: 1.8rem;
  }

  .tabino-takayama .txt p {
    margin-top: 10px;
    font-size: 1.4rem;
  }

  /* -----フッター ----- */
  /* 上部コンテンツ */
  .footer .upper {
    display: block;
  }

  .hotel-info {
    margin-bottom: 3rem;
  }

  .footer .upper .ft-nav {
    justify-content: flex-start;
  }

  /* 下部コンテンツ */
  .footer .under {
    display: block;
  }

  .footer .under .sfhotels {
    margin-bottom: 5rem;
  }

}

/* --------スマホ大--------- */
@media (max-width: 572px) {

  /* ------ MV ------ */
  .mv {
    display: block;
    width: 100%;
    height: auto;
    padding-top: var(--spHeader-height);
  }

  .mv-main-tl {
    position: static;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    font-size: 10vw;
  }

  .mv-main-tl span {
    font-size: 6vw;
  }

  .mv .box {
    width: 100%;
    height: auto;
    flex: auto;
  }

  /* メイン画像セクション */
  .mv .light {
    display: block;
  }

  /* テキストセクション */
  .mv .dark {
    position: static;
    padding-top: 5rem;
    padding-bottom: 10rem;
  }

  .mv .dark .txt {
    width: fit-content;
    position: static;
    transform: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-top: 5rem;
  }

  /* ------イントロ------ */
  .about-sec {
    padding-top: 0;
    /* margin-top: -5rem; */
  }

  .a-base {
    display: flex;
    flex-flow: column;
    flex-direction: column-reverse;
  }

  .a-base .about-img {
    margin-top: -5rem;
  }

  .a-tl {
    font-size: 2.8rem;
  }

  .a-station {
    padding-top: 5rem;
  }

  .a-station h3 {
    font-size: 2.4rem;
  }

  .a-station .about-img {
    width: 45%;
  }

  /* ------サービス------- */
  .sv-list .pic h3 {
    font-size: 1.8rem;
  }

  .sv-list .txt {
    font-size: 1.4rem;
    line-height: 1.6;
  }
  .sv-other {
    padding: 20px;
  }

  .sv-other h3 {
    font-size: 1.8rem;
  }

  /* たびのホテル飛騨高山 */

  .tabino-takayama-logo {
    width: 70px;
    height: auto;
  }

}

/* --------スマホ中--------- */
@media (max-width: 480px) {

  /* ------アクセス ------ */
  .access .tab {
    width: calc((100% - 3rem) / 2);
  }

  /* たびのホテル飛騨高山 */
  .tabino-takayama .txt {
    align-items: start;
    padding: 15px;
  }

  .tabino-takayama .txt p {
    font-size: 1.1rem;
    padding: 0;
  }

  /* ------フッター ------ */
  .footer .upper .ft-nav {
    flex-flow: column;
    gap: 10px;
  }

  /* 規約リスト */
  .terms-list a {
    font-size: 1.2rem;
  }

}

/* --------スマホ小--------- */
@media (max-width: 375px) {
  .book-btn span {
    font-size: 1.2rem;
    padding: 15px 20px;
  }
}