@import url("common.css");

#top-image{
	width: 100%;
	height: 100vh;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
#top-image img{
	width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像をテキストの背面に配置 */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.top-text{
	display: flex;
    flex-direction: column-reverse; /* 子要素を縦に、逆順で並べる */
    align-items: center;
    text-align: center;
    z-index: 2;
    color: #000;
    padding-top: 58px;    /* 上の飾りの高さ＋α */
    padding-bottom: 56px;
    position:relative;
    margin-bottom: 20%;
}
.top-text .title{
	font-size: 2rem;
    letter-spacing: 1px;
}
.top-text h1{
	font-family: 'KudryashevDisplaySans', sans-serif;
}
.top-text h2{
	font-size: 32px;
	margin: 0 0 20px 0;
	letter-spacing: 1px;
}
/* 上の飾り */
.top-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 真ん中に寄せる */
    width: 400px;  /* 画像の幅に合わせて調整 */
    height: 40px;  /* 画像の高さに合わせて調整 */
    background: url('/image/top/main_up_k.svg') no-repeat center center / contain;
}

/* 下の飾り */
.top-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 40px;
    background: url('/image/top/main_bottom_k.svg') no-repeat center center / contain;
}
.main-image-logo{
	position: absolute;
    bottom: 100px;
    z-index: 3;
    color: #fff;
    text-align: center;
    line-height: 1.4;
}
#family{
	padding: 150px 20px 50px;
	text-align: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;

}
#family h1,.family-h1{
	display: inline-block;
	text-align: center;
	font-size: 46px;
	border-bottom: solid #ccc 1px;
	margin: 0 auto 20px;
	padding: 10px;
}
#family h2{
	font-size: 22px;
}
#family .family-contents{
	max-width: 1100px;
	width: 100%;
	margin: 100px auto;
	display: flex;
	text-align: left;
	align-items: center;
	justify-content: space-between;
}
#family .family-contents img{
	width: 40%;
	border-radius: 10px;
}
.family-text{
	position: relative;
	align-items: center;
	padding: 60px 0;
	line-height: 2.4;
	width: 55%;
}
.family-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 真ん中に寄せる */
    width: 100%;  /* 画像の幅に合わせて調整 */
    height: 40px;  /* 画像の高さに合わせて調整 */
    background: url('/image/top/family_up.svg') no-repeat center center / contain;
}

/* 下の飾り */
.family-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 40px;
    background: url('/image/top/family_bottom.svg') no-repeat center center / contain;
}
#osusume{
	background-color: #FDF0E7;
	padding: 100px 20px;
}
.recommend{
	width: 100%;
	max-width: 1100px;
	margin: 80px auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start; /* 左寄せにする */
    gap: 1.33%;
}
.recommend .box{
	width: 24% !important;
	text-align: center !important;
	line-height: 1.4 !important;
	margin: 0 0 20px 0 !important;
    row-gap: 0;
}
.recommend .box .rec-pic{
	width: 100% !important;
	height: 170px !important;
	margin-bottom: 10px !important;
}
.recommend .box .rec-pic img{
	object-fit: cover !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 10px !important;
}
.recommend .box .rec-pic > div{
    width: 100%;
    height: 100%;
}
#voice,#area,.free-contents,#insta{
width: 100%;
	max-width: 1100px;
	margin: 100px auto 50px;
	
}
#voice{
	padding: 0 20px;
}
.voice-contents{
	display: flex;
	justify-content: space-between;
	margin: 100px 0;
}
.voice-contents .voice{
	width: 32%;
	padding: 20px;
    border: solid #ccc 1px;
    box-sizing: border-box;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
.voice-contents .voice img{
	width: 100%;
    display: block;
}
.voice-contents .voice h4{
font-weight: bold;
    margin: 14px 0 8px;
    border-bottom: solid #ccc 1px;
    padding: 0 0 8px 0;
}
.voice-contents .voice p{
line-height: 1.4;
display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* ここを2にすると2行で止まる */
    overflow: hidden;
    color: #4A4A4A;
}
.voice-inner-link h4{
    color: #000;
}
#contents-menu{
display: flex;
    padding: 0 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 250px auto;
}
.contents-pic {
    position: relative; /* 子要素の基準点にする */
    width: 33%;        /* 必要に応じて調整 */
    height: 300px;      /* 画像の高さを指定（または画像の高さに合わせる） */
    overflow: hidden;
    margin: 0 0 10px 0;
}

