<style>
body {
  font-family: sans-serif;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-image: url("http://もう一人.com/img/tamagotachi.jpg"); /* ←柄画像 */
  background-repeat: repeat; /* 繰り返し */
}
.container {
  width: min(92%, 1400px);
  margin: 10px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .container {
    width: 80%;
    padding: 15px;
  }
}

h1 {
  font-size: 28px;
  margin-bottom: 10px;
}
h2 {
  margin-top: 30px;
  font-size: 22px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}
ul {
  padding-left: 20px;
}
.btn {
  display: block;
  text-align: center;
  background: #e60023;
  color: white;
  padding: 15px;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 5px;
}


.toggle-pc {
  display: block;
  margin: 0 auto;
}
.toggle-sp {
  display: none;
  margin: 0 auto;
}
@media only screen and (max-width: 640px) {
  .toggle-pc {
  display: none;
  margin: 0 auto;
}
  .toggle-sp {
  display: block;
  margin: 0 auto;
}
}


.center-top {
  text-align: center;
}
.left{
text-align:left;
}

/*lightbox追記修正*/
.lightboxOverlay{/*拡大時のモーダル*/
    width:100% !important;
}
.lb-outerContainer,.lb-dataContainer{
    width:calc(100% - 20px) !important;
    max-width:100%;/*拡大時の最大幅*/
}
.lb-outerContainer{
    height:auto !important;
    margin-left:auto;
    margin-right:auto;
}
.lb-image{
    width:100% !important;
    height:auto !important;
}


/* slider start */

.swiper {
  width: 100%;
  padding-bottom: 40px;
}

.swiper-slide {
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* 矢印 */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

/* 下の点 */
.swiper-pagination-bullet {
  background: #fff;
}

/* slider end */


/*電話番号*/
@media screen and (min-width: 768px) {
  .tel-link {
    pointer-events: none;  /* クリックイベントを無効にする */
    cursor: default;       /* マウスカーソルを通常にする */
    text-decoration: none; /* 下線を消す */
    color: inherit;        /* 文字色を親要素から継承する（リンクの色でなくす） */
  }
}


/* 横並びにする共通のコンテナ */
.image-flex-container {
  display: flex;
  flex-wrap: wrap;        /* 画面幅に合わせて折り返す */
  justify-content: center; /* 中央揃え */
  gap: 10px;              /* 画像と画像の間のすき間 */
  width: 100%;
  margin: 20px auto;
}

/* 枠の中にあるリンク(aタグ)や画像(img)の基本設定 */
.image-flex-container a,
.image-flex-container img {
  box-sizing: border-box;
}

/* --- PC版の設定（デフォルト） --- */
/* 4枚を横並びにするため、1つの要素の幅を約23%にします（すき間分を考慮） */
.image-flex-container a, 
.image-flex-container > img {
  width: calc(25% - 10px); 
}

/* リンクの中の画像は、常にそのリンク幅いっぱいに表示 */
.image-flex-container a img {
  width: 100% !important;
  height: auto;
}

/* --- スマホ版の設定（画面幅640px以下） --- */
@media screen and (max-width: 640px) {
  /* 2枚ずつ並べるため、1つの要素の幅を約45%にします */
  .image-flex-container a,
  .image-flex-container > img {
    width: calc(50% - 10px);
  }
}

</style>