@charset "UTF-8";
#title {
  background-color: #fafafa;
  padding: 2rem 1rem;
  width: 100%;
}
#title #title-width {
  max-width: 960px;
  margin: 0 auto;
}
#title #title-width h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #004d4d;
}
#title #title-width div {
  width: 80%;
  margin: 0 auto;
  padding-top: 33.3333333333%;
  /* 高さを幅の1/3にする */
  position: relative;
  /* 絶対位置を指定するために必要 */
  overflow: hidden;
  /* 画像のはみ出しを隠す */
}
#title #title-width div img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像を親要素に合わせてカバーする */
}
#title #title-width > img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}
#title #title-width p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  background-color: #fff;
  padding: 1.3rem;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/*******toc使用での目次**********/
#toc-m {
  border-top: 4px double #ccc;
  padding: 30px 20px 0px 20px;
  width: 90%;
  display: block;
  margin: 10px 20px 0px 20px;
}
#toc-m::before {
  content: "▶";
  color: red;
}

#toc-m {
  border-top: 4px double #ccc;
  padding: 1.5rem 1rem 0;
  width: 90%;
  margin: 1rem auto 0;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
}
#toc-m::before {
  content: "▶";
  color: red;
  margin-right: 0.5rem;
  display: inline-block;
}

#toc-m {
  border-top: 2px solid #ccc;
  padding: 1rem 1rem 0;
  width: 90%;
  margin: 1rem auto 0;
  font-size: 0.95rem;
  font-weight: bold;
}
#toc-m::before {
  content: "▶";
  color: #c00;
  margin-right: 0.4em;
}

#toc ul {
  border-bottom: 2px solid #ccc;
  padding: 1rem 1.2rem;
  width: 90%;
  margin: 0 auto 1rem;
  counter-reset: toc-counter;
}
#toc ul li {
  list-style: none;
  margin: 0;
  padding: 0.2em 0;
  line-height: 1.4;
}
#toc ul li.toc-h2 a {
  font-size: 0.95em;
  font-weight: bold;
  color: #444;
  text-decoration: none;
  display: inline-block;
}
#toc ul li.toc-h2 a::before {
  counter-increment: toc-counter;
  content: counter(toc-counter) ". ";
  margin-right: 0.4em;
  color: #666;
}
#toc ul li.toc-h2 a:hover {
  color: #007070;
}
#toc ul li.toc-h3 {
  padding-left: 1.2em;
}
#toc ul li.toc-h3 a {
  font-size: 0.85em;
  color: #777;
  text-decoration: none;
  display: inline-block;
}
#toc ul li.toc-h3 a::before {
  content: "▸";
  margin-right: 0.4em;
  color: #aaa;
}
#toc ul li.toc-h3 a:hover {
  color: #555;
}

