@charset "utf-8";
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}
html, body {
  width: 100%;
  height: 100%
}
html {
  font-size: 62.5%;
  -webkit-font-feature-settings: "palt"1;
  font-feature-settings: "palt"1;
  letter-spacing: .01rem
}
body {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 auto;
  text-align: center;
  font-family:  "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif"
}
b {
  font-weight: 700
}
img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  height: auto
}
.clear::after {
  content: "";
  clear: both;
  display: block
}
.wrap {
  max-width: 850px;
  margin: 0 auto;
  text-align: center
}
.inner {
  padding: 0 12px
}
.pc-only {
  display: block
}
.sp-only {
  display: none
}
.main__visual {
  background-image: url(../img/bg_img01.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 30px
}
.section2 {
  padding: 50px 0 50px;
  margin-top: -1px
}
.section2 img {
  max-width: 100%
}
.cv__area {
  background-color: #f57f15;
  padding: 50px 0;
  color: #fff
}
.cv_top_text {
  max-width: 75%
}
.caution {
  font-size: 14px
}

.caution-box {
  /* width: 100%; */
  width: fit-content;
  margin: 0 auto;
  padding: 14px;
  border: solid 1px #fff;
}

.caution-text {
  font-size: 14px;
  width: 100%;
  text-align: start;
}

@media (max-width:500px) {
  .caution-box {
    padding: 12px;
  }

  .caution-text {
  font-size: 12px;
}
}

.section3 {
  background-color: #f4faff;
  padding: 50px 0
}
.voice_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start
}
.voice_container li {
  list-style: none;
  width: 48%
}
.voice_container li:nth-child(1), .voice_container li:nth-child(2) {
  margin-bottom: 30px
}
.section4 {
  padding: 50px 0
}
.section4 img {
  margin-top: 80px
}
.section4 img:nth-child(1) {
  margin-top: 0
}
.section4 img:last-child {
  max-width: 100%
}

.section4-img08-annotation {
  color: #777;
  margin-top: clamp(12px, 1.439vw + 7.05px, 20px);
  /* font-size: clamp(8px, 1.439vw + 3.05px, 16px); */
  font-size: clamp(8px, 0.719vw + 5.525px, 12px);
}
@media (min-width: 600px) {
  .sec4-img08-ano-break {
    display: none;
  }
}
.section4 .spacer-img08 {
  margin-top: clamp(16px, 2.878vw + 6.101px, 32px);
}

.section5 {
  background-color: #0e47d8;
  padding: 30px;
  max-width: 820px;
  margin: 0 auto
}
.section5 .wrap {
  max-width: 880px
}
.section5 .inner {
  padding: 30px
}

.section5-annotation {
  font-size: 10px;
  color: #777;
  display: block;
  margin-bottom: 40px;
  margin-top: 10px;
}

@media (max-width: 500px) {
  .section5-annotation {
    font-size: 8px;
  }
}

.youtube2 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 40px
}
.youtube2 iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important
}
.int__title {
  font-size: 22px;
  font-weight: 700
}
.int__name {
  margin: 8px auto 12px;
  font-size: 18px
}
.int__name span {
  color: #024496;
  padding: 4px;
  border: solid 1px #024496;
  font-size: 16px;
  margin-right: 10px
}
.section6 {
  padding: 50px 0
}
.section6 img:nth-child(2) {
  margin-top: 50px
}
.pro_toptext {
  margin: 50px auto 30px;
  max-width: 150px
}
.section7 {
  background-color: #0e47d8;
  padding: 30px;
  max-width: 820px;
  margin: 0 auto
}
.section7 .wrap {
  max-width: 880px
}
.section7 .inner {
  padding: 30px
}
.pro img {
  margin-bottom: 30px;
  max-width: 75%
}
.pro_name {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: solid 1px #024496;
  color: #024496;
  padding: 3px 10px;
  display: inline-block
}
.pro_name span {
  display: block;
  font-size: 1.6rem
}
.pro_text {
  text-align: left;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.6rem
}

