@charset "UTF-8";

/*-------------------------------

基本

-------------------------------*/
/* ## 全要素のボックスサイズを border-box に統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ## ブラウザによるフォントサイズの拡大を防止 */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* ## リストのマーカーを削除 */
ul,
ol {
  list-style: none;
}

/* ## bodyの基本設定 */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* ## 見出しの折り返し制御 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 1em;
}

/* ## p, dtも見出しに合わせて初期化 */
p,
dt {
  font-weight: normal;
  font-size: 1em;
}

/* ## 全リンク共通設定 */
a {
  color: currentColor;
  text-decoration: none;
}

/* ## 画像・メディアの表示制御 */
img,
picture,
iframe,
canvas,
video,
svg {
  display: block;
}

img,
picture {
  max-width: 100%;
  height: auto;
}

svg {
  width: auto;
  height: auto;
}

/* ## アンカー要素のスクロールマージン調整 */
:target {
  scroll-margin-block: 5ex;
}

/* ## テキスト要素の初期化 */
address {
  font-style: normal;
}

/* ## 表の初期化 */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  table-layout: auto;
}

th,
td {
  padding: 0;
  font-weight: normal;
  text-align: inherit;
  vertical-align: top;
}

/* ## 特殊要素の初期化 */
sup {
  position: relative;
  top: -0.5em;
  font-size: 35%;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}

/*-------------------------------

# slick

-------------------------------*/
.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}
.slick-prev,
.slick-next {
  transform: unset !important;
}

/*-------------------------------

# フォーム

-------------------------------*/
/* ## フォーム要素の初期化 */
.c-cf7
  :where(
    input:where(
      [type="text"],
      [type="email"],
      [type="tel"],
      [type="number"],
      [type="url"],
      [type="search"],
      [type="password"],
      [type="button"],
      [type="submit"],
      [type="checkbox"],
      [type="date"]
    ),
    button,
    textarea,
    select
  ) {
  color: var(--black);
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  line-height: inherit;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  appearance: none;
  width: 100%;
  height: 100%;
}
.c-cf7
  :where(
    input:where(
      [type="text"],
      [type="email"],
      [type="tel"],
      [type="number"],
      [type="url"],
      [type="search"],
      [type="password"],
      [type="date"]
    ),
    button,
    textarea,
    select
  ) {
  padding: 8px;
}

/* ## button */
.c-cf7 :where(input[type="button"], input[type="submit"]) {
  cursor: pointer;
}

/* ## radio */
.c-cf7 input[type="radio"] {
  appearance: none;
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid var(--black);
  border-radius: 100vmax;
  background: var(--white);
  vertical-align: middle;
}
.c-cf7 input[type="radio"]:checked:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  inset: 0;
  margin: auto;
  border-radius: 100vmax;
  background: var(--black);
}

/* ## checkbox */
.c-cf7 input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  background: var(--white);
}
.c-cf7 input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  transform: rotate(50deg);
  width: 7px;
  height: 10px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.c-cf7 .wpcf7-list-item label {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.c-cf7 .wpcf7-list-item-label {
  flex: 1;
}

/* ## select */
.c-cf7 select {
  cursor: pointer;
}
.c-cf7 :has(> select) {
  position: relative;
  width: fit-content;
}
.c-cf7 :has(> select)::before {
  position: absolute;
  content: "";
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  top: 0;
  bottom: 0;
  right: 8px;
  margin: auto;
  rotate: 45deg;
  width: 8px;
  height: 8px;
}

/* ## date */
.c-cf7 input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/*-------------------------------

# cf7

-------------------------------*/
.wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}
.wpcf7-spinner {
  position: absolute !important;
}
.wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7-turnstile {
  margin: 0 auto;
  width: fit-content;
}
:where(.wpcf7-checkbox, .wpcf7-radio) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
:where(.wpcf7-checkbox, .wpcf7-radio, .wpcf7-acceptance) label {
  cursor: pointer;
}
.wpcf7-list-item-label {
  vertical-align: middle;
}
.c-cf7__wrap--confirm {
  display: none;
}
.c-cf7__txt {
  position: relative;
}
.c-cf7__wrap--confirm .c-cf7__txt {
  width: fit-content;
}
.c-cf7__btn {
  display: block;
  text-align: center;
}
.c-cf7__btn-wrap {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  width: fit-content;
}
.c-cf7__wrap--confirm .c-cf7__item--acceptance span {
  display: block;
}
