@charset "utf-8";

body {
  font-family: "Noto Sans JP",sans-serif;
  margin: 0 auto;
  background-color: #F2EEE7;
  color: #483F3F;
}

.header {
    align-items: center;
    padding: 40px 0; /* ← 左右の余白を消す */
    width: 100%;
    margin: 0 auto;
    position: fixed;
} 

.header2 {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 4%;
    align-items: center;
}

.logo {
    width: 155px;
    margin: 20px;
}

.nav1 {
    display: flex;
    align-content: center;
}

.nav2 {
    display: flex;
    align-items: center;
    margin: 20px;
    margin-top: 35px;
    padding-right: 30px;
}

.contact {
    display: flex;
    margin-top: 20px;
    background-color: #888787;
    padding: 13px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 22px;
    align-items: center;
    justify-content: center;
}

/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

.drawer_open {
  position: absolute;
  width: 50px;   /* ← クリック範囲 */
  height: 50px;  /* ← クリック範囲 */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100vh;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
  transition: .5s;
  text-align: center;
  padding-top: 120px;
  font-family: "Montserrat", sans-serif;
  display: flex;
  justify-content: center;
  line-height: 1.9;
}

/* メニュー黒ポチを消す */
.nav_list {
  text-decoration: none;
  border-radius: 10px;
  width: 190px;
  height: 250px;
  background-color: #f5f2ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}


.nav_item a {
  color: #483F3F;
  text-decoration: none;
  font-size: 20px;
}

.nav_item a:hover{
  color: #483f3f67;
  font-size: 20px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */
}

section {
    padding: 0 4%;
    padding-top: 180px;
}

.contact2 {
    display: flex;
    max-width: 900px;
    align-items: center;
    font-size: 40px;
    border-bottom: 1px solid #483F3F;
    padding: 4px 4px;
    margin: 0 auto;
    padding-left: 37px;
    padding-bottom: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.contact-contents {
    display: flex;
    gap: 65px;
    padding-top: 80px;
    font-size: 16px;
}

.contact-contents-top {
    text-align: left;
    margin: 0 auto;
}

.header-list_parts {
    color: #215BE5;
}

.service-contents-top img {
    width: 647px;
    display: block;
    margin: 0 auto;
}

.service-contents2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-contents2 p {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    padding: 7px 0 44px 0;
}

/* フォーム全体のスタイル */
form {
    padding: 10px;
    width: 90%;
    max-width: 400px;
    margin: auto;
    text-align: left;
    margin-top: 50px;
    padding-bottom: 30px;
    gap: 30px;
}


.must {
    color: tomato;
    padding: 5px;
}

/* ラベルのスタイル */
.form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
   
}

/* 入力欄のスタイル */
input, textarea {
    width: 100%; /* box-sizingが適用されるので、paddingやborder込みで100%に収まる */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 16px;
}

/* テキストエリアの高さを調整 */
textarea {
    resize: vertical;
    height: 80px;
}

/* 送信ボタンのスタイル */
button {
    background-color: #483F3F;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ホバー時のボタンスタイル */
button:hover {
    background-color: #2A2424;
}

.faq img{
  display: flex;
  width: 74px;
  margin: 0 auto;
  margin-top: 50px;
}

.faq p{
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    padding: 7px 0 44px 0;
}

.faq-contents{
  margin: 0 auto;
  width: 45%;
  padding: 25px;
  background-color: #d9d9d95a;
  border-radius: 10px;
}

.faq-item1 {
  display: flex;
  margin: 0 auto;
  padding-bottom: 15px;
}

.faq-item2 {
  display: flex;
  margin: 0 auto;
}

.faq-item1 img{
  width: 46px;
  height: 46px;
  margin-left: 20px;
  margin-top: 2px;
}

.faq-item2 img{
  width: 46px;
  height: 46px;
  margin-left: 20px;
  margin-top: 2px;
}

.faq-item-q{
  font-size: 16px;
  margin-left: 30px;
  margin-top: 10px;
}

.faq-item-a{
  font-size: 16px;
  margin-left: 30px;
  line-height: 1.6;
}

.footer {
  background: #215BE5; 
  height: 70px;  
  font-size: 9px;
  margin-top: 70px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  color:#fff;
}




@media (max-width: 990px) {

/* ヘッダー部分 */

.contact {  
    padding: 13px 23px;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  height: 3px;
  width: 25px;
}

.drawer_open span:before {
  bottom: 8px;
}

.drawer_open span:after {
  top: 8px;
}

/* ページタイトル部分 */

.contact2 {
    max-width: 800px;
}

/* コンテンツ部分 */

.faq-contents{
  width: 70%;
}

.contact-contents-top {
  max-width: 70%;
}

}

@media screen and (max-width: 559px) {

/* ヘッダー部分 */

.header {
    padding: 10px 0;
} 


.nav1 {
    display: flex;
    align-content: center;
    margin-left: auto;
}

.contact {  
    padding: 10px 15px;
    font-size: 10px;

}

.logo {
  width: 120px;
  margin: 20px;
}

.drawer_open {
  position: absolute;
  width: 50px;   /* ← クリック範囲 */
  height: 50px;  /* ← クリック範囲 */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

.nav_list {
  width: 160px;
  height: 200px;
}

.nav_item a {
  font-size: 16px;
}

.nav2 {
    display: flex;
    align-items: center;
    margin: 20px;
    margin-top: 35px;
    padding-right: 30px;
    margin-left: 5px;
}

/* ページタイトル部分 */

section {
    padding: 0 4%;
    padding-top: 130px;
}

.contact2 {
    max-width: 350px;
    font-size: 29px;
}

/* コンテンツ部分 */

section {
  font-size: 13px;
}

.form {
  max-width: 350px;
}

.contact-contents-top {
  max-width: 300px;
  font-size: 13px;
}

.faq p{
  font-size: 19px;
}

.faq-contents {
  max-width: 350px;
  width: 90%;
  font-size: 13px;
}

.faq-item-q , .faq-item-a {
  font-size: 13px;
}

.faq-item-q{
  margin-top: 0px;
}



}