/* ============================================
   JCI 東海地区協議会 - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Montserrat:wght@400;600;700;800;900&family=Caveat:wght@700&display=swap');

/* ================================================
HERO SLIDER
================================================ */
   .hero {
    position: relative;
    width: 100%;
    height: 60vh;
    /* min-height: 600px; */
    overflow: hidden;
    /* background: #fff; */
    /* padding-top: 70px; */
  }
  .top_image{
    width: 88%;
  }
  .pan{
    display: flex;
    align-items: center;
    margin: 30px 0 100px 70px;
    margin-top: 30px;
  }
  .pan img:hover{
    filter: brightness(0) saturate(100%) invert(32%) sepia(94%) saturate(877%) hue-rotate(172deg) brightness(98%) contrast(97%);
  }
  .top_container{
    margin: 0;
  }
  .section-header_1{
    text-align: center;
    margin-bottom: 130px;
    padding-top: 30px;
    font-size: 188px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .section-header_1::after{
    /* content: ""; */
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
  }
  .arrow_r_wh{
    width: 266px;
    text-align: center;
    margin-top: 100px;
  }

/* ============================================
  Blog
  ============================================ */

.section-header_1.blog{
  color: rgba(9, 124, 194, 0.11);
  font-size: 121px;
}
.section-header_1.blog::after{
  content: "ひまわりブログ";
  font-size: 34px;
  bottom: 40px;
  color: rgba(9, 124, 194, 1);
}
.btn_aria{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 1080px;
}
.wrapper{
  background-color: #fff;
  border-radius: 25px;
  padding: 50px;
  /* width: 80%; */
  margin: 0 auto 50px;
  width: 1080px;
}
.format_title{
  border-bottom: 1px solid #1E8ACE;
  font-size: 26px;
  color: #097CC2;
  line-height: 4rem;
}
.outer{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}
/* サムネイル画像コンテナ */
.outer > a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}
/* サムネイル画像本体（全サイズ統一） */
.blog_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inner{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.blog_day{
  color: #535353;
  font-size: 14px;
  border: 1px solid #097CC2;
  border-radius: 5px;
  width: 100px;
  text-align: center;
}
.blog_text{
  color: #097CC2;
  font-size: 25px;
}
.blog_text:hover{
  filter: brightness(0) saturate(100%) invert(31%) sepia(1%) saturate(2400%) hue-rotate(318deg) brightness(97%) contrast(89%);
}
.btn{
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn_aria img{
  width: 19px;
  height: 18px;
}
.btn_aria a:hover{
  color: #097CC2;
}
/* ============================================
   Blog_article
  ============================================ */
.blog_article_text{
  font-size: 34px;
  color: #097CC2;
}
.detail{
  margin-bottom: 30px;
  font-size: 14px;
}

/* 記事本文内：段落・見出し・リストのスペーシング復元
   （グローバルリセット * { margin:0; padding:0; } の影響を打ち消す） */
.detail p {
  margin-bottom: 1em;
}
.detail p:last-child {
  margin-bottom: 0;
}
.detail h1,
.detail h2,
.detail h3,
.detail h4,
.detail h5,
.detail h6 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

/* H2 スタイル：左ボーダー＋薄グレー背景 */
.detail h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  padding: 12px 16px;
  background-color: #f2f4f6;
  border-left: 4px solid #097CC2;
  border-radius: 2px;
  line-height: 1.5;
  margin-top: calc(2em + 61px);
}

/* H3 スタイル */
.detail h3 {
  font-size: 17px;
  font-weight: 700;
  color: #097CC2;
  padding: 4px 0 4px 2px;
  border-bottom: 1px solid #097CC2;
  line-height: 1.5;
  margin-top: 4em;
}
.detail ul,
.detail ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}
.detail ul {
  list-style: disc;
}
.detail ol {
  list-style: decimal;
}
.detail li {
  margin-bottom: 0.25em;
}
.detail blockquote {
  margin: 1em 0 1em 1.5em;
  padding-left: 1em;
  border-left: 3px solid #097CC2;
  color: #555;
}
.blog_article_img{
  width: 100%;
  margin: 30px 0;
}
.blog_article_aria .wrapper{
  padding: 50px 50px 100px;
}

/* ============================================
   目次（TOC）
   ============================================ */
.himawari-toc {
    display: inline-block;
    min-width: 280px;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fafafa;
    margin-bottom: 2em;
    font-size: 14px;
    line-height: 1.6;
}
.himawari-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #ccc;
}
.himawari-toc__title {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}
.himawari-toc__toggle {
    background: none;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 2px 7px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    transition: background 0.15s;
}
.himawari-toc__toggle:hover {
    background: #e8e8e8;
}
.himawari-toc__body {
    padding: 12px 18px 14px;
}
.himawari-toc__list,
.himawari-toc__sub {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.himawari-toc__list > li {
    margin-bottom: 6px;
}
.himawari-toc__sub {
    margin-top: 4px !important;
    margin-left: 1.2em !important;
}
.himawari-toc__sub > li {
    margin-bottom: 4px;
}
.himawari-toc__num {
    margin-right: 4px;
    color: #666;
}
.himawari-toc a {
    color: #097CC2 !important;
    text-decoration: none;
}
.himawari-toc a:hover {
    text-decoration: underline;
}

/* ============================================
   WordPress ブロックエディター - ボタンブロック
   ============================================ */

/* ボタンコンテナ（横並び・寄せ方向） */
.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wp-block-buttons.is-content-justification-center {
    justify-content: center;
}
.wp-block-buttons.is-content-justification-right {
    justify-content: flex-end;
}
.wp-block-buttons.is-content-justification-left {
    justify-content: flex-start;
}
.wp-block-buttons.is-vertical {
    flex-direction: column;
}

/* ボタン本体 */
.wp-block-button .wp-block-button__link,
.wp-block-button__link,
.wp-element-button {
    display: inline-block;
    background-color: #097CC2;
    color: #fff !important;
    text-decoration: none;
    border-radius: 9999px;
    padding: 12px 32px;
    /* font-size・font-weight はエディター設定（インラインスタイル）を優先させるため指定しない */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
    background-color: #0766a3;
    color: #fff !important;
    text-decoration: none;
}

/* 旧来の aligncenter も対応 */
.wp-block-buttons.aligncenter,
.wp-block-button.aligncenter {
    justify-content: center;
    text-align: center;
}

/* ============================================
   Responsive
   ============================================ */
   @media (max-width: 1024px) {



  
    
  }
  @media (max-width: 768px) {
    .top_image {
      margin: 0 auto;
      width: 95%;
    }
    .hero {
      padding: 10px 0;
      height: 30vh;
    }
    .hero-slider{
      width: auto;
    }
    .section-header_1{
      font-size: 100px;
      margin-bottom: 100px;
    }
    .wrapper{
      width: 100%;
    }
    .blog_article_aria .wrapper {
      padding: 10px;
      margin: 0;
      width: 100%;
  }
  .outer{
    display: flex;
    flex-direction: column;
  }
  .blog_article_text {
    font-size: 22px;
  }
  .btn_aria {
    width: 95%;
  }
  .section-header_1::after{
    top: 125px;
    font-size: 25px;
  }
  }