@charset "UTF-8";

/* ============================================================
   笠間駅前館 LP デザイントークン
   セクション余白・カード表現・見出しの基準値をここに集約する。
   ブレイクポイントは共通テーマ（index.css / common.css）に合わせて 897px。
   ============================================================ */
:root {
  --ks-primary: #005691;
  --ks-tint: #f7fbfe;
  --ks-border: #d8e6ef;
  --ks-shadow: 0 3px 12px rgba(0, 86, 145, 0.06);
  --ks-radius: 12px;
  --ks-radius-sm: 8px;

  /* セクション縦リズム */
  --ks-sec-pad: 80px;
  /* コンテナ */
  --ks-inner-max: 1140px;
  --ks-inner-pad: 30px;
  /* 見出し下の余白 */
  --ks-title-mb: 40px;
  /* グリッド */
  --ks-gap: 24px;
  --ks-gap-lg: 40px;
  /* カード内側 */
  --ks-card-pad: 28px 24px;
}
@media screen and (max-width: 897px) {
  :root {
    --ks-sec-pad: 48px;
    --ks-inner-pad: 20px;
    --ks-title-mb: 26px;
    --ks-gap: 16px;
    --ks-gap-lg: 24px;
    --ks-card-pad: 22px 20px;
  }
}

/* ------------------------------------------------------------
   ページ内アンカー（固定ヘッダー分の scroll-margin）
------------------------------------------------------------ */
.anchor-target {
  scroll-margin-top: 108px;
}
@media screen and (max-width: 897px) {
  .anchor-target {
    scroll-margin-top: 75px;
  }
}

/* ------------------------------------------------------------
   コンテナ幅の統一（index.css の 1140px / kasama の 1120px を一本化）
------------------------------------------------------------ */
.inner {
  max-width: var(--ks-inner-max);
  margin: 0 auto;
  padding: 0 var(--ks-inner-pad);
  box-sizing: border-box;
}
@media screen and (max-width: 897px) {
  .inner {
    margin: 0 auto;
  }
}

/* ------------------------------------------------------------
   セクション見出し（h2）の共通トーン
------------------------------------------------------------ */
.kasama-section__title,
.nearby-facilities__headline h2,
.hall-info__headline h2,
.hall-access__headline h2,
.kasama-campaign h2,
.kasama-stay__text h2 {
  color: var(--ks-primary);
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 897px) {
  .kasama-section__title,
  .nearby-facilities__headline h2,
  .hall-info__headline h2,
  .hall-access__headline h2,
  .kasama-campaign h2,
  .kasama-stay__text h2 {
    font-size: 25px;
  }
}

/* ------------------------------------------------------------
   ヒーロー（mainview）: 写真とテキストの面積バランス調整
   共通テンプレート（index.css）は height:100vh 前提で写真が間延び
   し、空の空だけが大きく写ってテキストが宙に浮く構成になっていた
   ため、笠間デモ用に高さ・トリミング位置・テキストの座りを上書きする。
------------------------------------------------------------ */
.mainview__box {
  height: min(56vh, 540px);
  min-height: 340px;
  padding: 100px 0 0 0;
}
@media screen and (max-width: 897px) {
  .mainview__box {
    height: min(48vh, 360px);
    min-height: 240px;
    padding: 65px 0 0 0;
  }
}
.mainview__box__img {
  /* 共通テンプレートは min-width/min-height 頼みで position:absolute が
     無く、object-position が意図通り効かないため明示的に固定する */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center 60%;
}
.mainview__box__txt {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  top: 100px;
  bottom: 0;
  padding: 0 5%;
  background: linear-gradient(
    180deg,
    rgba(0, 15, 30, 0) 45%,
    rgba(0, 15, 30, 0.5) 100%
  );
}
@media screen and (max-width: 897px) {
  .mainview__box__txt {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    top: 65px;
    bottom: 0;
    padding: 0 5%;
    gap: 0.6em;
  }
}

/* ヒーロー見出し（画像テキストの代替）
   PCは左寄せ・上下中央で2行。SPは改行せず1行のまま左寄せ。 */
