body {
  font-family: 'Noto Sans JP', 'Lato', sans-serif;
}

@charset "utf-8";

/* ============================
otayori.css　もくじ
-------------------------------
1. ブレイクポイント
2. メインビジュアル
3. ベース
4. フォームレイアウト・調整
5. ボタン・送信部分
============================== */

/* ===========================
1. ブレイクポイント
============================== */
@media screen and (min-width: 30em) { /* 480px */ }
@media screen and (min-width: 40em) { /* 640px */ }
@media screen and (min-width: 48em) { /* 768px：PC用 */ }
@media screen and (min-width: 64em) { /* 1024px */ }
@media screen and (min-width: 80em) { /* 1280px */ }

/* ===========================
2. メインビジュアル
============================== */
#main_visual {
	background-image: url(../img/main-visual/mv_otayori.jpg);
}

/* ===========================
3. ベース
============================== */

.block_layer01{
  padding-bottom: 50px;
}

.block_layer01 h2.title{
  margin: 1.5em 0 0;
  text-align: left;
}

.block_layer01 p.copy{
  margin-bottom: 1em;
}

@media screen and (min-width: 48em) { 
    .block_layer01{
      padding-bottom: 0;
    }
  
    .block_layer01 p{
      line-height: 1.7;
    }
}

.txtright{
  text-align: right;
}

#privacypolicytxt {
  margin: 2rem auto 0;
  padding: 0 20px;
  max-width: 800px;
}

#frame {
  margin: 1rem auto;
  padding: 3rem 1.5rem;
  border: 1px solid var(--color-light-gray);
  height: 200px;
  overflow-y: auto;
  border-radius: 4px;
  box-sizing: border-box;
}

.otayori .content_wrapper,
.thanks .content_wrapper {
  min-height: 75dvh;
  padding-top: 50px;
}

.otayori .content_wrapper > p,
.thanks .content_wrapper > p {
  margin-top: 1rem;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
  max-width: var(--inner-max-content-width);
  text-align: center;
}

.thanks .content_wrapper p{
  font-size: 16px;
  text-align: left;
}

@media screen and (min-width: 48em) {
  .thanks .content_wrapper p {
    text-align: center;
  }
}

.thanks h4{
  margin-bottom: 1em;
}
.thanks p{
  line-height: 2;
}

.policy_concent_box {
  width: 100%;
  margin: 1.5rem auto;
  text-align: center;
}

.p_policy_open{
  text-align: left;
}

.p_policy_open span {
  font-size: 0.8rem;
  color: #666;
}

p.error_messe{
  color: #f00;
}

/* ===========================
4. フォームレイアウト・調整
============================== */
#form {
  margin: 0 auto ;
  width: 100%;
  max-width: 700px;
}

#form label {
  display: block;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

#form label .required {
  color: red;
  margin-left: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: 400;
  color: #000 !important;
  cursor: pointer;
}

input[type=checkbox],
input[type=radio] {
  transform: scale(1.5);
  margin-right: 5px;
  cursor: pointer;
  padding: 0 0.7em 0.7em 0.5em;
  margin-top: 0.3em;
  flex-shrink: 0;
}

@media screen and (min-width: 48em) { 
  input[type=checkbox],
  input[type=radio] {
    padding: 0 0.7em 0.5em 4em;
  }
}

textarea::placeholder {
  color: #999;
}

#form label + input,
#form label + select,
#form label + textarea,
#form label + .listbox,
#form label + .checkbox {
  margin-bottom: 1.5rem;
}

#form .listbox label,
#form .checkbox label {
  display: flex;
  align-items: flex-start;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.checkbox span:first-of-type:hover{
  cursor: pointer;
}

#form label + .listbox span,
#form label + .checkbox span{
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
  padding-left: 0.5em;
}

.pulldownbox {
  position: relative;
  width: 100%;
}

.pulldown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background-color: #fff;
  line-height: 1.4;
  padding: 4px 8px !important;
  cursor: pointer;
  color: #000 !important;
}

.pulldownbox::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(-50%);
  pointer-events: none;
}


/* ===========================
5. ボタン・送信部分
============================== */

.submit-button {
  display: block;
  width: 200px;
  margin: 2.5em auto;
  padding: 0.75em 1.5em 0.875em;
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid #F08301;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover,
.submit-button:focus {
  background-color: transparent;
  border: 1px solid #F08301;
  color: #F08301;
  background-image: none;
}

.submit-button:active {
  color: #fff;
  box-shadow: none;
}

.formTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.formTable th,
.formTable td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem;
  border: 1px solid #ddd;
  word-wrap: break-word;
}

.formTable th {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: 600;
}

.formTable td {
  width: 70%;
}

#formWrap .btn_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

#formWrap .btn_box .submit-button {
  display: inline-block;
  width: auto;
  margin: 0;
  min-width: 160px;
  padding: 1em 2em;
}
