@charset "utf-8";
/* =========================================================
   news 共通：H1背景
========================================================= */
.h1_bg.news{
  position: relative;
  overflow: hidden;
  min-height: clamp(180px, 22vw, 300px);
  max-height: 300px;
}

/* 背景画像 + 青グラデ */
.h1_bg.news::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0,119,192,.55), rgba(0,119,192,.55)),
    url("/wp-content/themes/tygr-tozai/images/news_h1_bg.jpg") right center / cover no-repeat;
}

/* 左の青いポリゴン */
.h1_bg.news::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0D52A0;
  clip-path: polygon(0 0, 58% 0, 48% 100%, 0 100%);
}

.h1_bg.news .h1_inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(32px, 4vw, 64px) 20px;
}

.h1_bg.news .h1_text{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* タイトル本体 */
.h1_bg.news .h1_title.news{
  color: #fff;
  margin: 0;
  padding-top: 3.3em; /* 英字大見出し分の余白 */
  position: relative; /* ::afterの基準 */
}

/* 英字の大見出し（ページ別に content を切替） */
.h1_title.news::after{
  content: "NEWS";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(3.6rem, 6vw, 6.0rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  pointer-events: none;
}


/* news.css */

a img {
    transition: all 0.3s;
}

a:hover img {
	opacity: 0.6;
}

figure a {
	display: block;
}

.aligncenter {
	display: block;
    margin: 0 auto 20px;
	text-align: center;
}

.alignright {
	display: block;
	float: none;
	margin-left: auto;
	margin-bottom: 20px;
    text-align: right;
}

.alignleft {
	display: block;
	float: none;
	margin-right: auto;
	margin-bottom: 20px;
    text-align: left;
}

.news .content_area p.news_ttl,
.archive .content_area p.news_ttl {
	margin-top: 2px;
}

.news .content_area ul,
.archive .content_area ul {
	padding-left: 0;
}

.news .news_tab,
.archive .news_tab {
	margin: 60px auto 50px;
}

.content_area .news_tab {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 0;
}

.content_area .news_tab li {
	position: relative;
	display: flex;
	align-items: center;
	list-style: none;
}

.content_area .news_tab li:not(:last-child)::after {
	content: '|';
	margin: 0 16px;
	color: #000;
	font-weight: 400;
	font-size: 1.6rem;
	pointer-events: none;
}

.content_area .tab_link {
	display: inline-block;
	text-decoration: none;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #000;
	transition: color 0.3s;
	padding: 0;
	background: none;
	border: none;
}

.content_area .tab_link:hover {
	color: #0D52A0;
}

.content_area .news_tab li.active .tab_link {
	color: #0D52A0;
}

.content_area .news_tab li:last-child .tab_link {
	margin-right: 0;
}



.select_item.cate_select{display:none;}
.select_name{display:none;}
.select_item{
	position:relative;
	border:1px solid #ddd;
}
.select_item.cate_select{display:none;}

.select_item::after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    transform: rotate(45deg);
    top: 0;
    bottom: 0;
    right: 23px;
    margin: auto;
}
.select_item_in {
	display:block;
	width:100%;
	padding:12px 40px 13px 12px;
	background:#fff;
	color:#333 !important;
	font-family:var(--noto);
	font-size:1.6rem;
	letter-spacing:1.28px;
	line-height:2.4rem;
	webkit-appearance: none;
	appearance: none;
	cursor:pointer;
}

.news_wrap {
    max-width: 1140px;
    padding: 0 20px 80px;
    margin: auto;
}

.news_top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 110px;
}

.news_head {
    margin: 0;
    text-align: center;
	font-size: 2.8rem;
	font-weight: bold;
}

.select_wrap {
    display: none;
}

.news_cat_list {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 10px 0 0 0;
}

.news_cat_item {
	position: relative;
    list-style: none;
    font-size: 2.0rem;
	font-weight: bold;
    letter-spacing: 1.56px;
    line-height: 2.9rem;
}

.news_cat_item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 1px;
    height: 20px;
    background: #ccc;
}

.news_cat_item:last-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 1px;
    height: 20px;
    background: #ccc;
}

.news_cat_link {
    display: block;
    position: relative;
	margin: 0 30px;
    color: #333 ;
    text-decoration: none;
    cursor: pointer;
	opacity: .5;
}

.news_cat_link:hover, .on .news_cat_link {
	color: #0C91B1;
    opacity: 1;
}

.news_cat_link::before {
    background: #4BBCD0;
    bottom: -8px;
    content: "";
    display: block;
    height: 4px;
    left: 0;
    position: absolute;
    transition: all 0.2s ease;
    width: 0;
    z-index: 10;
}

