/* =============================================================
   共通
   =============================================================
*/

html {
  position: relative;
  background-image: var(--background-url);
  background-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
}

button {
  cursor: pointer;
}

body {
  font-size: 16px;
  color: #3f3f3f;
}

.sp {
  display: none;
}

.inner {
  width: 1000px;
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.ttl_section {
  font-size: 31px;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.btn_blue {
  font-size: 16px;
  color: #fff;
  background-color: #29519c;
  display: inline-block;
  border-radius: 5px;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}

.btn_white {
  font-size: 16px;
  color: #29519c;
  background-color: #fff;
  border: 1px solid #29519c;
  display: inline-block;
  border-radius: 5px;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}

.btn_size_s {
  width: 165px;
}

.ttl_lower {
  text-align: center;
  font-size: 31px;
  font-weight: bold;
  padding: 24px 0;
  background-color: #fff;
}

.ttl_blue {
  margin-top: 30px;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 16px;
  background-color: #ebeff4;
  margin-bottom: 20px;
}

.box {
  background-color: #fff;
  border-radius: 20px;
  word-break: break-all;
}

.contents_block .bg {
  padding-bottom: 42px;
}

.blue_table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.blue_table th,
.blue_table td {
  padding: 13px 16px;
  vertical-align: top;
}

.blue_table th {
  width: 210px;
  background-color: #ebeff4;
  font-weight: 500;
}

.blue_table tr {
  border-bottom: 1px solid #dedede;
}

.blue_table tr:first-child {
  border-top: 1px solid #dedede;
}

form input[type="text"] {
  font-size: 14px;
  width: 100%;
  background-color: #ebeff4;
  padding: 0.6em 1em;
  border-radius: 3px;
}

form input[type="text"]:placeholder {
  color: #a7a7a7;
}

.error_list {
  font-size: 16px;
  color: #a70404;
  border: 3px solid;
  padding: 5px;
  margin-bottom: 14px;
  font-weight: 500;
  list-style: disc;
}

.error_list li {
  margin-left: 1.5rem;
}

.else_box {
  padding: 30px 20px;
}

.hamidasi {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 1100px) {
  .inner {
    width: 90%;
  }
}

@media screen and (max-width: 600px) {
  .sp {
    display: block;
  }

  body {
    font-size: 13px;
  }

  .ttl_section {
    text-align: center;
    font-size: 19px;
  }

  .btn_size_s {
    width: 125px;
  }

  .btn_blue {
    font-size: 13px;
    padding: 8px 0;
  }

  .ttl_lower {
    font-size: 20px;
    padding: 18px 0;
  }

  .ttl_blue {
    margin-top: 24px;
    font-size: 15px;
    padding: 5px 10px;
    margin-bottom: 10px;
  }

  .blue_table th {
    width: 130px;
  }

  .blue_table th,
  .blue_table td {
    padding: 5px 12px;
  }

  .error_list {
    font-size: 13px;
  }
}

@media screen and (max-width: 350px) {
  body {
    font-size: 12px;
  }
}

/* =============================================================
   ヘッダー
   =============================================================
*/
header {
  background-color: #29519c;
  padding: 25px 0;
  position: fixed;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

header h1 {
  font-size: 27px;
  color: #fff;
}

header nav {
  width: 110px;
}

header.login {
  padding-top: 12px;
  padding-bottom: 10px;
}
header.hide {
  transform: translateY(-100%);
}

.left_box {
  width: max-content;
}

.left_box li {
  position: relative;
}

.left_box .user {
  position: absolute;
  top: 112%;
  right: -11px;
  border: 1px solid;
  border-bottom: none;
  background-color: #585858;
  width: max-content;
  z-index: 2;
  color: #fff;
  text-align: center;
  display: none;
}

.left_box .user_pro {
  border-bottom: 1px solid;
  padding-top: 13px;
  width: 160px;
  padding-bottom: 12px;
}

.left_box .user_pro img {
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  width: 40%;
  padding-bottom: 1px;
  width: 40px;
}

.left_box .user_pro .name {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
}

.left_box .user_pro p {
  font-size: 11px;
  padding-left: 10px;
  padding-right: 10px;
}

.left_box .user_btn {
  display: block;
  font-size: 13px;
  padding: 7px 0;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}

.lower_box {
  margin-top: 12px;
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
}

.lower_box li {
  position: relative;
}

.lower_box li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 80%;
  background-color: #29519c;
  position: absolute;
  top: 10%;
  right: 0;
}

.lower_box li a {
  display: block;
  width: 100%;
  height: 100%;
}

.lower_box li a img {
  margin: 0 auto;
  display: block;
  padding-top: 12px;
  height: 40px;
}

.lower_box li a span {
  font-size: 14px;
  padding-top: 4px;
  font-weight: bold;
  color: #29519c;
  display: block;
  text-align: center;
  padding-bottom: 5px;
}

.list_title {
  width: 95%;
}

@media screen and (max-width: 600px) {
  header .inner {
    width: 100%;
  }

  header h1 {
    margin-top: 5px;
    margin-left: 10px;
    font-size: 16px;
  }

  header {
    padding: 11px 0 5px;
  }

  header nav {
    margin-right: 10px;
    width: 82px;
  }

  .lower_box li a span {
    font-size: 10px;
  }

  .lower_box {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }

  .lower_box li a {
    padding-top: 8px;
  }

  .lower_box li a img {
    padding-top: 8px;
    padding-bottom: 2px;
    height: 35px;
  }

  .left_box button {
    width: 24px;
    margin-top: 5px;
  }

  .left_box .user {
    right: 0;
  }
}

/* =============================================================
   フッター
   =============================================================
*/
footer {
  padding-top: 28px;
  padding-bottom: 28px;
  background-color: #585858;
}

footer p {
  text-align: center;
  font-size: 10px;
  color: #fff;
}

@media screen and (max-width: 600px) {
  footer {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

/* =============================================================
   swiper
   =============================================================
*/
.swiper {
  padding-bottom: 35px !important;
}

.swiper-slide img {
  width: 100%;
  height: auto;
}

.swiper-pagination-bullet {
  width: var(
    --swiper-pagination-bullet-width,
    var(--swiper-pagination-bullet-size, 10px)
  ) !important;
  height: var(
    --swiper-pagination-bullet-height,
    var(--swiper-pagination-bullet-size, 10px)
  ) !important;
  background: #a7a7a7 !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: #29519c !important;
}

.swiper-button-next,
.swiper-button-prev {
  top: 45% !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  background-color: #29519c !important;
  color: #fff !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 25px !important;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: 19vw !important;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: 19vw !important;
}

@media screen and (max-width: 1100px) {
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 14vw !important;
  }

  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 14vw !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 40% !important;
    width: 60px !important;
    height: 60px !important;
  }
}

@media screen and (max-width: 600px) {
  .swiper {
    padding-bottom: 28px !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 13px !important;
  }

  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 7vw !important;
  }

  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 7vw !important;
  }

  .swiper-pagination-bullet {
    width: var(
      --swiper-pagination-bullet-width,
      var(--swiper-pagination-bullet-size, 7px)
    ) !important;
    height: var(
      --swiper-pagination-bullet-height,
      var(--swiper-pagination-bullet-size, 7px)
    ) !important;
  }
}

