/******************************
	全体
******************************/	
body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;	
  overflow-x: hidden;
}

:root{
	--base-green-color : #fffff8;
	--base-pink-color : #fffafa;
	--base-blue-color : #f8fdff;
	--base-yellow-color : #fffff8;	
	
	--main-green-color : #16a689;
	--main-pink-color : #f05656;
	--main-blue-color : #0494c4;
	--main-yellow-color : #bd8409;

	--main-green-color-hover : #2aac95;
	--main-pink-color-hover : #e34747;
	--main-blue-color-hover : #1997c1;
	--main-yellow-color-hover : #c08b17;
		
	--accent-color : #efe9bc;
	--accent-sub-color : #daaaf4;
	--disabled-color : #707070;
	--listtitle-color : #f0f0f0;
	--line-color : #a0a0a0;
	--font-color : #333333;
	--border-color : #2f2f2f;
}


/* 背景 */
.site-green, .bg-green{
	background-color: var(--base-green-color);
}
.site-pink, .bg-pink{
	background-color: var(--base-pink-color);
}
.site-blue, .bg-blue{
	background-color: var(--base-blue-color);
}
.site-yellow, .bg-yellow{
	background-color: var(--base-yellow-color);
}

/* バッジ等の背景 */
.bg-green{
	background-color: var(--main-green-color);
}
.bg-pink{
	background-color: var(--main-pink-color);
}
.bg-blue{
	background-color: var(--main-blue-color);
}
.bg-yellow{
	background-color: var(--main-yellow-color);
}

.bg-badge-city{
	background-color: #EFE9BC;
	color: var(--font-color);
	font-weight: 100;
	margin-right: 0.5rem;
	font-size: 1rem;
}
/* 見出し */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.5;
    font-family: "Zen Maru Gothic";
    margin: 0.8em;
}

	
h2 {
    position: relative;
    font-size: 2.8rem;
    padding-top: 20px;
    color: var(--font-color);
}

.site-green h2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 129px;
    height: 5px;
    background-image: linear-gradient(to right, #EFE9BC 24%, transparent 24% 25%, #DAAAF4 25% 49%, transparent 49% 50%, #EFE9BC 50% 74%, transparent 74% 75%, #F7BBD6 75%);
}


@media screen and (max-width: 768px) {
	h2 {
	font-size: 2.8rem;
	}
	.bg-badge-city{
		font-size: 0.8rem;
	}
}


/* ボタン */
.btn-primary-green{
	color: #ffffff;
	border-color: var(--main-green-color);
	background-color: var(--main-green-color);
}
.btn-primary-green:hover {
    background-color: var(--main-green-color-hover);
    border-color: var(--main-green-color-hover);
    color: #ffffff !important;
}
.btn-primary-green {
    transition: all 0.3s ease;
}
/****/
.btn-primary-pink{
	color: #ffffff;
	border-color: var(--main-pink-color);
	background-color: var(--main-pink-color);
}
.btn-primary-pink:hover {
    background-color: var(--main-pink-color-hover);
    border-color: var(--main-pink-color-hover);
    color: #ffffff !important;
}
.btn-primary-pink {
    transition: all 0.3s ease;
}
/****/
.btn-primary-blue{
	color: #ffffff;
	border-color: var(--main-blue-color);
	background-color: var(--main-blue-color);
}
.btn-primary-blue:hover {
    background-color: var(--main-blue-color-hover);
    border-color: var(--main-blue-color-hover);
    color: #ffffff !important;
}
.btn-primary-blue {
    transition: all 0.3s ease;
}
/****/
.btn-primary-yellow{
	color: #ffffff;
	border-color: var(--main-yellow-color);
	background-color: var(--main-yellow-color);
}
.btn-primary-yellow:hover {
    background-color: var(--main-yellow-color-hover);
    border-color: var(--main-yellow-color-hover);
    color: #ffffff !important;
}
.btn-primary-yellow {
    transition: all 0.3s ease;
}
/****/
.btn-city-select{
	color: var(--font-color);
	background-color: #ffffff;
}
.btn-city-select:hover {
    background-color: #eaeaea;
    border-color: #eaeaea;
    color: var(--font-color) !important;
}
.btn-city-yellow {
    transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
	.btn{
		font-size: 1rem;
	}
}

/******************************
	header
******************************/	
.header-bg-green{
	background-color: var(--base-green-color);
}
.header-bg-pink{
	background-color: var(--base-pink-color);
}
.header-bg-blue{
	background-color: var(--base-blue-color);
}
.header-bg-yellow{
	background-color: var(--base-yellow-color);
}

