@charset "utf-8";
/* ==================================================
   Reset
================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ==================================================
   Base
================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #434343;
  line-height: 1.6;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)), url("../img/inaho.png"), url("../img/wasi.png");
  background-color: #ccccbe;
  background-size:
    auto, 480px, 480px;
  background-position:
    center, right 10px bottom -10px, center;
  background-repeat:
    no-repeat, no-repeat, repeat;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  opacity: 0.7;
}
p {
  margin: 0;
}
/* ==================================================
   Header
================================================== */
header.title {
  background-color: #fff;
  text-align: center;
  padding: 20px 16px;
  margin-bottom: 2rem;
}
header.title h4 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
header.title h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  header.title {
    padding: 1rem 0.7rem;
  }
  header.title h4 {
    font-size: 1rem;
  }
  header.title h1 {
    font-size: 1.4rem;
  }
}
/* ==================================================
   Layout
================================================== */
.wrap {
  width: min(900px, 96%);
  margin: 0 auto;
  overflow: hidden;
}
/* ==================================================
   Intro Text
================================================== */
.text {
  width: min(90%, 800px);
  margin: 0 auto;
  text-align: left;
}
.text p {
  font-size: 1rem;
  line-height: 1.8;
}
.attention {
  color: red;
}
/* PC / SP 切り替え */
.pc {
  display: block;
}
.sp {
  display: none;
}
@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
/* ==================================================
   Navigation Buttons
================================================== */
.button {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem auto 2rem;
}
.nav-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  min-height: 40px;
  padding: 6px 10px;
  background: #807a66;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.3s ease, opacity 0.3s ease;
}
.nav-btn:hover {
  background-color: #6f6a59;
  opacity: 1;
}
@media (max-width: 768px) {
  .button {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .nav-btn {
    width: 200px;
  }
}
/* ==================================================
   Main
================================================== */
main {
  padding: 1rem 2rem 2rem;
}
/* ==================================================
   Section Heading
================================================== */
h2 {
  margin: 2rem 0 0.8rem;
  padding: 0.7rem 1.2rem;
  border: 3px double #3d3d3d;
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
}
h3 {
  margin: 2rem 0 0.8rem;
  padding: 0.4em 1em;
  border-left: 5px solid #f08400;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}
.comment {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}
/* ==================================================
   Download Cards
================================================== */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
}
.column {
  /*
   * 画像の元サイズが違っていても
   * カード自体の大きさを揃える
   */
  flex: 1 1 360px;
  max-width: 390px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 1rem 0;
  padding: 2.5rem 1.5rem 1.5rem;
  background-color: #fafafa;
  border: 1px solid #cccccc;
  border-radius: 5px;
  box-shadow:
    0 5px 5px rgb(0 0 0 / 5%), 0 2px 3px -2px rgb(0 0 0 / 5%);
}
/* ==================================================
   Card Caption
================================================== */
.caption {
  position: absolute;
  top: -10px;
  left: 10px;
  padding: 0.6rem 1rem;
  background-color: #807a66;
  color: #fafafa;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}
/* ==================================================
   Card Description
================================================== */
.note {
  width: 100%;
  min-height: 48px;
  padding: 0.2rem 0 0.5rem;
}
.note p, .column > p {
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}
/* ==================================================
   Download Image Area
================================================== */
.column > a:not(.shadow_btn) {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 270px;
  margin-top: 0.5rem;
  padding: 0.8rem;
  overflow: hidden;
  /* PNGの外側の背景 */
  background: repeating-linear-gradient(-45deg, #f2f2f2, #f2f2f2 5px, #fff 5px, #fff 10px);
}
.dl-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  /* PNGそのものにだけ影 */
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.18));
}
/* ==================================================
   Word Download Table
================================================== */
.dl-table {
  width: 100%;
  margin-top: 1rem;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
}
.dl-table tr {
  border-bottom: 1px solid #e6e6e6;
}
.dl-table tr:first-child {
  border-top: 1px solid #e6e6e6;
}
.dl-table th {
  width: 80%;
  padding: 8px 10px;
  font-weight: normal;
  text-align: left;
}
.dl-table td {
  width: 20%;
  text-align: center;
}
.dl-table img {
  width: 30px;
  height: auto;
  margin: 5px 0;
}
/* ==================================================
   Presentation Link
================================================== */
.pre-link {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 1rem 0;
  text-align: center;
}
.pre-link p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.pre-link img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
/* ==================================================
   Overseas Link
================================================== */
.link-button {
  max-width: 100%;
  margin: 1rem auto 2rem;
  padding: 1rem 1rem 2rem;
  background-color: #fff;
  border: 1px solid #cccccc;
  border-radius: 5px;
  text-align: center;
}
.link-button p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.shadow_btn {
  display: inline-block;
  max-width: 200px;
  padding: 0.8em 1.6em;
  margin: 0.5rem auto 0;
  background: #f08400;
  color: #fff;
  box-shadow: 4px 4px 0 #a15d0a;
  font-size: 15px;
  text-align: center;
  transition:
    transform 0.3s ease, box-shadow 0.3s ease;
}
.shadow_btn:hover {
  opacity: 1;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #a15d0a;
}
/* ==================================================
   Footer
================================================== */
.footer-container::before {
  content: "";
  display: block;
  height: 1px;
  background: #424242;
}
.footer-top {
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.footer-section {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 1.6rem 0;
  font-size: 16px;
  text-align: center;
}
.footer-section a:hover, .footer-bottom a:hover {
  opacity: 0.7;
}
.footer-bottom {
  padding: 8px 0 24px;
  color: #434343;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}
/* ==================================================
   Responsive
================================================== */
@media (max-width: 768px) {
  main {
    padding: 1rem 0.5rem 2rem;
  }
  h2 {
    font-size: 1.25rem;
    padding: 0.6rem 0.9rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .comment {
    font-size: 0.95rem;
  }
  .container {
    gap: 16px;
  }
  .column {
    flex: 0 1 100%;
    width: 100%;
    max-width: 430px;
    min-height: 420px;
    margin: 1rem auto;
    padding: 2.5rem 1rem 1rem;
  }
  .column > a:not(.shadow_btn) {
    min-height: 250px;
  }
  .dl-image {
    max-width: 92%;
    max-height: 280px;
  }
  .caption {
    max-width: calc(100% - 20px);
    font-size: 14px;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    margin: 1rem 0;
  }
}