.submain {
  counter-reset: chapter;
  flex-grow: 1;
}
.submain > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #004d4d;
  margin-top: 200px;
  margin-bottom: 30px;
  padding: 10px 0;
  line-height: 1.2;
  counter-reset: section;
}
.submain > h2::before {
  content: counter(chapter) ".";
  counter-increment: chapter;
  color: #338888;
  font-size: 0.7em;
  margin-right: 0.3rem;
}
.submain > h2 > a {
  font-size: inherit;
  color: inherit;
}
.submain > h2 > a:hover {
  color: teal;
}
.submain ul {
  padding: 30px 10px;
}
.submain ul li {
  margin: 13px 0px 13px 20px;
  line-height: 1.6;
  list-style-type: circle;
}
.submain > div > ul {
  background-color: #e9f7f1;
  border: 2px solid #c6e5d6;
  border-left: 6px solid #2e8b57;
  border-radius: 6px;
  padding: 1.5rem 1rem;
  margin: 2rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.submain > div > ul > li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #2d423b;
  list-style: none;
}
.submain > div > ul > li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #2e8b57;
  font-weight: bold;
}
.submain > div > ul > li a {
  color: inherit;
}
.submain h3 {
  margin: 4rem 0 1rem;
  line-height: 1.3;
  font-size: 1.4rem;
  font-weight: bold;
  color: #004d4d;
  display: flex;
  align-items: center;
  gap: 0.6em;
  counter-increment: section;
}
.submain h3::before {
  content: counter(chapter) "-" counter(section);
  font-size: 0.85em;
  color: #555;
  border: 1px solid #bbb;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  line-height: 1;
  display: inline-block;
}
.submain h3 > a {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}
.submain h3 > a:hover {
  text-decoration: underline;
}
.submain h4 {
  margin: 2rem 0 1rem;
  line-height: 1.4;
  font-size: 1.2rem;
  font-weight: bold;
  color: #555;
  position: relative;
}
.submain h4::before {
  content: "≫";
  padding-right: 0.4em;
  font-size: 1.3em;
  color: #aaa;
}
.submain h4 > a {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}
.submain h4 > a:hover {
  text-decoration: underline;
}
.submain > h5 {
  font-weight: bold;
  color: #999;
}
.submain p {
  padding: 10px 0;
  line-height: 1.6;
}
.submain dl {
  margin: 30px 10px 30px 10px;
}
.submain dl dt {
  font-weight: bold;
  color: #666;
  margin: 30px 0 0;
}
.submain dl dt a {
  color: inherit;
  position: relative;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.submain dl dt a::after {
  content: "↗";
  font-size: 0.75em;
  color: #aaa;
  margin-left: 0.3em;
  vertical-align: middle;
}
.submain dl dt a:hover {
  color: #004d4d;
}
.submain dl dt .dai {
  font-size: 1.3rem;
}
.submain dl dd {
  margin: 5px 5px 5px 10px;
  line-height: 1.6;
}
.submain img {
  width: 80%;
}
.submain img.w100 {
  width: 100%;
}
.submain .tunagi {
  padding: 10px;
  margin: 40px auto;
  width: 90%;
  background-color: #eee;
  color: #004d4d;
}
.submain .tunagi a {
  color: red;
  font-weight: bold;
  margin: 0 20px;
}
.submain .important {
  font-size: 1.2em;
  color: #007bff;
  margin: 20px;
  border: 2px solid #007bff;
  padding: 20px;
  border-radius: 5px;
  display: block;
}
.submain .important a {
  padding: 15px;
  color: red;
}
.submain .eye {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  margin: 30px 0;
  padding: 40px 20px;
}
.submain form#estimate {
  display: inline-block;
  margin: 0 5px;
}
.submain form#estimate button[name=from_detail] {
  font-size: 0.8rem; /* 小さめの文字 */
  padding: 3px 6px; /* コンパクトなパディング */
  border: 1px solid #ccc; /* 薄い枠線で自然に */
  background-color: white;
  border-radius: 4px; /* 少し角丸 */
  cursor: pointer;
  transition: background-color 0.5s;
}
.submain form#estimate button[name=from_detail]:hover {
  background-color: #e0e0e0; /* ホバー時に少し濃く */
}
.submain input,
.submain select,
.submain textarea {
  width: 100%;
  border: 1px solid #ccc;
}
.submain input:hover,
.submain select:hover,
.submain textarea:hover {
  border: 1px solid rgb(176.25, 255, 129);
}
.submain input.short {
  width: 60%;
}
.submain input[type=submit] {
  display: block;
  width: 60%;
  margin: 0 auto 20px;
  padding: 20px;
  text-align: center;
  background-color: rgb(192.1875, 255, 154.5);
}
.submain input[type=submit]:hover {
  cursor: pointer;
  color: red;
  font-weight: bold;
}
.submain .err,
.submain span.hissu {
  color: red;
}
.submain textarea.readonly {
  display: none;
}
.submain table.itemdetails {
  width: 100%;
}
.submain table.itemdetails th {
  width: 20%;
}
.submain table.itemdetails td span.detail_waribikiritsu {
  background-color: red;
  color: #fff;
  margin-left: 15px;
  padding: 2px;
}
.submain button[name=from_detail] {
  border: 1px solid #ccc;
  margin: 0 5px;
  border-radius: 5px;
  padding: 8px;
  font-size: 1rem;
  background-color: #d6efe3;
}
.submain .org_item_disp_kanren {
  margin: 3rem 0;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.submain .org_item_disp_kanren > p {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #004d4d;
}
.submain .org_item_disp_kanren > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.submain .org_item_disp_kanren > div > div {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.6em 1em;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.submain .org_item_disp_kanren > div > div a {
  text-decoration: none;
  color: #2e8b57;
  font-size: 0.95rem;
  display: block;
}
.submain .org_item_disp_kanren > div > div a:hover {
  text-decoration: underline;
}
.submain .org_item_disp_kanren > div > div:hover {
  background-color: #eef8f4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.submain.estimate h2 {
  margin-top: 2rem;
}
.submain.estimate label.rito {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.8em;
  border: 1px solid #ccc;
  border-radius: 0.4em;
  background-color: #f9f9f9;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.submain.estimate label.rito:hover {
  background-color: #eef;
}
.submain.estimate label.rito input[type=checkbox] {
  accent-color: #007bff;
  width: 1.2em;
  height: 1.2em;
  cursor: pointer;
}
.submain.estimate form select {
  background-color: rgb(240, 255, 231);
  padding: 10px;
  color: #000;
  margin-top: 0;
}
.submain.estimate form p {
  margin: 10px 0 0 0;
  padding: 5px;
}
.submain.estimate #dispdata {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  padding: 2rem;
  z-index: 1001;
}
.submain.estimate #dispdata h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
  display: block;
  margin-top: 10px;
}
.submain.estimate #dispdata h3::before {
  content: none;
}
.submain.estimate #dispdata p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.submain.estimate #dispdata table {
  width: 100%;
}
.submain.estimate #dispdata table tr td {
  text-align: right;
  font-size: 0.9rem;
  padding: 5px;
}
.submain.estimate #dispdata table tr td:first-child {
  text-align: left;
}
.submain.estimate #dispdata table tr.shokei td {
  text-align: right;
}
.submain.estimate #dispdata table tr.gokei td {
  text-align: right;
  font-weight: bold;
  font-size: 1.5rem;
}
.submain.estimate #dispdata form {
  margin-top: 1.5rem;
  text-align: center;
}
.submain.estimate #dispdata form button {
  background-color: #007bff;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 auto;
}
.submain.estimate #dispdata form button:hover {
  background-color: #0056b3;
}
.submain.estimate #dispdata .close-button {
  position: absolute;
  background: #f33;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1.8rem;
  text-align: center;
}
.submain.estimate #dispdata .close-button.b1 {
  top: 0.5rem;
  right: 0.5rem;
}
.submain.estimate #dispdata .close-button.b2 {
  bottom: 0.5rem;
  left: 0.5rem;
}
.submain.estimate .login_info button {
  background-color: #002347;
  color: white;
  margin: 0.6rem;
  padding: 0.6rem;
}
.submain.estimate #re_disp,
.submain.estimate #calc_b {
  margin: 1rem auto;
  display: block;
  background-color: #28a745;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}
