@charset "utf-8";

/*
Theme Name: GENESIS child
Theme URI: https://tcd-theme.com/tcd103/
Description: WordPressテーマ「GENESIS」の子テーマ
Template: genesis_tcd103
Author: TCD
Author URI: https://tcd-theme.com/
Version: 1.0
*/

/* =================================================
   ここから下にCSSを追記
================================================= */

/*************************** TCD ***************************/
/* PCの幅を1500pxに修正 */
#main_content {
  max-width:1300px;
}

/* 【総合トップ】バー上部固定・デザイン変更 */
#header_message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 70px;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}
/* TB・SP */
@media screen and (max-width: 1024px) {

    #header_message {
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

}

/* 固定バーの高さ分だけ、下のコンテンツを押し下げる */
#header {
  margin-top: 40px;
}

/* globalnavi修正 */
#global_menu > ul > li { display:inline-block; position:relative; line-height:1; text-align:center; font-size:16px; font-weight: 600; }
#global_menu > ul > li > a { color:#000; text-decoration:none; height:80px; line-height:80px; padding:0 15px; display:block; position:relative; overflow:hidden; }

/* TOPの「デザインバナー」でホバー前から見出し表示 */
.cb_design_content .shutter_image.link_ver .overlay,
.cb_design_content .shutter_image.link_ver .headline { opacity: 1; }
.cb_design_content .shutter_image.link_ver .post_list { transform: none; }

/* ホバー前にフッターバナーの背景画像を表示させる */
#footer_banner .image_wrap { z-index: 3; }
#footer_banner .content { z-index: 4; }
#footer_banner a .title,
#footer_banner a .sub_title { color: #fff; }

/* モバイルサイズ時にテーブルを横スクロールさせない */
@media (max-width: 767px) {
.post_content .s_table{overflow: unset!important;white-space: normal!important;}
}

/****************** design-plus.cssへの追加 ******************/
/**************************************************************
【fontの設定】※追加
**************************************************************/
.text50{font-size:50%}
.text60{font-size:60%}
.italic{
	font-style: italic;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
} /* 斜体 */

