/* 歯のお悩みなんでも相談会（/event/）
   旧イベントページ（hachiman.tooth-care-directory.info/event/ の main.css）のコンテンツ部分を移植した。
   ヘッダー・フッター（SPメニューの .info-row・.btn-icon など）とクラス名がぶつかるため、全セレクタを .event の中に限定する。
   フォント：明朝は var(--serif)（Shippori Mincho）、ゴシックは var(--sans-serif)。期間の数字だけ Oswald（index.html で数字だけ読み込む） */

/* 旧ページが読み込んでいた Tailwind の初期化（preflight）のうち、このページの見た目に関わるもの */
.event *,
.event ::before,
.event ::after {
  border: 0 solid;
}

/* 見出しの文字サイズ（span で大きさを変える見出しは、行の高さがこの値で決まる） */
.event h2 {
  font-size: 20px;
}

.event h3 {
  font-size: 18px;
}

.event a {
  color: inherit;
}

.event ul {
  list-style: none;
}

.event img,
.event svg {
  display: block;
  vertical-align: middle;
}

.event img {
  max-width: 100%;
  height: auto;
}

.event {
  /* 「について」「診療内容」の背景のドット柄（旧ページでは各 section の style 属性に書いていた） */
  --event-dots: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAL9SURBVHgB7d3hTdtAGMbx585NlXyDDcIGMAFlgsIGbMAILRvQDbJCJ4BOUDYgG4QPVEFN7avtmkhEIFI1d6fe+/99QhDFUh7es3O+8+u0pUUIe/qxOq0qHQenQzWaymmv/2PQvbzmLuhWlW7q0ejrvnP3QnburRcslstp5d5dhCacrwPd7o1nterL/clkLmTzasBdxfrl6nP7igv9ywGCrurJ6JKKzuPFgLuq9aqu2x+n2okwb9ScUM3p+c1fLB4eDncbbse1/zD+untvIalnFbz7yt1EJae2Drg/5z6uvitauE/akMfvjzgnp7EeovsLqujhdty0Wq4+CUn0FTwMzXdKqFF9wFAdX1/BlarkFeXb79ZCdG449y6UWjv71UxGB5yL4/J6XJ0qh3ZWrHqsPwpR+Uo6ViZBzQchKh+cyzf5EMTER2ReTZgqn6kQlf+bO0Q7l/PYRnihaL6/WZ9LzmMb0d7kcXPlMxeiais43CoXp3zHNsI3tb4pk3Yi/EaIyg1Lc+5yXNE249E+U5Vx+f4D9m6m9GaEGx+3CwvXfw/uP2jnrpSK0xXhpsGSncKtZ7K6D7wdNk8U9bvpsOiOcJN5NlXZDZtN/fNMUUJuw61XZwzNabHwvXAv3mzoK3k8OtrJhVd7QdWfcwk3i602n/k/i/LOta1+t6GbNeHXF4LN682AnzxtH/XD9lG3sX00DNtHnfxNPa7YPgoAAAAAAAAAAAAAAAAAAAAAAAAA/7GtN59ZU0qvRgLeUFqvRgIelNqrkYBV9iMrzD8vuvRejaYr2EKvRrMBW3nwm9kh2kqvRpMVbOnhqyYr2FKvRnMVbK1Xo70KNtar0VzA1no1mgvYWq9Ge0O0sV6N9gI21quR3oWFsxewsV6N9gI21qvRYAXb6tVoLmBrvRptTlUa6tVoroKt9WrkdmEi3C5MyFKvRpbssGSnTFZ6NZqeqrTQq5GF72Lhe/FK7tVIBW8orVcjAb+CXo0AAAAAAAAAAAAAAAAAAAAAAAAALPsNfSmu3OyJqrMAAAAASUVORK5CYII=");
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  overflow-x: hidden;
}

.event .tel-button,
.event .reserve-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  border-radius: 62px;
  box-shadow:
    0 4px 6px -1px #0000001a,
    0 2px 4px -1px #0000000f;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-weight: 600;
  width: 100%;
  max-width: 380px;
  height: 72px;
  padding-left: 28px;
  padding-right: 20px;
}

.event .tel-button {
  background: #2d5469;
}

.event .reserve-button {
  background: #d36306;
}