/**************/
a.nav-link.nav-link-green{
	color: var(--main-green-color);
}
.nav-link.nav-link-green:hover,
.nav-link.nav-link-green:focus {
    color:  var(--main-green-color-hover) !important;
}
/*****/
a.nav-link.nav-link-pink{
	color: var(--main-pink-color);
}
.nav-link.nav-link-pink:hover,
.nav-link.nav-link-pink:focus {
    color:  var(--main-pink-color-hover) !important;
}
/*****/
a.nav-link.nav-link-blue{
	color: var(--main-blue-color);
}
.nav-link.nav-link-blue:hover,
.nav-link.nav-link-blue:focus {
    color:  var(--main-blue-color-hover) !important;
}
/*****/
a.nav-link.nav-link-yellow{
	color: var(--main-yellow-color);
}
.nav-link.nav-link-yellow:hover,
.nav-link.nav-link-yellow:focus {
    color:  var(--main-yellow-color-hover) !important;
}

/**************/
.site-title-pre{
	font-size: 1rem;
}
.site-title {
	font-size: 1.5rem;
	margin: 0px !important;
	line-height: 2rem;
    font-family: "Zen Maru Gothic";
	font-weight: 600 !important;
}


@media screen and (max-width: 375px) {
	.site-title-pre{
		font-size: 0.7rem;
	}
	.site-title {
		line-height: 1.4rem;
		font-size: 0.7rem;
	}	
}

@media screen and (min-width: 376px) and (max-width: 412px) {
	.site-title-pre{
		font-size: 0.7rem;
	}
	.site-title {
		line-height: 1.4rem;
		font-size: 0.8rem;
	}
}
/*****/
.site-title-green{
	color: var(--main-green-color);
}
.navbar-brand.site-title-green:hover,
.navbar-brand.site-title-green:focus {
    color: var(--main-green-color-hover) !important;
    opacity: 1; 
}
.navbar-brand.site-title-green:hover .site-title-pre {
    color: var(--main-green-color-hover) !important;
}
/*****/
.site-title-pink{
	color: var(--main-pink-color);
}
.navbar-brand.site-title-pink:hover,
.navbar-brand.site-title-pink:focus {
    color: var(--main-pink-color-hover) !important;
    opacity: 1; 
}
.navbar-brand.site-title-pink:hover .site-title-pre {
    color: var(--main-pink-color-hover) !important;
}
/*****/
.site-title-blue{
	color: var(--main-blue-color);
}
.navbar-brand.site-title-blue:hover,
.navbar-brand.site-title-blue:focus {
    color: var(--main-blue-color-hover) !important;
    opacity: 1; 
}
.navbar-brand.site-title-blue:hover .site-title-pre {
    color: var(--main-blue-color-hover) !important;
}
/*****/
.site-title-yellow{
	color: var(--main-yellow-color);
}
.navbar-brand.site-title-yellow:hover,
.navbar-brand.site-title-yellow:focus {
    color: var(--main-yellow-color-hover) !important;
    opacity: 1; 
}
.navbar-brand.site-title-yellow:hover .site-title-pre {
    color: var(--main-yellow-color-hover) !important;
}

/**************/
.navbar .container{
	max-width: 96%;
	padding-left: 8px;
	padding-right: 8px;
}
.nav-item{
	font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
	.navbar .container{
		max-width: 100%;
	}
	.nav-item{
		font-size: 1.2rem;
	}
	.navbar-toggler-icon{
		width: 1.2em
	}
	.nav-link{
		font-size: 1rem;
	}

}
/******************************
	footer
******************************/	
footer{
	font-size: 1.5rem;
	display: block;
    font-family: "Zen Maru Gothic";
}
.footer-bg-green{
	background-color: var(--main-green-color);
}
.footer-bg-pink{
	background-color: var(--main-pink-color);
}
.footer-bg-blue{
	background-color: var(--main-blue-color);
}
.footer-bg-yellow{
	background-color: var(--main-yellow-color);
}
.footer-site-title{
	font-size: 1.2rem;
	margin: 0px !important;
	line-height: 1.2rem;
}
.footer-info{
	margin-top: 1rem;
	font-size: 1rem;
}
.footer-info p{
	margin-top: 0px;
	margin-bottom: 0px;
}

@media screen and (max-width: 375px) {
	footer,.footer-site-title,.footer-info{
		font-size: 0.7rem;
	}
}

@media screen and (min-width: 376px) and (max-width: 412px) {
	footer,.footer-site-title,.footer-info{
		font-size: 0.7rem;
	}
}


/******************************
	main
******************************/	
main{
	margin-top: 60px;
}
.m0{
	margin: 0px;
}
.ml-half{
	margin-left: 0.5rem;
}
.ml1{
	margin-left: 1rem;
}
.ml2{
	margin-left: 2rem;
}
.ml3{
	margin-left: 3rem;
}
.mr-half{
	margin-right: 0.5rem;
}
.mr1{
	margin-right: 1rem;
}
.mr2{
	margin-right: 2rem;
}

