﻿@charset "UTF-8";

/* =========================================================
  top page
========================================================= */
@media only screen and (max-width: 1060px) {
  #content {
    padding: 0 20px;
  }
}

/* topPopup
----------------------------------------------- */
#topPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(39,39,39,0.8) !important;
  z-index: 3000000000;
}
#topPopup .pieceContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 327px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  overflow-y: auto;
}
#topPopup .pieceBody .slide {
  display: none;
}
#topPopup .pieceBody #slide {
  position: relative;
}
#topPopup .pieceBody .slide-num li {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  opacity: 0;
}
#topPopup .bx-viewport {
  background: #1e51a2;
}
#topPopup .bx-controls-direction a {
  position: absolute;
  top: 127px;
  width: 24px;
  height: 0;
  padding-top: 24px;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#topPopup .bx-controls-direction .bx-prev {
  left: 10px;
  background-image: url(../img/slide_l.png);
}
#topPopup .bx-controls-direction .bx-next {
  right: 10px;
  background-image: url(../img/slide_r.png);
}
#topPopup .bx-controls-direction a.none,
#topPopup .active0 .bx-controls-direction .bx-prev,
#topPopup .active4 .bx-controls-direction .bx-next {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}
#topPopup .bx-pager {
  position: absolute;
  top: 175px;
  left: 0;
  right: 0;
  height: 8px;
  display: flex;
  justify-content: center;
}
#topPopup .bx-pager-item {
  margin: 0 7px;
}
#topPopup .bx-pager-item a {
  display: block;
  width: 8px;
  height: 0;
  padding-top: 8px;
  overflow: hidden;
  background-image: url(../img/slide_dot.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#topPopup .bx-pager-item a.active {
  background-image: url(../img/slide_dot_active.png);
}
#topPopup a.use {
  position: absolute;
  bottom: 20px;
  left: calc(50% - 113px);
  display: block;
  width: 226px;
  height: 0;
  padding-top: 30px;
  overflow: hidden;
  background-image: url(../img/slide_use.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#topPopup a.use:hover {
  opacity: 0.5;
}
#topPopup .slide + .btn {
  display: none;
}
#topPopup .btn {
  margin-top: 20px;
  text-align: center;
}
#topPopup .btn-check input[type="checkbox"] {
  display: none;
}
#topPopup .btn-check label {
  position: relative;
  padding-left: 21px;
  color: #fff;
  cursor: pointer;
}
#topPopup .btn-check label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 1px solid #fff;
  border-radius: 2px;
}
#topPopup .btn-check input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 12px;
  height: 6px;
  margin-top: -3px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
#topPopup .btn-close a {
  display: block;
  max-width: calc(15em + 21px);
  margin: 15px auto 0;
  padding: 5px 0 7px;
  border-radius: 20px;
  background: #fff;
  color: #5f6c7b;
  line-height: 1.2;
  text-decoration: none;
}
#topPopup .btn-close a:hover {
  opacity: 0.8;
}
@media only screen and (min-width: 1061px) {
  #topPopup .pieceContainer {
    width: 900px;
  }
  #topPopup .pieceBody .slide-num li {
    width: 80px;
    height: 60px;
  }
  #topPopup .pieceBody .slide-num li img {
    width: 100%;
  }
  #topPopup .bx-viewport li {
    min-width: 900px;
  }
  #topPopup .bx-viewport img {
    width: 900px;
    height: 480px;
  }
  #topPopup .bx-controls-direction a {
    top: 216px;
    width: 50px;
    padding-top: 50px;
    background-size: cover;
  }
  #topPopup .bx-controls-direction .bx-prev {
    left: 30px;
  }
  #topPopup .bx-controls-direction .bx-next {
    right: 30px;
  }
  #topPopup .bx-pager {
    top: 347px;
    height: 12px;
  }
  #topPopup .bx-pager-item {
    margin: 0 15px;
  }
  #topPopup .bx-pager-item a {
    width: 12px;
    padding-top: 12px;
    background-size: cover;
  }
  #topPopup a.use {
    bottom: 40px;
    left: calc(50% - 170px);
    width: 340px;
    padding-top: 60px;
    background-image: url(../img/slide_use_pc.png);
  }
  #topPopup .btn {
    margin-top: 40px;
  }
  #topPopup .btn-close a {
    min-width: 358px;
    padding: 14px 0 15px;
    border-radius: 25px;
    font-size: 110%;
  }
}

