.top_title {
  background-color: #fff;
  padding: 50px;
  border-top: 1px solid #bcbcbc;
}

.topics_cont {
  background-color: #FFF2BB;
  padding: 50px 50px 100px;
}

.main_text_box {
  text-align: center;
    /* margin: 40px; */
}

.main_text {
  font-size: 2rem;
    font-weight: 700;
    color: #fa6c74;
    margin-bottom: 20px;
    font-family: "Mochiy Pop P One", sans-serif;
    letter-spacing: 9px;
    text-shadow: 2px 2px 1px #fff;
}

.top_title_img figure {
  width: 250px;
    margin: 0 auto;
}

.top_title_img figure img {
  width: 100%;
}

/* おしらせ記事 */

.info_block {
    inline-size: 100%;
}

.two_block {
    display: flex;
    padding-top: 50px;
    gap: 20px;
}

.two_block_l {
    inline-size: 70%;
    padding: 2rem;
    background-color: #fff;
    border-radius: 25px;
}

.category_title {
  font-size: 1.25rem;
  color: #fa6c74;
  font-weight: 700;
  padding-bottom: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid #bcbcbc;
}

.info_base {
    border: 1px solid #b2b2b2;
    padding: 2rem;
    border-radius: 25px;
    margin-bottom: 25px;
}

.topics_title_wrap {
    border-left: 2px solid #fa6c74;
    padding-left: 1rem;
}

.topics_title {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.two_block_l .topics_title_wrap .date {
  font-weight: 700;
    margin-bottom: 3rem;
}

.topics_text {
    line-height: 2;
}


.pagenation {
  display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.page_num {
  border: 1px solid #454545;
    width: 25px;
    height: 25px;
    text-align: center;
}

.pagenation_subtext {
  font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.pagenation_u {
  display: flex;
    gap: 10px;
    margin-top: 30px;
}

.pagenation_subtext_u {
  font-size: 0.8rem;
    font-weight: 700;
}

.topics_img_box,
.topics_img_box img {
  width: 100%;
}

img {
  width: 100%;
}

/* インフォメーション右 */

#btn_animation .btn {
  display: block;
  position: relative;
  width: 100%;
  height: 58px;
  line-height: 58px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  background-color: #fa6c74;
  color: #fbfbfb;
  text-align: center;
  overflow: hidden;
}

.btn_box {
  margin-bottom: 2rem;
}

#btn_animation .btn:hover {
    text-decoration: none;
    color: #fbfbfb;
}

#btn_animation .btn::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fbfbfb;
    animation: btn_animation 3.5s ease-in-out infinite;
}