.contents-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 12px;
}
.menu-text {
    position: absolute; /* 親要素を基準に浮かせる */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
border-radius: 12px;
    /* 中央寄せの魔法（Flexbox） */
    display: flex;
    flex-direction: column; /* 上下に並べる */
    justify-content: center; /* 垂直方向の中央 */
    align-items: center;     /* 水平方向の中央 */
    
    color: #fff;             /* 文字を白くして見やすくする */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3); 
    transition: all 0.5s ease;
}
.contents-pic a{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
}
.contents-pic:hover .menu-text{
background-color: transparent;
}
.menu-text h2{
font-family: 'KudryashevDisplaySans', sans-serif;
font-size: 36px;
background-image: url(/image/common/menu_kazari.svg);
background-repeat: no-repeat;
background-position: center bottom;
    padding: 0 0 16px 0;
    margin: 0 0 10px;
    width: 100%;
    background-size: 70%;
}
.menu-text h3{

}
.contents-pic p{
	position: absolute;
    bottom: 18px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    /* display: block; */
    /* margin: 0 auto; */
    width: 100%;
    line-height: 1.4;
}
#area{
	margin-bottom: 100px;
}
#area .kantou{
	background-color:#FFB8B8;
	color: #fff;
	display: flex;
	border-radius: 10px;
	padding: 30px;
	margin: 50px 0 30px;
}
#area .kantou dt{
padding: 0 30px;
}
.area-table{
	line-height: 1.5;
border-top: solid #ccc 1px;
border-right: solid #ccc 1px;
}
.area-table th,.area-table td{
	padding: 20px 30px;
}
.area-table th{
border-left: solid #ccc 1px;
border-bottom: solid #ccc 1px;
padding-right: 50px;
padding-left: 50px;
white-space: nowrap;
    vertical-align: middle;
    font-weight: bold;
}
.area-table td{
	border-left: solid #ccc 1px;
border-bottom: solid #ccc 1px;
color: #4A4A4A;
}
#area p{
	font-size: 14px;
	margin: 10px 0 0 0;
}
#free{
	background-color: #FDF0E7;
	padding: 80px 20px;
}
#free h2{
text-align: center;
position: relative;
padding: 50px 0;
font-size: 28px;
margin: 0 0 40px;
}
#free h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 真ん中に寄せる */
    width: 500px;  /* 画像の幅に合わせて調整 */
    height: 40px;  /* 画像の高さに合わせて調整 */
    background: url('/image/top/free_up.svg') no-repeat center center / contain;
}

/* 下の飾り */
#free h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 40px;
    background: url('/image/top/free_bottom.svg') no-repeat center center / contain;
}
#free h3{
text-align: center;
font-size: 18px;
line-height: 1.4;
}
#free .free-item{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 0 20px;
}
#free .free-item li{
background-color: #fff;
    width: 33%;
    text-align: center;
    padding: 28px 0;
    border-radius: 10px;
    margin: 0 0 6px;
}
#free .free-contents p{
	line-height: 1.8;
	margin-bottom: 16px;
}
#top-phrase{
	text-align: center;
	padding: 130px 20px;
	position: relative;
	max-width: 1100px;
	margin: 200px auto;
}
#top-phrase h2{
font-size: 36px;
line-height: 1.4;
margin-bottom: 60px;
}
#top-phrase p{
line-height: 2;
margin-bottom: 20px;
}
#top-phrase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 真ん中に寄せる */
    width: 100%;  /* 画像の幅に合わせて調整 */
    height: 160px;  /* 画像の高さに合わせて調整 */
    background: url('/image/top/phrase_top.svg') no-repeat center center / contain;
}

/* 下の飾り */
#top-phrase::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 160px;
    background: url('/image/top/phrase_bottom.svg') no-repeat center center / contain;
}
#insta{
text-align: center;
margin:200px auto;
}
.insta-contents{
	display: flex;
	justify-content: space-between;
	margin: 50px 0;
}
.instatest{
	width: 200px;
	height: 200px;
	background-color: #000;
}
.btn {
    /* 1. 形とサイズ */
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
    width: 300px;            /* 任意の幅 */
    height: 60px;           /* 任意の高さ */

    /* 2. 両端を円にする魔法 */
    border-radius: 30px;    /* 高さの半分の値を指定。または 999px でもOK */

    color: #000;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 auto;
    border: solid #000 2px;
}

