@charset "UTF-8";
html {
  background:#fff;
  overflow-x:hidden
}
body {
  font-size: 16px;
  color: #666;
  line-height: 200%;
  overflow-x: hidden;
  font-family:'Roboto','Hiragino Sans','Meiryo','Hiragino Kaku Gothic ProN',sans-serif;
  background-image: url("/assets_lp/cnt/agent02/images/bg.webp");
  background-repeat: repeat;
  background-size: 50%;
  background-attachment: fixed;
}

a {
  opacity:1;
  transition:all .3s;
  color:#ccc
}
a:hover {
  opacity:.8;
  transition:all .3s
}
.pc_only {
  display:block
}
.sp_only {
  display:none
}
header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem;
}
header .logo-left img{
  width: 80%;
}
/* ハンバーガー初期状態（PCでは非表示） */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin-right: 1rem;
  cursor: pointer;
  position: relative;
  width: 32px;
  height: 24px;
  z-index: 1001; /* パネルより上 */
}

/* 3本線 */
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* 開いたときの「×」変形 */
.hamburger.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* スライドナビ本体 */
.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 280px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  transform: translateX(100%); /* 初期：画面外(右) */
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: 60px 20px 20px;
}

.nav-panel.is-open {
  transform: translateX(0);   /* 右から左へスライドイン */
}

.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel li + li {
  margin-top: 1rem;
}

.nav-panel a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.95rem;
}

/* 背景オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
#contents {
  width:100%
}
#contents .contents_inner {
  width:600px;
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 10px #999
}
.cta{
  margin:2rem auto;
}
.cta img{
  display:block;
  width:95% !important;
  margin:.5rem auto;
}
.section_inner {
  margin:0 auto
}
.slider_inner {
  width:600px
}
.item{
  margin:0 auto;
  background: #0165cb;
  padding: 4rem 0;
}
.item .item_title img{
  margin:0 auto 1rem auto;
  text-align:center;
  width:70%;
}
.item p{
  color: #fff;
}
.item .work_cta{
  padding-top:4rem;
}
.item .work_cta img{
  margin:0 auto 1rem auto;
  text-align:center;
  width:90%;
}
.slider_card {
  margin: 0 1rem;
}
.slider_card img {
  margin:0 auto;
  width:100%
}
.work p {
  font-size:.8em;
  text-align:center
}
.worker {
  padding: 4rem 0;
}
/* ===================================
   機能部分：ここが切り替えの核となります
   =================================== */

/* 1. ラジオボタン自体は画面から隠す */
.worker > input[name="worker_tab"] {
    display: none;
}

/* 2. 初期状態：切り替えコンテンツ(.dispの中のli)をすべて非表示にする */
.worker .disp > li {
    display: none;
    /* 切り替え時のアニメーションを入れるならここに記述 */
}

/* 3. ラジオボタン1がチェックされたら -> コンテンツ1を表示 */
#tab_switch1:checked ~ .section_inner .disp > li:nth-child(1) {
    display: block; /* または flex など */
    animation: fadeIn 0.5s ease; /* ふわっと表示させる場合 */
}

/* 4. ラジオボタン2がチェックされたら -> コンテンツ2を表示 */
#tab_switch2:checked ~ .section_inner .disp > li:nth-child(2) {
    display: block; /* または flex など */
    animation: fadeIn 0.5s ease;
}

/* タブのレイアウト（横並びにするなど） */
.tab {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 10px; /* タブ間の隙間 */
}

.tab li {
    width: 45%; /* 例：2等分 */
    background: #fff; /* 非アクティブ時の色 */
    border:4px solid #0066cc;
    font-size: 130%;
    font-weight:bold;
    color: #0066cc;
    border-radius: 100px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

/* ラベルをボタンいっぱいに広げる */
.tab label {
    position:relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px 0 10px 0;
    cursor: pointer;
    line-height:120%;
}
.tab label:after {
    position:absolute;
    top:25%;
    left:3%;
    content: "☛";
    margin: 0 auto 10px auto;
    font-size:180%;
    display:block;
    border-radius:50px;
    line-height:100%;
}
.disp {
    margin-top:2rem;
}

.movie {
    margin: 0 auto;
    text-align: center;
}
.movie iframe{
    margin: 0 auto;
    text-align: center;
    border: 5px solid #eee;
}
.movie .movie_title{
    margin: 0 auto;
    font-size:120%;
    font-weight: bold;
}
.movie .movie_title span{
    color: #0066cc;
}

/* 選択されているタブの色を変える（アクティブ状態） */
/* input1がONの時、対応するliの色を変える */
#tab_switch1:checked ~ .section_inner .tab .tab_item1 {
    background: #0066cc; /* アクティブ時の色（例：青） */
    color: #fff;
    font-weight: bold;
}
#tab_switch1:checked ~ .section_inner .tab .tab_item1 label::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #0066cc transparent transparent;
  translate: -50% 100%;
}