@-webkit-keyframes btn_animation {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.flex_info {
  display: flex;
  flex-wrap: wrap;
}

.two_block_r {
  inline-size: 30%;
    padding: 2rem;
    background-color: #fff;
    border-radius: 25px;
}

.accordion {
  margin: 1em 0 0 0;
  max-width: 270px;
  min-width: 220px;
  }
  .toggle {
  display: none;
  }
  .option {
  position: relative;
  margin-bottom: 1em;
  }
  .title,
  .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  }
  .title {
  border: solid 1px #ccc;
  padding: 1em;
  display: block;
  color: #333;
  }
  .title::after,
  .title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #999;
  transition: all 0.3s;
  }
  .title::after {
  transform: rotate(90deg);
  }
  .content {
  max-height: 0;
  overflow: hidden;
  }
  .content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
  }
  .toggle:checked + .title + .content {
  max-height: 500px;
  transition: all 1.5s;
  }
  .toggle:checked + .title::before {
  transform: rotate(90deg) !important;
  }

  .accordion ul {
    margin-left: 20px;
  }

  .accordion ul li {
    margin-top: 20px;
  }

  .accordion .title {
    cursor: pointer;
  }

  .accordion .title:hover {
    background-color: #fa6c74;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
  }

  .accordion .title:hover::after,
  .accordion .title:hover::before {
    background-color: #fff;
  }

  .accordion .content ul li a {
    display: block;
    inline-size: 100%;
  }

  .accordion .content ul li a:hover {
    color: #fa6c74;
    background-color: #f5f5f5;
    transition: 0.3s;
  }

  .link_btn_color {
    color: dodgerblue;
    font-weight: 500;
  }

  .buck_number_title {
    color: #fa6c74;
    border-bottom: 2px solid;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }

  .all_topics {
    color: #fa6c64;
  }

  @media screen and (max-width: 48em) {

    .main_text {
      font-size: 1.5rem;
    }

  .top_title {
    margin-top: 60px;
    border-top: none;
  }

  .top_title_img figure {
    width: 180px;
}

  .two_block {
    padding-top: 0;
    flex-direction: column;
  }

  .two_block_l,
  .two_block_r,
  .info_base {
    inline-size: 100%;
    padding: 2rem 1rem;
  }

  .category_title,
  .topics_title {
    font-size: 1rem;
  }

  .two_block_l .topics_title_wrap .date {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .topics_text p,
  .topics_text u,
  .topics_text a {
    font-size: 0.9rem;
  }

  .preparation {
    width: 150px;
  }

  .topics_cont {
    padding: 56px 20px;
  }

  .reco_menu_list {
    flex-direction: column;
  }

  .menu_text_list_d {
    width: 100%;
  }

  .accordion {
    max-width: 100%;
    min-width: 100%;
  }

  .bird {
  width: 75px;
  top: -42px;
}
}


 /* Quillエディタの配置クラス（中央寄せ、右寄せ、左寄せなど） */
 .topics_text .ql-align-center {
  text-align: center;
}

.topics_text .ql-align-right {
  text-align: right;
}

.topics_text .ql-align-left {
  text-align: left;
}

.topics_text .ql-align-justify {
  text-align: justify;
}

/* Quillエディタのフォントサイズクラス */
.topics_text .ql-size-12px {
  font-size: 12px;
}

.topics_text .ql-size-14px {
  font-size: 14px;
}

.topics_text .ql-size-16px {
  font-size: 16px;
}

.topics_text .ql-size-18px {
  font-size: 18px;
}

.topics_text .ql-size-20px {
  font-size: 20px;
}

.topics_text .ql-size-24px {
  font-size: 24px;
}

/* style属性で直接text-alignが設定されている場合にも対応 */
.topics_text [style*="text-align: center"],
.topics_text [style*="text-align:center"] {
  text-align: center !important;
}

.topics_text [style*="text-align: right"],
.topics_text [style*="text-align:right"] {
  text-align: right !important;
}

.topics_text [style*="text-align: left"],
.topics_text [style*="text-align:left"] {
  text-align: left !important;
}

.topics_text [style*="text-align: justify"],
.topics_text [style*="text-align:justify"] {
  text-align: justify !important;
}

.topics_text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: auto;
}

/* ============================================
     quill-table-better テーブルのスタイル
     .ql-editor table td と同じスタイルを .topics_text に適用
     ============================================ */
     .topics_text table,
     .topics_text table.ql-table-better {
         border-collapse: collapse;
         width: 100%;
         margin: 15px 0;
     }
   
     .topics_text table td,
     .topics_text table.ql-table-better td {
         border: 1px solid #000;
         padding: 8px;
     }
   
     .topics_text table th,
     .topics_text table.ql-table-better th {
         border: 1px solid #000;
         padding: 8px;
     }
   
     .topics_text table td p,
     .topics_text table.ql-table-better td p {
         margin: 0;
         padding: 0;
     }
   
     .topics_text table td p.ql-table-block,
     .topics_text table.ql-table-better td p.ql-table-block {
         margin: 0;
         padding: 0;
     }
   
     /* temporary要素は非表示 */
     .topics_text table temporary,
     .topics_text table.ql-table-better temporary {
         display: none;
     }
   
     /* フォーカス時のスタイル（プレビューでは不要） */
     .topics_text table td.ql-cell-focused::after,
     .topics_text table.ql-table-better td.ql-cell-focused::after {
         display: none;
     }
      
        
    .ql-cell-selected-after, .ql-cell-selected::after, .ql-cell-focused::after{
      display: none;
    }
    