.news_cat_link:hover::before, .on .news_cat_link::before {
    width: 100%;
}

.news_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 60px;
    padding: 0;
    margin-bottom: 100px;
}

.news_item {
	list-style: none;
}
.news_thumb {
    position: relative;
    padding-bottom: 55%;
    margin-bottom: 15px;
    overflow: hidden;
}
.news_thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;    
    transition: transform 0.3s ease;
}

.news_txt_in {
	transition: all 0.3s;
}

a:hover .news_thumb img {
    transform: scale(1.05);
	opacity: 1;
}

a:hover .news_txt_in {
	/*color: #0D52A0;*/
}

a:hover .news_cate {
    /*border: 1px solid #0D52A0;
    color: #0D52A0;*/
}

.news_date {
	margin-right: 10px;
    font-size: 1.4rem;
    letter-spacing: 1.44px;
    line-height: 1.2rem;
}

.news_title {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 2.1px;
    line-height: 2.5rem;
    margin-top: 10px;
}

.news_cate {
    border: 1px solid #333;
	padding: 4px 33px;
    color: #333;
    font-size: 1.4rem;
    line-height: 2.2rem;
    text-align: center;
}

.news_link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #333 !important;
    text-decoration: none !important;
    transition: border 0.3s;
}

.news_wrap .link_btn {
	text-align: center;
}


/**** single.php（ニュース詳細）Figma 118-478 デザイン準拠 ******/

/* ===== single のみ: MVをプライバシーポリシー風（白背景・下線・h1＋日付・カテゴリ） ===== */
.single-news .h1_bg.news.single-mv {
	position: relative;
	height: 300px;
	max-height: none;
	background: #fff;
	border-bottom: 1px solid #CCD4DC;
	overflow: visible;
}

.single-news .h1_bg.news.single-mv::before,
.single-news .h1_bg.news.single-mv::after {
	display: none;
}

.single-news .h1_bg.news.single-mv .h1_inner {
	align-items: flex-start;
	padding: clamp(32px, 4vw, 64px) 20px;
}

.single-news .single-mv-inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

/* MV内：h1＝記事タイトル（Figma 34px・#0D52A0） */
.single-news .h1_bg.news.single-mv h1.news_single_title {
	font-family: var(--noto), "Noto Sans JP", sans-serif;
	font-size: 3.4rem;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.05em;
	color: #0D52A0;
	margin: 0;
}

/* MV内：その下に日付・カテゴリ（Figma 16px bold #333 / 14px 枠 #333） */
.single-news .h1_bg.news.single-mv #news_t {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 20px 0 0;
}

.single-news .h1_bg.news.single-mv #news_t .news_date {
	font-family: var(--noto), "Noto Sans JP", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	color: #333;
	margin: 0;
}

/* single のみ: パンくずを黒に */
.single-news .breadcrumb .breadcrumb_inner a,
.single-news .breadcrumb .breadcrumb_inner {
	color: #000;
}

/* コンテンツエリア */
.news_detail_inner {
	max-width: 1100px;
	margin: 0 auto;
}

/* 本文エリア */
.single-news #news_s>*:first-child {
	margin-top: 0;
}

.single-news #news_s>*:last-child {
	margin-bottom: 0;
}

/* 一覧へ戻るボタン（トップのニュース一覧へボタンと同じデザイン・動き） */
.single-news #news_retop {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.single-news #news_retop a.btn-primary,
.single-news #news_retop .btn-primary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: relative;
	background: #0D52A0 !important;
	color: #fff !important;
	font-family: var(--noto), "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.05em;
	padding: 12px 70px !important;
	text-decoration: none !important;
	border: 1px solid #0D52A0 !important;
	cursor: pointer;
	overflow: hidden;
	transition: color 0.3s ease;
	z-index: 1;
}

.single-news #news_retop a.btn-primary::before,
.single-news #news_retop .btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: #fff;
	transition: width 0.3s ease;
	z-index: -1;
}

.single-news #news_retop a.btn-primary:hover,
.single-news #news_retop .btn-primary:hover {
	color: #0D52A0 !important;
}

.single-news #news_retop a.btn-primary:hover::before,
.single-news #news_retop .btn-primary:hover::before {
	width: 100%;
}

.single-news #news_retop a.btn-primary::after,
.single-news #news_retop .btn-primary::after {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 25px;
	height: 8px;
	background-image: url(../images/arrow_r_white.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: background-image 0.3s ease;
	z-index: 2;
}

.single-news #news_retop a.btn-primary:hover::after,
.single-news #news_retop .btn-primary:hover::after {
	background-image: url(../images/arrow_r_navy.svg);
}