#tab_switch1:checked ~ .section_inner .tab .tab_item1 label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #0066cc transparent transparent;
  translate: -50% 100%;
}
#tab_switch2:checked ~ .section_inner .tab .tab_item2 label::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #0066cc transparent transparent;
  translate: -50% 100%;
}

#tab_switch2:checked ~ .section_inner .tab .tab_item2 label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #0066cc transparent transparent;
  translate: -50% 100%;
}

/* input2がONの時、対応するliの色を変える */
#tab_switch2:checked ~ .section_inner .tab .tab_item2 {
    background: #0066cc; /* アクティブ時の色（例：青） */
    color: #fff;
    font-weight: bold;
}

/* オプション：フェードインアニメーション */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.tab-container {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.tab-container .tab {
  text-align:center;
  width:50%;
  padding:.8em .8em .5em .8em;
  background:#fff;
  font-weight:700;
  font-size:90%;
  cursor:pointer;
  margin-top: .5rem;
  border-top: 4px solid #ccc;
}
.tab-container .tab:nth-child(1) {
  border-right: 1px solid #ccc;
}
.tab-container .tab:nth-child(3) {
  border-left: 1px solid #ccc;
}
.tab-container .tab img{
  width: 70%;
  text-align: center;
  margin: 0 auto;
}
.tab-container .tab.active {
  cursor:auto;
  border-top: 4px solid #8ec43d;
}
.slick-prev {
  left:2vw;
  top: 42vw;
}
.slick-next {
  right:2vw;
  top: 42vw;
}
.slick-next:before {
  background:url(/assets_lp/cnt/agent02/images/next.webp) no-repeat center center;
  background-size:contain;
  animation: anime1 0.8s ease 0s infinite alternate;
  transform-origin:center;
}
.slick-prev:before {
  background:url(/assets_lp/cnt/agent02/images/prev.webp) no-repeat center center;
  background-size:contain;
  animation: anime1 0.8s ease 0s infinite alternate;
  transform-origin:center;
}
@keyframes anime1 {
  from {
  transform: scale(0.7,0.7);
  }
  to {
  transform: scale(1,8, 1.8);
  }
}
.slick-prev,.slick-next {
  width:60px;
  height:60px
}
.slick-prev:before,.slick-next:before {
  font-size:50px
}
.slick-arrow {
  z-index:2
}
.slick-arrow:before {
  content:"";
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  opacity:1
}
#formWrap iframe {
  height:950px
}
.slider_inner_item .slick-prev {
  left:2vw;
  top: 13vw;
}
.slider_inner_item .slick-next {
  right:2vw;
  top: 13vw;
}

.slider_inner_item .slick-prev , .slider_inner_item .slick-next {
  width:50px;
  height:50px
}

.slick-dots li button:before {
  font-size:20px!important;
  margin: 50px 0;
  color: #fff;
}
.slick-dots li.slick-active button:before{
  color: #fff !important;
}
#formWrap01 {
  margin-top: 2rem;
}
div#fix {
  display:none;
}
div#fix.fixed {
  display:none;
  position:fixed;
  bottom:0;
  width:100%;
  box-sizing:border-box;
  background:rgba(0,0,0,.5);
  z-index:100;
  max-width:none
}
div#fix img {
  width:80%;
  float:none;
  max-width:300px;
  margin:4rem auto 1rem auto;
  display:block
}
div#fix.fixed img:hover {
  opacity:.9;
  transition:.5s
}
.qa {
  background: #e8e8e8;
  padding: 4rem 0;
}
.qa .support_inner {
  margin-top: 0vw;
  padding: 0 1vw;
}
.qa .support_inner .support_box{
  font-size: 100%;;
  display: none;/*はじめは非表示*/
  background: #fff;
  border-radius: 0 0 10px 10px;
  padding: 2vw;
  color: 333;
}
.qa .support_inner .title{
  border-radius: 10px !important; 
}
.qa .support_inner .support_box .red{
  color: #c00;
}
/* アコーディオンタイトル（通常時：四辺10px） */
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    color: #fff;
    font-size:110%;
    font-weight: bold;
    padding: 2rem 2rem 2rem 50px;
    transition: all .5s ease;
    text-align: center;
    background: #0066cc;
    margin-top: 30px;
    border-radius: 10px !important;          /* 通常時：四辺10px */
}

/* アイコンの＋と× */
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 20px;
    height: 5px;
    background-color: #fff;
}
.title::before{
    top:46%;
    left: 15px;
    transform: rotate(0deg);
}
.title::after{
    top:46%;
    left: 15px;
    transform: rotate(90deg);
}