.annotation_text {
  /* color: #777; */
  text-align: left;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.line {
  border-bottom: 1px solid #cacaca;
  margin-bottom: 20px
}
.section8 {
  padding: 50px 0
}
.section8 img {
  /* max-width: 80%; */
  max-width: 95%;
}

.section8 .spacer-img12 {
  margin-top: 50px;
}

footer {
  padding: 30px 0
}
footer a {
  text-decoration: none;
  color: #000;
  font-size: 20px
}
footer ul {
  display: flex;
  margin: 20px auto;
  /* max-width: 320px; */
  /* justify-content: space-between; */
  justify-content: center;
  gap: 10px;
}
footer ul li {
  list-style: none;
  border-right: solid 1px #ccc;
  padding-right: 10px;
}
/* footer ul li:first-child {
  border-right: solid 1px #ccc;
  padding-right: 10px;
} */

footer ul li:last-child {
  border-right: none;
  padding-right: 0;
}

footer ul li a {
  font-size: 14px;
  color: #aaa;
  transition: 0.3s all ease-in-out
}
footer ul li a:hover {
  color: #555;
  transition: 0.3s all ease-in-out
}

@media (max-width: 540px) {
  footer ul {
    flex-direction: column;
  }

  footer ul li {
    border-right: none;
    padding-right: 0;
  }

  .corporate-number {
    /* font-size: 14px; */
    margin-bottom: 30px;
  }
}

.corporate-name {
  margin-bottom: 12px;
}

.corporate-address {
  font-size: 14px;
  margin-bottom: 12px;
}

.corporate-number {
  font-size: 14px;
  margin-bottom: 40px;
}

.copyright {
  font-size: 12px;
  color: #ccc
}
@media screen and (max-width:500px) {
  .pc-only {
    display: none
  }
  .sp-only {
    display: block
  }
  .main__visual {
    padding-top: 8px
  }
  .main__visual .inner {
    padding: 0 12px
  }
  .section2 {
    padding: 12px 0
  }
  .section2 img {
    max-width: 100%
  }
  .cv__area {
    padding: 20px 0
  }
  .cv_top_text {
    max-width: 90%
  }
  .caution {
    font-size: 12px
  }
  .section3 {
    padding: 20px 0
  }
  .voice_container {
    display: block
  }
  .voice_container li {
    width: 70%;
    margin: 0 auto
  }
  .voice_container li:nth-child(1), .voice_container li:nth-child(2), .voice_container li:nth-child(3) {
    margin-bottom: 20px
  }
  .section4 {
    padding: 20px 0
  }
  .section4 img {
    margin-top: 35px
  }
  .section4 img:nth-child(1) {
    margin-top: 0
  }
  .section5 {
    padding: 12px
  }
  .section5 .wrap {
    max-width: 880px
  }
  .section5 .inner {
    padding: 12px
  }
  .int__title {
    margin-top: 10px;
    font-size: 16px
  }
  .int__name {
    margin: 10px auto;
    font-size: 14px
  }
  .int__name span {
    padding: 3px 5px;
    font-size: 14px
  }
  .section6 {
    padding: 20px 0
  }
  .section6 img:nth-child(2) {
    margin-top: 35px
  }
  .pro_toptext {
    margin: 20px auto;
    max-width: 80px
  }
  .section7 {
    padding: 12px
  }
  .section7 .wrap {
    max-width: 880px
  }
  .section7 .inner {
    padding: 12px
  }
  .pro img {
    margin-bottom: 20px;
    max-width: 80%
  }
  .pro_name {
    font-size: 2rem;
    margin-bottom: 12px
  }
  .pro_name span {
    font-size: 1.7rem
  }
  .pro_text {
    font-size: 1.6rem
  }
  .line {
    border-bottom: 1px solid #cacaca;
    margin-bottom: 20px
  }
  .section8 {
    padding: 20px 0
  }
  .section8 img {
    /* max-width: 85%; */
    max-width: 100%;
  }

  .section8 .spacer-img12 {
    margin-top: 20px;
  }

  footer {
    padding: 30px 0
  }
  footer a {
    text-decoration: none;
    color: #000;
    font-size: 16px
  }
  footer ul {
    /* margin: 10px auto; */
    margin: 30px auto;
    justify-content: space-around
  }
  footer ul li:first-child {
    padding-right: 20px
  }
  footer ul li a {
    font-size: 12px
  }
}
input[type="text"] {
  padding: 8px 12px;
  width: 600px;
  max-width: 85%;
  font-size: 24px;
  text-align: center;
  margin: 20px auto 12px;
    height: 100px;
    border: solid 3px #4a4a4a;
}
.cv_btn {
  /* margin: 0 auto 10px; */
  margin: 0 auto 13px;
  width: 600px;
  max-width: 85%
}
@media screen and (max-width:500px) {
  input[type="text"] {
    padding: 0px 4px;
    max-width: 100%;
    font-size: 16px;
    margin: 12px auto;
    height: 65px;
  }
  .cv_btn {
    /* margin: 0 auto 4px; */
    margin: 0 auto 15px;
    max-width: 100%
  }
}
.top_logo_youtube, .top_logo {
  background-color: #333;
  padding: 10px 0;
  display: block
}
.logo {
  text-align: left
}
.logo img {
  margin: 0;
  max-width: 280px;
  width: 100%
}
.top_logo_youtube .logo img {
  margin: 0 auto;
  max-width: 380px;
  width: 100%
}
@media screen and (max-width:500px) {
  .logo img {
    margin: 0;
    max-width: 200px;
    width: 100%
  }
  .top_logo_youtube .logo img {
    max-width: 320px
  }
}
@media screen and (max-width:400px) {
  .logo img {
    margin: 0;
    max-width: 150px;
    width: 100%
  }
  .top_logo_youtube .logo img {
    max-width: 250px
  }
}

.present{
max-width: 900px;
    margin: 20px auto 0px;
}


.book_award {
  margin: 40px auto 12px;
  display: block;
  text-align: center;
}
.book_award img {
  max-width: 500px;
  text-align: center;
  margin: 0 auto;
  width: 85%;
}
.book_container {
  padding: 10px;
  margin-bottom: 30px;
  display: block;
  justify-content: space-between;
  background-color: #eaeaea;
}
.book_container > li {
  width: 100%;
  text-align: center;
  padding: 0px;
border:none;
  border-bottom: solid 1px #ccc;
background-color:transparent;
padding-bottom:12px;
list-style:none;
}
.book_container > li:last-child {
  border-bottom: none;
}
.book_img {
  max-width: 250px;
  margin: 0 auto 20px;
}
.book_title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}
.book_text li {
  margin-bottom: 10px;
  font-size: 16px;
padding:0;
border:none;
text-align:center;
background-color:transparent;
list-style:none;
}
.book_text li:last-child {
  margin-bottom: 0;
}
.book_text li span {
  font-weight: bold;
  font-size: 18px;
}
.book_br {
  display: block;
}
.book_container .days {
  font-weight: normal !important;
  font-size: 14px !important;
}
@media screen and (min-width:768px) {
  .book_award {
    margin: 60px auto 20px;
  }
  .book_container {
    padding: 8px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
  }
  .book_container > li {
    width: calc(50% - 10px);
    padding: 16px;
    border-bottom: none;
  }
  .book_img {
    max-width: 250px;
    margin: 0 auto 40px;
  }
  .book_title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .book_text li {
    margin-bottom: 12px;
  }
  .book_text li span {
    font-weight: bold;
    font-size: 18px;
  }
  .book_br {
    display: none;
  }
 .book_container .days {
    font-weight: normal !important;
    font-size: 14px !important;
display:block;
margin-top:0!important;
  }
}
.book_container li::before{
content:none;

}