/**************************************************************
【colorの設定】※追加
**************************************************************/
.base-green{color:#31665c;}	/* 緑（ベース） */
.sub-green{color:#b1e8dd;}	/* 緑（サブ） */
.light-green{color:#58a092;}	/* ライトグリーン（アクセント①） */
.ocher{color:#ceb486;}	/* 黄土（アクセント②） */
.deepocher{color:#88794d;}	/* 濃黄土（アクセント③） */
.orange{color:#f87905;}	/* オレンジ（アクセント④） */
.deepred{color:#aa0000;}	/* 濃赤（アクセント⑤） */
.white{color:#fff;}		/* 白 */
.inkblack{color:#555;}	/* スミ黒 */
.black{color:#000;}	/* 黒 */
.cobalt{color:#2356B4;}	/* ブルー（アクセント⑦） */

/**************************************************************
TCDの全幅背景※.gray_bgをベースに追加　2025.05.09
**************************************************************/
.sub-green_bg { background:#e9f2f1; position:relative; }
.sub-green_bg:after { background:#e9f2f1; content:''; display:block; width:200vw; height:100%; position:absolute; top:0; left:-50%; z-index:-1; }
.ocher_bg{ background:#f6f2ed; position:relative; }
.ocher_bg:after { background:#f6f2ed; content:''; display:block; width:200vw; height:100%; position:absolute; top:0; left:-50%; z-index:-1; }
.blue_bg{ background:#eaf0f7; position:relative; }
.blue_bg:after { background:#eaf0f7; content:''; display:block; width:200vw; height:100%; position:absolute; top:0; left:-50%; z-index:-1; }
.lightgray_bg{ background:#f6f6f6; position:relative; }
.lightgray_bg:after { background:#f6f6f6; content:''; display:block; width:200vw; height:100%; position:absolute; top:0; left:-50%; z-index:-1; }
.green_bg{ background:#58a092; position:relative; }
.green_bg:after { background:#58a092; content:''; display:block; width:200vw; height:100%; position:absolute; top:0; left:-50%; z-index:-1; }
.brown_bg{ background:#948562; position:relative; }
.brown_bg:after { background:#948562; content:''; display:block; width:200vw; height:100%; position:absolute; top:0; left:-50%; z-index:-1; }


/* 水彩模様画像（両サイドまでカバー） */
.suisai_bg {
  background-color: #f3fceb;
  position: relative;
  z-index: 0;
}
/* 背景画像（上部に1回だけ） */
.suisai_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 348px;
  background-image: url('http://izumiya-gr.com/reien/wp-content/uploads/2025/07/bg_suisai.webp');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: -1;
  opacity: 1;
  filter: none;
}
/* 背景色（左右に広がる） */
.suisai_bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50vw;
  width: 200vw;
  height: 100%;
  background-color: #f3fceb;
  z-index: -2;
}

/* グレイ模様画像（両サイドまでカバー） */
.geo01_bg {
  background-color: #f3fceb;
  position: relative;
  z-index: 0;
}
/* 背景画像（上部に1回だけ） */
.geo01_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 348px;
  background-image: url('https://izumiya-gr.com/reien/wp-content/uploads/2025/07/bg_gray.webp');
  background-repeat: repeat;
  z-index: -1;
  opacity: 1;
  filter: none;
}
/* 背景色（左右に広がる） */
.geo01_bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50vw;
  width: 200vw;
  height: 100%;
  background-color: #f3fceb;
  z-index: -2;
}

/* 背景画像 */
.img01_bg {
  background: #cl2f3c;
  position: relative;
}

.img01_bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #cl2f3c;
  z-index: -1;
}

/* 黒い「PAGE TOP」ボタンを非表示にする */
#page_top,
.page_top_btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/**************************************************************
【字間の設定】※修正
*************************************************************/
.ls-01{  letter-spacing: -0.07em !important; }

/**************************************************************
【行間の設定】※修正
*************************************************************/
p{
	line-height:1.8 !important; 
}

/************** design-plus.cssへの追加 end **************/


/* =================================================
   TCDニュースカテゴリーボタン位置調整
================================================= */

.news_category_list .swiper-wrapper .item a p,
.swiper-wrapper .item a p {
  margin-block-end: 0 !important;
}


/* =================================================
   ニュースカテゴリ・記事一覧 幅調整
================================================= */

/* カテゴリボタン全体 */
#news_category_sort_wrap {
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* 記事一覧外枠 */
#archive_news {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* 記事一覧内側 */
#archive_news .news_list {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}


/* =================================================
   ニュースカルーセル調整
================================================= */

/* カード全体 */
.cb_news_list .news_carousel .item {
  width: 460px !important;
  height: 200px !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

/* 左画像 */
.cb_news_list .news_carousel .item .image_link {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 130px !important;
  height: 130px !important;
  flex: 0 0 130px !important;
}

.cb_news_list .news_carousel .item .image_wrap,
.cb_news_list .news_carousel .item .image_wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 右テキストエリア */
.cb_news_list .news_carousel .item .content {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 0 20px !important;
  box-sizing: border-box !important;
}

/* タイトル調整 */
.cb_news_list .news_carousel .item .content .title {
  margin: 8px 0 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

/* =================================================
   PC表示（1000px以上）
================================================= */

@media screen and (min-width: 1000px) {

  /* カテゴリボタン全体 */
  #news_category_sort_wrap {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px !important;
    box-sizing: border-box;
  }

  /* カテゴリボタン本体 */
  #news_category_button {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  /* ボタン列 */
  #news_category_button .swiper-wrapper {
    justify-content: flex-start !important;
    transform: translate3d(0, 0, 0) !important;
  }

  /* 各ボタン */
  #news_category_button .item {
    width: auto !important;
    flex-shrink: 0;
  }

  /* 記事一覧 */
  #archive_news {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
    padding-bottom: 120px !important;
    box-sizing: border-box;
  }

  /* 記事一覧内側 */
  #archive_news .news_list {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
}


/* =================================================
   スマホ・タブレット
================================================= */

@media screen and (max-width: 999px) {

  #main_content {
    padding-left: 20px;
    padding-right: 20px;
  }

  #news_category_sort_wrap,
  #archive_news {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

}

/* =================================================
   新着アーカイブ非表示
================================================= */

#recent_news {
  display: none;
}