/*　タップ時（.close付与時）：上だけ角丸 10px 10px 0 0　*/
.qa .support_inner .title.close{
    border-radius: 10px 10px 0 0 !important;
}
.title.close::before{
    transform: rotate(45deg);
}
.title.close::after{
    transform: rotate(-45deg);
}
/*カルーセル*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.fuwafuwa1  {
  animation: floating-y 1.2s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y  {
  0%  {
    transform: translateY(-10%);
  }
  100%  {
    transform: translateY(10%);
  }
}
footer  {
  background: #333;
  padding-bottom: 3vw;
  margin-top:3vw;
}
footer .footer_inner {
  font-size: 80%;
  color: #ccc;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3vw 0;
}
footer .footer_inner img {
  width: 146px;
}
footer .copy {
  margin: 0 auto;
  border-top: 1px dotted #666;
  font-size: 80%;
  text-align: center;
  color: #888;
  padding: 1vw 0;
}
footer .footer_inner {
  width: 90%;
}
footer .footer_inner p {
  font-size: 80%;
}

@media (max-width:750px) {
  .pc_only {
    display:none
  }
  .sp_only {
    display:block
  }
  .hamburger {
    display: block;
  }
  header {
    justify-content: space-between;
  }
  #formWrap iframe {
    height:1000px
  }
  .movie iframe{
    width: 320px;
    height: 180px; 
  }
  header {
    padding:.5rem;
  }
  header .logo-left img{
    width: 70%;
  }
  header .logo-right{
    font-size: 100%;
  }
  #contents .contents_inner {
    width:100%
  }
  .subtitle {
    width:95%;
  }
  .mapapi {
    width:95%;
  }
  .btn a {
    width:95%;
  }
  .work {
    width:100%
  }
  .qacontent  .tab_title {
    width: 80%;
    font-size: 120%;
  }
  .slider_inner {
    width:100%
  }
  .slick-prev,.slick-next {
    width:50px;
    height:50px
  }
  .btn {
    margin:10vw auto
  }
  .slick-prev {
    left:2vw;
    top: 119vw;
  }
  .slick-next {
    right:2vw;
    top: 119vw;
  }
  /**item slick**/
  .slider_inner_item .slick-prev {
    left:2vw;
    top: 32vw;
  }
  .slider_inner_item .slick-next {
    right:2vw;
    top: 32vw;
  }
  .slider_inner_item .slick-prev , .slider_inner_item .slick-next {
    width:30px;
    height:30px
  }

  .slick-dots li button:before {
    font-size:20px!important;
    margin: 16vw 0;
  }
  footer .footer_inner img {
    width: 50px;
  }
  .tab-container .tab img{
    width: 90%;
  }
.tab label {
    font-size:80%;
}
.tab label:after {
    top: 35%;
    content: "☛";
    font-size:120%;
}
#tab_switch1:checked ~ .section_inner .tab .tab_item1 label::before {
  border-width: 14px 7px 0 7px;
}
#tab_switch1:checked ~ .section_inner .tab .tab_item1 label::after {
  border: none;
}
#tab_switch2:checked ~ .section_inner .tab .tab_item2 label::before {
  border-width: 14px 7px 0 7px;
}
#tab_switch2:checked ~ .section_inner .tab .tab_item2 label::after {
  border: none;
}
  .mapapi{
    margin-top: 30px;
  }
  .mapapi .mapapi_icon{
    width: 320px;
    margin-top: 30px;
  }
  .mapapi .mapapi_inner{
    width: 95%;
    margin: 15px auto 0 auto;
    padding: 0;
  }
  .mapapi  .mapapi_title {
    font-size: 110%;
    margin: 8px auto;
  }
  .mapapi .mapapi_form .api_icon{
    width: 60px;
    top: -45px;
  }
  .mapapi .mapapi_form .blink{
    font-size: 100%;
  }
  .mapapi  .mapapi_form {
    margin-bottom: 30px;
    border-radius: 10px;
    padding: 4vw 5vw;
  }
  .mapapi_form input,select{
    flex-grow: 1;
    width: 100%;
    display: block;
    padding: 1vw 9vw 1vw 7vw;
    border-radius: 20px;
    font-size: 100%;
    margin-top: 10px;
  }
  .mapapi_form button {
    position: absolute;
    top: 1vw;
    left:2vw;
    color: #333;
    font-size: 1rem;
    transition: 0.5s;
    color: #d95440;
  }
  .mapapi_form .delete {
    top: 1.3vw;
    right:2vw;
  }
  .mapitem {
    width:100%;
    padding: 10px;
  }
  .swiper-wrapper {
    margin-bottom:30px !important;
  }
  .tab li {
      font-size: 110%;
  }
}