/*=========================
position
========================*/
#position{
    padding: 40px 0 60px;
    background-color: #f7f7f7;
}

@media (max-width:768px){
    #position{
        padding:24px 0 36px;
    }
}
/* .heading-021 {
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #f57f15;
    font-size: min(6vw,30px);
} */

.heading-021-box {
    position: relative;
    padding: .5em .7em .4em;
    /* border-bottom: 2px solid #f57f15; */
    border-bottom: 3px solid #000;
    /* max-width: 50%; */
    max-width: fit-content;
    margin: 0 auto 40px;
    /* margin-bottom: 40px; */
}

.heading-021-text {
    /* font-size: min(6vw,30px); */
    width: fit-content;
    font-size: clamp(20px, 1.799vw + 13.813px, 30px);
}

.heading-021-box::before,
.heading-021-box::after {
    position: absolute;
    left: 0px;
    right: 0;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    display: block;
    margin: 0 auto;
}

.heading-021-box::before {
    /* background-color:#f57f15; */
    background-color:#000;
}

.heading-021-box::after {
    bottom: -11px;
    /* bottom: -12px; */
    background-color: #f7f7f7;
}

.service-info-box {
  /* border: solid 2px #000; */
  border: solid 3px #f57f15;
  /* padding: 16px; */
  padding: 32px;
  margin: 40px auto 0;
}