/* topSlider
----------------------------------------------- */
#topSlider {
  background: #fff7ea;
}
.slick-slide a[href="#"] {
  pointer-events: none;
  cursor: default;
}
.slick-slide li.banner {
  display: block !important;
  padding: 5px 15px 15px;
}
/* slide-arrow */
.slide-arrow {
  display: none !important;
}
/* dot-class */
.dot-class {
  position: absolute;
  bottom: 8px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.dot-class > li {
  margin: 0 7px;
}
.dot-class > li > button {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #ced1d9;
  text-indent: -9999px;
}
.dot-class > li.slick-active > button {
  background-color: #1e51a2;
}
/* slide-controll */
#slide-controll {
  display: none !important;
}
/* slick-prev, .slick-next */
.slick-prev, .slick-next {
  display: none !important;
}
@media only screen and (min-width: 1061px) {
  #topSlider .pieceContainer {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0;
  }
  .slick-slide li.banner {
    min-height: 450px;
    padding: 20px 40px 0;
  }
  .dot-class {
    bottom: 15px;
  }
  .dot-class > li {
    margin: 0 15px;
  }
  .dot-class > li > button {
    width: 12px;
    height: 12px;
  }
}

/* topMessage
----------------------------------------------- */
#topMessage {
  padding: 20px 0;
  font-weight: bold;
  text-align: center;
}
#topMessage .pieceBody {
  text-indent: -.40em;
}
#topMessage .pieceBody span {
  display: inline-block;
  white-space: pre-wrap;
  text-indent: normal;
}
@media only screen and (min-width: 1061px) {
  #topMessage {
    padding: 60px 0 40px;
    font-size: 140%;
  }
}

@media only screen and (max-width: 320px) {
  #topMessage .pieceBody span {
    font-size: 0.9rem;
  }
}

/* topSearch
----------------------------------------------- */
#topSearch {
  margin-bottom: 20px;
}
#topSearch #tab-list {
  display: flex;
  border-radius: 2px 2px 0 0;
  overflow: hidden;
}
#topSearch #tab-list li {
  position: relative;
  flex-basis: 50%;
}
#topSearch #tab-list li a {
  display: block;
  padding: 5px;
  border: 1px solid #ced1d9;
  border-bottom: none;
  background: #ced1d9;
  color: #5f6c7b;
  text-decoration: none;
  text-align: center;
}
#topSearch #tab-list li:not(.current) a:hover {
  /*text-decoration: underline;*/
  opacity: 0.6;
}
#topSearch #tab-list li.current a:hover {
  opacity: 1;
}
#topSearch #tab-list li.current a {
  border-color: #fff;
  background: #fff;
  color: #2455a3;
  font-weight: bold;
  cursor: default;
}
#topSearch #tab-list li.current a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none !important;
}
#topSearch #tab-body {
  border: 1px solid #fff;
}
#topSearch #tab-body > li {
  display: none;
  padding: 24px 14px;
  border-radius: 0 0 2px 2px;
  background: #fff;
  overflow: hidden;
}
#topSearch #tab-body > li.current {
  display: block;
}
#topSearch #tab-body > li p {
  margin-bottom: 0;
  color: #5f6c7b;
  font-weight: bold;
  text-align: center;
}
#topSearch #tab-body > li p span {
  display: block;
}
#topSearch #tab-body li.tab1 .criteriaKeyword {
  display: flex;
  max-width: 600px;
  margin: 15px auto 0;
  border-radius: 20px;
  border: 1px solid #eff0f4;
  background: #eff0f4;
  overflow: hidden;
}
#topSearch #tab-body li.tab1 .criteriaKeyword .keywordField {
  position: relative;
  width: calc(100% - 34px);
  padding: 0 10px;
}
#topSearch #tab-body li.tab1 .criteriaKeyword .keywordField input {
  width: 100%;
  min-height: 30px;
  border: none !important;
  background: none;
  font-size: 85%;
  outline: none;
}
#topSearch #tab-body li.tab1 .criteriaKeyword .keywordField input::placeholder {
  color: #ced1d9;
}
#topSearch #tab-body li.tab1 .criteriaKeyword .keywordField input.clearCross {
  position: absolute;
  top: 0;
  right: 10px;
  width: auto;
}
#topSearch #tab-body li.tab1 .criteriaKeyword .commitButton {
  flex-grow: 0;
  flex-shrink: 0;
  width: 45px;
  border: none !important;
  background: url("../img/search_icon_blue.png") center center / 24px 24px no-repeat !important;
}
#topSearch #tab-body li.tab1 .frequently {
  margin-top: 15px;
}
#topSearch #tab-body li.tab1 .frequently span {
  display: block;
  margin-bottom: 5px;
  color: #2455a3;
  font-weight: bold;
}
#topSearch #tab-body li.tab1 .frequently ul {
  letter-spacing: -.40em;
}
#topSearch #tab-body li.tab1 .frequently ul li {
  display: inline-block;
  letter-spacing: normal;
}
#topSearch #tab-body li.tab1 .frequently ul li a {
  display: block;
  margin: 5px 5px 5px 0;
  padding: 10px 12px;
  border: 1px solid #2455a3;
  border-radius: 20px;
  font-size: 90%;
  color: #2455a3;
  line-height: 1;
  text-decoration: none;
}
#topSearch #tab-body li.tab1 .frequently ul li a:hover {
  background: #2455a3;
  color: #fff;
}
#topSearch #tab-body li.tab2 ul {
  display: flex;
  flex-wrap: wrap;
}
#topSearch #tab-body li.tab2 ul li {
  flex-basis: calc((100% - 10px) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-right: 10px;
  padding-right: 28px;
  border: 1px solid #828899;
  border-radius: 2px;
  background: url("../img/ic_arrow_01.png") right 10px center no-repeat #fff;
  color: #000;
}
#topSearch #tab-body li.tab2 ul li:nth-child(even) {
  margin-right: 0;
}
#topSearch #tab-body li.tab2 ul li:hover {
  border-color: #3da9fc;
  background: url("../img/ic_arrow_02.png") right 10px center no-repeat #3da9fc;
  color: #fff;
}
#topSearch #tab-body li.tab2 ul li a {
  display: block;
  width: 100%;
  padding: 8px 0 8px 5px;
  color: inherit;
  font-size: 85%;
  text-decoration: none;
  text-align: center;
}
#topSearch #tab-body li.tab2 ul li a span {
  display: inline-block;
}
@media only screen and (min-width: 1061px) {
  #topSearch {
    margin-bottom: 50px;
  }
  #topSearch #tab-list {
    border-radius: 4px 4px 0 0;
  }
  #topSearch #tab-list li a {
    padding: 10px;
  }
  #topSearch #tab-body > li {
    padding: 35px 30px 25px;
  }
  #topSearch #tab-body > li p span {
    display: inline;
  }
  #topSearch #tab-body li.tab1 .criteriaKeyword {
    margin-top: 25px;
    border-radius: 30px;
  }
  #topSearch #tab-body li.tab1 .criteriaKeyword .keywordField input {
    min-height: 50px;
    padding-left: 10px;
  }
  #topSearch #tab-body li.tab1 .criteriaKeyword .commitButton {
    width: 70px;
    background-size: 35px 35px !important;
  }
  #topSearch #tab-body li.tab1 .frequently {
    margin-top: 25px;
  }
  #topSearch #tab-body li.tab2 {
    padding: 40px 40px 25px;
  }
  #topSearch #tab-body li.tab2 > p {
    margin-bottom: 20px;
  }
  #topSearch #tab-body li.tab2 ul li {
    flex-basis: calc((100% - 20px) / 3);
    margin-right: 10px !important;
    border-radius: 4px;
  }
  #topSearch #tab-body li.tab2 ul li:nth-child(3n) {
    margin-right: 0 !important;
  }
  #topSearch #tab-body li.tab2 ul li a {
    padding: 17px 0 17px 5px;
    font-size: 90%;
  }
}

