@charset "utf-8";
/* =====header===== */
.nav__item2 a,
.nav__item3 a,
.nav__item1 a,
.nav__item4 a{
  transition: background-color 0.3s; 
}
.nav__item2 a:hover,
.nav__item3 a:hover,
.nav__item1 a:hover,
.nav__item4 a:hover{
  color: rgba(255, 165, 0, 0.2); 
}
/* 769以上 */
@media screen and (min-width:769px){
  .nav__item2 a,
  .nav__item3 a,
  .nav__item1 a,
  .nav__item4 a{
    text-align: center;
  }
  /* .nav__item4{
      background-color: var(--primary-orange);
      border-radius: 30px;
      text-align: center;
      width: 100%;
      padding: 5px 10px;
      margin: 0px;
  } */
  /* .nav__item4 a{
    color: white;
  } */
  .nav__item2,
  .nav__item3,
  .nav__item1,
  .nav__item4{
    width: 100%;
    margin: 0px;
  }
  .nav__item2 a,
  .nav__item3 a,
  .nav__item1 a,
  .nav__item4 a{
    display: block; /* ホバー範囲をリンク全体に広げる */
    /* padding: 2px 5px; */
    border-radius: 30px; /* 丸みを少しつけたい場合 */
    transition: background-color 0.3s; /* アニメーション */
    text-align: start;
  }
  .nav__item2 a:hover,
  .nav__item3 a:hover,
  .nav__item1 a:hover,
  .nav__item4 a:hover{
    background-color: rgba(255, 165, 0, 0.2); /* オレンジ系の薄い背景 */
    color: white;
  }
}

.header__background{
  background-image: url(../img/item/contact__top.webp);
  width: 100vw;
  height: 149px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -60px;
  position: relative;
  z-index: -1;
}
.header__title{
  font-size: 2.4rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
}
.header__titleen{
  font-size: 4.8rem;
  font-weight: bold;
  color: var(--primary-orange);
  opacity: 0.5;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  position: absolute;
}
/* ３７５以下 */
@media screen and (max-width:374px){
  .header__title{
      font-size: 2.0rem;
  }
  .header__titleen{
      font-size: 4.0rem;
  }
}
/* 769以上 */
@media screen and (min-width:769px){
  .header__background{
      margin-top: -84px;
      width: 100vw;
      height: 431px;
  }
  .header__title{
      font-size: 4rem;
  }
  .header__titleen{
      font-size: 12.8rem;
  }
}

/* =====
contact
===== */
#formWrap {
    /* width:76.3%; */
    margin:0 auto;
    color:#555;
    line-height:150%;
    font-size:1.6rem;
  }

table.formTable {
  border-collapse: separate;
  border-spacing: 0 30px; /* 横方向: 0px、縦方向: 30px */
  border-radius: 5px;
  margin: 0 var(--primary-margin140pxpc)
} 

table.formTable tr td:last-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
table.formTable tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}


table.formTable th{
  width:31.8%;
  vertical-align: middle;
  position: relative;
}

th .must,
th .any{
  color: #fff;
  background-color: #eb5757;
  border-radius: 5px;
  font-size: 1.6rem;
  padding: 5px;
  position: absolute;
  left: 66%;
}

th .any{
  background-color: #bbbaba;
}

.group--checkbox{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fff;
}

.check{
  padding: 20px 10px;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #fff;
  margin-right: 10px;
}

input[type="checkbox"]:checked {
  position: relative;
  border: 1px solid var(--primary-orange);
}

input[type="checkbox"]:checked::after {
  display: inline-block;
  content: '';
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--primary-orange);
  border-bottom: 2px solid var(--primary-orange);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.text,
table.formTable td textarea{
  background-color: #e5e5e5;
  width: 100%;
  height: 64px;
  border-radius: 10px;
}

table.formTable td textarea{
  height: 343px;
  padding: 20px 10px;
}