.mainview__box__txt span {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.mainview__box__txt__sub {
  font-size: 24px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 8px;
}
.mainview__box__txt__main {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (max-width: 897px) {
  .mainview__box__txt__sub {
    font-size: 16px;
    margin-bottom: 0;
  }
  .mainview__box__txt__main {
    font-size: 20px;
  }
}

/* ------------------------------------------------------------
   パンくず（メイン画像下・右寄せ）
------------------------------------------------------------ */
.mainview > .inner {
  padding-top: 12px;
  padding-bottom: 0;
}
.mainview .pankuzu {
  text-align: right;
}
.mainview .pankuzu ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mainview .pankuzu ul li {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}
.mainview .pankuzu ul li:not(:last-of-type)::after {
  content: "/";
  padding: 0 8px;
  color: #999;
}
.mainview .pankuzu ul li a {
  color: #666;
  text-decoration: none;
}
.mainview .pankuzu ul li a:hover {
  color: var(--ks-primary);
  text-decoration: underline;
}
@media screen and (max-width: 897px) {
  .mainview > .inner {
    padding-top: 10px;
  }
  .mainview .pankuzu ul li {
    font-size: 12px;
  }
}

/* ------------------------------------------------------------
   斎場概要（写真＋電話・住所・設備タグ）
------------------------------------------------------------ */
.hall-details {
  padding: var(--ks-sec-pad) 0;
  background: #fff;
}
.hall-details__headline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ks-gap-lg);
  align-items: center;
}
@media screen and (max-width: 897px) {
  .hall-details__headline {
    grid-template-columns: 1fr;
  }
}
.hall-details__headline .img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ks-radius);
}
.hall-details__headline .txt dl {
  margin: 0;
}
.hall-details__headline .txt dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px 0;
  margin: 0 0 16px 0;
  border-bottom: 1px dotted var(--ks-border);
}
@media screen and (max-width: 897px) {
  .hall-details__headline .txt dl div {
    display: block;
    padding: 0 0 12px 0;
    margin: 0 0 12px 0;
  }
}
.hall-details__headline .txt dl div:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.hall-details__headline .txt dl div dt {
  font-weight: 500;
  width: 40%;
}
@media screen and (max-width: 897px) {
  .hall-details__headline .txt dl div dt {
    width: 100%;
  }
}
.hall-details__headline .txt dl div dd {
  width: 60%;
  margin: 0;
}
@media screen and (max-width: 897px) {
  .hall-details__headline .txt dl div dd {
    width: 100%;
  }
}
.hall-details__headline .txt dl div dd.tel a {
  font-size: 2.4rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  color: var(--ks-primary);
  display: flex;
  align-items: center;
}
.hall-details__headline .txt dl div dd.tel a span {
  font-size: 1.5rem;
  display: inline-block;
  margin: 0 6px 0 0;
}
.hall-details__headline .txt dl div dd a {
  color: var(--ks-primary);
}
.hall-details__headline .txt ul {
  margin: var(--ks-gap) 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media screen and (max-width: 897px) {
  .hall-details__headline .txt ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}
.hall-details__headline .txt ul li {
  margin: 0;
  padding: 9px 4px;
  background: var(--ks-tint);
  border: 1px solid var(--ks-border);
  border-radius: 6px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}
@media screen and (max-width: 897px) {
  .hall-details__headline .txt ul li {
    font-size: 1.4rem;
    padding: 8px 2px;
  }
}
.hall-details__headline .txt ul li a {
  display: block;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
.hall-details__headline .txt ul li a:hover {
  color: var(--ks-primary);
  text-decoration: underline;
}

/* ------------------------------------------------------------
   周辺施設からのご搬送
------------------------------------------------------------ */
.nearby-facilities {
  padding: var(--ks-sec-pad) 0;
  background: var(--ks-tint);
}
.nearby-facilities__headline {
  text-align: center;
  margin-bottom: var(--ks-title-mb);
}
.nearby-facilities__headline h2 {
  margin: 0 0 20px;
}
.nearby-facilities__headline p {
  margin: 0;
  line-height: 1.9;
  font-size: 17px;
  color: #333;
}
.nearby-facilities__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ks-gap);
}
@media screen and (max-width: 897px) {
  .nearby-facilities__grid {
    grid-template-columns: 1fr;
  }
}
.nearby-facilities__item {
  background: #fff;
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius);
  padding: var(--ks-card-pad);
  box-shadow: var(--ks-shadow);
}
.nearby-facilities__item h3 {
  margin: 0 0 12px;
  color: var(--ks-primary);
  font-size: 21px;
  line-height: 1.5;
}
.nearby-facilities__item p {
  margin: 0;
  line-height: 1.8;
  font-size: 16px;
  color: #444;
}
.nearby-facilities__note {
  margin-top: var(--ks-gap);
  padding: 20px 24px;
  background: #eaf4fb;
  border-left: 5px solid var(--ks-primary);
  border-radius: 0 var(--ks-radius-sm) var(--ks-radius-sm) 0;
  line-height: 1.8;
  color: #333;
}
@media screen and (max-width: 897px) {
  .nearby-facilities__note {
    padding: 16px 18px;
  }
}
.nearby-facilities__cta {
  text-align: center;
  margin-top: var(--ks-gap-lg);
}
.nearby-facilities__cta a {
  display: inline-block;
  padding: 14px 34px;
  background: var(--ks-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--ks-radius-sm);
  font-weight: 600;
}

