@charset "UTF-8";

/* *{border: red solid 1px;} */


/* 基本 */
:root{
    --v-space:clamp(90px,9vw,120px);

}

body{
    margin: 0;
    color: #222;
    font-family: sans-serif;
    padding-top: 112px;

}

h1,h2,h3,h4,h5,h6,p,figure,ul{
    margin: 0;
    padding: 0;
    list-style: none;

}

p{
    line-height: 1.8;

}

a{
    color: inherit;
    text-decoration: none;

}

a:hover{
    filter:brightness(90%) contrast(120%)

}

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

}

.imgtext:nth-of-type(even) {
    background-color: #faf6f1;

}

/* 横幅と左右の余白 */
.w-container{
    width: min(92%,1166px);
    margin: auto;
    position: relative;

}

/* ロゴ（ヘッダー・フッター共通） */
.site-logo{
    display: block;
    width: 115px;
    height: auto;
    margin-top: 4px;
}

/* ヘッダー */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);

}

.header{
    height: 112px;
    background-color: #fff;
    /* background-color: #000; */

}

.header-container{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;

}

@media(max-width: 480px){
    .hero h1{
        font-size: clamp(28px, 7vw, 42px);
        line-height: 1.4;

    }
}

/* 固定ヘッダー */
@media(max-width: 767px){
  body {
    padding-top: 80px;
  }
  .header {
    height: 80px;
  }
  .site-logo {
    width: 90px;
    margin-top: 2px;
  }
  .header-container {
    align-items: center;
  }

}



/* ナビゲーションボタン */
.navbtn{
    padding: 0;
    outline: none;
    border:none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    font-size: 30px;

}
.open .navbtn{
    z-index: 110;
    color: #fff;

}
.navbtn .fa-bars{
    display: revert;

}
.open .navbtn .fa-bars{
    display: none;

}
.navbtn .fa-times{
    display: none;

}
.open .navbtn .fa-times{
    display: revert;

}
@media(min-width: 768px){
    .navbtn{
        display: none;

    }
}

/* ナビゲーションメニュー：モバイル */
@media(max-width: 767px){
    .nav{
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: #4e483ae6;
        transition: transform 0.3s;

    }
    .open .nav{
        transform: translate(-100%,0);
    }
    .open body{
        position: fixed;
        overflow: hidden;
    }
    .nav ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    color: #fff;

    }
}

/* ナビゲーション：PC */
@media(min-width: 768px){
    .nav ul{
    display: flex;
    gap: 40px;
    color: #707070;
}
}


/* ヒーロー */
.hero{
    height: 650px;
    background-image: url(img/hero.jpg);
    background-position: center;
    background-size: cover;

}

.hero-container{
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;
    color: #fff;

}

.hero h1{
    margin-bottom: 42px;
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(48px,5vw,68px);
    min-height: 0vw;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.1em;

}

.hero p{
    margin-bottom: 72px;

}

.hero {
  filter: brightness(0.95) sepia(0.1) saturate(1.2);
}



/* ボタン */
.btn{
    display: block;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: #b72661;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;

}

.btn-accent{
    background-color: #b72661;
}

/* 画像とテキスト */
.imgtext{
    padding: var(--v-space) 0;
    background-color: #fff;

}

/* .imgtext + .imgtext{
    padding-top: 0;

} */

.imgtext-container{
    display: flex;
    flex-direction: column;
    gap: clamp(45px,6vw,80px);

}

@media(min-width:768px){
    .imgtext-container{
        flex-direction: row;
        align-items: center;

    }

    .imgtext-container.reverse{
        flex-direction: row-reverse;

    }

    .imgtext-container > .text{
        flex: 1;
        min-width: 17em;

    }

    .imgtext-container > .img{
        flex: 2;

    }

}

/* タイトルとサブタイトル（赤色の短い線で装飾） */
.heading-decoration{
    font-size: clamp(30px,3vw,40px);
    min-height: 0vw;
    font-weight: 400;

}

.heading-decoration::after{
    display: block;
    content: '';
    width: 160px;
    height: 0px;
    border-top: 1px solid #b72661;
    margin-top: 0.6em;

}

.heading-decoration + p{
    margin-top: 1em;
    margin-bottom: 2em;
    color:#707070;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    
}

/* 記事一覧 */
.posts{
    padding: var(--v-space) 0;
    background-color: #f3f1ed;

}

/* 記事一覧 */
.posts-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 32px 25px;

}

@media(min-width:768px){
    .posts-container{
        grid-template-columns: repeat(3,1fr);

    }

}

/* 記事一覧の記事 */
.post a{
    display: block;

}

.post h3{
    margin: 1em 0 0.5em;
    font-size: clamp(12px,2vw,20px);
    min-height: 0vw;

}

.post p{
    max-width: 20em;
    font-size: clamp(10px,1.6vw,14px);
    min-height: 0vw;

}

.post img{
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;

}

@supports not(aspect-ratio:3/2){
    .post img{
        height: 180px;

    }

}

/* お知らせ画面切り替え */
/* デフォルト（～767px） → 2列 */
.posts-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 25px;
}

