/* Resets > Common Settings */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
}

/* Base Settings */

html {
  height: 100%;
  font-size: 16px;  /* 1rem = 16px */
}

body {
  overflow: auto;
  min-height: 100vh;
  line-height: 1.8;
  color: #24140e;
  background-color: #fffff9;
  text-align: center;
  font-family:
    "Meiryo", /* Japanese for Windows, current standard */
    "Hiragino Kaku Gothic ProN", /* macOS standard Japanese */
    "Yu Gothic", /* Windows 10 or later */
    "MS PGothic", /* Old Windows machine standard */
    "Arial", /* European font style stability */
    "sans-serif"; /* General term, anti-slip */
}

body.typeA {
  background-color: #eebbcb;
}

h3 span {
  margin-right: 6px;
  font-size: 1.2em;
  vertical-align: middle;
}

p, span, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p, span, div {
  white-space: normal;
}

/* Layout Settings */

.custom-hr {
  border: none;
  border-top: 3px dashed #007BFF;
  width: 50%;
  margin: 30px auto;
}

/* Componen > Part Settings */

table {
    table-layout: fixed;
    width: auto;
}

td {
    box-sizing: border-box;
    padding: 10px;
}

.table1 {
  margin-left: auto;
  margin-right: auto;
  border: 0px solid #666c67;
  border-collapse: collapse;
  background-color: #fffff9;
  vertical-align: top;
}
.table1 td, .table1 th {
  text-align: left;
}

.table2 {
  margin: 0 auto;
  max-width: 1200px; /* 最大幅 */
  border: 0px solid #666c67;
  border-collapse: separate;
  background-color: #fffff9;
  vertical-align: top;
  table-layout: fixed;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}
.table2 th:nth-child(1), .table2 td:nth-child(1) {
  width: 15%;
}
.table2 th:nth-child(2), .table2 td:nth-child(2) {
  width: 80%;
}
.table2 td, .table2 th {
  text-align: left;
  border: 1px solid #666c67;
  padding: 8px;
}
.table2 th {
  background-color: #ffe4e1;
}

.table3 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table3 td, .table3 th {
  text-align: left;
}

.table4 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table4 th:nth-child(1) { width: 15%; }
.table4 th:nth-child(2) { width: 35%; }
.table4 th:nth-child(3) { width: 35%; }
.table4 th:nth-child(4) { width: 15%; }
.table4 td, .table4 th {
  text-align: left;
}

.table5 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table5 th:nth-child(1) { width: 15%; }
.table5 th:nth-child(2) { width: 15%; }
.table5 th:nth-child(3) { width: 15%; }
.table5 th:nth-child(4) { width: 55%; }
.table5 td, .table5 th {
  text-align: left;
}

.table6 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table6 th:nth-child(1) { width: 25%; }
.table6 th:nth-child(2) { width: 25%; }
.table6 th:nth-child(3) { width: 50%; }
.table6 td, .table6 th {
  text-align: left;
}

.table7 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table7 th:nth-child(1) { width: 15%; }
.table7 th:nth-child(2) { width: 15%; }
.table7 th:nth-child(3) { width: 15%; }
.table7 th:nth-child(4) { width: 15%; }
.table7 th:nth-child(5) { width: 40%; }
.table7 td, .table7 th {
  text-align: left;
}

.table8 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table8 th:nth-child(1) { width: 15%; }
.table8 th:nth-child(2) { width: 10%; }
.table8 th:nth-child(3) { width: 10%; }
.table8 th:nth-child(4) { width: 10%; }
.table8 th:nth-child(5) { width: 10%; }
.table8 th:nth-child(6) { width: 45%; }
.table8 td, .table8 th {
  text-align: left;
}

.table9 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table9 th:nth-child(1) { width: 50%; }
.table9 th:nth-child(2) { width: 50%; }
.table9 td, .table9 th {
  text-align: left;
}

.table10 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table10 th:nth-child(1) { width: 100%; }
.table10 td, .table10 th {
  text-align: left;
}

.table11 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
}
.table11 th:nth-child(1) { width: 25%; }
.table11 th:nth-child(2) { width: 25%; }
.table11 th:nth-child(3) { width: 25%; }
.table11 th:nth-child(4) { width: 25%; }
.table11 td, .table11 th {
  text-align: left;
}