@media (max-width: 500px) {
  .service-info-box {
  padding: 16px;
  }
}

.service-info-text {
  text-align: start;
  line-height: 1.5;
}

/* === Exit Overlay & Popup === */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9998;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 750px;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  z-index: 9999;
}
.popup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  cursor: pointer;
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background-color: white;
  border: solid 1px #333;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 10000;
  border-radius: 50vh;
  width: 30px;
  height: 30px;
  line-height: 25px;
}
/* === ChatBot === */
.chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 60vh;
  background: #fff;
  padding: 16px 20px 16px 16px; /* 右側に余分なパディングを追加 */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  display: none;
  text-align:left;
}
.chatbot.show {
  display: flex !important;
  flex-direction: column;
}
#chat-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  z-index: 10002;
  flex-shrink: 0;
}
.chat-seq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  max-height: calc(60vh - 80px);
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  padding-right: 8px; /* スクロールバー分のパディングを追加 */
}
.chat-seq::-webkit-scrollbar {
  width: 6px;
}
.chat-seq::-webkit-scrollbar-track {
  background: transparent;
}
.chat-seq::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}
.chat-seq::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}
.chat-item {
  display: none;
  transform-origin: bottom left;
  animation: zoomIn 0.4s ease-out forwards;
  opacity: 0;
  flex-shrink: 0;
}
.chat-item.operator {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.chat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.bubble {
  background: #f5f5f5;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px;
  max-width: calc(100% - 8px); /* スクロールバー分を考慮した幅調整 */
  word-wrap: break-word;
  box-sizing: border-box;
}
@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.form-area form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#chat-email {
  padding: 16px 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: calc(100% - 8px); /* スクロールバー分を考慮した幅調整 */
  max-width:100%;
  height:auto;
  box-sizing: border-box;
}
#submit-button.cv_btn {
  width: calc(100% - 8px); /* スクロールバー分を考慮した幅調整 */
  max-width: 100%;
  cursor: pointer;
  box-sizing: border-box;
}
#submit-button.cv_btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
@media screen and (max-width: 600px) {
  .chatbot {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 12px 12px 0 0;
    max-height: 60vh;
    padding: 16px 12px 16px 16px; /* スマートフォンでは右側のパディングを調整 */
  }
  
  .chat-seq {
    max-height: calc(60vh - 80px);
    padding-right: 6px; /* スマートフォンではパディングを少し減らす */
  }
  
  #chat-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    line-height: 40px;
    top: 12px;
    right: 12px; /* スクロールバー分を考慮して位置調整 */
  }
}