/* PC（768px～） → 3列 */
@media(min-width:768px){
  .posts-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ小画面（～480px） → 1列 */
@media(max-width:480px){
  .posts-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* パーツの見出し */
.heading{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(40px,5.2vw,70px);
    min-height: 0vw;
    font-weight: 300;
    position: absolute;
    top: calc((var(--v-space) + 0.6em) * -1);

}

.heading span{
    display: block;
    color: #666;
    font-size: 18px;

}

/* 施設情報（旅館概要） */
.facility-info {
  margin-top: 1.8em;
  font-size: 16px;
  line-height: 1.8;
  
}

.facility-info dt {
  font-weight: bold;
  float: left;
  clear: left;
  width: 7em;
  color: #333;

}

.facility-info dd {
  margin-left: 8em;
  margin-bottom: 0.5em;
  color: #555;

}

@media (max-width: 768px) {
  .facility-info dt {
    width: 100%;
    float: none;
    margin-bottom: 0.2em;

  }
  .facility-info dd {
    margin-left: 0;
    margin-bottom: 1em;

  }
}


/* フッター */
.footer{
    padding: 70px 0;
    background-color: #f9f8f6;
    color: #707070;
    font-size: 13px;

}

.footer-container{
    display: grid;
    gap: 50px;
    justify-items: center;

}

@media(min-width:768px){
    .footer-container{
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        gap: 20px;

    }

    .footer-container > .footer-site{
        margin-bottom: 20px;

    }

    .footer-container > *:not(.footer-sns){
        justify-self: start;
        
    }

    .footer-container > .footer-sns{
        grid-column: 2;
        grid-row: 1/4;
        justify-self: end;
        align-self: center;

    }
}

/* フッター：SNSメニュー */
.footer-sns{
    display: flex;
    gap: 24px;
    font-size: 24px;

}

.footer-sns a{
    display: grid;
    place-items: center;
    background-color: #b72661;
    color: #fff;
    width: 36px;
    aspect-ratio: 1/1;
    clip-path: circle(50%);

}

@supports not(aspect-ratio: 1/1){
    .footer-sns a{
        height: 36px;

    }
}

/* フッター：テキストメニュー */
.footer-menu{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;

}

/* content.htmlに追加するCSS */
/* 記事 */
.entry{
    padding-bottom: var(--v-space);
    background-color: #fff;

}

.entry-img img{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: calc(var(--v-space) * 2/3);

}

.entry .w-container{
    max-width: 720px;
    
}

.entry .heading-decoration{
    font-size: clamp(30px,6.25vw,48px);

}

.entry-container{
    font-size: clamp(16px,2.4vw,18px);

}

.entry-container :where(h1,h2,h3,h4,h5,h6,p,figure,ul){
    margin-top: revert;
    margin-bottom: revert;
    padding: revert;
    list-style: revert;

}

.entry-container p{
    margin: 1.8em 0;

}

.entry-container > :first-child{
    margin-top: 0;

}

.entry-container > :last-child{
    margin-bottom: 0;

}

/* 日帰り入浴セクション専用の背景 */
#day-bath {
  background-color: #faf6f1;
}

/* 客室紹介セクションを白で固定 */
#guest-room {
  background-color: #fff !important;
}

/* ----------------------------
   お食事・宿泊プランの背景調整
---------------------------- */

#dining{
    background-color: #faf6f1;
}

/* 「宿泊プラン」を白背景に変更 */
.plans {
  background-color: #fff !important;
}

/* 白背景でもカードが見えやすいように軽い影を追加 */
.plan {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}


/* プラン */
.plans{
    padding: var(--v-space);
    background-color: #f3f1ed;

}

.plans-container{
    display: grid;
    gap: 27px;
    align-items: stretch;

}

@media(min-width: 768px){
    .plans-container{
        grid-template-columns: repeat(3,1fr);
    }
}

/* プランカード */
.plan{
    padding: 60px 27px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

}

.plan h3{
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: bold;
    min-height: 2.5em;
    align-items: flex-end;
}

.plan .desc{
    flex-grow: 1;
    margin-bottom: 38px;

}

.plan .price{
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: bold;

}

.plan .btn{
    width: auto;
    align-self: flex-start;

}

/* contact.htmlに追加するCSS */
/* お問い合わせフォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2em;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #b72661;
  box-shadow: 0 0 0 3px #b7266133;
}

.contact-form .required {
  color: #b72661;
  font-size: 0.9em;
}

.contact-info {
  margin-top: 3em;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  text-align: center;
}


/* タブレット（768〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {

  /* ヘッダー */
  .header {
    height: 96px; /* 少し低くして圧迫感を軽減 */
  }

  body {
    padding-top: 96px;
  }

  /* ナビゲーション */
  .nav ul {
    gap: 28px;
    font-size: 15px;
  }

  /* ヒーロー */
  .hero {
    height: 500px; /* やや低めに調整 */
  }

  .hero h1 {
    font-size: clamp(36px, 5vw, 52px);
  }

  /* 画像＋テキストの間隔 */
  .imgtext-container {
    gap: clamp(30px, 5vw, 60px);
  }

  /* 宿泊プランカード */
  .plans-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan {
    padding: 50px 24px;
  }
}