.display-flex{
	display: inline-flex;
	align-items: center;
}
/******************************
	トップページ
******************************/	
/* 写真 */
.carousel-inner{
	width: 80%;
	margin: 0px auto;
}
.carousel-item {
    min-height: 680px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* スライド画像の高さを固定し、画面からはみ出さないようにする */
.carousel-item img {
    height: 60vh; /* 画面高さの60% */
    min-height: 300px;
    object-fit: cover; /* 画像を切り抜いてフィットさせる */
    background-color: #ccc; /* 画像読み込み前の色 */
}
/* 説明書きを横幅いっぱいにする */
.carousel-caption{
	width: 100%;
	left: 0px;
	right: 0px;
	top: 70%;
	font-size: 1.2rem;
	font-weight: normal;
	border-radius: 0px !important;
	padding: 1rem;
}

.carousel-caption p{
	width: 70%;
}

.slide-title{
	font-size: 1.4rem;
	font-weight: bold;
}

/*セクションタイトル*/
.section-title {
	font-size: 1.5rem;
    padding-bottom: 1rem;
    margin-left: 0px;
    margin-bottom: 2rem;
    display: inline-block;
}

/*リストタイトル*/
.list-title{
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0.8rem;
	min-height: 1.2rem;
}
/*リスト本文*/
.list-lead{
	font-size: 1rem;
	height: 10rem;
}

@media screen and (max-width: 768px) {
	.carousel-inner{
		width: 100%;
	}
	.carousel-item {
	    min-height: 400px;
	}
	.carousel-caption{
	    min-height: 400px;
		width: 100%;
		left: 0px;
		right: 0px;
		top: 50%;
		padding: 0.7rem;
		font-size: 0.75rem;
		font-weight: normal;
		line-height: 1.3rem;
		border-radius: 0px !important;
	}		
	.carousel-caption p{
		margin-bottom: 0px;
	}
	.slide-title{
		font-size: 1.2rem;
		font-weight: bold;
	}

	.section-title {
		font-size: 1.2rem;
	    padding-bottom: 1rem;
	    margin-left: 0px;
	    margin-bottom: 2rem;
	    display: inline-block;
	}
	
	.list-title{
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 0.8rem;
		min-height: 0.8rem;
		font-size: 1.2rem;
	}
	.list-lead{
		font-size: 0.9rem;
		height: 8rem;
	}
}





/******************************
	一覧ページ
******************************/	
/* ヘッダー */
.list-header{ 
	margin-top:1rem;
    text-align: center; 
    background-color: #ffffff;	
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.list-header h1{
	font-size: 1.8rem;
	margin-bottom: 0px;
}
.list-header p{
	font-size: 1.3rem;
}

.list-header .header-deco {
    width: 100%;
    height: 5px;
    background-size: 129px 5px;
    background-repeat: repeat-x;
    background-image: linear-gradient(to right, #EFE9BC 24%, transparent 24% 25%, #DAAAF4 25% 49%, transparent 49% 50%, #EFE9BC 50% 74%, transparent 74% 75%, #F7BBD6 75%);
}

/* 市町村検索フォーム */
.selectcity-container {
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
}
/* データがないときのメッセージ */
.list-nothing{
	font-size: 1rem;
	
}
.card-img-trim{
	width: 100%;        /* 横幅をカードいっぱいに */
    height: 300px;      /* 高さを固定（HTMLの指定と合わせる） */
    object-fit: cover;  /* これがトリミングの魔法のプロパティです */
    object-position: center; /* 中央を基準にトリミング（デフォルトですが明示） */
}
@media screen and (max-width: 768px) {
	.list-header h1{
		font-size: 1.4rem;
		margin-bottom: 0px;
	}
}
/******************************
	詳細ページ
******************************/	
/* ヘッダー */
.detail-header{
	margin-top:1rem;
    text-align: center; 
    background-color: #ffffff;	
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.detail-header h1{
	font-size: 1.8rem;
	margin-bottom: 2rem;
}

.detail-overview{
	font-size: 1rem;
	line-height: 2rem;
	padding: 0px 3rem;
}

.detail-itemimg{
	width: 100%;        /* 横幅をカードいっぱいに */
    height: 300px;      /* 高さを固定（HTMLの指定と合わせる） */
    object-fit: cover;  /* これがトリミングの魔法のプロパティです */
    object-position: center; /* 中央を基準にトリミング（デフォルトですが明示） */
}

.detail-itemdetail{
	margin-top: 3rem;
	font-size: 1rem;
	line-height: 1.5rem;
	padding: 0px 3rem;
}
.detail-relation{
	margin-top: 100px;
}

.detail-prdetail{
	font-size: 1rem;	
}
@media screen and (max-width: 768px) {
	.detail-header h1{
		font-size: 1.4rem;
		margin-bottom: 1rem;
	}
	.detail-overview{
		padding: 0px;
	}
	.detail-itemdetail{
		padding: 0px;
	}
}