@charset "utf-8";

/* ページ説明（画面上部）のメインタイトル h1：2.5rem・装飾なし・中央 */
body.aisatsu-page .aisatsu-page-intro .container > h1 {
  font-size: var(--font-h1);
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  letter-spacing: normal;
}

body.aisatsu-page .aisatsu-page-intro .aisatsu-page-intro-lead {
  max-width: 42em;
  margin: 0 auto;
  font-size: var(--font-lead);
  line-height: 2;
  color: #444;
  text-align: center;
}

/* セクション見出し（各ブロックのメインタイトル h2） */
body.aisatsu-page .section > .container > h2 {
  font-size: var(--font-h2);
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  letter-spacing: normal;
}

/* 清元院ものがたり：画像を中央寄せ */
body.aisatsu-page .aisatsu-omoi .mono-img {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  padding: 0;
  text-align: center;
}

body.aisatsu-page .aisatsu-omoi .mono-img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}

/*
 * 庭園（teien インクルード）：first_time.css と同等のレイアウト
 * ・セクション間・インクルード内 h2・YouTube・.list カード（画像左・説明右）
 * ・清元院について専用（body.aisatsu-page）。会員制度ブロックは .first-time-teien-embed が無いため影響しない
 */
body.aisatsu-page .first-time-teien .first-time-teien-embed section {
  margin-bottom: 2.5rem;
}

body.aisatsu-page .first-time-teien .first-time-teien-embed section:last-child {
  margin-bottom: 0;
}

body.aisatsu-page .first-time-teien .first-time-teien-embed h2 {
  font-size: clamp(1.28rem, 2.8vw, 1.65rem);
  font-weight: bold;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  padding: 0.7rem 1rem 0.7rem 1.1rem;
  text-align: left;
  color: #3d3329;
  border-left: 5px solid #ff97d5;
  background: linear-gradient(90deg, rgba(255, 151, 213, 0.18), rgba(255, 255, 255, 0));
  border-radius: 0 6px 6px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.aisatsu-page .first-time-teien .first-time-teien-embed section + section h2 {
  margin-top: 2.25rem;
}

body.aisatsu-page .first-time-teien .first-time-teien-embed .teien-yt iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
}

body.aisatsu-page .first-time-teien .first-time-teien-embed .teien-yt img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

body.aisatsu-page .first-time-teien .first-time-teien-embed p,
body.aisatsu-page .first-time-teien .first-time-teien-embed .list p {
  font-size: inherit;
  line-height: 2.25;
  color: #333;
  letter-spacing: 0.02em;
}

body.aisatsu-page .first-time-teien .first-time-teien-embed .tyousa {
  font-size: inherit;
  line-height: 2.25;
  color: #333;
  letter-spacing: 0.02em;
}

