@charset "UTF-8";

/* --- DLページCSS (Header/MenuとFooterはTOPと同じstyle.css使用)--- */

.page-dl .container-dl,
.page-dl section.anchorMenu,
.page-dl section.boxArea,
.page-dl .btnArea,
.page-dl .breadcrumbArea {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-dl section.boxArea {
  width: 100%;
}

.page-dl .breadcrumbArea {
  padding: 8px;
}

.page-dl .breadcrumb {
  display: flex;
  gap: 0 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
}

.page-dl .breadcrumb li {
  display: flex;
  align-items: center;
}

.page-dl .breadcrumb li:first-child::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23333333'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  content: "";
}

.page-dl .breadcrumb li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 0.3em;
  height: 0.3em;
  margin-left: 10px;
  border-top: 1px solid #333333;
  border-right: 1px solid #333333;
  content: "";
}

.page-dl .breadcrumb a {
  color: #333333;
  text-decoration: none;
}

/* breadcrumb_top（DLページで使用しているパンくず） */
.page-dl .breadcrumb_top {
  display: block;
  padding: 12px 20px;
}

.page-dl .breadcrumb_top ul {
  font-size: 14px;
  letter-spacing: -0.4em;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  padding: 2px 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-dl .breadcrumb_top li {
  display: inline;
  letter-spacing: normal;
  white-space: nowrap;
}

.page-dl .breadcrumb_top a {
  color: #333333;
  text-decoration: none;
  vertical-align: middle;
}

.page-dl .breadcrumb_top li:last-child a {
  font-weight: bold;
}

.page-dl .breadcrumb_top li:nth-child(n + 2)::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center center no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 14px;
  margin: 0 10px 0 18px;
  vertical-align: middle;
  width: 8px;
}

/* ---- Titles / Text blocks ---- */
.page-dl .dlArea__title {
  font-size: clamp(2.7rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  line-height: 1.6;
  text-underline-offset: 13px;
  text-decoration: underline;
  text-decoration-color: #12b6c8;
}

.page-dl .ul {
  text-decoration: underline;
  text-decoration-color: #12b6c8;
  text-underline-offset: 13px;
}

.page-dl .about__txt02 {
  font-size: 1.6rem;
  text-align: left;
  margin: 36px 0 20px;
}

.page-dl .ancherArea {
  padding: 5rem 1rem 0;
}

.page-dl .list-top {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(234px, 100%), 1fr));
  gap: 8px;
  margin-top: 20px;
}

.page-dl .list-top img {
  border: solid 0;
  border-radius: 8px;
}

.page-dl section.anchorMenu {
  margin: 40px auto;
}

.page-dl .area__title {
  margin-bottom: 36px;
  font-size: clamp(2.7rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.4;
}

.page-dl .list-card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 30px;
  margin: 30px auto;
}

.page-dl .card-dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.page-dl .image {
  overflow: hidden;
  border-radius: 8px;
}

.page-dl .image img {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.page-dl .text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #333333;
}

.page-dl .btnArea {
  margin: 10px auto;
}

.page-dl .btnArea02 {
  width: 100%;
  margin-top: auto;
  margin-bottom: 36px;
}

.page-dl .btn-link {
  width: 100%;
  max-width: 194px;
  margin: 0 auto;
}

.page-dl .btn-link02 {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.page-dl .btn-link span,
.page-dl .btn-link02 span {
  color: #ffffff;
  width: 100%;
  background-color: #ca4a73;
  border: 1px solid #ca4a73;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  transition: all 0.5s;
  text-decoration: none;
}

.page-dl .download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #12b6c8;
  margin-bottom: 30px;
  margin-top: auto;
}

.page-dl .download-btn svg {
  width: 24px;
  height: 24px;
}

/* アンカーメニュー */
.page-dl .button-container {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(150px, 1fr)
  ); /* 最小240px、入らなくなったら自動で折り返し */
  gap: 16px;
}

.page-dl .custom-button,
.page-dl .custom-button-Inactive {
  width: 260px;
  padding: 16px 20px;
  background-color: #12b6c8;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: clamp(14px, 2.5vw, 18px);
  white-space: nowrap;
  font-weight: bold;
  border: 2px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background-color 0.3s,
    color 0.3s,
    border 0.3s;
  box-sizing: border-box;
}

.page-dl .custom-button-Inactive {
  opacity: 0.8;
}

.page-dl .custom-button .nav-arrow {
  transition: transform 0.3s;
}

.page-dl .custom-button:hover {
  background-color: #fff;
  color: #12b6c8;
  border: 2px solid #12b6c8;
}

.page-dl .custom-button:hover .nav-arrow {
  transform: translateY(4px);
}

/* コンテナ */
.page-dl .container {
  margin: 0 auto;
  position: relative;
}