/* =============================================================
   パンくずリスト
   =============================================================
*/
.breadcrumb {
  font-size: 13px;
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  padding-bottom: 34px;
}

.breadcrumb li {
  margin-right: 5px;
  font-weight: bold;
  display: flex;
}

.breadcrumb li a {
  text-decoration: none;
  color: #29519c;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 5px;
}

.breadcrumb li:last-child:after {
  display: none;
}

.breadcrumb div {
  width: max-content;
  max-width: 20em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .breadcrumb {
    padding-top: 5px;
    padding-bottom: 18px;
  }

  .breadcrumb div {
    max-width: 8em;
  }
}

/* =============================================================
   ページャー
   =============================================================
*/
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 35px;
  list-style: none;
  font-family: sans-serif;
}

.pagination .page-btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #29519c;
  border-radius: 4px;
  background-color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.pagination .page-btn.disabled,
.pagination .page-btn.current {
  background: #29519c;
  color: #fff;
  border-color: #29519c;
  pointer-events: none;
}

.pagination .page-btn.prev,
.pagination .page-btn.next {
  position: relative;
}

.pagination .page-btn.prev:after,
.pagination .page-btn.prev.disabled:before {
  transform: rotate(180deg);
}

.pagination .page-btn.prev:after,
.pagination .page-btn.next:after {
  content: "";
  position: absolute;
  top: 13px;
  right: 14px;
  width: 8px;
  height: 14px;
  background-image: var(--arrow-url);
}

.pagination .page-btn.disabled:after {
  background-image: none;
}