/* ------------------------------------------------------------
   電話バナー（.contact-02）
   セクション内に置かれた場合はセクションの一部として、
   単独で置かれた場合は1つの帯として扱う。
------------------------------------------------------------ */
.contact-02 {
  max-width: 840px;
  margin: 0 auto;
  padding: 0;
}
.nearby-facilities .contact-02 {
  margin: var(--ks-gap-lg) auto 0;
}
article > .contact-02 {
  padding: var(--ks-sec-pad) var(--ks-inner-pad);
  background: #fff;
  max-width: none;
  box-sizing: border-box;
}
article > .contact-02 > a {
  max-width: 840px;
}

/* ------------------------------------------------------------
   コンバージョン強化ブロック
------------------------------------------------------------ */
.kasama-call {
  margin-top: var(--ks-gap-lg);
  padding: 28px 24px;
  background: #fff;
  border: 2px solid var(--ks-primary);
  border-radius: var(--ks-radius);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 86, 145, 0.08);
}
.kasama-call__lead {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #23323d;
}
.kasama-call__sub {
  margin: 0 0 14px;
  font-size: 16px;
  color: #555;
}
.kasama-call__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  background: var(--ks-primary);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: var(--ks-radius-sm);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.kasama-call__tel small {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.kasama-call__note {
  margin: 10px 0 0;
  font-size: 14px;
  color: #555;
}
@media screen and (max-width: 897px) {
  .kasama-call {
    padding: 22px 14px;
  }
  .kasama-call__lead {
    font-size: 18px;
  }
  .kasama-call__tel {
    font-size: 23px;
    padding: 14px 18px;
    display: flex;
    justify-content: center;
  }
  .kasama-call__tel small {
    font-size: 12px;
  }
}

/* ------------------------------------------------------------
   費用目安 / 選ばれる理由 / キャンペーン / 仮泊
------------------------------------------------------------ */
.kasama-section {
  padding: var(--ks-sec-pad) 0;
  background: #fff;
}
.kasama-section.alt {
  background: var(--ks-tint);
}
.kasama-section__title {
  text-align: center;
  margin: 0 0 var(--ks-title-mb);
}
.kasama-price-grid,
.kasama-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ks-gap);
}
@media screen and (max-width: 897px) {
  .kasama-price-grid,
  .kasama-reason-grid {
    grid-template-columns: 1fr;
  }
}
.kasama-card {
  background: #fff;
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius);
  padding: var(--ks-card-pad);
  text-align: center;
  box-shadow: var(--ks-shadow);
}
@media screen and (max-width: 897px) {
  .kasama-card {
    text-align: left;
  }
  .kasama-price-grid .kasama-card {
    text-align: center;
  }
  .kasama-price-grid .kasama-card p:not(.kasama-price) {
    text-align: left;
  }
  .kasama-card p {
    text-wrap: wrap;
  }
}
.kasama-card i {
  font-size: 36px;
  color: var(--ks-primary);
  margin-bottom: 16px;
}
.kasama-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.5;
  color: #263746;
}
.kasama-card p {
  margin: 0;
  color: #555;
  line-height: 1.75;
  font-size: 16px;
}
.kasama-price {
  margin: 0 0 12px !important;
  font-size: 31px !important;
  font-weight: 700;
  color: var(--ks-primary) !important;
  line-height: 1.3 !important;
}
.kasama-price span {
  font-size: 16px;
  font-weight: 500;
}
.kasama-section__note {
  margin: var(--ks-gap) 0 0;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* プランカード（PDFリンク） */
.kasama-plan-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  position: relative;
}
.kasama-plan-link:hover,
.kasama-plan-link:focus,
.kasama-plan-link:focus-visible {
  transform: none;
  box-shadow: var(--ks-shadow);
  border-color: var(--ks-border);
  text-decoration: none !important;
  color: inherit !important;
  outline: none;
}
.kasama-plan-link:hover .kasama-plan-pdf {
  background: var(--ks-primary);
  color: #fff;
}
.kasama-plan-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid var(--ks-primary);
  border-radius: 4px;
  color: var(--ks-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}
.kasama-plan-pdf i {
  margin: 0 !important;
  font-size: 15px !important;
  color: inherit !important;
}