.event .reserve-button.is-large {
  width: clamp(260px, 42vw, 410px);
  height: clamp(58px, 8vw, 84px);
}

.event .btn-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.event .btn-subtext {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.event .reserve-button.is-large .btn-subtext {
  font-size: clamp(10px, 1.5vw, 15px);
}

.event .btn-maintext {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.event .tel-button .btn-maintext {
  font-size: 22px;
}

.event .reserve-button.is-large .btn-maintext {
  font-size: clamp(14px, 2vw, 24px);
}

.event .btn-icon {
  position: absolute;
  left: 18px;
  width: 22px;
  height: 22px;
}

.event .reserve-button.is-large .btn-icon {
  width: 28px;
  height: 28px;
}

.event .arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  border: 1px solid #fff;
  flex-shrink: 0;
}

/*---------------------
hero
-----------------------*/
.event .hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: clamp(500px, 60vw, 600px);
}

.event .hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  @media (width < 768px) {
    transform: scale(1.6) translateY(-60px);
    transform-origin: right bottom;
  }
}

.event .hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #ffffffe0, #ffffffb8, #fff0 60%);
  @media (width < 768px) {
    background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0.9) 40%, #fff0 70%);
  }
}

.event .hero-container {
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  max-width: 1200px;
  min-height: inherit;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px);
  @media (width < 768px) {
    padding: 15rem 1.5rem 1.5rem 1.5rem;
  }
}

.event .hero-content {
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  @media (width < 768px) {
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}

/*---------------------
concern
-----------------------*/
.event .concern-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 6px 20px;
  border: 1px solid #cda53e;
  background-color: white;
  @media (width < 768px) {
    align-self: center;
  }
}

.event .concern-tag p {
  color: #444;
  white-space: nowrap;
  margin: 0;
  font-family: var(--sans-serif);
  font-size: clamp(12px, 1.6vw, 18px);
}

.event .concern-tag span {
  text-decoration: underline;
}

/*---------------------
headline
-----------------------*/
.event .headline-wrapper {
  display: flex;
}

.event .headline-container {
  line-height: 1.2;
}

.event .headline-p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  text-align: center;
}

.event .headline-p .text-blue {
  font-size: clamp(36px, 5vw, 68px);
  color: #2d5469;
}

.event .headline-p .text-dark {
  font-size: clamp(36px, 5vw, 68px);
  color: #333;
}

.event .headline-p .text-gold {
  font-size: clamp(44px, 6vw, 82px);
  color: #cda53e;
}

.event .headline-main {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 68px);
  color: #333;
}

/*---------------------
goldbadge
-----------------------*/
.event .goldbadge {
  flex-shrink: 0;
  border-radius: 9999px;
  width: clamp(90px, 12vw, 136px);
  height: clamp(90px, 12vw, 136px);
  aspect-ratio: 1 / 1;
  position: relative;
}

.event .goldbadge-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 9999px;
  background: #d59200;
}

.event .goldbadge-line {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 9999px;
  border: 2px solid #efc05c;
  margin-top: 4px;
  margin-left: 4px;
  width: clamp(90px, 12vw, 136px);
  height: clamp(90px, 12vw, 136px);
  aspect-ratio: 1 / 1;
}

.event .goldbadge-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: var(--sans-serif);
  font-weight: 600;
  font-size: clamp(12px, 1.7vw, 24px);
  line-height: 1.5;
}

/*---------------------
date
-----------------------*/
.event .hero-date-row {
  /* display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 4px;
  row-gap: 4px; */
  color: #333;
  font-family: Arial, var(--sans-serif);
  width: clamp(260px, 42vw, 410px);
  text-align: center;
  @media (width < 768px) {
    width: 100%;
  }
}

.event .hero-date-row > * {
  display: inline-block;
  vertical-align: middle;
}

.event .hero-date-label {
  padding: 2px 12px;
  border: 1px solid #bbb;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(12px, 1.3vw, 16px);
  margin-bottom: 10px;
  margin-top: 12px;
}

.event .hero-date-month {
  /* font-family: Arial, var(--sans-serif); */
  font-weight: 600;
  line-height: 1;
  align-items: baseline;
  letter-spacing: -2px;
  font-size: clamp(24px, 1.6vw, 32px);
  margin: 0 6px 32px 6px;
  font-family: "Oswald", sans-serif;
}