input[type="text"]:focus,
textarea:focus{
  outline: solid 1px var(--primary-orange);
}

input[type="text"],
table.formTable td textarea{
  padding-left: 10px;
}

input::placeholder{
  color: #bbbaba;
}

.br__1024{
  display: none;
}

input[type="submit"],
input[type="reset"]{
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e5e5e5;
  height: 56px;
  width: 20%;
  padding: 20px 0px;
  border-radius: 10px;
}

.check{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.atention{
  font-size: 1.6rem;
  padding: 20px var(--primary-margin140pxpc);
}
input[type="submit"]:hover{
  background-color: var(--primary-orange); 
  color: #fff;             
}
input[type="reset"]:hover{
  background-color: #555555; 
  color: #fff;
}

@media screen and (max-width:1024px){
  table.formTable{
    font-size: 1.4rem;
    margin: 0px;
    padding: 0px var(--primary-margin25pxsp);
  }
  table.formTable tr {
    margin-top: 30px;
    position: relative;
  }
  table.formTable tr:first-child{
    margin-top: 0px;
  }
  table.formTable th{
    margin-bottom: 8px;
  }
  th .must,
  th .any{
    font-size: 1.4rem;
    position: absolute;
    top: 0px;
    width: 38px;
    line-height: 1;
  }
  th .must--1{
    left: 132px;
  }
  th .must--2,
  th .any--2{
    left: 62px;
  }
  th .must--3{
    left: 76px;
  }
  th .must--4{
    left: 122px;
  }
  th .any--3{
    left: 132px;
  }
  /* table.formTable th{
    width: 25%;
    position: relative;
  } */

  .check {
    gap: 5px;
    padding: 0px;
  }
  .group--checkbox {
    gap: 8px;
  }
  input[type="text"],
  table.formTable td textarea{
    width: 86.67vw;
  }
  table.formTable,
  table.formTable tr {
    display: block;
    width: 100%;
  }

  table.formTable th,
  table.formTable td {
    display: block;
    width: 100%;
  }
  input[type="submit"],
  input[type="reset"]{
    font-size: 1.4rem;
    height: auto;
    padding: 5px 0px;
    border-radius: 10px;
  }
  .atention{
    font-size: 1.2rem;
    padding: 15px var(--primary-margin25pxsp) 30px;
  }
  

  /* #formWrap {
    width:80.5%;
  } */

  /* th .must{
    position: absolute;
    left: auto;
    right: 10px;
  } */

  .br__1024{
    display: block;
  }

  /* table.formTable{
    margin: 0 var(--primary-margin25pxsp);
  } */
}


  /* table.formTable{
    width:100%;
    margin:0 auto;
    border-collapse:collapse;
  }
  table.formTable td,table.formTable th{
    border:1px solid #ccc;
    padding:10px;
  }
  table.formTable th{
    width:30%;
    font-weight:normal;
    background:#efefef;
    text-align:left;
  }
  /*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
/* @media screen and (max-width:572px) {
  #formWrap {
    width:95%;
    margin:0 auto;
  }
  table.formTable th, table.formTable td {
    width:auto;
    display:block;
  }
  table.formTable th {
    margin-top:5px;
    border-bottom:0;
  }
  form input[type="text"], form textarea {
    width:80%;
    padding:5px;
    font-size:110%;
    display:block;
  }
  form input[type="submit"], form input[type="reset"], form input[type="button"] {
    display:block;
    width:100%;
    height:40px;
  }
} */ 

/* ===== footer ===== */
.footer__item1 a,
.footer__item2 a,
.footer__item3 a,
.footer__item4 a{
  display: block; 
  padding: 2px 5px;
  border-radius: 30px; 
  transition: background-color 0.3s; 
}
.footer__item1 a:hover,
.footer__item2 a:hover,
.footer__item3 a:hover,
.footer__item4 a:hover{
  background-color: rgba(255, 165, 0, 0.2); 
}
.footer__list{
  top: 0px;
}