/* topTopics
----------------------------------------------- */
#topTopics {
  margin-bottom: 20px;
  padding: 15px 15px 20px;
  border-radius: 2px;
  border: 1px solid #fff;
  background: #fff;
  text-align: center;
}
#topTopics2 {
  margin-bottom: 20px;
  padding: 15px 15px 20px;
  border-radius: 2px;
  border: 1px solid #DFE1E9;
  background: #DFE1E9;
  text-align: center;
}
#topTopics h2 {
  margin-bottom: 10px;
  color: #2455a3;
  font-size: 110%;
  font-weight: bold;
  text-align: center;
}
#topTopics ul.docs {
  display: inline-block;
}
#topTopics ul.docs li {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  padding: 0;
  border: none;
  text-align: left;
}
#topTopics ul.docs li:hover {
  opacity: 0.6;
}
#topTopics ul.docs li .category {
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 10px;
}
#topTopics ul.docs li .category span {
  display: none;
  width: 5em;
  padding: 2px 0;
  border: 1px solid #2b519d;
  color: #2b519d;
  font-size: 75%;
  text-align: center;
}
#topTopics ul.docs li .category span[class^="kubun"] {
  display: block;
}
#topTopics ul.docs li .category span[class^="kubun"] ~ span[class^="kubun"] {
  display: none;
}
#topTopics ul.docs li .update_date {
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 40px;
  font-size: 70%;
}
#topTopics ul.docs li:hover .update_date {
  color: #2b519d
}
#topTopics ul.docs li .title_link a {
  color: #000;
  font-size: 90%;
  text-decoration: none;
  vertical-align: top;
}
#topTopics ul.docs li:hover .title_link a {
  color: #2b519d;
}
#topTopics ul.docs li .title_link a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
}
#topTopics .more a,
#topSearch .more a {
  max-width: 400px;
  margin: 20px auto 0;
  border: 1px solid #3da9fc;
  background: #3da9fc;
  color: #fff;
}
#topTopics .more a:hover,
#topSearch .more a:hover {
  opacity: 0.8;
}
@media only screen and (min-width: 1061px) {
  #topTopics {
    margin-bottom: 50px;
    padding: 30px;
  }
  #topTopics h2 {
    margin-bottom: 20px;
  }
  #topTopics ul.docs li .category span {
    min-width: 88px;
  }
  #topTopics .more a,
  #topSearch .more a {
    padding: 15px;
  }
}