.submain.estimate #re_disp:hover,
.submain.estimate #calc_b:hover {
  background-color: #1e7e34;
}
.submain .item-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 10px;
}
.submain .item-grid .esti-box {
  border: 1px solid #ccc;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.submain .item-grid .esti-box:hover {
  background-color: #f9f9f9;
}
.submain .item-grid .esti-box.selected {
  border: 2px solid #007bff;
  background-color: #e9f5ff;
}
.submain .item-grid .esti-box img {
  width: 100%;
  height: auto;
  max-height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 5px;
}
.submain .item-grid .item-name {
  font-size: 0.75rem;
  word-break: break-word;
  line-height: 1;
}
.submain table.color td.ao {
  background-color: rgb(0, 0, 70);
}
.submain table.color td.aka {
  background-color: darkred;
}
.submain table.color td.midori {
  background-color: darkgreen;
}
.submain table.color td.murasaki {
  background-color: darkslateblue;
}
.submain table.color td.kuro {
  background-color: black;
}

div#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none; /* 初期状態で非表示 */
}

/*******商品ボックス*********/
.item-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  margin: 20px 0px;
  width: 100%;
}
.item-box img {
  width: 100%;
}
.item-box > div {
  margin: 0 10px 50px 10px;
  width: 43%;
}
.item-box > div h3 {
  font-weight: bold;
  font-size: 1.5rem;
}
.item-box > div.item-inbox {
  position: relative; /* 基準にする */
  overflow: hidden; /* はみ出し防止（必要なら） */
  /* 斜めラベル */
}
.item-box > div.item-inbox div.imagecontainer {
  width: 80%;
  margin: 0 auto;
  padding-top: 100%;
  /* 高さを幅の1/3にする */
  position: relative;
  /* 絶対位置を指定するために必要 */
  overflow: hidden;
  /* 画像のはみ出しを隠す */
}
.item-box > div.item-inbox div.imagecontainer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像を親要素に合わせてカバーする */
}
.item-box > div.item-inbox div.image_for_three {
  position: relative;
  display: inline-block;
}
.item-box > div.item-inbox div.image_for_three .main-image {
  display: block;
  width: 100%;
  height: auto;
}
.item-box > div.item-inbox div.image_for_three .additional-image {
  position: absolute;
  bottom: 0;
  width: 45%;
  /* 元の画像に対して適切なサイズに調整 */
  z-index: 5;
}
.item-box > div.item-inbox div.image_for_three .left-image {
  left: 0;
}
.item-box > div.item-inbox div.image_for_three .left-span {
  left: 10px;
  font-weight: bold;
  color: darkred;
  /* 文字の色 */
  text-shadow: 2px 2px 2px white, -2px -2px 2px white, 2px -2px 2px white, -2px 2px 2px white;
  /* 左下 */
}
.item-box > div.item-inbox div.image_for_three .right-image {
  right: 0;
}
.item-box > div.item-inbox div.image_for_list {
  aspect-ratio: 3/1;
  width: 60%;
  margin: 0 auto;
  overflow: hidden;
}
.item-box > div.item-inbox div.image_for_list img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.item-box > div.item-inbox p {
  padding: 5px 0px;
  font-size: 0.9rem;
}
.item-box > div.item-inbox p.name {
  font-size: 1rem;
  color: #004d4d;
  line-height: 1.3;
  font-weight: bold;
}
.item-box > div.item-inbox p.name > span {
  font-weight: normal;
  font-size: 0.9rem;
}
.item-box > div.item-inbox p.status {
  text-align: center;
}
.item-box > div.item-inbox p.status > span {
  color: white;
  background-color: #999;
  font-size: inherit;
}
.item-box > div.item-inbox.two {
  width: 100%;
}
.item-box > div.item-inbox.two img {
  display: inline-block;
  width: 45%;
}
.item-box > div.item-inbox > div {
  font-size: 0.9rem;
  line-height: 1.3;
}
.item-box > div.item-inbox > div.price span.waribikiritsu {
  color: red;
  border: 1px solid red;
  font-size: 0.85rem;
  margin-left: 2px;
}
.item-box > div.item-inbox > div.price > div.kakakuwaku {
  display: flex;
  padding: 3px 0 6px 0;
}
.item-box > div.item-inbox > div.price > div.kakakuwaku > div {
  font-size: 0.85rem;
  align-self: flex-end;
  /* 下に寄せる */
  margin-right: 10px;
}
.item-box > div.item-inbox > div.price > div.kakakuwaku > div.chumonji {
  border: 1px solid #ccc;
  display: block;
  line-height: 0.9;
  padding: 2px;
  text-align: center;
}
.item-box > div.item-inbox > div.price > div.kakou_kakaku {
  font-size: 0.85rem;
  text-align: center;
}
.item-box > div.item-inbox > div.price > div.kakou_kakaku p {
  border: 1px solid #ccc;
  font-size: inherit;
  margin-bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0;
}
.item-box > div.item-inbox > div.price > div.kakou_kakaku p span {
  font-size: inherit;
}
.item-box > div.item-inbox > div.price > div.kakou_kakaku p span.sale_kakou {
  background-color: red;
  color: white;
  padding: 2px 5px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.item-box > div.item-inbox > div.price > div.kakou_kakaku .izen_k {
  font-size: 0.9rem;
  -webkit-text-decoration: line-through double;
          text-decoration: line-through double;
}
.item-box > div.item-inbox > div.price > div.kakou_kakaku .base_price {
  font-size: 1rem;
  font-weight: bold;
}
.item-box > div.item-inbox > div.price span.dispprice {
  color: darkred;
  font-size: 1.4rem;
  font-weight: bold;
}
.item-box > div.item-inbox > div.explanation > span.sale_chu {
  color: white;
  background-color: red;
  padding: 1px 5px;
  margin-right: 5px;
}
.item-box > div.item-inbox > div.explanation > div {
  font-size: 0.85rem;
  margin-top: 5px;
}
.item-box > div.item-inbox > div.explanation > div > span {
  color: red;
  font-size: inherit;
}
.item-box > div.item-inbox.waku {
  background-color: rgb(240, 255, 231);
  padding: 5px;
}
.item-box > div.item-inbox.waku > ul {
  padding: 10px;
}
.item-box > div.item-inbox.waku > ul > li {
  margin-left: 10px;
  list-style: circle;
  /* 円を表示 */
}
.item-box > div.item-inbox.w100 {
  width: 100%;
}
.item-box > div.item-inbox.w100 h3 {
  margin-top: 80px;
}
.item-box > div.item-inbox.w100 a {
  text-decoration: none;
}
.item-box > div.item-inbox.w100 div.imagecontainer {
  width: 80%;
  margin: 0 auto;
  padding-top: 33.3333333333%;
  /* 高さを幅の1/3にする */
  position: relative;
  /* 絶対位置を指定するために必要 */
  overflow: hidden;
  /* 画像のはみ出しを隠す */
}
.item-box > div.item-inbox.w100 div.imagecontainer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像を親要素に合わせてカバーする */
}
.item-box > div.item-inbox.gray {
  filter: grayscale(40%); /* すべてグレーにする */
  opacity: 0.7; /* ちょっと薄くする（好みで） */
}
.item-box > div.item-inbox.gray a,
.item-box > div.item-inbox.gray img,
.item-box > div.item-inbox.gray p,
.item-box > div.item-inbox.gray button {
  pointer-events: none; /* クリックなども無効化するなら */
}
.item-box > div.item-inbox .soldout-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg); /* 中央＋斜め */
  background-color: rgb(255, 0, 0); /* 赤系の半透明背景 */
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  padding: 10px 40px;
  z-index: 10;
  pointer-events: none;
}