.event .hero-date-slash {
  margin-top: 12px;
  border-right: 1px solid #333333;
  transform: rotate(10deg);
  height: 48px;
  width: 1px;
  margin: 0 6px 12px 6px;
}

.event .hero-date-num {
  font-family: "Oswald", sans-serif;
  line-height: 1;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 15px;
  @media (width < 768px) {
    font-size: 48px;
  }
}

.event .hero-date-row.has-large-num .hero-date-num {
  font-size: clamp(32px, 8vw, 48px);
}

.event .hero-date-day {
  color: #fff;
  vertical-align: middle;
  font-size: 12px;
  padding: 2px 6px;
  background: #777;
  font-family: var(--sans-serif);
  margin: 2px 6px 0 6px;
}

.event .hero-date-wave {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 38px);
}

.event .cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  width: clamp(260px, 42vw, 410px);
}

/*---------------------
about
-----------------------*/
.event .about-section {
  background-image: var(--event-dots);
  width: 100%;
  /* 上の余白は、先頭のパンくずの下（.breadcrumbs の margin-bottom）でとる */
  padding: 0 clamp(20px, 5vw, 48px) clamp(60px, 10vw, 112px);
  background-size: 18px 18px;
}

.event .about-section > .breadcrumbs {
  margin-bottom: clamp(20px, 6vw, 64px);
}

.event .about-container {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  max-width: 1024px;
  gap: clamp(40px, 6vw, 64px);
}

.event .about-title {
  text-align: center;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.4;
}

.event .about-title-char.even-large {
  font-size: clamp(24px, 3.5vw, 50px);
  color: #2d5469;
}

.event .about-title-char.odd-small {
  font-size: clamp(18px, 2.8vw, 42px);
  color: #333;
}

.event .about-title-char.even-blue {
  font-size: clamp(24px, 3.5vw, 50px);
  color: #2d5469;
}

.event .about-title-char.odd-blue {
  font-size: clamp(18px, 2.8vw, 42px);
  color: #2d5469;
}

.event .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  @media (width < 768px) {
    flex-direction: column;
    width: 100%;
  }
}

.event .about-text {
  flex: 1 1 260px;
  margin: 0;
  line-height: 2;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.08em;
  min-width: 260px;
  @media (width < 768px) {
    order: 2;
  }
}

.event .about-image-wrapper {
  position: relative;
  flex-shrink: 0;
  width: clamp(240px, 38vw, 453px);
  aspect-ratio: 3 / 2;
  @media (width < 768px) {
    order: 1;
    width: 100%;
  }
}

.event .about-image {
  width: 96%;
  height: 96%;
  object-fit: cover;
  display: block;
}

.event .about-image-border {
  position: absolute;
  pointer-events: none;
  top: 24px;
  right: 0;
  bottom: 0;
  left: 24px;
  border: 2px solid #3187b5;
}

/*---------------------
info
-----------------------*/
.event .info-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 2.5px #00000040;
}

.event .info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 24px;
  padding: clamp(16px, 3vw, 32px);
  @media (width < 768px) {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

.event .info-label {
  margin: 0;
  text-align: center;
  flex-shrink: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  width: clamp(80px, 15vw, 200px);
}

.event .info-value {
  flex: 1 1 200px;
  margin: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-line;
  min-width: 200px;
  @media (width < 768px) {
    min-width: none;
    flex: 1;
  }
}

/*---------------------
clinic
-----------------------*/
.event .clinic-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event .clinic-name {
  margin: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.6;
}

.event .clinic-address {
  margin: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}

/*---------------------
booking
-----------------------*/
.event .booking-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: clamp(16px, 3vw, 32px);
}

.event .booking-label {
  margin: 0;
  text-align: center;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

.event .booking-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/*---------------------
features
-----------------------*/
.event .features-section {
  width: 100%;
  background-color: #fff;
  padding: clamp(60px, 10vw, 112px) clamp(20px, 5vw, 48px);
}

.event .features-container {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  gap: clamp(40px, 6vw, 64px);
}

.event .features-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.event .features-title {
  text-align: center;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.4;
  color: #2d5469;
  font-size: clamp(32px, 3.5vw, 44px);
}

.event .features-title span:not([class]) {
  font-size: clamp(22px, 2.8vw, 32px);
}
.event .features-title .marker_blue {
  background-color: #c0dae8;
  display: inline-block;
  font-style: normal;
  line-height: 0.7em;
}
.event .features-subtitle-wrapper {
  position: relative;
  display: inline-block;
}

.event .features-subtitle {
  position: relative;
  z-index: 10;
  text-align: center;
  margin: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
}



.event .features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 80px);
}