@media only screen and (min-width: 1061px) {
  #topRanking {
    /*margin-top: 70px;*/
  }
}

/* chat bots
----------------------------------------------- */

#topSlider .top_banner {
    display: block !important;
    text-align: center;
}

#topSlider .top_banner .top_banner_img {
    background: url(../img/slide_pc@2x.png) 0 0 no-repeat;
    background-size: contain;
    margin: 0;
    width: 100%;
    /* 表示画像の高さ ÷ 表示画像の幅 × 100 */
    padding-top: 42.64%;
}

.use-carousel {
    background-color: #ebedf7 !important;
}

.carousel-container {
    position: relative;
    width: auto;
    overflow: hidden;
    margin: auto;
    /*box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1), 10px 0 10px rgba(0, 0, 0, 0.1);*/
}

.carousel-track {
    display: flex;
    transition: transform 1.5s ease-in-out;
}

.slide {
    width: 675px;
    padding: 2px;
    flex-shrink: 0;
    /* 暗くする */
    filter: brightness(0.8);
    transition: filter 0.5s ease;
}

    .slide.active {
        /* 明るくする（通常） */
        filter: brightness(1);
    }

    .slide img {
        display: block;
        border-radius: 5px;
        width: 675px;
        height: 450px;
        object-fit: cover;
        margin: auto;
    }

.carousel-button-left,
.carousel-button-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #3da9fc;
    border: none;
    border-radius: 50px;
    color: #fff;
    opacity: 0.8;
}

.carousel-button-left:hover,
.carousel-button-right:hover {
    opacity: 1;
}

.carousel-button-left {
    left: 12%;
}

    .carousel-button-left::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 55%;
        width: 10px;
        height: 10px;
        border-top: 2px solid white;
        border-left: 2px solid white;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

.carousel-button-right {
    right: 12%;
}

    .carousel-button-right::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 45%;
        width: 10px;
        height: 10px;
        border-top: 2px solid white;
        border-left: 2px solid white;
        transform: translate(-50%, -50%) rotate(135deg);
    }

.carousel-btn-container {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
}

.carousel-pause-btn,
.carousel-start-btn {
    position: relative;
    background-color: #3da9fc;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 16px;
    cursor: pointer;
}

    .carousel-pause-btn::before,
    .carousel-pause-btn::after {
        content: "";
        position: absolute;
        top: 25%;
        width: 3px;
        height: 50%;
        background-color: #fff;
    }

    .carousel-pause-btn::before {
        left: 36%;
    }

    .carousel-pause-btn::after {
        left: 58%;
    }

    .carousel-start-btn::before {
        content: "";
        position: absolute;
        top: 20%;
        left: 36%;
        width: 0;
        height: 0;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 12px solid #fff;
    }

.carousel-slide-btn {
    bottom: 10px;
    width: 17px;
    height: 17px;
    background: #aaaaaa;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
}

    .carousel-slide-btn.active {
        background-color: #3da9fc !important;
    }

.carousel-button-left::after {
    content: '';
    position: absolute;
    top: -205px;
    right: 50px;
    width: 192.5px;
    height: 454px;
    background: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.carousel-button-right::after {
    content: '';
    position: absolute;
    top: -205px;
    left: 50px;
    width: 192.5px;
    height: 454px;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

@media only screen and (min-width: 1061px) {
    #topSlider .top_banner {
        min-height: 450px;
    }
}

@media only screen and (max-width: 1060px) {
    #topSlider .carousel-container {
        width: 100%;
    }
}

@media only screen and (max-width: 1060px) {
    .slide {
        width: 100%;
    }   
}

@media only screen and (max-width: 767px) {
    .slide img {
        width: 360px;
        height: 240px;
    }
}

@media only screen and (max-width: 1060px) {
    .carousel-button-left {
        left: 3%;
    }
}

@media only screen and (max-width: 1060px) {
    .carousel-button-right {
        right: 3%;
    }
}

@media only screen and (max-width: 376px) {
    #topSlider .top_banner .top_banner_img {
        background: url(../img/slide_SP_img@2x.png) 0 0 no-repeat;
        background-size: contain;
        /* 表示画像の高さ ÷ 表示画像の幅 × 100 */
        padding-top: 43.22%;
    }
}