.pagination .page-btn.prev.disabled:before,
.pagination .page-btn.next.disabled:before {
  content: "";
  position: absolute;
  top: 14px;
  right: 15px;
  width: 8px;
  height: 14px;
  background-image: var(--arrow-url-w);
}

@media (max-width: 480px) {
  .pagination .page-btn {
    padding: 6px 10px;
    font-size: 14px;
  }
}

/* =============================================================
   セレクトボックス
   =============================================================
*/
.selectbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-bottom: 23px;
}

.selectbox::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #3f3f3f;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  pointer-events: none;
}

.selectbox select {
  appearance: none;
  min-width: 202px;
  height: 2.6em;
  padding: 0.5em calc(0.8em + 30px) 0.5em 0.8em;
  border-radius: 5px;
  background-color: #fff;
  color: #3f3f3f;
  font-size: 1em;
  cursor: pointer;
}

.no_search {
  display: none;
}

/* =============================================================
   ボタン
   =============================================================
*/
.two_btn {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.two_btn a,
.two_btn input {
  display: block;
  margin-top: 17px;
  background-color: #585858;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  color: #fff;
  width: 200px;
  padding: 14px 10px;
  cursor: pointer;
}

.two_btn a.blue,
.two_btn input.blue {
  background-color: #29519c;
}

.contact_content {
  color: #a70404;
}
/******* hover制御 *******/
/**
 * PC向け（hoverが適用されるデバイス向け）
 */
@media (hover: hover) {
  *:hover {
    transition: 0.3s;
  }
  .btn_blue:hover {
    background-color: #585858;
  }
  .btn_white:hover {
    background-color: #29519c;
    color: #fff;
  }
  header h1 a:hover {
    opacity: 0.5;
  }
  header nav a:hover {
    opacity: 0.5;
  }
  .left_box li button:hover {
    opacity: 0.8;
    cursor: pointer;
  }
  .left_box .user_btn:hover {
    opacity: 1;
    background-color: #29519c;
  }
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background-color: #585858 !important;
  }
  .breadcrumb li a:hover {
    text-decoration: underline;
  }
  .pagination .page-btn:hover {
    background: #29519c;
    color: #fff;
  }
  .pagination .page-btn.prev:hover:before {
    transform: rotate(180deg);
  }
  .pagination .page-btn.prev:hover:after,
  .pagination .page-btn.next:hover:after {
    opacity: 0;
  }
  .pagination .page-btn.prev:hover:before,
  .pagination .page-btn.next:hover:before {
    content: "";
    position: absolute;
    top: 14px;
    right: 15px;
    width: 8px;
    height: 14px;
    background-image: var(--arrow-url-w);
  }
  .two_btn a.blue:hover,
  .two_btn input.blue:hover {
    background-color: #585858;
  }
  .two_btn a:hover,
  .two_btn input:hover {
    background-color: #29519c;
  }
}
/**
 * スマホ向け（hoverが適用されないデバイス向け）
 */
@media (hover: none) {
  &:active {
    transition: 0.3s;
  }
  .btn_blue:active {
    background-color: #585858;
  }
  .btn_white:active {
    background-color: #29519c;
    color: #fff;
  }
  header h1 a:active {
    opacity: 0.5;
  }
  header nav a:active {
    opacity: 0.5;
  }
  .left_box li button:active {
    opacity: 0.8;
    cursor: pointer;
  }
  .left_box .user_btn:active {
    opacity: 1;
    background-color: #29519c;
  }
  .swiper-button-next:active,
  .swiper-button-prev:active {
    background-color: #585858 !important;
  }
  .breadcrumb li a:active {
    text-decoration: underline;
  }
  .pagination .page-btn:active {
    background: #29519c;
    color: #fff;
  }
  .pagination .page-btn.prev:active:before {
    transform: rotate(180deg);
  }
  .pagination .page-btn.prev:active:after,
  .pagination .page-btn.next:active:after {
    opacity: 0;
  }
  .pagination .page-btn.prev:active:before,
  .pagination .page-btn.next:active:before {
    content: "";
    position: absolute;
    top: 14px;
    right: 15px;
    width: 8px;
    height: 14px;
    background-image: var(--arrow-url-w);
  }
  .two_btn a.blue:active,
  .two_btn input.blue:active {
    background-color: #585858;
  }
  .two_btn a:active,
  .two_btn input:active {
    background-color: #29519c;
  }
}
