/* =========================================================
   織誉 サイト 追加スタイル（WordPressから静的HTMLへの移行で追加）
   ========================================================= */

/* ---------------------------------------------------------
   トップのスライダー
   高さは --slider-height で調整できます
   --------------------------------------------------------- */
.oliyo-slider {
  --slider-height: clamp(360px, 60vw, 720px);
  position: relative;
  height: var(--slider-height);
  overflow: hidden;
  background: #222;
  box-shadow: 0 3px 3px rgba(0, 0, 0, .35);
}

.oliyo-slider__item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.oliyo-slider__item.is-active {
  opacity: 1;
}

.oliyo-slider__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 前へ・次へ */
.oliyo-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}

.oliyo-slider__arrow:hover,
.oliyo-slider__arrow:focus-visible {
  opacity: 1;
}

.oliyo-slider__arrow svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
}

.oliyo-slider__arrow--prev { left: 8px; }
.oliyo-slider__arrow--next { right: 8px; }

/* ページ送りの点 */
.oliyo-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oliyo-slider__dots button {
  display: block;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.oliyo-slider__dots button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 0 2px rgba(0, 0, 0, .6);
}

.oliyo-slider__dots button[aria-current="true"]::before {
  background: #fff;
}

@media (max-width: 767px) {
  .oliyo-slider__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .oliyo-slider__item { transition: none; }
}

/* ---------------------------------------------------------
   お問い合わせフォーム（Formspree）
   --------------------------------------------------------- */
.contact-form p {
  margin: 0 0 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
}

.contact-form .required {
  margin-left: 4px;
  font-size: 85%;
  color: #7d1a17;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 560px;
  padding: 8px 10px;
  border: 1px solid #bbb;
  border-radius: 2px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  min-width: 140px;
  min-height: 44px;
  padding: 8px 24px;
  border: 0;
  border-radius: 2px;
  background: #333;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background: #000;
}

.contact-form button[disabled] {
  opacity: .6;
  cursor: wait;
}

/* スパム対策用の隠し欄 */
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
}

.contact-form__status {
  margin-top: 16px;
  font-weight: bold;
}

.contact-form__status.is-success { color: #2b6a3a; }
.contact-form__status.is-error { color: #7d1a17; }

/* ---------------------------------------------------------
   特定商取引法の表示：画像にした文字（周りの文字と同じ大きさで表示）
   --------------------------------------------------------- */
.text-img {
  display: inline-block;
  width: auto;
  height: 1.3em;
  vertical-align: top;
}