.multi_box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: start;
}
.multi_box img {
  width: 65%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.multi_box img.w100 {
  width: 100%;
}
.multi_box figure,
.multi_box div {
  text-align: center;
  width: 45%;
  font-size: 0.9rem;
}
.multi_box figure.w100,
.multi_box div.w100 {
  width: 80%;
}
.multi_box figure img,
.multi_box div img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin: 5px;
}
.multi_box figure figcaption,
.multi_box div figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}
.multi_box.guide {
  gap: 0.2rem;
  justify-content: flex-start;
}
.multi_box.guide > div {
  margin: 5px;
  border: 1px solid #ccc;
  width: 95%;
  text-align: center;
}
.multi_box.guide > div h3 {
  font-weight: bold;
}
.multi_box.guide > div div {
  width: 80%;
  margin: 0 auto;
  padding-top: 50%;
  /* 高さを幅の1/3にする */
  position: relative;
  /* 絶対位置を指定するために必要 */
  overflow: hidden;
  /* 画像のはみ出しを隠す */
}
.multi_box.guide > div div img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像を親要素に合わせてカバーする */
}
.multi_box.guide > div a {
  padding: 10px;
  display: block;
}
.multi_box.guide > div a:hover {
  background-color: rgb(240, 255, 231);
}

@media screen and (min-width: 761px) {
  .width .item-box > div {
    margin: 0 25px 50px 0px;
    width: 29%;
  }
}
.grid-container {
  display: grid;
  /* グリッドレイアウト */
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-row-gap: 10px;
  grid-column-gap: 30px;
}
.grid-container.two {
  grid-template-columns: auto auto;
}
.grid-container.two img {
  width: 100%;
}
.grid-container.one {
  grid-template-columns: 70%;
  justify-content: center;
}
.grid-container.one img {
  width: 100%;
}

