@charset "UTF-8";

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

共通css

-------------------------------------------------------------------------*/
:root {
  /* フォント */
  --font-sans: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-mincho: "Zen Old Mincho", serif;
  --font-fv-text: "Shippori Mincho", serif;
  /* カラーコード */
  --color-main: #3572b7;
  --color-sub: #1e4067;
  --color-text: #333333;
}

html {
  font-size: 10px;
}

@media (max-width: 350px) {
  html {
    font-size: calc(100vw / 35);
  }
}

@media (min-width: 1440px) {
  html {
    font-size: calc(100vw / 144);
  }
}

body {
  font-family: var(--font-mincho);
  min-height: 100vh;
  /* 10px × 1.6rem = 16px */
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0em;
  color: var(--color-text);
  background-image: url("../img/bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
  cursor: pointer;
}

/* 電話番号の自動リンク無効化（Chrome対策） */
a[href^="tel"] {
  text-decoration: none;
  color: inherit;
  pointer-events: none;
  cursor: default;
}

button {
  all: unset;
  display: inline-block;
  cursor: pointer;
}

input,
textarea,
select,
button {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  color: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

select {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
}

/* スクリーンリーダー用の非表示クラス */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* fieldset / legend のデフォルトスタイルをリセット */
.contact-form-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0; /* flex/grid 内のはみ出し対策 */
}

.contact-form-fieldset legend {
  margin: 0;
  padding: 0;
  width: 100%; /* 必要なら */
}
/*-------------------------------------------------------------------------

共通パーツ

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

/* ボタン */
.c-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  width: 100%;
  height: 6rem;
  background-color: var(--color-main);
  color: #ffffff;
  padding: 0 2rem;
  border-radius: 999.9rem;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .c-button:hover {
    opacity: 0.8;
  }
}

/* チェックボックス */
.c-checkbox {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #999999;
  border-radius: 0.4rem;
  background-color: #ffffff;
  transition:
    background-color 0.2s ease,
    outline-color 0.2s ease;
  cursor: pointer;
  margin-top: 0.3rem;
}

.c-checkbox:checked {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.c-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 41%;
  left: 50%;
  width: 1rem;
  height: 0.7rem;
  border-left: 0.2rem solid #ffffff;
  border-bottom: 0.2rem solid #ffffff;
  transform: translate(-50%, -41%) rotate(-45deg);
}

.c-checkbox:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer {
  font-family: var(--font-sans);
  padding-bottom: 1.8rem;
  text-align: center;
  font-size: 1.2rem;
  color: #4e4e4e;
}