/* ホバー時の演出（おまけ） */
.btn:hover {
    background-color: #000;
    color: #fff;
}
#dog-blog{
	text-align: center;
	padding: 0 20px;
}
#dog-blog p{
	line-height: 1.8;
	margin: 50px 0;
}
#dog-blog .blog-contents{
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 80px;
	display: flex;
	justify-content: space-between;
}
#dog-blog .blog{
width: 32%;
	position: relative;
}
#dog-blog .blog a{
	    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#dog-blog .blog .blog-pic{
	width: 100%;
	height: 250px;
}
#dog-blog .blog h4{
	text-align: left;
	font-size: 18px;
	    margin: 12px 0;
    border-bottom: solid #ccc 1px;
    padding: 0 0 10px;
    font-weight: bold;
}
#dog-blog .blog p{
	text-align: left;
	font-size: 14px;
	    margin: 0;
	    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* ここを2にすると2行で止まる */
    overflow: hidden;
    color: #4A4A4A;
}
#dog-blog .blog img{
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
}
.btn2 {
    /* 1. 形とサイズ */
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
    width: 300px;            /* 任意の幅 */
    height: 60px;           /* 任意の高さ */

    /* 2. 両端を円にする魔法 */
    border-radius: 30px;    /* 高さの半分の値を指定。または 999px でもOK */
background-color: #DD8F9E;
    color: #fff;
    text-decoration: none;
 
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 auto;
    
}

/* ホバー時の演出（おまけ） */
.btn2:hover {
    background-color: #000;
    color: #fff;
}

.sub-contents{
	width: 100%;
	max-width: 1100px;
	margin: 200px auto;
	display: flex;
	justify-content: space-between;
}
.sub-contents .contents-pic {
	width: 49%;
}
.grid-midashi {
    display: flex;
    align-items: center;
}
@media screen and (max-width: 469px){
.top-text{
	margin-bottom: 70%;
}
.top-text::before,.top-text::after{
	width: 320px;
}
.top-text .title{
	    font-size: 1.8rem;
}
.top-text h2{
	font-size: 26px;
}
#family h1{
	font-size: 30px;
}
#family h2{
	font-size: 18px;
}
#family .family-contents{
	display: block;
}
#family .family-contents img,.family-text {
    width: 100%;
}
#family .family-contents{
	margin: 60px 0;
}
.recommend{
	gap: 2%;
	
}
.recommend .box {
    width: 49% !important;
    font-size: 14px;
    margin-bottom: 30px;
}
.voice-contents,#contents-menu{
	display: block;
}
.voice-contents .voice {
    width: 100%;
    margin: 0 0 20px;
}
.contents-pic {
    width: 100%;
    height: 300px;
}
#area .kantou{
	display: block;
	padding: 20px;
}
#area .kantou dt {
    padding: 0 0 10px;
}
#area{
	padding: 0 20px;
}
table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
.area-table th[rowspan] {
    height: auto !important;
  }
.area-table th{
    background-color: #f2f2f2; /* 地域名の背景を変えると見やすい */
    text-align: left;
    padding: 20px;
    border-bottom: none;
    
  }
.area-table td {
    padding: 20px;
    box-sizing: border-box;
  }
#free h2{
	font-size: 20px;
}
#free h2::before,#free h2::after,#free .free-item li{
	width: 100%;
}
#top-phrase,#insta{
	margin: 100px auto;
}
#top-phrase::before,#top-phrase::after{
	width: 90%;
}
#top-phrase h2{
	font-size: 24px;
	margin-bottom: 30px;
}
#top-phrase p{
	font-size: 14px;
}
.insta-contents{
	flex-wrap: wrap;
    padding: 0 20px;
}
.instatest {
    width: 49%;
    height: 200px;
    background-color: #000;
    margin: 0 0 10px;
}
#dog-blog .blog-contents{
	display: block;
}
#dog-blog .blog {
    width: 100%;
    margin: 0 0 30px;
}
.sub-contents{
	padding: 0 20px;
	display: block;
	margin: 100px auto;
}
.sub-contents .contents-pic {
    width: 100%;
    height: 200px;
}
#contents-menu{
    margin: 100px auto;
}
.back-top{
	right: 10px;
}
.e-con.e-grid, .e-con.e-grid>.e-con-inner{
    grid-template-rows: auto;
}
}