aside {
  position: relative;
  background-color: #f9f9f9;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  width: 75%;
  margin: 2rem 0 2rem auto;
}
aside.check {
  padding: 2rem 1rem 1rem;
}
aside.check::before {
  content: "----CHECK!!----";
  position: absolute;
  top: 0rem;
  left: 0rem;
  background-color: #007070;
  color: #fff;
  padding: 0.2rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 1rem 0 1rem 0;
  white-space: nowrap;
}
aside p {
  color: #333;
  font-weight: normal;
  font-size: 0.85rem;
}
aside p:has(+ a) {
  font-weight: bold;
  font-size: 1rem;
}
aside a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 1rem;
  background-color: #fff;
  border-radius: 0.75rem;
  border: 1px solid #ccc;
  width: 100%;
  position: relative;
}
aside a > img {
  display: block;
  width: 100% !important;
  aspect-ratio: 3/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
  margin: 0;
}
aside a span {
  padding-left: 1rem;
  color: #ca1616;
  font-size: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
aside a::after {
  content: "›";
  position: absolute;
  right: 1rem;
  color: #888;
  font-size: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}
aside a:hover {
  background-color: #f0f0f0;
  border-color: #aaa;
}

input[type=checkbox].on-off {
  display: none;
}
input[type=checkbox].on-off + label.check-bar + div {
  display: none;
}
@keyframes label-open {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
input[type=checkbox].on-off:checked + label.check-bar + div {
  display: block;
  animation: label-open 0.5s linear 0s;
}
input[type=checkbox].on-off:checked + label.check-bar::before {
  content: "««« CLOSE  «««  ";
  color: red;
}

label.close-label {
  display: block;
  width: 50%;
  margin: 10px auto;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #ccc;
  color: red;
}

label.check-bar:hover,
label.close-label:hover {
  color: red;
  font-weight: normal;
}

/*******アコーディオンメニュー開閉openclose*********/
.openclose {
  color: darkgreen;
  cursor: pointer;
  width: 100%;
  display: block;
  padding: 30px;
}

.openclose::after {
  content: "▼";
  margin-left: 10px;
  color: darkgreen;
}

.openclose + * {
  display: none;
}/*# sourceMappingURL=general_layout_scss.css.map */