/*----------- projects 一覧・詳細共通 ----------*/
@media screen and (min-width: 1080px){body article.inspired{background:#ffffff}body article.inspired section.inspired ul{margin:0 auto;width:960px;overflow:hidden}body article.inspired section.inspired ul li{margin-right:30px;margin-bottom:66px;height:360px;overflow:hidden;float:left}body article.inspired section.inspired ul li:nth-child(3n){margin-right:0}body article.inspired section.inspired ul li a{width:300px;display:block;text-decoration:none}body article.inspired section.inspired ul li a span{display:block}body article.inspired section.inspired ul li a span.head{margin-bottom:16px}body article.inspired section.inspired ul li a span.head .category{padding-top:5px;padding-right:16px;float:left;font-family:"Open Sans";font-size:12px;margin-right: 10px;}body article.inspired section.inspired ul li a span.head .category:after{content:"-"}body article.inspired section.inspired ul li a span.head .date{font-family:"caslon-book";font-size:16px}body article.inspired section.inspired ul li a span.img{clear:both;width:300px;height:210px;background:no-repeat center center / cover}body article.inspired section.inspired ul li a span.title{padding-top:10px;height:72px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-family:"caslon-book","hiraginokakugow3";line-height:24px;font-size:20px}body article.inspired section.inspired ul li a span.title span{display:inline;font-size:18px}body article.inspired_detail section.inspired header{margin-top:80px;text-align:center}body article.inspired_detail section.inspired header p.date{font-family:"caslon-book";font-size:14px}body article.inspired_detail section.inspired header h2{margin:20px 0 60px 0;line-height:40px;font-size:36px;padding:0 60px;}body article.inspired_detail section.inspired .frame{margin:0 auto;width:730px}body article.inspired_detail section.inspired .frame p.image{margin-bottom:62px}body article.inspired_detail section.inspired .frame p.image img{width:100%;height:auto}body article.inspired_detail section.inspired .frame dl{margin-bottom:70px}body article.inspired_detail section.inspired .frame dl dt{margin-bottom:20px;font-family:"Open Sans";font-size:19px}body article.inspired_detail section.inspired .frame dl dd{line-height:30px;font-size:14px}body article.inspired_detail section.inspired .frame ul.link{margin-bottom:70px}body article.inspired_detail section.inspired .frame .related_contents{text-align:center}body article.inspired_detail section.inspired .frame .related_contents h3{font-family:"caslon-book";font-size:40px}body article.inspired_detail section.inspired .frame .related_contents dl{margin:40px 0 90px 0}body article.inspired_detail section.inspired .frame .related_contents dl dt,body article.inspired_detail section.inspired .frame .related_contents dl dd,body article.inspired_detail section.inspired .frame .related_contents dl li{display:inline-block;font-family:"Crimson Text";font-style:italic;font-size:18px}body article.inspired_detail section.inspired .frame .related_contents dl dt,body article.inspired_detail section.inspired .frame .related_contents ul li{padding:0 20px}body article.inspired_detail section.photo{background:#ffffff}body article.inspired_detail section.photo .inner{border-bottom:none}}@media screen and (max-width: 1079px){body article{background:#ffffff}body article.inspired section.inspired ul{margin:0 30px;overflow:hidden}body article.inspired section.inspired ul li{margin-bottom:50px;overflow:hidden}body article.inspired section.inspired ul li a{display:block;text-decoration:none}body article.inspired section.inspired ul li a span{display:block}body article.inspired section.inspired ul li a span.head{margin-bottom:10px}body article.inspired section.inspired ul li a span.head .category{padding-top:2px;padding-right:5px;float:left;font-family:"Open Sans";font-size:11px}body article.inspired section.inspired ul li a span.head .category:after{content:"-"}body article.inspired section.inspired ul li a span.head .date{font-family:"游明朝体";font-size:14px}body article.inspired section.inspired ul li a span.img{clear:both;padding-top:75%;width:100%;height:0;background:no-repeat center center / cover}body article.inspired section.inspired ul li a span.title{padding-top:10px;max-height:72px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-family:"游明朝体";line-height:24px;font-size:16px}body article.inspired section.inspired ul li a span.title span{display:inline;font-size:14px}body article.inspired_detail section.inspired{background:#f3f5f5}body article.inspired_detail section.inspired header{margin-top:80px;text-align:center}body article.inspired_detail section.inspired header p.date{font-family:"游明朝体";font-size:14px}body article.inspired_detail section.inspired header h2{margin:20px 0 60px 0;line-height:40px;font-size:36px;padding:0 20px;}body article.inspired_detail section.inspired .frame{padding:0 20px}body article.inspired_detail section.inspired .frame p.image{margin-bottom:35px}body article.inspired_detail section.inspired .frame p.image img{width:100%;height:auto}body article.inspired_detail section.inspired .frame dl{margin-bottom:50px}body article.inspired_detail section.inspired .frame dl dt{margin-bottom:16px;font-family:"Open Sans";font-size:19px}body article.inspired_detail section.inspired .frame dl dd{line-height:22px;font-size:13px}body article.inspired_detail section.inspired .frame ul.link{margin-bottom:50px}body article.inspired_detail section.inspired .frame .related_contents h3{font-family:"游明朝体";font-size:24px;text-align:center}body article.inspired_detail section.inspired .frame .related_contents dl{margin:20px 0 40px 0;text-align:left}body article.inspired_detail section.inspired .frame .related_contents dl dt,body article.inspired_detail section.inspired .frame .related_contents dl dd,body article.inspired_detail section.inspired .frame .related_contents dl li{line-height:32px;font-family:"Crimson Text";font-style:italic;font-size:14px}body article.inspired_detail section.inspired .frame .related_contents dl dt{width:80px;float:left}body article.inspired_detail section.inspired .frame .related_contents dl dd{margin-left:80px}body article.inspired_detail section.inspired .frame .related_contents dl dd ul li{padding:0 20px 0 0}body article.inspired_detail section.photo{background:#ffffff}body article.inspired_detail section.photo h2{font-size:24px}}
.frame2{
    padding: 0 60px;
}
body article.inspired_detail section.inspired .frame2 dl dt {
    margin-bottom: 20px;
    font-family: "Open Sans";
    font-size: 19px;
}
body article.inspired_detail section.inspired .frame2 dl dt {
    margin-bottom: 20px;
    font-family: "Open Sans";
    font-size: 19px;
}
body article.inspired_detail section.inspired .frame2 dl dd {
    line-height: 30px;
    font-size: 14px;
}
body article.inspired_detail section.inspired .frame2 dl {
    margin-bottom: 70px;
}
.related_inner{
    width:100% !important;
}
.related_contents_list{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}
.related_contents dt{
    font-family: "Crimson Text";
    font-style: italic;
    font-size: 22px;
    margin-top:15px;
}
.related_contents dd{
    line-height: 32px;
    font-family: "Crimson Text";
    font-style: italic;
    font-size: 18px;
}
.related_contents_list li{
    letter-spacing: normal;
    width: 22.2%;
    margin:0 15px;
    margin-bottom:40px;
    padding:0 !important;
}
.related_contents_list li img{
    margin-bottom:5px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}
.no_product {
    padding-top: 90px;
}
.inspired-date{
    height: 25px;
    line-height: 39px;
}
body article section ul.thimb_list {
    width: 1085px;
}

@media screen and (max-width: 1079px){
    .related_contents_list li{
        width: 45.4% !important;
        margin:0 10px;
        margin-bottom:20px;
    }
    .related_contents_list li{
        width: 22.5% !important;
        margin:0 10px;
        margin-bottom:20px;
    }
    .related_contents_list li a div{
        background-size:contain !important;
    }
    
}

/*----------- projects 一覧 ----------*/
body article.inspired section.inspired ul {
    width: auto;
}
article.inspired section.inspired .frame ul{
    margin-left: 70px;
    margin-right: 70px;
}
body article.inspired section.inspired .frame ul li {
    width: 48%;
    height: 635px;
    background-color: #f3f5f5;
}
body article.inspired section.inspired .frame ul li a {
    width: 100%;
}
body article.inspired section.inspired .frame ul li a span.img {
    width: 100%;
    height: 500px;
}
.frame .inspired-content p{
    text-align: left;
    margin: 10px 0;
    height: 32px;
    line-height: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
body article.inspired section.inspired ul li a span.title {
    height: 39px;
    padding-top: 0;
}
body article.inspired section.inspired ul li:nth-child(3n) {
    margin-right: 30px;
}
.category{
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    width: fit-content;
    background: #fff;
    padding: 0 5px 0 5px;
}
.title, .inspired-content{
    padding: 0 5px 5px 5px;
}
body>header nav {
    overflow: visible;
}
body>header nav .menu ul {
    margin-top: -6px;
}
.single-inspired-img{
    background-image: url('<?php the_field("inspired_thumb"); ?>');
}
.related_inspired .related_inspired_container li .related_thumb{
    height: 200px;
    width: 280px;
    margin: auto;
}

@media screen and (max-width: 1080px){
    article.inspired section.inspired .frame ul {
        margin-left: 40px;
        margin-right: 40px;
    }
    body article.inspired section.inspired .frame ul li {
        width: 100%;
        height: 550px;
    }  
    body article.inspired section.inspired ul li a span.img {
        padding-top: 0;
    }
    body article.inspired section.inspired .frame ul li a span.img {
        height: 400px;
    }
    body article.inspired section.inspired ul li {
        margin-bottom: 20px;
    }
    body article.inspired section.inspired .sub-navigation ul {
        display: flex;
        margin: 0 auto;
    }
    body article.inspired section.inspired .sub-navigation ul li {
        margin: 0 20px;
    }
    body article section ul.thimb_list {
        width: 93vw;
    }
}
@media screen and (max-width: 900px){
   body article section ul.thimb_list {
        width: 92vw;
    } 
    .related_contents_list li {
        width: 21.5% !important;
    }
}
@media screen and (max-width: 600px){
    article.inspired section.inspired .frame ul {
        margin-left: 40px;
        margin-right: 40px;
    }
    body article.inspired section.inspired .frame ul li {
        width: 100%;
        height: 550px;
    }  
    body article.inspired section.inspired ul li a span.img {
        padding-top: 0;
    }
    body article.inspired section.inspired .frame ul li a span.img {
        height: 400px;
    }
    body article.inspired section.inspired ul li {
        margin-bottom: 20px;
    }
    .related_contents_list li {
        width: 17.5% !important;
    }
}

/*----------- projects 詳細 ----------*/
.sub-navigation{
    display: flex;
    background-color: #f3f5f5;
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin-bottom: 50px;
}
body article.inspired section.inspired .sub-navigation ul{
    width: auto;
}
body article.inspired section.inspired .sub-navigation ul li{
    height: auto;
}
body article.inspired section.inspired .sub-navigation ul li a{
    width: auto;
}
.sub-navigation li{
    list-style: none;
}

.frame2 dl dd{
    text-align: center;
}
.frame2 dl dd img{
    margin-bottom: 40px;
}
.frame2 dl {
    margin-bottom: 100px;
}
body article.inspired section.inspired ul li a span.img {
    width: 500px;
    height: 280px;
}
.frame .image img{
    width: 50%; 
    margin-bottom: 40px;
}
.frame p {
    text-align: center;
}
section .frame .image img{
    width: 50%;
}
.related-item h3{
    font-size: 22px;
    margin-left: 5%;
}
.detail-frame ul{
    display: flex;
}
.detail-frame ul li detail-img{
    width: 200px;
    height: 200px;
}
.category-detail{
    font-size: 15px;
    width: fit-content;
    background: #fff;
    padding: 0 5px 0 5px;
}
.category-place{
    text-align: right;
    max-width: 80%;
    margin-bottom: 20px;
}
.related_inspired_container{
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
}
.related_inspired_container li{
    margin: 0 auto;
    width: 25%;
    text-align: center;
}
.related_inspired_container .related_thumb{
    width: 50%;
    height: 50%;
}
.related_inspired_container .related_thumb img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.category-detail2 {
    font-size: 15px;
    width: fit-content;
    background: #fff;
    padding: 0 5px 0 5px;
    background: #807d78;
    color: #fff;
}

/* スライダー */
body section.inspired-img .frame .slick-dots button{
    background-color:rgb(200, 200, 200);
}
body section.inspired-img .frame .slick-dots .slick-active button{
    background-color:#b83c3c;
}
section.inspired-img .frame .image{
    width: 65%;
    margin: auto;
}
section.inspired-img .frame .image img{
    height: 500px;
    object-fit: contain;
}
section.inspired-img .frame .image iframe{
    height: 500px;
}

/*-----------矢印表示----------*/
.slick-next{
    right:0!important;
}
.slick-prev{
    left:0!important;
}
.slick-arrow{
    z-index:2!important;
}
.slick-prev:before, .slick-next:before {
    color: #000;
}

@media screen and (max-width: 900px){
    .frame2 dl {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 600px){
    section.inspired-img .frame .image {
        width: 100%;
    }
    section.inspired-img .frame .image img {
        height: auto;
    }
    .related_inspired_container li {
        width: 48%;
        overflow: hidden;
    }
    .frame2 {
        padding: 0 15px;
    }
    body article section h2 {
        margin: 55px 0 15px 0;
        font-size: 25px;
    }
    .category-detail2 {
        font-size: 15px;
        width: fit-content;
        background: #fff;
        padding: 0 5px 0 5px;
        background: #807d78;
        color: #fff;
    }
}


.slide-navigation{
    margin-top: 20px;
    display: flex;
    height: 250px;
}
.slide-navigation img{
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.slide-navigation .slick-dots{
    text-align: center;
    padding-top: 20px;
}
.slide-navigation .slick-track{
    width: 100%!important;
}
.slide-navigation .slick-dots{
    display: none!important;
}
.slick-track {
    display: flex;
}
@media screen and (max-width:767px){
    .slide-navigation{
        top: 0px;
    }
    .slide-navigation img{
        height: 90px!important;
        width: 100%!important;
    }
}

.movie-area {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 55%;
}
.movie-area iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}