@charset "utf-8";

/* PC・SP：home.css
 * **************************************************
 * Content
 * **************************************************
 */

/*
 * ======================================
 * PC
 * ======================================
 */

 *,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (max-width: 1024px) {
	.inner {
        width: 100%;
        margin: 0 auto; 
        padding: 0 24px ;
    }
}

@media print, screen and (min-width: 641px) {
    body {
        position: relative;
        min-width: unset !important;
    }
}

 /* animation
------------------------------------------------------------------ */

#mainvisual, #animated-text, #header, #inquiry_form {
  opacity: 0;
	transition: opacity 1s ease-in-out;
}

@keyframes reveal {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideUp {
	from {
	  opacity: 0;
	  transform: translateY(50px); 
	}
	to {
	  opacity: 1;
	  transform: translateY(0);
	}
}
  
.scroll-effect {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-effect.visible {
	opacity: 1;
	transform: translateY(0);
	animation: slideUp 1s ease-out forwards;
}


/* Content
------------------------------------------------------------------ */

#content {
	margin: 0;
	padding: 0;
	font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Meiryo', sans-serif;
	transition: width 0.3s ease;
}

/* header */
#header {
	border-top: none !important;
    left: 0;
    width: 100%;
	height: 124px;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

#header .inner {
	width: 94%;
	display: flex;
  justify-content: space-between;
	align-items: center;
}

@media (max-width: 1024px) {
	#header .inner {
        width: 100%;
    }
}

#header .logo {
	position: relative;
	top: 28px;
	left: 0;
	text-align: left;
    width: 36%;
}

#header .logo .image {
	height: 42px;
	width: auto;
	transition: transform 0.3s ease; 
}

#header .logo p {
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 3%;
	opacity: 1;
	transition: opacity 0.3s ease; 
}

#header .inquiry {
	position: relative;
	top: 28px;
    width: 18.4%;
}

#header .inquiry a {
  display: flex; 
  justify-content: center;
  align-items: center; 
  gap: 8px; 
  background-color: #E8CA41; 
  color: black; 
  padding: 14px 28px; 
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.2em; 
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Meiryo', sans-serif;
  text-decoration: none; 
  border-radius: 50px; 
  transition: transform 0.3s ease;
}

#header .inquiry a:hover {
  background-color: rgba(232, 202, 65, 0.7); 
}

#header .inquiry img {
	height: 16px;
	width: auto;
}


/* mainvisual */
#mainvisual {
  position: relative;
  width: 100%;
  height: 240px;
  background-image: url('../images/bg.jpg');
  background-size: cover; 
  background-position: 0% 95%; 
  background-repeat: no-repeat;
}

#mainvisual::before {
	content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

#mainvisual h1 {
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
	letter-spacing: 0.5em;
  color: white;
  text-align: center;
	line-height: 1.8;
	white-space: nowrap;
	word-wrap: break-word;
	font-weight: normal;
	z-index: 2; 
}

/* mv */
#mv {
    position: relative;
    width: 100%;
    height: 240px;
    background-image: url('../images/bg.jpg');
    background-size: cover; 
    background-position: 0% 95%; 
    background-repeat: no-repeat;
  }
  
  #mv::before {
      content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
  }
  
  #mv h1 {
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
      letter-spacing: 0.5em;
    color: white;
    text-align: center;
      line-height: 1.8;
      white-space: nowrap;
      word-wrap: break-word;
      font-weight: normal;
      z-index: 2; 
  }

  #mv_header {
    margin: 26px 0px;
  }

  #mv_header .mv_image {
    display: block;
    text-align: center;
    margin: 0 auto;
    height: 42px;
	width: auto;
    top: 28px;
}

/* contact */

#contact {
	margin: 0 auto;
    padding: 0;
    position: relative;
    max-width: 1000px;
	width: 100%;
	margin-top: 8%;
    margin-bottom: 8%;
    font-size: 1.6rem;
    letter-spacing: 0.2em; 
}

#contact p {
    font-size: 1.6rem;
    letter-spacing: 0.2em; 
}

#contact table {
    width: 100%;
}

#contact.formConfirm table {
    margin-top: 40px;
    font-size: 1.6rem;
}

#contact table tr th,
#contact table tr td {
    padding: 15px 0;
    text-align: left;
    line-height: 1.6;
}

#contact table tr th {
    position: relative;
    width: 235px;
    line-height: 1.6;
    font-weight: normal;
    letter-spacing: 0.2em; 
}

#contact.formConfirm table tr th {
    line-height: 1.6;
}

#contact table tr th .require {
    background-color: #CB0000;
    border-radius: 10px;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    position: absolute;
    top: 32px;
    right: 38px;
}

#contact table tr td small {
    display: block;
    font-size: 1.2rem;
    margin: 10px 0 0 0;
}

#contact input[type="text"] {
    background-color: #EFEFEF;
    border: none;
    display: inline-block;
    height: 55px;
    outline: none;
    padding: 0 1em;
    width: 100%;
}

#contact input[type="text"]+input[type="text"] {
    margin-top: 15px;
}

#contact input[type="text"].zip {
    margin: 0 10px;
    width: 190px;
}

