@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img {
	width: 100%;
}
#top_txt {
	position: absolute;
	bottom: 50px;
	left: 0;
}
#top_txt {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	line-height: 1.8;
}
#top_txt .waku {
	display: inline-block;
	background: #fff;
	padding: 0 20px 3px;
	font-size: 42px;
	color: #213963;
	font-weight: 600;
}
#top_txt .waku02 {
	display: inline-block;
	background: #213963;
	padding: 0 20px 3px;
	font-size: 20px;
	color: #fff;
	font-weight: 400;
	position: relative;
	right: -2em;
}
/* 挨拶 */
#top_msg::before {
	background: url("../img/bg02.png") no-repeat bottom -10px right /35vw , url("../img/bg01.jpg") no-repeat top/cover;
}
#top_msg h2.sub {
	color: #fff;
	width: 45%;
}
#top_msg .txt_box {
	width: 55%;
}
#top_msg .txt_box h3.sub {
	color: #fff;
}
#top_msg .txt_box .txt {
	font-size : 110%;
	line-height : 30px;
	color: #fff;
}
#top_msg .txt_box .btn_more {
	margin-top: 30px;
}
#top_msg .txt_box .btn_more a {
	font-size : 24px;
	color : #FFFFFF;
}
#top_msg .txt_box .btn_more a span {
	padding-right: .5em;
}
/* コンテンツ */
#top_contents:before {
	background: #f5f5f5;
}
#top_contents .contents_box {
	position: relative;
}
#top_contents .contents_box .img_box {
	position: absolute;
	top: -30px;
	left: -150px;
	z-index: -1;
}
#top_contents .contents_box .img_box img {
	width: 800px;
	height: 550px;
	margin-bottom: 30px;
}
#top_contents .contents_box .img_box .img02 {
	margin-left: 10%;
}
#top_contents .contents_box .img_box .img02 img {
	width: 500px;
	height: 300px;
}
#top_contents .contents_box .txt_box {
	width: 55%;
	margin-left: auto;
}
#top_contents .contents_box .txt_box .in {
	background: #fff;
	padding: 35px 45px;
	margin-bottom: 15px;
	position: relative;
}
#top_contents .contents_box .txt_box .in h3.sub02 {
	color : #213963;
}
#top_contents .contents_box .txt_box .in .txt {
	font-size: 98%;
	line-height : 27px;
}
#top_contents .contents_box .txt_box .in .btn_y {
	margin-top: 50px;
}
#top_contents .contents_box .txt_box .in .btn_y a {
	position: absolute;
	background: #ffea00;
	font-size : 20px;
	color : #000000;
	bottom: 0;
	right: 0;
	padding: 10px 25px;
	font-weight: 500;
	display: flex;
	align-items: center;
}
#top_contents .contents_box .txt_box .in .btn_y a span {
	padding-right: .5em;
}
#top_contents .contents_box.contents02 .txt_box {
	width: 55%;
	margin-left: 0;
	margin-right: auto;
}
#top_contents .contents_box.contents02 .img_box {
	position: absolute;
	top: -30px;
	left: auto;
	right: -150px;
	z-index: -1;
}
#top_entry .txt.fm {
	font-size : 40px;
	color : #213963;
	font-weight: 600;
	margin-bottom: 30px;
}
#top_entry .waku {
	background: #213963;
	display: inline-block;
	padding: 0 30px 3px;
	font-size : 20px;
	color : #FFFFFF;
	margin-bottom: 30px;
}
#top_entry .txt {
	line-height : 27px;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#top_msg h2.sub {
		font-size: 72px;
	}
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 100px;
	}
	#top_info dd {
		width: calc(100% - 100px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_txt .waku {
		font-size: 25px;
	}
	#top_txt .waku02 {
		font-size: 100%;
	}
	#top_msg h2.sub,#top_msg .txt_box {
		width: 100%;
	}
	#top_msg h2.sub {
		margin-bottom: 15px;
	}
	#top_msg::before {background: url(../img/bg02.png) no-repeat bottom -10px right / 65vw, url(../img/bg01.jpg) no-repeat top / cover;
	}
	#top_msg .txt_box .txt {
		font-size: 98%;
		line-height: 1.8em;
	}
	#top_msg .txt_box .btn_more a {
		font-size: 125%;
	}
	#top_msg .txt_box .btn_more a span {
		position: relative;
		bottom: -2px;
	}
	#top_msg .txt_box .btn_more a img {
		width: 90px;
		height: auto;
	}
	#top_contents .contents_box {
		padding-bottom: 30px;
	}
	#top_contents .contents_box h2.sub02.rit {
		text-align: center;
	}
	#top_contents .contents_box .img {
		width: 70%;
		margin: 0 auto 30px;
	}
	#top_contents .contents_box .txt_box ,#top_contents .contents_box.contents02 .txt_box{
		width: 100%;
	}
	#top_contents .contents_box .txt_box .in {
		padding: 15px 20px;
	}
	#top_contents .contents_box .txt_box .in .img {
		width: 80%;
		margin: 0 auto 15px;
	}
	#top_contents .contents_box .txt_box .in h3.sub02 {
		font-size: 20px;
		margin-bottom: 15px;
	}
	#top_contents .contents_box.contents02 .txt_box {
		margin-top: 0;
	}
	#top_contents .contents_box.contents02 .txt_box h2.sub02 {
		text-align: center;
	}
	#top_contents .contents_box .txt_box .in .btn_y a {
		font-size: 125%;
	}
	#top_contents .contents_box .txt_box .in .btn_y a img {
		width: 60px;
	}
	#top_entry .txt.fm {
		font-size: 30px;
		line-height: 1.8em;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_txt {
		bottom: 5px;
	}
	#top_txt .waku {
		font-size: 115%;
	}
	#top_txt .waku02 {
		font-size: 70%;
	}
	#top_msg::before {
		background: url(../img/bg02.png) no-repeat bottom -2px right / 65vw, url(../img/bg01.jpg) no-repeat top / cover;
	}
	#top_contents .contents_box .img {
		width: 100%;
	}
	#top_entry .txt.fm {
		font-size: 25px;
		line-height: 1.5em;
	}
	#top_entry .waku {
		padding: 0 30px;
		font-size: 115%;
	}
	#top_entry .txt {
		line-height: 1.8em;
	}
}
/*--------------------------------------------------
  noteバナー
--------------------------------------------------*/
.iraka-note-banner {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  /* 背景画像は実際の写真URLに差し替えてください */
  background-image: url('../img/top/note-img.jpg'); 
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  font-family: "Noto Sans JP", sans-serif;
	text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	background: linear-gradient(to right, #00000066, transparent 50%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: #ffffff;
}

.banner-badge {
  display: inline-block;
  background-color: #2cb696; /* noteのブランドカラーに近いグリーン */
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
	text-shadow: none;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.banner-main-copy {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
}

.banner-sub-copy {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 24px 0;
  opacity: 0.9;
}

.note-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
	text-shadow: none;
  color: #333333;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.note-button:hover {
  background-color: #2cb696;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 182, 150, 0.3);
	opacity: 1 !important;
}

.btn-arrow {
  margin-left: 12px;
  font-weight: bold;
}

/* スマホ向け調整 */
@media (max-width: 600px) {
  .banner-content { padding: 30px 20px; }
  .banner-main-copy { font-size: 1.5rem; }
  .banner-sub-copy { font-size: 0.8rem; text-shadow: 2px 2px 6px rgba(0,0,0,1); }
  .note-button { font-size: 1rem; padding: 12px 24px; width: 100%; box-sizing: border-box; }
}
