@charset "UTF-8";

/* カレンダー全体ブロック */
.modCalendarBlock {
  /* PC表示での横幅を大きく設定 */
  max-width: 1000px;   /* ★横幅をしっかり大きく調整（1000px〜1100px） */
  width: 100%;         /* 親要素の幅に合わせて可変 */
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: auto;   /* 中央寄せ */
  margin-right: auto;  /* 中央寄せ */
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* タイトルスタイル */
.modCalendarBlock .calendarTitle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #5b7331; /* サイトテーマのグリーン */
  text-align: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #5b7331;
}

/* 営業日案内テキストボックス */
.calendarNotice {
  background-color: #fffaf5;
  border: 1px solid #e67e22;
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
}

.calendarNotice .noticeHeader {
  font-weight: bold;
  color: #d35400;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.calendarNotice .noticeTxt {
  margin: 3px 0;
}

/* レスポンシブ用カレンダー枠 */
.calendarResponsive {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 横幅を広げた分、縦方向が大きくなりすぎないよう比率を調整 */
  height: 0;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.calendarResponsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* スマホ表示向けの調整（画面幅768px以下） */
@media screen and (max-width: 768px) {
  .modCalendarBlock {
    width: 100%;        /* スマホでは横幅いっぱいに使う */
    padding: 15px 10px;
    margin-top: 25px;
    margin-bottom: 25px;
  }
  
  .calendarNotice {
    padding: 10px;
    font-size: 0.85rem;
  }

  .calendarResponsive {
    padding-top: 100%;  /* スマホでは見やすさ優先で正方形に近付ける */
  }
}