/*****************************
Theme Name: resegeオリジナルテーマ
Discription: resegeです。
Author: MOCA.Inc
******************************/

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body {
  margin: 0;
  /* font-family: 'Noto Serif JP', serif; */
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.2rem;
}
a {
  text-decoration: none;
}
.pc {
  display: block;
  height: 100%;
}
.sp {
  display: none !important;
}

.fadeIn1s {
  animation-name: fadeIn1s;
  animation-delay: 0.5s;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeIn1s {
  0% {
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.bottom0 {
  margin-bottom: 0 !important;
}
.bottom50 {
  margin-bottom: 50px !important;
}
.bottom100 {
  margin-bottom: 100px !important;
}

@media screen and (max-width: 767px) {
  .bottom100 {
    margin-bottom: 70px !important;
  }
}
/* --------------------------------------------
 * 　スクリプト用
 * -------------------------------------------- */

.fadein {
  opacity: 0;
  transform: translate(0px, 0px);
  transition: all 2000ms;
}
.fadein.scrollin {
  opacity: 1;
  transform: translate(0px, 0px);
}
.slideinleft {
  opacity: 1;
  transform: translate(-500px, 0px);
  transition: all 500ms;
}
.slideinleft.slidein {
  opacity: 1;
  transform: translate(0px, 0px);
}
.slideinleft1s {
  opacity: 1;
  transform: translate(-500px, 0px);
  transition: all 1000ms;
}
.slideinleft1s.slidein {
  opacity: 1;
  transform: translate(0px, 0px);
}
.slideinright {
  opacity: 1;
  transform: translate(500px, 0px);
  transition: all 500ms;
}
.slideinright.slidein {
  opacity: 1;
  transform: translate(0px, 0px);
}
.slideinright1s {
  opacity: 1;
  transform: translate(500px, 0px);
  transition: all 1000ms;
}
.slideinright1s.slidein {
  opacity: 1;
  transform: translate(0px, 0px);
}
.slideup {
  opacity: 1;
  transform: translate(0px, 100px);
  transition: all 500ms;
}
.slideup.slidein {
  opacity: 1;
  transform: translate(0px, 0px);
}

/* --------------------------------------------
 * 　 サブページ共通
 * -------------------------------------------- */
.subpage_logo {
  padding: 10px 40px 0;
}

.subpage_logo img {
  width: 20%;
  max-width: 200px;
}

@media screen and (max-width: 767px) {
  .subpage_logo {
    padding: 5px 0 0 14px;
  }

  .subpage_logo img {
    width: 35%;
    margin-bottom: 20px;
  }
}

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

/* --------------------------------------------
 * フォーム共通
 * -------------------------------------------- */
.form_wrap {
  max-width: 1010px;
  margin: 140px auto;
  background: linear-gradient(135deg, #f7f6f4 0%, #f2e7d6 100%);
  padding: 40px 60px 20px;
  border: solid 1px var(--main-color);
  border-radius: 5px;
}

button,
input,
optgroup,
select,
textarea {
  background: #fff;
}

.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
}

.cf7-horizontal .cf7-row {
  display: flex;
  margin-bottom: 23px;
}

.cf7-horizontal .cf7-label {
  width: 20%;
}

.cf7-horizontal .cf7-input {
  flex: 1; /* 入力欄を横に広げる */
}

.cf7-horizontal .cf7-input input.cf7-text,
.cf7-horizontal .cf7-input input.cf7-radio,
.cf7-horizontal .cf7-input input[type="number"],
.cf7-horizontal .cf7-input input[type="tel"],
.cf7-horizontal .cf7-input input[type="email"],
.cf7-horizontal .cf7-input textarea.cf7-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 1px 0px 6px 1px rgba(0, 0, 0, 0.05);
}

.wpcf7-list-item {
  display: inline-block;
  margin-right: 10px; /* チェックボックス・ラジオの間隔 */
}

.required-mark {
  color: #e34e37;
  margin-left: 2px;
}

.required {
  margin-bottom: 30px;
  font-size: 1.4rem;
}

.check {
  margin: 30px 0;
}

.check p {
  margin-bottom: 10px;
}

[type="submit"] {
  background: var(--main-color);
  padding: 6px 40px;
  border-radius: 5px;
  box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.3);
  color: #fff;
  margin: 35px auto 0;
  display: flex;
  transition: 0.3s all ease;
}

[type="submit"]:hover {
  color: var(--main-color);
  background: #fff;
}

@media screen and (max-width: 768px) {
  .form_wrap {
    margin: 50px auto;
    padding: 30px 20px 10px;
  }

  .wpcf7-list-item {
    margin: 0 0 0 0;
  }

  .cf7-horizontal .cf7-label {
    width: 100%;
  }

  .cf7-horizontal .cf7-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* --------------------------------------------
 * 　フッター
 * -------------------------------------------- */
footer {
  background: var(--light-bg);
  padding: 50px 0px;
  color: #404040;
  font-weight: 400;
}

footer .footer_wrap {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12%;
  padding: 0px 16px;
  align-items: end;
}

/* footer .footer_wrap .footer_logo {
  width: 50%;
}

footer .footer_wrap .footer_box {
  width: 50%;
} */

footer .footer_wrap .footer_box .footer_item_wrap {
  display: flex;
  font-size: 1.6rem;
  list-style: none;
  gap: 100px;
  padding-bottom: 20px;
  border-bottom: dotted 1px #404040;
  margin-bottom: 20px;
}

footer .footer_wrap .footer_box .footer_item_wrap .footer_item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .footer_wrap .footer_box .footer_menu_bottom {
  display: flex;
  font-size: 1.6rem;
  gap: 10px;
  justify-content: space-between;
}

footer .footer_wrap .footer_box .footer_menu_bottom ul {
  display: flex;
  gap: 10px;
}

footer .ct {
  margin-bottom: 20px;
  width: 289px;
  text-align: center;
}

.copyright{
	text-align: center;
}

/* .footer_wrap {
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}


.footer_logo {
	width: 30%;
}

.footer_item {
	display: flex;
	justify-content: center;
    gap: 20px;
}

.footer_item a {
	color: #fff;
	font-size: 2rem;
	margin-bottom: 10px;
	display: block;
	font-weight: 400;
}

.footer_item p {
	color: #fff;
	font-size: var(--font-size-sm);  
	letter-spacing: normal;
	margin-bottom: 30px;
	font-family: 'Inter', sans-serif;
	font-weight: 300;
}

.footer_bottom {
	color: #fff;
	font-size: 1.6rem;
	max-width: 1200px;
	margin: 20px auto 35px;
	display: flex;
	justify-content: flex-end;
	gap: 40px;
	align-items: center;
}

.footer_contact {
	background: #fff;
	font-weight: 400;
	color: var(--main-color);
	border-radius: 20px;
	border: solid 1px #fff;
	padding: 8px 20px;
	transition: 0.3s all ease;
}

.footer_contact:hover {
	background: var(--main-color);
	color: #fff;
	border: solid 1px #fff;
}

@media screen and (max-width: 767px) {


footer {
	padding: 250px 15px 100px 15px;
}

.footer_nav {
	flex-direction: column;
}

.footer_logo {
	width: 60%;
	margin-top: 20px;
	margin-bottom: 30px;
}

.footer_item {
	flex-direction: column;
	gap: 0px;
}

.footer_item p {
	font-size: 1.4rem;
	line-height: 1.8;
	margin-bottom: 20px;
}

.footer_item a {
	font-size: 1.6rem;
}

.footer_bottom {
	margin: 0px auto 35px;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.footer_map {
	width: 100%;
}

.footer_map iframe {
	width: 100%;
	height: 175px;
}
} */

/* 固定ボタン（FAB） */
.fab_button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  transition: transform 0.3s ease;
}

.fab_button:hover {
  transform: scale(1.1);
}

.fab_button a {
  display: block;
  text-decoration: none;
}

.fab_button img {
  width: 150px;
  height: auto;
  display: block;
}

@media screen and (max-width: 940px) {
	footer {
	  padding: 20px 0px;
	}
  
	footer .footer_wrap {
	  flex-direction: column;
	  gap: 50px;
	  align-items: center;
	}
  
	footer .footer_wrap .footer_box .footer_item_wrap {
	  flex-direction: column;
	  gap: 50px;
	  align-items: center;
	}
  
	footer .footer_wrap .footer_box .footer_item_wrap .footer_item {
	  text-align: center;
	}
  
	footer .footer_wrap .footer_box .footer_menu_bottom {
	  flex-direction: column;
	}
  

  }
  

@media screen and (max-width: 767px) {


  .fab_button {
    right: 15px;
    top: 495px;
  }

  .fab_button img {
    width: 100px;
  }
}