/* 一覧用 #news_t（archive/news.php）は従来どおり */
#news_t {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 60px auto 0;
}

#news_s>*:first-child {
	margin-top: 0;
}

#news_s>*:last-child {
	margin-bottom: 0;
}

#news_retop {
	display: flex;
	justify-content: center;
}

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

	.news .news_tab,
	.archive .news_tab {
		display: none;
	}

	/* tab */

	.content_area .news_tab {
		justify-content: inherit;
	}

	.content_area .news_tab .tab_item {
		width: 50%;
		text-align: center;
		margin-bottom: 15px;
		margin-right: 0;
	}

	.content_area .news_tab .tab_item:nth-child(2n)::after {
		content: none;
	}

	.content_area .news_tab .tab_item:not(:last-child)::after {
		right: 0;
	}

	.content_area .news_tab li .tab_link {
		margin-right: 0;
	}

	.news_wrap {
		padding: 0 20px 60px;
	}
	
	.news_area {
        padding: 60px 20px 100px;
    }
	
	.news_head {
		font-size: 2.4rem;
	}
	
	.select_wrap {
        margin: 20px 0 20px;
        position: relative;
        display: block;
    }
	
	.select_news_tab {
        font-size: 1.3rem;
        letter-spacing: 1.3px;
        line-height: 1.5rem;
        color: #333;
        border: 1px solid #ccc;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        outline: none;
        cursor: pointer;
        width: 100%;
        padding: 16px 18px;
        background: transparent;
    }

	.select_box {
		width:auto;
		margin-top: 35px;
	}
	.select_box_in{
		display:flex;
		flex-wrap:wrap;
		align-items:center;
		max-width:400px;
		margin:auto;
	}
	.select_name{
		display:none;
	}
	.select_item{
		width:100%;
		margin:0 20px 10px;
	}
	.select_item.cate_select{display:block;}
	.select_item::after{
		top:0;
		right:20px;
	}
	.select_item_in{padding:14px 50px 14px 10px;}

	.post_search_box{margin-bottom:35px;}
	
	
	
	.select_wrap::after {
        position: absolute;
        content: '';
        width: 8px;
        height: 8px;
        border-right: 1px solid #222;
        border-bottom: 1px solid #222;
        transform: rotate(45deg);
        top: calc(50% - 5px);
        right: 17px;
        z-index: 1;
    }
	
	.news_top {
        display: block;
        margin-bottom: 30px;
    }
	
	.news_item {
        margin-bottom: 30px;
    }
	
	.news_link {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
	
	.news_list {
        margin-top: 30px;
		margin-bottom: 20px;
        display: block;
    }
	
	.news_list li {
        position: relative;
        padding-bottom: 0;
        width: 100%;
        margin-right: 0;
    }
	
	.news_list li a {
        display: flex;
	    align-items: flex-start;
    }
	
	.news_thumb {
        width: 150px;
        margin-right: 13px;
        padding-bottom: 75px;
	    margin-bottom: 0;
    }
	
	.news_txt {
        width: calc(100% - 113px);
    }
	
	.news_title {
        font-size: 1.3rem;
        letter-spacing: 1.8px;
        line-height: 2.1rem;
        margin-bottom: 0;
	    margin-top: 5px;
    }

	
	.news_date {
        font-size: 1.1rem;
        letter-spacing: 0.22px;
        margin-right: 10px;
        margin-top: 1px;
    }
	
	.news_cate {
        font-size: 1.1rem;
        letter-spacing: 0.22px;
        padding: 0 10px 1px;
    }


	/**** single.php（ニュース詳細）******/

	#news_t {
		margin: 30px auto 0;
	}

	.single-news .h1_bg.news.single-mv h1.news_single_title {
		font-size: 2.4rem;
	}

	.single-news .h1_bg.news.single-mv #news_t {
		margin-top: 14px;
	}

	.single-news .h1_bg.news.single-mv #news_t .news_date {
		font-size: 1.4rem;
	}

	.single-news .h1_bg.news.single-mv #news_t .news_cate {
		font-size: 1.2rem;
		padding: 3px 10px;
	}

	#news_s,
	.single-news #news_s {
		padding: 20px 0;
		margin: 20px 0 0;
	}

	.single-news #news_retop {
		margin-top: 40px;
	}

	.single-news #news_retop a.btn-primary,
	.single-news #news_retop .btn-primary {
		font-size: 12px;
		padding: 10px 50px !important;
	}

	.single-news #news_retop a.btn-primary::after,
	.single-news #news_retop .btn-primary::after {
		width: 20px;
		height: 6px;
		right: 8px;
	}

}