@charset "UTF-8";

h2 span {
  color: #0e7478;
}

h3 span {
  color: #0e7478;
}

h4 span {
  color: #0e7478;
}

p span {
  color: #0e7478;
}

p.ligth span {
  color: #23a5aa;
}

header .top-bar {
  background: #333;
  height: 50px;
  color: #fff;
  position: fixed;
  padding: 15px 0;
  width: 100%;
  z-index: 2;
}

/* header .top-bar .top-title {
  text-align: center;
} */
/* header .top-bar ul {
  display: flex;
  position: absolute;
  top: 10px;
  right: 10px;
} */

header .top-bar ul li a {
  color: #fff;
}

header .top-bar ul li.company p {
  background-color: #555;
  border: 1px solid #e3d494;
  padding: 5px;
  border-radius: 10px 0 0 10px;
}

header .top-bar ul li.agent p {
  background-color: #555;
  border: 1px solid #e3d494;
  padding: 5px;
  border-radius: 0 10px 10px 0;
  transition: all 0.5s;
}

header .top-bar ul li.agent p:hover {
  background-color: #aa9123;
  transition: all 0.5s;
}

header .top-bar ul li.company p:hover {
  background-color: #aa9123;
  transition: all 0.5s;
}

#header .top-bar .hum .top,
#header .top-bar .hum .mid,
#header .top-bar .hum .bottom {
  background: #aa9123
}

#header .top-bar .hum .text {
  color: #aa9123;
}


#hero {
  position: relative;
}

#hero .hero-box {
  position: absolute;
  top: 16%;
  left: 1%;
}

#hero .hero-box img {
  width: 40vw;
  height: auto;
  object-position: center center;
}

#hero .sub-title-img {
  filter: brightness(70%);
  max-height: 500px;
  object-fit: cover;
  object-position: top;
}

#hero .sub-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: #fff;
}

#hero .sub-title h1 {
  text-align: center;
}

#hero .sub-title h1 span {
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
}

/* #hero .contact-link img.aichan {
  position: fixed;
  top: 10%;
  right: 1%;
  width: 15vw;
  z-index: 1;
}

#hero .contact-link img.coment {
  position: fixed;
  top: 10%;
  right: 12%;
  display: none;
  width: 13vw;
  z-index: 1;
  transition: all 0.5s;
}

#hero .contact-link a:hover img.coment {
  display: block;
  transition: all 0.5s;
} */

#hero .title-logo {
  position: absolute;
  bottom: 5%;
  right: 0;
}

#hero .title-logo img {
  width: 20vw;
}

/* nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  background-color: #333;
  height: 100px;
  align-items: center;
}
nav ul li {
  border-right: 1px solid #fff;
}
nav ul li:last-child {
  border-right: none;
} */

nav ul li a {
  display: block;
  color: #fff;
  text-align: center;
  transition: all 0.5s;
  font-size: clamp(0.625rem, 0.534rem + 0.45vw, 0.875rem);
}

nav ul li a span {
  color: #aa9123;
  font-size: clamp(0.625rem, 0.534rem + 0.45vw, 0.875rem);
}

nav ul li a:hover {
  color: #aa9123;
  transition: all 0.5s;
}

/* ======================================= */
/* 404 */
/* ======================================= */
#box404 {
  padding: 20px;
  background-color: #e3d494;
}

.box404 {
  background-color: #fff;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 0;
}

.box404 p {
  font-weight: normal;
}

#contact .contact-box .form .head-title,
#modalContent #contact .contact-box .form .head-title,
#modalContent01 #contact .contact-box .form .head-title {
  background: #bab23f;
  background: linear-gradient(90deg, rgba(186, 178, 63, 1) 0%, rgba(189, 181, 74, 1) 50%, rgba(184, 146, 75, 1) 100%);
  color: #fff;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 10px 10px 0 0;
}

#contact .contact-box .form .send input[type="submit"]:hover {
  background-color: #bab23f;
  transition: all 0.5s;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: clamp(1.5rem, 1.364rem + 0.68vw, 1.875rem);
  }

  .archive-box .archive-info ul li a {
    grid-template-columns: 1fr 1fr 4fr;
  }

  .archive-box .archive-info ul li a p.content-text {
    display: none;
  }

  .archive-box .archive-info ul li a .label {
    font-size: clamp(0.525rem, 0.4rem + 0.68vw, 0.8rem);
  }

  .archive-box .archive-info ul li a h2 {
    font-size: clamp(0.725rem, 0.589rem + 0.68vw, 1.3rem);
  }
}

.box404 .dot {
  position: absolute;
  max-width: 130px;
  top: 0;
  left: 0;
  z-index: -1;
}

.box404 .info ul {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

.box404 .info ul .label {
  color: #aa9123;
}

.box404 .info ul time {
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
}

.box404-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}

.box404-text strong {
  font-weight: bold;
  color: #aa9123;
}

.box404-text a {
  text-decoration: underline;
}

.box404-text a:hover {
  color: #aa9123;
}

.box404-text h2 {
  font-size: clamp(0.725rem, 0.589rem + 0.68vw, 1.3rem);
  color: #aa9123;
}

.back-img {
  text-align: center;
}

.back-img img {
  max-width: 200px;
  margin-top: 32px;
}

footer {
  background-color: #333;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

#open01 p {
  width: 100%;
  max-width: 320px;
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 16px 0;
  position: relative;
}

.sp-contact-box a,
.sp-contact-box #open02 p {
  width: 100%;
  max-width: 320px;
  /* margin-right: auto;
  margin-left: auto; */
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 16px 0;
}

.send-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px auto 80px auto;
}

.link-box {
  background: #e3d494;
  padding: 24px;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.link-box p {
  text-align: center;
  font-weight: bold;
}

.link-page {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 16px auto;
}

.link-page a {
  width: 100%;
  max-width: 200px;
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  padding: 16px;
}

.link-page a:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #e3d494;
}

.link-page a img {
  width: 100px;
}

.link-page img {
  width: 100px;
  height: auto;
  object-fit: cover;
}


@media screen and (max-width: 768px) {
  .send-link {
    grid-template-columns: 1fr;
  }

  .link-box {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .link-page a img {
    width: 80px;
  }

  .link-page img {
    width: 80px;

  }

}

@media screen and (max-width: 520px) {
  .box404 {
    background-color: #fff;
    padding: 24px;
    text-align: center;
    position: relative;
    z-index: 0;
  }

  .link-page img {
    width: 60px;

  }

  .link-page a {
    font-size: 0.8rem;
  }
}

/* ================================================= */
/* 30日間無料体験　送信完了画面 */
/* ================================================= */
.free-trial .send-link {
  display: block;
  margin: 0;
}

.free-trial .link-box {
  max-width: 600px;
  margin: 32px auto;

}

.free-trial .link-page.move a {
  width: 400px;
  height: 300px;
}

.free-trial iframe {
  max-width: 500px;
  width: 100%;
  height: 300px;
}

@media screen and (max-width: 768px) {
  .free-trial iframe {
    max-width: 500px;
    width: 100%;
    height: 250px;
  }

}

@media screen and (max-width: 520px) {
  .free-trial iframe {
    max-width: 500px;
    width: 100%;
    height: 180px;
  }

  .free-trial .link-box {
    padding: 16px;

  }

}
