@charset "UTF-8";
/* -------------------------
   TITLE
------------------------- */
#firstitle {
  background: url("../images/contact/title-main.jpg") no-repeat center center;
  background-size: cover;}
@media screen and (max-width: 768px) {
  #firstitle { background-position: right center;}}

/* -------------------------
   GREETING
------------------------- */
#greeting {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(to bottom,color-mix(in srgb, var(--color-sub) 20%, transparent 20%),#f5f5f5);}
#greeting .absolute { color: color-mix(in srgb, var(--color-white) 35%, transparent);}
#greeting::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/common/noise.png");
  background-repeat: repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 2;}
#greeting .contents {
  position: relative;
  z-index: 2;}
#greeting h1 { margin-bottom: 24px;}
#greeting .flex {
  gap:32px;
  display: flex;}
#greeting .flex .textbox { width: 100%;}
#greeting .flex .telbox {
  padding: 30px 65px;
  text-align: center;
  width: 100%;
  background: #fff;}
#greeting .flex .telbox img {
  margin-right: 8px;
  display: inline-block;}
#greeting .flex .telbox .txs-42 {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-main);}
@media screen and (max-width: 1080px) {
  #greeting .flex { flex-wrap: wrap;}}
@media screen and (max-width: 768px) {
  #greeting { padding: 56px 0;}
  #greeting h1 { margin-bottom: 16px;}
  #greeting .textbox p { font-size: 14px;}
  #greeting .flex .telbox { padding: 12px;}
  #greeting .flex .telbox img { width: 45px;margin-bottom: 4px;vertical-align: middle;}
  #greeting .flex .telbox .txs-42 { margin-bottom: 8px;}}

/* -------------------------
   CONTACT
------------------------- */
#contact {
  background: #fff;
  padding: 80px 0;}
#contact h1 { margin-bottom: 48px;}
#contact .line {
  padding: 44px 0;
  gap:10px 40px;
  justify-content: space-between;
  border-top: 1px solid #999;
  display: flex;}
#contact .line.bnone { border: none;}
#contact .title {
  display: flex;
  gap: 0 20px;}
#contact .con { width: 800px;}
#contact .line .rec {
  margin-top: 4px;
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  height: 27px;
  display: block;
  line-height: 27px;
  width: 50px;
  font-size: 14px;
  border-radius: 5px;}
#contact input[type="text"], #contact textarea, #contact input[type="email"], #contact input[type="tel"] {
  background: #F2F6F9;
  border-radius: 10px;
  border: 1px solid var(--color-main);
  font-size: 18px;
  height: 50px;
  width: 100%;
  padding: 0 0.5em;}
#contact textarea {
  height: 160px;
  padding: 0.5em 0.5em;
  width: 100%;}
#contact input[type=checkbox] { display: none;}
#contact input[type=checkbox]:checked + .wpcf7-list-item-label::after { opacity: 1 !important;}
#contact span.wpcf7-list-item-label {
  position: relative;
  display: block;
  margin: 0 20px 10px 0;
  padding: 0 0 0 40px;
  font-size: 18px;
  color: #000;
  line-height: 1;
  height: 24px;
  vertical-align: middle;
  cursor: pointer;}
#contact .mwform-checkbox-field { margin: 0;}
#contact .wpcf7-list-item-label::before {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  content: '';
  border: 1px solid #F2F6F9;
  background: #F2F6F9;}
#contact .wpcf7-list-item-label::after {
  position: absolute;
  top: 7px;
  left: 7px;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--color-main);
  content: '';
  opacity: 0;}
#contact .wpcf7-list-item { display: block;}
#contact input[type=submit] {
  margin: 0 auto;
  display: block;
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  text-align: center;
  font-weight: 600;
  height: 64px;
  color:var(--color-white);
  background: var(--color-accent);
  border: 0;
  box-shadow: 0 3px 5px #ccc;}
@media screen and (max-width: 1280px) {
  #contact .title { width: 30%;}
  #contact .con { width: 70%;}}
@media screen and (max-width: 768px) {
  #contact { padding: 56px 0;}
  #contact .line { flex-wrap: wrap; padding: 32px 0;}
  #contact .title { width: 100%;}
  #contact .con { width: 100%;}
  #contact .title { gap:0 10px;}
  #contact .line .rec { width: 45px;height: 24px;line-height: 24px;font-size: 12px;}
  #contact p.memo { margin-top: 8px;font-size: 14px;}
  #contact span.wpcf7-list-item-label { padding-top: 4px;font-size: 16px;}}