.table12 {
  margin: 0 auto;
  border: 0px solid #666c67;
  border-collapse: collapse;
  background-color: #eebbcb;
  vertical-align: top;
}
.table12 td, .table12 th {
  text-align: center;
}

.table13 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
  border: 2px solid #666c67;
  padding: 8px;
}
.table13 td:nth-child(1),
.table13 th:nth-child(1) {
  width: 20%;
  border: 1px solid #666c67;
  padding: 8px;
  text-align: left;
}
.table13 td:nth-child(2),
.table13 th:nth-child(2) {
  width: 40%;
  border: 1px solid #666c67;
  padding: 8px;
  text-align: left;
}
.table13 td:nth-child(3),
.table13 th:nth-child(3) {
  width: 40%;
  border: 1px solid #666c67;
  padding: 8px;
  text-align: left;
}

.table14 {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
  border: 2px solid #666c67;
  padding: 8px;
}
.table14 td:nth-child(1),
.table14 th:nth-child(1) {
  width: 30%;
  border: 1px solid #666c67;
  padding: 8px;
  text-align: left;
}
.table14 td:nth-child(2),
.table14 th:nth-child(2) {
  width: 70%;
  border: 1px solid #666c67;
  padding: 8px;
  text-align: left;
}

.table13 th, .table14 th {
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  padding: 8px;
}

/* Utility Classes */

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
}

img.size1 {
width: 175px;
height: 175px;
}

img.size2 {
width: 169px;
height: 95px;
}

img.size3 {
width: 169px;
height: 239px;
}

img.size4 {
width: 350px;
height: 350px;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 0px;
}

.font-special {
  font-size: 2.5rem;
}

.font-large {
  font-size: 1.5rem;
}
.font-medium {
  font-size: 1.25rem;
}
.font-small {
  font-size: 1rem;
}

/* Components > Slider Settings */

/* Overall Settings */
.swiper {
  width: 100%;
  max-width: 500px;
  height: auto;
  overflow: hidden;
  background: #BBBBBB;
  position: relative;
  padding: 10px 0;
  border: none;
}

/* Slide Settings */
.swiper-slide {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  color: #ffffff;
  text-align: center;
  /* line-height: 0;
  /* font-size: 0;
}

/* Image adjustment */
.swiper-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

/* For mobile */
@media screen and (max-width: 768px) {
  .swiper {
    height: 50vh;
  }
  .swiper-slide > img {
    object-position: center;
  }
}

/* Adjusting the desktop display */
@media screen and (min-width: 769px) {
  .swiper {
    height: 70vh;
  }
  .swiper-slide > img {
    object-position: center;
  }
}

/* Background color of the 4n+1th slide */
.swiper-slide:nth-child(4n + 1) {
  background-color: #ffff7f;
}

/* Background color of the 4n+2th slide */
.swiper-slide:nth-child(4n + 2) {
  background-color: #ff7f7f;
}

/* Background color of the 4n+3th slide */
.swiper-slide:nth-child(4n + 3) {
  background-color: #7fff7f;
}

/* Background color of the 4n+4th slide */
.swiper-slide:nth-child(4n + 4) {
  background-color: #7f7fff;
}

/* Customizing the arrows (previous/next) */
.swiper-button-prev::after,
.swiper-button-next::after {
  bottom: 0;
  content: "";
  height: 0;
  margin: auto;
  position: absolute;
  top: 0;
  width: 0;
}

/* Customizing the arrows (previous) */
.swiper-button-prev::after {
  border-bottom: 20px solid transparent;
  border-right: 30px solid #000000;
  border-top: 20px solid transparent;
}

/* Customizing the arrows (next) */
.swiper-button-next::after {
  border-bottom: 20px solid transparent;
  border-left: 30px solid #000000;
  border-top: 20px solid transparent;

/* Media Queries (Responsive) */

@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
  }
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }
  .main-content {
    min-height: 100vh;
    padding-bottom: 50px;
  }
  .container {
    min-height: 100vh;
    padding: 0 10px; 
  }
  .font-special {
    font-size: 1.75rem;
  }
  .font-large {
    font-size: 1.25rem;
  }
  .font-medium {
    font-size: 1.125rem;
  }
  .font-small {
    font-size: 0.875rem;
  }
}