#contact input[type="checkbox"],
#contact input[type="radio"] {
    display: none;
}

#contact label {
    cursor: pointer;
    display: inline-block;
}

#contact .checkbox,
#contact .radio {
    margin: 14px 6px;
    padding: 0 20px 0 46px;
    position: relative;
}

#contact .checkboxTxt::before,
#contact .radioTxt::before {
    background-color: #EFEFEF;
    content: "";
    display: block;
    height: 38px;
    margin-top: -19px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 38px;
}

#contact .radioTxt::before {
    border-radius: 100%;
}

#contact input[type="checkbox"]:checked+.checkboxTxt::after,
#contact input[type="radio"]:checked+.radioTxt::after {
    content: "";
    display: block;
    position: absolute;
}

#contact input[type="checkbox"]:checked+.checkboxTxt::after {
    border-bottom: 2px solid #333333;
    border-right: 2px solid #333333;
    height: 15px;
    margin-top: -11px;
    top: 50%;
    left: 13px;
    width: 10px;
    transform: rotate(40deg);
}

#contact input[type="radio"]:checked+.radioTxt::after {
    background-color: #333333;
    border-radius: 100%;
    height: 20px;
    margin-top: -10px;
    top: 50%;
    left: 9px;
    width: 20px;
}

#contact textarea {
    background-color: #EFEFEF;
    border: none;
    height: 250px;
    line-height: 1.6;
    outline: none;
    padding: 0.5em 1em;
    width: 100%;
}

#contact ::placeholder {
    color: #989898;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Meiryo', sans-serif;
    letter-spacing: 0.2em; 
}

#contact .privacy {
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
    margin: 60px 0;
    padding: 24px 32px;
}

#contact .privacy dl dd {
    line-height: 2;
    margin: 15px 0 0 0;
}

#contact .privacy dl dd a {
    text-decoration: underline;
}

#contact .agreement {
    text-align: center;
}

#contact .button {
    margin: 70px 0 0 0;
    text-align: center;
}

#contact.formConfirm .button form {
    display: inline-block;
}

#contact .button input[type="submit"] {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Meiryo', sans-serif;
    letter-spacing: 0.2em; 
    background-color: #D12A03;
    border: none;
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    transition: .3s;
    width: 400px;
}

#contact.formConfirm .button input[value="入力画面に戻る"] {
    background-color: #EFEFEF;
    color: inherit;
}

#contact .button input[type="submit"]:hover {
    opacity: 0.7;
}

#contact .errorMessage {
    border: 1px solid #CB0000;
    font-size: 1.6rem;
    color: #CB0000;
    padding: 24px 32px;
    margin: 0 0 25px;
}

#contact .errorMessage p {
    font-size: 1.6rem;
}

#contact .error {
    color: #CB0000;
    font-size: 1.6rem;
    margin: 10px 0 0 0;
}

#contact .error+.error {
    margin-top: 0;
}

	/* contentsBtm */

#contentBtm {
border-top: 0px ; 
margin: 0em 0 0 0; 
padding: 1.7em 0 2.7em;
}

#contentBtm .wp_social_bookmarking_light {
	display: none;
}

/* footer */
#footer .inner {
	max-width: 1000px;
	width: 100%;
}

#footer>p {
border-bottom: 1px solid #9E9E9F;
color: #DBDCDC;
font-size: 1.2rem;
padding: 1.8em 0;
text-align: center;
}

#footer .inner>p {
display: none;
} 



/*
 * ======================================
 * SP
 * ======================================
 */

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

	/* Content
------------------------------------------------------------------ */
#content .button a {
	font-size: 1.4rem;
	letter-spacing: 0.12em; 
}

/* header */
	#header {
	height: auto;
	padding: 12px 0px;
	}
	
	#header .logo {
		top: 0;
		left: 0;
		text-align: center;
		margin: 0 auto;
        width: 100%;
	}
	
	#header .logo .image {
		height: 24px;
	}
	
	#header .logo p {
		display: block;
		font-size: 7px;
		font-weight: normal;
		margin-bottom: 2%;
	}
	
	#header .inquiry {
		display: none;
	}

/* mainvisual */
#mainvisual {
    height: 120px;
}

#mainvisual h1 {
    font-size: 16px;
}

/* mv */
#mv {
    height: 120px;
  }
  
  #mv h1 {
    font-size: 16px;
  }

  #mv_header .mv_image {
    height: 24px;
}


/* contact */
#contact.formConfirm table {
	margin-top: 20px;
}

#contact table tr th,
#contact table tr td {
	display: block;
	padding: 15px 0;
}

#contact table tr th {
	line-height: 1;
	width: 100%;
}

#contact table tr th br {
    display: none;
}

#contact table tr th .require {
	top: 15px;
	right: 0;
}

#contact table tr td {
	padding-top: 0;
}

#contact textarea {
	height: 200px;
}

#contact .privacy {
	margin: 30px 0;
	padding: 30px 5px 24px;
}

#contact .button {
	margin-top: 35px;
}

#contact.formConfirm .button form {
	display: block;
}

#contact .button input[type="submit"] {
	width: 100%;
}

/* footer */

#footer>p {
	padding: 24px;
	}

}