@charset "utf-8";

/* ============================================================
   download.css — download group pages
   (資料ダウンロード)
   Shared styles are in components.css
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  overflow-x: clip;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #06617f; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: #30a1af; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.8125rem;
  color: #646464;
}
.breadcrumb a { color: #30a1af; }
.breadcrumb a:hover { color: #06617f; }
.breadcrumb__sep {
  margin: 0 0.5rem;
  color: #cacaca;
}

/* ============================================================
   PAGE HEADER (teal banner)
   ============================================================ */

.page-header {
  background: #30a1af;
  padding: 3.5rem 0;
}
.page-header__title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1875rem);
  font-weight: normal;
  border-left: 0.3125rem solid #fff;
  padding-left: 1.875rem;
}
.page-header__sub {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
}

/* ============================================================
   PAGE NAV (sub-navigation bar)
   ============================================================ */

.page-nav {
  background: #06617f;
}
.page-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-nav__item {
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.page-nav__item:last-child { border-right: none; }

.page-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  transition: background .2s;
  min-height: 5rem;
}
.page-nav__link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ============================================================
   SECTION
   ============================================================ */

.section-pad { padding: 5rem 0; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 3.75rem;
  height: 0.1875rem;
  background: #30a1af;
  margin: 0.75rem auto 0;
  border-radius: 0.125rem;
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */

.download-content {
  max-width: 52rem;
  margin: 0 auto;
}

.download-content__heading {
  background: #30a1af;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0.1875rem;
}

.download-content__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem; 
  padding: 0;
  margin-bottom: 1.5rem;
  list-style: none;
  align-items: stretch;
}

.download-content__download-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  width: calc((100% - 2.5rem) / 3);
  
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1a1a1a;
  background: #ffffff;
  border: 0.125rem solid #eef2f6;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.375rem rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.download-content__download-card:hover {
  border-color: #06617f;
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.5rem 0.9375rem rgba(0,0,0,0.1);
}

.download-content__card-top {
  display: flex;
  padding: 1.5625rem;
  align-items: flex-start;
  flex: 1;
}

.download-content__card-icon {
  flex: 0 0 3.75rem;
  margin-right: 1.25rem;
}

.download-content__card-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.download-content__card-text {
  flex: 1;
  text-align: left;
}

.download-content__card-title {
  margin: 0 0 0.625rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.4;
}

.download-content__card-description {
  margin: 0;
  font-size: 0.9rem;
  color: #646464;
  line-height: 1.6;
}

.download-content__br{
  display: inline;
}

.download-content__br2{
  display: none;
}

.download-content__card-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  
  width: 12.5rem;
  height: 2.75rem; 
  margin: 0 auto 1.5625rem;
  flex-shrink: 0;
  
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 3.125rem;
  border: 0.125rem solid #06617f;
  background: #06617f;
  color: #ffffff;
}

.download-content__download-label {
  color: #ffffff;
  font-size: 0.875rem;
  pointer-events: none;
}

.download-content__download-card:hover .download-content__card-bottom {
  background: #ffffff;
  color: #06617f;
  transform: translateY(-0.0625rem);
}

.download-content__download-card:hover .download-content__download-label {
  color: #06617f;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 48.0625rem) and (max-width: 55rem) {
  .download-content__card-title {
    font-size: 0.75rem;
  }
  .download-content__card-description {
    font-size: 0.60rem;
  }
}

@media (max-width: 48rem) {
  .section-pad { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }

  .page-header { padding: 2.5rem 0; }
  .page-header__title { font-size: 1.5rem; padding-left: 1rem; }

  .page-nav__link { font-size: 0.8125rem; padding: 0.75rem 0.25rem; min-height: 4rem; }

  .download-content__download-card {
    flex: 0 0 100%;
    width: 100%;
  }
  .download-content {
    padding: 1.5rem;
  }
  .download-content__br{
    display: none;
  }
}

@media (max-width: 30rem) {
  .section-pad { padding: 2.5rem 0; }

  .page-nav { display: none; }
  
  .download-content__br2{
    display: inline;
  }
}