.event .features-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
}

.event .features-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.event .features-img-wrapper {
  position: relative;
  flex-shrink: 0;
  width: clamp(240px, 40vw, 441px);
  aspect-ratio: 1.18;
}

.event .features-img {
  width: 95%;
  height: 95%;
  object-fit: cover;
  display: block;
}

.event .features-img-border {
  position: absolute;
  pointer-events: none;
  top: 26px;
  bottom: 0;
  left: 24px;
  right: 0;
  border: 2px solid #3187b5;
}

.event .features-item:nth-child(2n) .features-img-border {
  top: 26px;
  bottom: 0;
  left: -24px;
  right: 48px;
}

.event .features-content {
  display: flex;
  flex-direction: column;
  order: 2;
  flex: 1 1 260px;
  gap: clamp(12px, 2vw, 20px);
}

.event .features-item.is-reverse .features-content {
  order: 1;
}

.event .features-item-title {
  margin: 0;
  color: #3e3f3f;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.4;
}

.event .features-item-body {
  margin: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
}

/*---------------------
Treatments
-----------------------*/
.event .treatments-section {
  background-image: var(--event-dots);
  width: 100%;
  padding: clamp(60px, 9vw, 100px) clamp(20px, 5vw, 48px);
  background-size: 18px 18px;
}

.event .treatments-container {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  gap: clamp(32px, 5vw, 56px);
}

.event .treatments-title {
  text-align: center;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.4;
}

.event .treatments-title .text-dark-small {
  font-size: clamp(20px, 3.2vw, 40px);
  color: #3e3f3f;
}

.event .treatments-title .text-blue-large {
  font-size: clamp(26px, 4vw, 48px);
  color: #2d5469;
}

.event .treatments-title .text-dark-large {
  font-size: clamp(26px, 4vw, 48px);
  color: #3e3f3f;
}

.event .treatments-desc {
  text-align: center;
  margin: 0;
  color: #333;
  font-family: var(--sans-serif);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
}

.event .treatments-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  container-type: inline-size;
  @media (width < 768px) {
    display: block;
  }
}

.event .treatments-item {
  flex: 0 1 calc((100% - (48px * 2)) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  @media (width < 768px) {
    display: inline-block;
    width: 48cqi;
    margin-bottom: 32px;
  }
}

.event .treatments-item:nth-child(3) {
  @media (width < 768px) {
    display: inline-block;
    width: 98cqi;
  }
}

.event .treatments-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  @media (width < 768px) {
    aspect-ratio: 4 / 3;
    width: 30cqi;
    height: auto;
    max-width: 30cqi;
    margin: auto;
  }
}

.event .treatments-name {
  margin: 0;
  text-align: center;
  color: #3e3f3f;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 22px);
  line-height: 2;
}

/*---------------------
メッセージ
-----------------------*/
.event .message-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(60px, 10vw, 140px) clamp(20px, 5vw, 80px);
  margin-bottom: 10rem;
}

.event .message-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event .message-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff6;
}

.event .message-container {
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  max-width: 1200px;
}

.event .message-box {
  border-radius: 2px;
  width: 100%;
  background: #ffffffe0;
  padding: clamp(32px, 5vw, 80px) clamp(24px, 5vw, 64px);
  max-width: 780px;
}

.event .message-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.event .message-title p {
  margin: 0;
}

.event .message-title .text-large-dark {
  font-size: clamp(22px, 3.2vw, 48px);
  color: #3e3f3f;
}

.event .message-title .text-small-dark {
  font-size: clamp(17px, 2.5vw, 40px);
  color: #3e3f3f;
}

.event .message-title .text-large-blue {
  font-size: clamp(22px, 3.2vw, 48px);
  color: #2d5469;
}

.event .message-body {
  color: #333;
  text-align: center;
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
}

.event .message-body p {
  margin: 0;
}
