@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@600&display=swap');

.RinjiAllBnr{display: none;}

/*--------------------
関西パン博2025
--------------------*/

body.item_feature .sp_view {display: none}
#contents-main.all {padding: 0 0 30px;background: #B92D22;}
body.item_feature #contents .inner{padding:0;width:100%;max-width:100%;margin:0;}
body.item_feature #contents article > h3{display: none;}
body.item_feature #contents article h3 {

}
body.item_feature #contents article h3 img {max-width: unset;}
body.item_feature {overflow-x:hidden;}

div.menu-btn {display: flex;margin: 30px auto 0;width:100%;max-width: 1000px;column-gap: 10px;align-items: end;}
div.menu-btn a {display: block;flex:1;text-align: center;font-size: 20px;font-weight: bold;border-radius: 10px 10px 0 0;background: #E3CD97;color:#6B3C30;padding: 20px 0 20px 20px;margin-bottom: 7px;}
div.menu-btn a::after {font-family: var(--fontfamily-icon);color:#B92D22;content: "\e5cc";vertical-align: text-top;font-weight: bold;font-size: 20px;/* display: block; */line-height: 30px;margin-left: 10px;}

body.item_feature #contents .content1, body.item_feature #contents .content2{white-space: pre-wrap;}
body.item_feature #contents .content1{border-bottom: 4px solid #e3e8e9;/* padding-bottom: 20px; *//* font-weight: bold; *//* line-height: 1.6rem; *//* font-size: 16px; *//* padding-top: 10px; */}
h3.title_img {display: none;}
body.item_feature #contents article h3{border-bottom: none;margin-top: 0;padding-top: 30px;}
body.item_feature #contents .content1 {display: none;}

body.item_feature #contents article h3.content_ttl{font-family: 'Noto Serif JP', serif;
    text-align: center;color: #fff;font-weight: 500;font-size: clamp(1.1rem, 1.6vw, 1.6rem);line-height: 1.4em;padding: 15px 0 10px;max-width: 1000px;border-top: dashed 1px #fff;margin:auto;}

h4.cate_ttl {margin:auto;width: 360px;height: auto;aspect-ratio: 570/ 150;border: 7px solid #E3CD97;border-bottom: 0;border-radius: 10px 10px 0 0;}
#featureid19 h4.cate_ttl {background: url("panhaku2025/pan_btn19.png"),#E3CD97;background-size: cover;}
body.pc #featureid18 h4.cate_ttl {background: url("panhaku2025/pan_btn18.png"),#E3CD97;background-size: cover;width: 70%;height: auto;aspect-ratio: 1700 / 210;}


h4.cate_ttl span{opacity: 0;}
body.item_feature #contents-main .NewsItemList {max-width: 1000px;margin: 0 auto 50px;padding: 0;border-radius: 0 0 10px 10px;background: #E3CD97;}
body.item_feature.pc #contents-main .NewsItemList .item {padding: 24px 20px;}
#contents-main .NewsItemList .item .morelink {display: none;}
#contents-main .NewsItemList .item .date {z-index: 10;background: #6B3C30;padding: 3px 7px;margin:2px;color: #fff;border-radius:8px 0 0 0;}
#contents-main .NewsItemList .item .image {width: 100%;height: auto;aspect-ratio: 3 / 2;float: none;z-index: 1;border: 3px solid #6B3C30;border-radius: 10px;overflow: hidden;}
.pc #contents-main .NewsItemList .item .desc {width: 100%; padding: 10px 0 0 0;}
body.item_feature #contents article h3 .title {display: none;}
body.item_feature #contents .message p {font-family: 'Noto Serif JP', serif;text-align: center;color: #fff;font-weight: 500;font-size: clamp(1.1rem, 1.6vw, 1.6rem);line-height: 1.4em;}

body.item_feature #contents a.pan_bnr {display: block;width:100%;max-width: 800px;margin: 35px auto;box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.25);}
body.item_feature #contents a.pan_bnr figure {width:100%;padding:0;margin:0;}
body.item_feature.sp #contents a.pan_bnr {width:90%;margin: 20px auto;}

body.item_feature.sp .pc_view {display: none;}
body.item_feature.sp .sp_view {display: block;}
body.item_feature.sp #contents-main div.menu-btn {width: 95%;column-gap: 5px;margin: 25px auto 0px;flex-wrap: wrap;}
body.item_feature.sp #contents-main div.menu-btn a {font-size: 13px;line-height: 1.3em;padding: 3% 0%;padding-left: 0;display: flex;justify-content: center;align-items: center;margin-bottom: 5px;flex: 0.7;}
body.item_feature.sp #contents-main div.menu-btn a.current {transform: scale(1.065);flex: 1.15;}
body.item_feature.sp #contents-main div.menu-btn  a::after {line-height: 27px;margin-left: 3%;}
body.item_feature.sp #contents-main .NewsItemList {margin: 0 auto 40px;width: 90%;border-radius: 0px;padding: 10px 15px 0;}
body.item_feature.sp #contents-main .NewsItemList .item{width:100%;}
body.item_feature.sp #contents-main .NewsItemList .item .image{height: 30vh;}
body.item_feature.sp #contents article h3 {margin-bottom:20px;padding-top: 0;}
body.item_feature.sp #contents-main .NewsItemList .item .date {position: absolute;margin:4px 0;}
body.item_feature.sp h4.cate_ttl{height: auto;aspect-ratio: 560 / 160;flex: 1;margin: 0;border: 4px solid #E3CD97; border-bottom: 0;}
body.item_feature.sp #featureid19 h4.cate_ttl {background: url("panhaku2025/pan_btn19_sp.png"),#E3CD97;background-size: cover;flex: 0.6;aspect-ratio: 750/ 277;}
body.item_feature.sp #featureid18 h4.cate_ttl {background: url("panhaku2025/pan_btn18_sp.png"),#E3CD97;background-size: cover;}
body.item_feature.sp #contents .message p {text-align: center;color: #fff;font-weight: bold;font-size: 4vw;line-height: 7vw;}
body.item_feature.sp #contents article h3.content_ttl{font-weight: bold;padding-top: 12px;padding-bottom: 0;margin-bottom: 7px;}