.kasama-campaign {
  padding: var(--ks-gap-lg) 32px;
  background: linear-gradient(135deg, #eef7fc, #fff9e8);
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius);
  box-shadow: var(--ks-shadow);
  text-align: center;
}
@media screen and (max-width: 897px) {
  .kasama-campaign {
    padding: var(--ks-gap-lg) 20px;
    text-align: left;
  }
  .kasama-campaign p {
    text-wrap: wrap;
  }
}
.kasama-campaign__badge {
  display: inline-block;
  padding: 5px 14px;
  background: #c3922e;
  color: #fff;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.kasama-campaign h2 {
  margin: 0 0 20px;
}
.kasama-campaign p {
  margin: 0 auto;
  max-width: 820px;
  line-height: 1.9;
  font-size: 17px;
  color: #333;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.kasama-stay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ks-gap-lg);
  align-items: center;
}
@media screen and (max-width: 897px) {
  .kasama-stay {
    grid-template-columns: 1fr;
  }
}
.kasama-stay__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ks-radius);
}
.kasama-stay__text h2 {
  margin: 0 0 20px;
}
.kasama-stay__text .kasama-campaign__badge {
  margin-bottom: 14px;
}
.kasama-stay__price {
  margin: 0 0 12px !important;
  font-size: 24px;
  font-weight: 700;
  color: var(--ks-primary);
  line-height: 1.4;
}
@media screen and (max-width: 897px) {
  .kasama-stay__price {
    font-size: 20px;
  }
}
.kasama-stay__text p {
  margin: 0 0 20px;
  line-height: 1.9;
  font-size: 17px;
  color: #333;
}
.kasama-stay__text ul.kasama-stay__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.kasama-stay__text ul.kasama-stay__list > li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
/* Font Awesome 非依存のチェックアイコン（FA 未読込時も表示） */
.kasama-stay__text ul.kasama-stay__list > li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23005691' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.kasama-stay__text ul.kasama-stay__list > li > i {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media screen and (max-width: 897px) {
  .kasama-stay__text ul.kasama-stay__list > li {
    font-size: 15px;
  }
  .kasama-stay__text ul.kasama-stay__list > li::before {
    width: 15px;
    height: 15px;
  }
}

/* ------------------------------------------------------------
   施設紹介
------------------------------------------------------------ */
.hall-info {
  padding: var(--ks-sec-pad) 0;
  background: var(--ks-tint);
}
.hall-info__headline {
  max-width: 900px;
  margin: 0 auto var(--ks-title-mb);
}
.hall-info__headline h2 {
  text-align: center;
  margin: 0 0 20px;
  padding: 0;
}
.hall-info__headline p {
  margin: 0;
  line-height: 1.9;
  font-size: 17px;
  color: #333;
}
@media screen and (max-width: 897px) {
  .hall-info__headline p {
    font-size: 1.5rem;
  }
}
.hall-info__box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ks-gap);
}
@media screen and (max-width: 897px) {
  .hall-info__box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hall-info__box__item {
  width: auto;
  margin: 0;
  background: #fff;
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius);
  box-shadow: var(--ks-shadow);
  overflow: hidden;
}
.hall-info__box__item .img img {
  width: 100%;
  height: auto;
  display: block;
}
.hall-info__box__item .txt {
  padding-bottom: 14px;
}
.hall-info__box__item .txt p {
  text-align: center;
  margin: 0;
  padding: 14px 10px;
  color: var(--ks-primary);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}
.hall-info__box__item .txt p:first-child {
  margin-bottom: 5px;
  padding-bottom: 0;
}
.hall-info__box__item .txt .hall-info__desc {
  margin: 0;
  padding: 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
@media screen and (max-width: 897px) {
  .hall-info__box__item .txt p {
    font-size: 1.5rem;
    padding: 10px 6px;
  }
  .hall-info__box__item .txt .hall-info__desc {
    text-align: left;
  }
}

/* ------------------------------------------------------------
   アクセス
------------------------------------------------------------ */
.hall-access {
  padding: var(--ks-sec-pad) 0;
  background: #fff;
}
.hall-access__headline h2 {
  text-align: center;
  margin: 0 0 var(--ks-title-mb);
  padding: 0;
}
.hall-access__box .gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  border-radius: var(--ks-radius);
  border: 1px solid var(--ks-border);
}
.hall-access__box .gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
.hall-access__box .copy {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
  color: #263746;
  padding: 20px 0;
  margin: var(--ks-gap-lg) 0;
  border-top: 1px solid var(--ks-border);
  border-bottom: 1px solid var(--ks-border);
}
@media screen and (max-width: 897px) {
  .hall-access__box .copy {
    font-size: 1.7rem;
    line-height: 1.7;
    padding: 14px 0;
  }
}
.hall-access__box .comBtn {
  margin: 0 auto;
}

/* ------------------------------------------------------------
   総括文
------------------------------------------------------------ */
.hall-caption {
  padding: 0 0 var(--ks-sec-pad);
  background: #fff;
}
.hall-caption__box {
  margin: 0 auto;
  max-width: 900px;
  font-size: 1.5rem;
  line-height: 1.9;
  color: #666;
}
.hall-caption__box p {
  margin: 0;
}
