@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');

.tomatocp_contents {
  max-width: 600px;
  margin: auto;
}
.tomatocp_contents * {
  line-height: 0;
  box-sizing: border-box;
}
.tomatocp_contents img {
  max-width: 100%;
  height: auto;
}
.tomatocp_contents .btn {
}

.tomatocp_contents .btn a {
  display: inline-block;
  width: 100%;
}
.tomatocp_contents .btn a:hover {
  opacity: 0.8;
}
.tomatocp_contents .note {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  color: #666666;
  padding: 2em 2.5em;
  font-size: 80%;
  line-height: 1.5;
  /* background-image: url(../img/img14.jpg); */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: left top;
}
.tomatocp_contents .note .fwb {
  font-weight: bold;
}
.tomatocp_contents .mto span:after {
  content: '@';
}

.tomatocp_contents .note a:link {
  color: #000d99;
  text-decoration: underline;
}

.tomatocp_contents .note a:visited {
  color: #000d99;
  text-decoration: underline;
}

.tomatocp_contents .note a:hover {}

.tomatocp_contents .note a:active {
  color: #FF0000;
  text-decoration: underline;
}

.bg01 {
  padding: 0em 5.5em!important;
  color: #666666!important;
  background-image: url(../img/bg01.jpg);
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: left top;
}
.bg01 ul {
  margin-block-start: 0;
  padding-inline-start: 0em;
}
.bg01 ul li {
  list-style: none;
  line-height: 1.5;
  text-indent: -1em;
  padding-left: 1em;
}

.bg02 {
  color: #111!important;
  background-image: url(../img/bg02.jpg);
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: left top;
}

.bg02 .fwb {
  color: #666666!important;
}

.image-row {
  display: grid;
  /* 左から順に 55px、160pxが4枚、55px の横幅を指定 */
  grid-template-columns: 7.333% 21.333% 21.333% 21.333% 21.333% 7.333%;
  width: 100%;       /* 画面幅に合わせて伸縮 */
  max-width: 600px;  /* 横幅の最大値は600pxに制限 */
  gap: 0; /* 画像の隙間をゼロにする場合（必要に応じて調整） */
}

.image-row img {
  width: 100%;
  height: auto;
  display: block;
}

.image-row a {
  display: block;
  width: 100%;
}

.w55 { width: 55px; }
.w160 { width: 160px; }
