@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
@import url(https://use.fontawesome.com/releases/v5.13.0/css/all.css);
.content_topics .container {
width: 1200px;
margin: 0 auto;
padding-top: 50px;
padding-bottom: 100px;
text-align: left;
}
.kv-topics{
width:30%;
margin: 20px auto;
}
@media screen and (max-width : 1280px){
.content_topics .container {width: 90%;}
.kv-topics{
width:40%;
}
}
@media screen and (max-width : 768px){
.content_topics .container {width: 100%;
padding-top: 0px;
padding-bottom: 50px;
}
.kv-topics{
width:50%;
margin: 20px auto 0px;
}
}

.flex-parent {
width:100%;
display:flex;
flex-wrap:wrap; /*折り返し*/
justify-content:space-between;/*両端揃え*/
}
/*リンク崩れ回避
.flex-child {
position: relative;
}
.flex-child a{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
*/
.hover:hover {
  opacity: 0.7;
}
/*リンク崩れ回避ここまで*/

.flex-parent::after {
display: block;
content:"";
width:32%;
}
.flex-child {
width:32%;
display:flex;
flex-direction:column;
box-sizing:border-box;
border-radius:16px;
margin-top: 30px;
background-color: #FFFFFF;
border:1px solid #ccc;
box-sizing:border-box;
border-radius:16px;
}

.flex-grandchild-img,.flex-grandchild-img02 {
width:100%;
height:auto;
position:relative;
 overflow:hidden;
}
.flex-grandchild-img::after,.flex-grandchild-img02::after {
display:block;
content:'';
width:100%;
height:0;
padding-top:55%;
}

.flex-grandchild-img img {
display:block;
width:100%;
height:auto;
position:absolute;
top:0;left:0;
border-radius:16px 16px 0 0;
 /* transition: transform .5s ease;ゆっくり変化させる */
}
.flex-grandchild-img a:hover {
opacity: 0.6;
 /* transition: transform .5s ease;ゆっくり変化させる */
}
.flex-grandchild-img02 img {
display:block;
width:100%;
height:auto;
position:absolute;
top:0;left:0;
border-radius:16px;
}
/* 拡大
.flex-grandchild-img img:hover{
transform: scale(1.1);
  transition:1s all;
}
 */

.flex-grandchild-inner {
display:flex;
flex-direction:column;
flex-grow:1;
width:100%;
padding: 20px 25px 20px;
text-align: left;
}
.flex-grandchild-inner H1 {
display:flex;
font-size:1.6rem;
margin:0px;
box-sizing:border-box;
font-weight: bold;
padding: 5px 0 10px;
}
.topics_Txt {
font-size:1.3rem;
line-height: 2rem;
}
.flex-grandchild-innerLink a:hover {
opacity: 0.8;
}

.hide-area{
display: none;
}
@media screen and (max-width: 1024px) {
.flex-child {
width:49%;
display:flex;
flex-direction:column;
border:1px solid #ccc;
box-sizing:border-box;
border-radius:16px;
}
.flex-child:nth-of-type(n+3) {
margin-top:10px;
}
.flex-grandchild-inner H1 {
font-size: 1.5rem;
}
.topics_Txt {
font-size: 1.2rem;
line-height:1.8;
}
}
@media screen and (max-width: 599px) {
.flex-grandchild-inner {
padding: 10px 25px 10px;
}
.flex-grandchild-img img {
object-fit:cover;
}
.flex-grandchild-inner H1 {
font-size: 1.2rem;
padding: 5px 0px;
}
.topics_Txt {
font-size: 1rem;
line-height:1.6;
}
}
.car_list{margin: 10px 0 0px;}
.car_list li{
font-size: 0.8em;
line-height: 2em;
}
.button {
text-align:center;
padding:8px 10px;
font-size: 0.8em;
color:#FFF;
max-width:200px;
border-radius: 5em;
background-color: #3c3c3c;
margin: 20px 0; cursor : pointer;
font-weight:normal;
}
.close {
background:#666;
color: #FFF;
}
.btn_hp02{
display: block;
max-width: 400px;
width: 100%;
border-radius: 10rem;
color: #FFFFFF;
padding: 10px 15px;
text-align: center;
font-size: 1em;
background-color: #151515;
}
.btn_hp02 a:link{color: #FFFFFF;}
.col_3{
width: 100%;
display: flex;
flex-wrap: wrap;
}
.col_3 > *{
width: calc( 33.33333% - 8px ) ;
margin-right: 12px;
margin-bottom: 12px;
}
.col_3 > *:nth-child(3n){
margin-right: auto;
}
.col_3 > * > *{
position: relative;
overflow: hidden
}
@media screen and (max-width: 960px) {
.col_3 > *{
width: calc( 50% - 6px ) ;
}
.col_3 > *:nth-child(3n){
margin-right: 12px;
}
.col_3 > *:nth-child(2n){
margin-right: auto;
}
}
@media screen and (max-width: 580px) {
.col_3 > *{
width: 100%;
margin-right: auto;
}
.col_3 > *:nth-child(3n){
margin-right: auto;
}
}