body.aisatsu-page .first-time-teien .list {
  width: auto;
  margin: 0 3% 15px;
  border: 1px solid #ccc;
  padding: 3%;
  background: #fff;
  background: linear-gradient(#fff, #f1f1f1);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

body.aisatsu-page .first-time-teien .list figure img {
  float: left;
  background: #fff;
  padding: 0.8%;
  border: 1px solid #ccc;
  width: 30%;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}

body.aisatsu-page .first-time-teien .list h4 {
  font-size: 16px;
  line-height: 1.75;
  border-bottom: 2px dotted #ff97d5;
  margin-bottom: 10px;
  margin-left: 34%;
  color: #ff97d5;
}

body.aisatsu-page .first-time-teien .list h4::first-letter {
  border-left: 3px solid #ff97d5;
  padding-left: 10px;
}

body.aisatsu-page .first-time-teien .list p {
  padding: 0;
  margin-left: 34%;
}

@media screen and (max-width: 480px) {
  body.aisatsu-page .first-time-teien .first-time-teien-embed h2 {
    font-size: 1.22rem;
    padding: 0.55rem 0.75rem 0.55rem 0.85rem;
    border-left-width: 4px;
  }

  body.aisatsu-page .first-time-teien .list {
    margin: 0 0 15px;
  }

  body.aisatsu-page .first-time-teien .list figure img {
    float: none;
    padding: 0;
    border: none;
    width: 100%;
  }

  body.aisatsu-page .first-time-teien .list h4,
  body.aisatsu-page .first-time-teien .list p {
    margin-left: 0;
  }

  body.aisatsu-page .first-time-teien .first-time-teien-embed p,
  body.aisatsu-page .first-time-teien .first-time-teien-embed .list p,
  body.aisatsu-page .first-time-teien .first-time-teien-embed .tyousa {
    font-size: 1.0625rem;
    line-height: 2.1;
  }
}

/*
 * 諸堂案内（syodou インクルード）：first_time.css と同等のレイアウト
 * ・h2.syodou-section-h2 / h3.syodou-section-h3、.list（画像左 48%・本文 margin-left 54%）
 * ・清元院について専用（body.aisatsu-page）
 */
body.aisatsu-page .first-time-syodou .first-time-syodou-embed .syodou-main-content {
  padding-top: 0.35rem;
}

body.aisatsu-page .first-time-syodou .first-time-syodou-embed h2.syodou-section-h2 {
  clear: both;
  margin-top: 0;
  margin-bottom: 14px;
  padding: 0 0 8px 0;
  color: #333;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid #ccc;
}

body.aisatsu-page .first-time-syodou .first-time-syodou-embed .list + h2.syodou-section-h2,
body.aisatsu-page .first-time-syodou .first-time-syodou-embed .list + h3.syodou-section-h3 {
  margin-top: 2.25rem;
}

body.aisatsu-page .first-time-syodou .first-time-syodou-embed h3.syodou-section-h3 {
  clear: both;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 0 6px 0;
  color: #444;
  font-size: 1.65rem;
  font-weight: bold;
  line-height: 1.45;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px dotted #bbb;
}

body.aisatsu-page .first-time-syodou .list {
  width: auto;
  margin: 0 3% 22px;
  border: 1px solid #ccc;
  padding: 3%;
  background: #fff;
  background: linear-gradient(#fff, #f1f1f1);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

body.aisatsu-page .first-time-syodou .list figure img {
  float: left;
  background: #fff;
  padding: 0.8%;
  border: 1px solid #ccc;
  width: 48%;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}

body.aisatsu-page .first-time-syodou .list p {
  padding: 0;
  margin-left: 54%;
  font-size: inherit;
  line-height: 2.25;
  color: #333;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 800px) {
  body.aisatsu-page .first-time-syodou .list figure img {
    float: none;
    width: 100%;
  }

  body.aisatsu-page .first-time-syodou .list p {
    margin-left: 0;
    margin-top: 3%;
  }
}

@media screen and (max-width: 480px) {
  body.aisatsu-page .first-time-syodou .first-time-syodou-embed h2.syodou-section-h2 {
    font-size: var(--font-h3-mobile);
    padding-bottom: 6px;
  }

  body.aisatsu-page .first-time-syodou .first-time-syodou-embed h3.syodou-section-h3 {
    font-size: 0.95rem;
    padding-bottom: 5px;
  }

  body.aisatsu-page .first-time-syodou .list {
    margin: 0 0 15px;
  }

  body.aisatsu-page .first-time-syodou .list figure img {
    padding: 0;
    border: none;
  }

  body.aisatsu-page .first-time-syodou .list p {
    font-size: 1.0625rem;
    line-height: 2.1;
  }
}

/* ごあいさつ／スタッフ（トップヘッダー版レイアウト） */

.aisatsu-heading {
  font-size: 1.35rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1rem;
  text-align: center;
}

.aisatsu-lead-line {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 0 1.25rem;
  color: #333;
}

.aisatsu-omoi-panel {
  max-width: 42em;
  margin: 0 auto;
}

.aisatsu-omoi-panel > p:first-of-type {
  margin: 0;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.aisatsu-sign {
  margin: 2rem 0 0;
  text-align: center;
  letter-spacing: 0.15em;
}

.aisatsu-staff-heading {
  margin-bottom: 2rem;
}

/* スタッフ紹介：#main 外のため .list を first_time と同様に適用 */
.aisatsu-staff-embed .list {
  width: auto;
  margin: 0 3% 15px;
  border: 1px solid #ccc;
  padding: 3%;
  background: #fff;
  background: linear-gradient(#fff, #f1f1f1);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.aisatsu-staff-embed .list figure img {
  float: left;
  background: #fff;
  padding: 0.8%;
  border: 1px solid #ccc;
  width: 30%;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}

.aisatsu-staff-embed .list h4 {
  font-size: 16px;
  border-bottom: 2px dotted #ff97d5;
  margin-bottom: 10px;
  margin-left: 34%;
  color: #ff97d5;
}

.aisatsu-staff-embed .list h4::first-letter {
  border-left: 3px solid #ff97d5;
  padding-left: 10px;
}

.aisatsu-staff-embed .list p {
  padding: 0;
  margin-left: 34%;
}

@media screen and (max-width: 480px) {
  .aisatsu-staff-embed .list {
    margin: 0 0 15px;
  }

  .aisatsu-staff-embed .list figure img {
    float: none;
    padding: 0;
    border: none;
    width: 100%;
  }

  .aisatsu-staff-embed .list h4,
  .aisatsu-staff-embed .list p {
    margin-left: 0;
  }

  .aisatsu-heading {
    font-size: 1.2rem;
  }

  .aisatsu-omoi-panel > p:first-of-type {
    font-size: 0.95rem;
    line-height: 1.9;
  }
}
