@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: 0.01rem;
}
body {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 auto;
  text-align: center;
  font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
}
b {
  font-weight: bold;
}
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 15px;
}
.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;
  background-color: #fff7f0;
  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;
}
.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: 80%;
}
.section5 {
  background-color: #e6f3ff;
  padding: 30px;
  max-width: 820px;
  margin: 0 auto;
}
.section5 .wrap {
  max-width: 880px;
}
.section5 .inner {
  padding: 30px;
}
.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: bold;
}
.int__name {
  margin: 10px auto 15px;
  font-size: 18px;
}
.int__name span {
  color: #024496;
  padding: 5px;
  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: #e6f3ff;
  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: 2.0rem;
  font-weight: bold;
  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;
}
.line {
  border-bottom: 1px solid #cacaca;
  margin-bottom: 20px;
}
.section8 {
  padding: 50px 0;
}
.section8 img {
  max-width: 80%;
}
/*==================================*/
footer {
  padding: 30px 0;
      background-color: #333;
      color: #fff;
}
footer a {
  text-decoration: none;
  font-size: 20px;
    color: #fff;
}
footer ul {
  display: flex;
  margin: 20px auto;
  max-width: 600px;
  justify-content: space-around;
}
footer ul li {
  list-style: none;
}/*
footer ul li:first-child {
  border-right: solid 1px #ccc;
  padding-right: 10px;
}*/
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;
}
.copyright {
  font-size: 12px;
  color: #ccc;
}
/*========================================================*/
@media screen and (max-width:500px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .main__visual {
    padding-top: 20px;
  }
  .main__visual .inner {
    padding: 0 0 0 15px;
  }
  .section2 {
    padding: 20px 0;
  }
  .section2 img {
    max-width: 100%;
  }
  .cv__area {
    padding: 20px 0;
  }
  .cv_top_text {
    max-width: 75%;
  }
  .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;
  }
  .section4 img:last-child {
    max-width: 85%;
  }
  .section5 {
    padding: 15px;
  }
  .section5 .wrap {
    max-width: 880px;
  }
  .section5 .inner {
    padding: 15px;
  }
  .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: 15px;
  }
  .section7 .wrap {
    max-width: 880px;
  }
  .section7 .inner {
    padding: 15px;
  }
  .pro img {
    margin-bottom: 20px;
    max-width: 80%;
  }
  .pro_name {
    font-size: 2.0rem;
    margin-bottom: 15px;
  }
  .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%;
  }
  /*==================================*/
  footer {
    padding: 30px 0;
  }
  footer a {
    text-decoration: none;
    font-size: 16px;
  }
  footer ul {
    margin: 10px auto;
    justify-content: space-around;
  }
  footer ul li:first-child {
    padding-right: 20px;
  }
  footer ul li a {
    font-size: 12px;
  }
}
/*=======================フォーム=================================*/
input[type="text"] {
  padding: 25px 10px;
  width: 600px;
  max-width: 85%;
  font-size: 20px;
  text-align: center;
  margin: 25px auto;
}
.cv_btn {
  margin: 0px auto 10px;
  width: 600px;
  max-width: 85%;
}
@media screen and (max-width:500px) {
  input[type="text"] {
    padding: 15px 10px;
    max-width: 90%;
    font-size: 17px;
    margin: 15px auto;
  }
  .cv_btn {
    margin: 0px auto 5px;
    max-width: 90%;
  }
}
/*-------- 1004追加 --------*/
.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;
 
}
}



/*=========================
position
========================*/
#position{
    padding: 40px 0 60px;
    background-color: #f7f7f7;
}
table{
    border-collapse: collapse;
    margin-top: 40px;
}
table th,table td{
    border:solid 1px #333;
    padding: 8px;
    vertical-align: middle;
}
thead{
    background-color:  #f57f15;
    color: #fff;
    font-size: 110%;
}
table td{
    background-color: #fff;
}
.sp-info{
display:none;
}

@media (max-width:768px){
    #position{
        padding:24px 0 36px;
    }
    thead{
        display: none;
    }
    table{
        width: 100%;
        text-align: left;
    }
    table td{
        width: 100%;display: block;
        border-top: none;
    }
    table tr td:nth-child(1){
        background-color: #f57f15;
        color: #fff;
        font-size: 110%;
        padding: 12px 8px;
        border-top: solid 1px #000;
        text-align: center;
    }
    .sp-info{
display:inline;
}

}
.heading-021 {
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #f57f15;
    font-size: min(6vw,30px);
}

.heading-021::before,
.heading-021::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::before {
    background-color:#f57f15;
}

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

/* === 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; /* スクロールバー分を考慮して位置調整 */
  }
}