<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.c-carousel {
  position: relative;
  width: 100%; /* 画面幅いっぱいに */
  max-width: 1200px; /* PC用に最大幅を指定 */
  height: auto; /* 高さを自動に調整 */
  margin: 0 auto; /* 中央揃え */
}

.c-carousel__activator-main {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.c-carousel__main {
  overflow: hidden;
  position: relative;
  height: auto; /* カロセル全体の高さを自動調整 */
}

.c-carousel__main-track {
  display: flex;
  white-space: nowrap;
  transition: transform 0.3s ease-out;
}

.c-carousel__main-item {
  flex-shrink: 0;
  width: 100%;
  height: auto; /* 各スライドの高さを自動に */
}

.c-carousel__main-image {
  display: block;
  width: 100%;
  height: auto; /* 画像の高さも自動に調整 */
  object-fit: cover; /* 画像をアスペクト比を保ちながらコンテナにフィット */
}

.c-carousel__main-control-item {
  display: none;
}

.c-carousel__btn-prev-main, .c-carousel__btn-next-main {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  background-color: #fff;
  border-radius: 50%;
  transition: opacity 0.3s;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.c-carousel__btn-prev-main {
  left: 16px;
}

.c-carousel__btn-next-main {
  right: 16px;
}

.c-carousel__btn-prev-main img, .c-carousel__btn-next-main img {
  width: 24px;
  height: 24px;
}

/* 各スライドの制御 */
.c-carousel__activator-main:nth-child(1):checked ~ .c-carousel__main .c-carousel__main-control-item:nth-child(1),
.c-carousel__activator-main:nth-child(2):checked ~ .c-carousel__main .c-carousel__main-control-item:nth-child(2),
.c-carousel__activator-main:nth-child(3):checked ~ .c-carousel__main .c-carousel__main-control-item:nth-child(3),
.c-carousel__activator-main:nth-child(4):checked ~ .c-carousel__main .c-carousel__main-control-item:nth-child(4),
.c-carousel__activator-main:nth-child(5):checked ~ .c-carousel__main .c-carousel__main-control-item:nth-child(5),
.c-carousel__activator-main:nth-child(6):checked ~ .c-carousel__main .c-carousel__main-control-item:nth-child(6) {
  display: block;
}

.c-carousel__activator-main:nth-child(1):checked ~ .c-carousel__main .c-carousel__main-track {
  transform: translateX(0%);
}

.c-carousel__activator-main:nth-child(2):checked ~ .c-carousel__main .c-carousel__main-track {
  transform: translateX(-100%);
}

.c-carousel__activator-main:nth-child(3):checked ~ .c-carousel__main .c-carousel__main-track {
  transform: translateX(-200%);
}

.c-carousel__activator-main:nth-child(4):checked ~ .c-carousel__main .c-carousel__main-track {
  transform: translateX(-300%);
}

.c-carousel__activator-main:nth-child(5):checked ~ .c-carousel__main .c-carousel__main-track {
  transform: translateX(-400%);
}

.c-carousel__activator-main:nth-child(6):checked ~ .c-carousel__main .c-carousel__main-track {
  transform: translateX(-500%);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .c-carousel__btn-prev-main, .c-carousel__btn-next-main {
    width: 36px;
    height: 36px;
  }

  .c-carousel__btn-prev-main img, .c-carousel__btn-next-main img {
    width: 18px;
    height: 18px;
  }
}

ul.menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* 要素を折り返して配置 */
  justify-content: space-between; /* 要素間を均等に配置 */
}

ul.menu li {
  flex: 0 1 calc(33.33% - 10px); /* 間隔を狭めるために調整 */
  margin: 3px; /* 画像の間を少し狭める */
  height: 120px; /* 枠の高さを少し大きく調整 */
  display: flex;
  align-items: center; /* 縦方向で中央に配置 */
  justify-content: center; /* 横方向でも中央に配置 */
}

ul.menu img {
  max-width: 80%; /* 画像を少し大きく表示 */
  height: auto;
  display: block;
  margin: 0 auto; /* 画像を中央に配置 */
}

/* レスポンシブ対応: スマホ表示でも横に3つ並べる */
@media (max-width: 768px) {
  ul.menu {
    justify-content: space-between; /* 要素の間隔を維持 */
  }
  ul.menu li {
    flex: 0 1 calc(33.33% - 10px); /* 幅を調整して狭い画面でも3つ並べる */
    height: 100px; /* 枠の高さも少し調整 */
    margin: 5px; /* 画像の間を狭くする */
  }
}


&lt;style&gt;
div.topics_box &gt; div{
  width: 100%;
  padding: 0.3em;
  background: #FFF;
  border-bottom: 1px solid #CCC;
}

div.topics_box &gt; div:first-child{
  border-top: 1px solid #CCC;
}

div.mb_left{
  width: 30%;
  display: inline-block;
  margin: 0px;
  padding: 0px;
  text-align: center;
  overflow: hidden;
}

div.mb_left img{
  width: 100%;
  height: 80px;
  object-fit: cover; /* 画像のアスペクト比を保ちながらトリミング */
  display: block;
}

div.mb_right{
  width: 67%;
  margin-left: 1%;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  position: relative;
  height: 5.5em;
}

div.mb_right h2{
  font-size: 1.1rem;
  margin: 0px;
  padding: 0px;
  color: #000;
  padding: 0.25em;
}

div.mb_right p{
  margin: 10px 10px 0 0;
  padding: 0px;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  color: #666;
}
&lt;/style&gt;


</pre></body></html>