/* サイドナビ */
.page-dl .side-nav {
  position: fixed;
  top: 100px;
  right: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.page-dl .side-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-dl .side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-dl .side-nav li {
  writing-mode: vertical-lr;
  text-align: center;
  margin-bottom: 2px;
  border-radius: 10px 0 0 10px;
  background-color: #12b6ca;
  border: 1px solid #12b6ca;
  transition:
    0.3s ease,
    color 0.3s ease;
  width: 40px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-dl .side-nav a {
  display: block;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.page-dl .side-nav li:hover {
  background-color: #ffffff;
  border-color: #12b6ca;
}

.page-dl .side-nav li:hover a {
  color: #12b6ca;
}

.page-dl .side-nav .disabled span {
  color: #12b6c8;
  opacity: 0.5;
  cursor: default;
  font-weight: bold;
}

.page-dl .disabled {
  background: #f5f5f5;
  color: #ffffff;
  padding: 5px 10px;
  border-left: 5px solid #12b6ca;
}

.page-dl .list-card {
  align-items: stretch;
}

.page-dl .card-dl {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-dl .card-dl .text {
  flex: 1 1 auto;
}

.page-dl .card-dl .download-btn {
  margin-top: auto;
}

.page-dl .side-nav .sp-br {
  display: none;
}

/* ----- DLページのレスポンシブ（header/hamburgerはstyle.css） ----- */
@media (max-width: 767px) {
  .page-dl .container-dl {
    width: 100%;
  }

  .page-dl .button-container {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .page-dl .custom-button,
  .page-dl .custom-button-Inactive {
    flex: 0 0 calc(50% - 8px);
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }
}

@media (max-width: 979px) and (orientation: landscape) {
  .page-dl .custom-button-Inactive {
    flex: 0 0 calc(25% - 12px);
    margin: 0;
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) and (max-width: 979px) {
  .page-dl .button-container {
    justify-content: center;
    gap: 16px;
    padding: 0;
    box-sizing: border-box;
  }

  .page-dl .custom-button,
  .page-dl .custom-button-Inactive {
    flex: 0 0 calc(25% - 16px);
    max-width: 100%;
    font-size: 15px;
    padding: 12px 16px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 767px) {
  .page-dl .side-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    top: auto;
    right: auto;
    left: 0;
  }

  .page-dl .side-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .page-dl .side-nav li {
    flex: 1;
    margin: 0 1px 0;
    padding: 0;
    border-left: 0;
    border-radius: 10px 10px 0 0;
    height: 40px;
    writing-mode: horizontal-tb;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-dl .side-nav li + li {
    border-left: 1px solid #12b6ca;
  }

  .page-dl .side-nav a {
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    display: block;
    width: 100%;
  }

  .page-dl .list-sidenav::before {
    content: none;
  }

  .page-dl .side-nav .disabled span {
    opacity: 0.5;
    pointer-events: none;
  }

  /* クッキーアイコンかぶり防止 */
  #ot-sdk-btn-floating.ot-floating-button {
    bottom: 40px !important;
    position: fixed !important;
    z-index: 1000 !important;
  }
}

/* SP横（タッチ端末想定）：下部固定タブ */
@media screen and (orientation: landscape) and (max-height: 450px) and (hover: none) and (pointer: coarse) {
  .page-dl .side-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    top: auto;
    right: auto;
    left: 0;
  }

  .page-dl .side-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .page-dl .side-nav li {
    flex: 1;
    margin: 0 1px 0;
    padding: 0;
    border-left: 0;
    border-radius: 10px 10px 0 0;
    height: 40px;
    writing-mode: horizontal-tb;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-dl .side-nav li + li {
    border-left: 1px solid #12b6ca;
  }

  .page-dl .side-nav a {
    font-size: 14px;
    padding: 6px;
    writing-mode: horizontal-tb;
  }

  .page-dl .list-sidenav::before {
    content: none;
  }

  .page-dl .side-nav .disabled span {
    opacity: 0.5;
    pointer-events: none;
  }
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .page-dl .side-nav li:nth-child(2) a {
    display: block !important;
    max-width: 4.5em !important;
    line-height: 1.2 !important;
    font-size: 13px !important;
    text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .page-dl .button-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .page-dl .custom-button,
  .page-dl .custom-button-Inactive {
    flex: 0 0 calc(25% - 8px) !important;
    min-width: 0 !important;
    padding: 12px 5px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

@media screen and (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) {
  .page-dl .custom-button,
  .page-dl .custom-button-Inactive {
    flex: 1 !important;
    max-width: 100% !important;
    font-size: 13px !important;
    padding: 12px 5px !important;
    white-space: nowrap !important;
  }
}
/*---ぬるっと移動---*/
html {
  scroll-behavior: smooth;
}

/* ずれ防止DLページのみ */
.page-dl {
  --header-h: 80px;
}
.page-dl .anchorMenu,
.page-dl .ancherArea {
  scroll-margin-top: var(--header-h);
}
