/* お知らせの記事の右サイドバー。旧テーマの CSS から scripts/build-notice-sidebar-css.py で取り出した指定と、下の手書きの指定 */
/* 幅: 旧サイトと同じサイドバー 304px。2カラムは幅 960px 以上（それより狭いと本文の下に回る） */
.legacy-body{--swl-sidebar_width:304px;--swl-sidebar_margin:52px}
@media (min-width:960px){.legacy-body.-sidebar-on .l-content{display:flex;flex-wrap:wrap;justify-content:space-between}}
/* バナー: スタジオの写真に文字を重ねる（文字は画像にしない） */
.legacy-body .notice-banner__link{position:relative;display:block;overflow:hidden;aspect-ratio:2/1;color:#111;text-decoration:none}
.legacy-body .notice-banner__link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.legacy-body .notice-banner__text{position:absolute;inset:12% 8%;display:grid;place-items:center;padding:.4em;background:rgba(255,255,255,.82);font-size:18px;font-weight:700;line-height:1.5;text-align:center}
.legacy-body .notice-banner__link:hover img,.legacy-body .notice-banner__link:focus-visible img{transform:scale(1.05)}
/* アーカイブの月の選択 */
.legacy-body .notice-archive select{width:100%;min-height:44px;padding:0 .75em;border:1px solid #767676;border-radius:2px;background:#fff;color:#333;font-size:14px}
.legacy-body .-index-off .widget_swell_index,.legacy-body .-index-off [data-onclick=toggleIndex]{display:none}
.legacy-body .-index-off .widget_swell_index+.c-widget{margin-top:0!important}
.legacy-body.-sidebar-off .l-article,.legacy-body .lp-content .l-article{margin-left:auto;margin-right:auto}
.legacy-body .c-gnav>.menu-item{height:100%;position:relative}
.legacy-body .c-gnav>.menu-item:hover>.sub-menu{opacity:1;visibility:visible}
.legacy-body .c-gnav>.menu-item>a{color:inherit;display:flex;flex-direction:column;height:100%;justify-content:center;padding:0 12px;position:relative;white-space:nowrap}
.legacy-body .c-gnav>.menu-item>a .ttl{display:block;font-size:14px}
.legacy-body .c-gnav>.menu-item>a:after{bottom:0;content:"";display:block;left:0;position:absolute;transition:width .25s,height .25s,-webkit-transform .25s;transition:transform .25s,width .25s,height .25s;transition:transform .25s,width .25s,height .25s,-webkit-transform .25s}
.legacy-body .c-gnav>.menu-item>a .c-submenuToggleBtn{display:none}
.legacy-body .c-gnav>.menu-item>.sub-menu{left:50%;top:100%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}
.legacy-body.-sidebar-on .l-mainContent{max-width:100%}
.legacy-body #sidebar{font-size:var(--swl-fz--side);position:relative}
.legacy-body .c-listMenu li{margin:0;position:relative}
.legacy-body .c-listMenu a{border-bottom:1px solid var(--color_border);color:inherit;display:block;line-height:1.4;position:relative;text-decoration:none}
.legacy-body .c-listMenu a:hover{background-color:var(--swl-color_hov_gray)}
.legacy-body .widget_swell_prof_widget .c-iconList,.legacy-body .widget_swell_sns_links .c-iconList{justify-content:center}
.legacy-body .p-postList .c-postTitle{margin:0 auto 1em;position:relative;width:100%;z-index:1}
.legacy-body .p-postList .c-postTitle__date .__md,.legacy-body .p-postList .c-postTitle__ttl{font-size:4vw}
.legacy-body .p-postList__link:hover .c-postThumb:before{opacity:.2}
.legacy-body .p-postList__link:hover .c-postThumb__img{-webkit-transform:scale(1.06);transform:scale(1.06)}
.legacy-body .p-postListWrap{position:relative}
.legacy-body .p-postList.p-postList{list-style:none;margin-bottom:0;padding-left:0}
.legacy-body .p-postList.-type-simple{border-top:1px solid var(--color_border)}
.legacy-body .p-postList.-type-card,.legacy-body .p-postList.-type-thumb{display:flex;flex-wrap:wrap;margin-left:-.5em;margin-right:-.5em}
.legacy-body.-frame-off .p-postList.-type-list2{border-top:1px solid var(--color_border);padding-top:1.5em}
.legacy-body .c-widget .p-postList.-type-card{margin-bottom:-1.5em}
.legacy-body .p-postList.-type-thumb+.is-style-more_btn{margin-top:1em}
.legacy-body .p-postList.-type-simple+.is-style-more_btn{margin-top:2em}
.legacy-body .p-postList__item.p-postList__item:before{content:none}
.legacy-body .-type-simple .p-postList__item{margin-bottom:0;margin-top:0}
.legacy-body .-type-list .p-postList__item{margin-bottom:2em;margin-top:0}
.legacy-body .-type-list2 .p-postList__item{border-bottom:1px solid var(--color_border);margin-bottom:1.5em;margin-top:0;padding-bottom:1.5em}
.legacy-body .-type-big .p-postList__item{padding-left:.5em;padding-right:.5em}
.legacy-body .-type-big .p-postList__item:not(:last-child){border-bottom:1px solid var(--color_border);margin-bottom:3em;padding-bottom:3em}
.legacy-body .-type-card .p-postList__item{margin-bottom:2.5em;margin-top:0;padding:0 .5em;width:50%}
.legacy-body .-type-thumb .p-postList__item{margin-bottom:1em;margin-top:0;padding:0 .5em;width:50%}
.legacy-body .is-first-big>.p-postList__item:first-child{width:100%}
.legacy-body .c-widget .-type-card .p-postList__item{margin-bottom:2em}
.legacy-body .c-widget .-type-list .p-postList__item{margin-bottom:1.5em}
.legacy-body .p-postList__link{color:inherit;display:block;position:relative;text-decoration:none;z-index:0}
.legacy-body .-type-card .p-postList__link{height:100%}
.legacy-body .-type-simple .p-postList__link{border-bottom:1px solid var(--color_border);display:block;padding:1em .25em;transition:background-color .25s}
.legacy-body .-type-simple .p-postList__link:hover{background-color:var(--swl-color_hov_gray)}
.legacy-body .-type-list2 .p-postList__link,.legacy-body .-type-list .p-postList__link{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:space-between}
.legacy-body .-type-list2 .p-postList__link{padding:0 .25em}
.legacy-body .-type-list2 .p-postList__item:nth-child(2n) .p-postList__link{flex-direction:row-reverse}
.legacy-body .-type-card .p-postList__thumb{width:100%}
.legacy-body .-type-list2 .p-postList__thumb,.legacy-body .-type-list .p-postList__thumb{width:36%}
.legacy-body .-type-thumb .p-postList__thumb{box-shadow:none;width:100%}
.legacy-body .p-postList__thumb:before{background:linear-gradient(45deg,var(--color_gradient1),var(--color_gradient2));content:"";display:block;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .25s;width:100%;z-index:1}
.legacy-body .p-postList__body{position:relative;transition:opacity .25s}
.legacy-body .-type-big .p-postList__body,.legacy-body .-type-card .p-postList__body{padding-top:1em}
.legacy-body .-ps-style-normal .p-postList__item:hover .p-postList__body,.legacy-body .-type-card .p-postList__item:hover .p-postList__body,.legacy-body .-type-list .p-postList__item:hover .p-postList__body{opacity:.75}
.legacy-body .-type-list2 .p-postList__body,.legacy-body .-type-list .p-postList__body{width:60%}
.legacy-body .-type-thumb .p-postList__body{background:rgba(0,0,0,.5);bottom:0;color:#fff;left:0;padding:.75em;position:absolute;width:100%}
.legacy-body .-type-big .p-postList__body:after,.legacy-body .-type-list2 .p-postList__body:after{box-shadow:0 0 0 1px var(--color_border);display:block;font-size:12px;letter-spacing:var(--swl-letter_spacing,.5px);margin:2em auto 0;opacity:.75;padding:1em 0;text-align:center;transition:color .25s,background-color .25s;width:100%}
.legacy-body .-type-list2 .p-postList__body:after{display:inline-block;margin-top:2em;max-width:100%;padding:.5em 3em;width:auto}
.legacy-body .p-postList__link:hover .p-postList__body:after{background:var(--color_main);box-shadow:none;color:#fff;opacity:1}
.legacy-body .p-postList .p-postList__title{background:none;border:none;color:inherit;display:block;font-weight:700;line-height:1.5;margin:0;padding:0}
.legacy-body .p-postList .p-postList__title:after,.legacy-body .p-postList .p-postList__title:before{content:none}
.legacy-body .-type-card .p-postList__title,.legacy-body .-type-list2 .p-postList__title,.legacy-body .-type-list .p-postList__title{font-size:3.6vw}
.legacy-body .-type-simple .p-postList__title{font-size:1em}
.legacy-body .p-postList__excerpt{line-height:1.5}
.legacy-body .-type-card .p-postList__excerpt{font-size:3.2vw;margin-top:.5em}
.legacy-body .-type-list2 .p-postList__excerpt,.legacy-body .-type-list .p-postList__excerpt{font-size:3.4vw;margin-top:.5em}
.legacy-body .-type-big .p-postList__excerpt{line-height:1.6;padding-bottom:.5em}
.legacy-body #sidebar .p-postList__excerpt,.legacy-body .-related .p-postList__excerpt,.legacy-body .-type-thumb .p-postList__excerpt{display:none}
.legacy-body .p-postList__meta{align-items:center;display:flex;flex-wrap:wrap;font-size:10px;line-height:1.25;margin-top:.75em;position:relative}
.legacy-body .p-postList__title+.p-postList__meta{margin-top:.25em}
.legacy-body .p-postList__meta :before{margin-right:.25em}
.legacy-body .-type-simple .p-postList__meta{margin:0 0 4px}
.legacy-body .-type-big .p-postList__meta{font-size:12px;margin:0 0 1em}
.legacy-body .-type-thumb .p-postList__meta,.legacy-body .c-widget .p-postList__meta{margin-top:0}
.legacy-body .p-postList__author,.legacy-body .p-postList__cat,.legacy-body .p-postList__times,.legacy-body .p-postList__views{margin-right:.5em;padding:4px 0}
.legacy-body .-type-simple .p-postList__author{padding:0}
.legacy-body .p-postList__author:not(:first-child){margin-left:auto}
.legacy-body .-w-ranking.p-postList{counter-reset:number 0}
.legacy-body .-w-ranking .p-postList__item{position:relative}
.legacy-body .-w-ranking .p-postList__item:before{background-color:#3c3c3c;color:#fff;content:counter(number);counter-increment:number;display:block;font-family:arial,helvetica,sans-serif;pointer-events:none;position:absolute;text-align:center;z-index:2}
.legacy-body .-w-ranking .p-postList__item:first-child:before{background-color:#f7d305;background-image:linear-gradient(to top left,#f7bf05,#fcea7f,#fcd700,#f7d305,#eaca12,#ac9303,#f7d305,#fcea7f,#f7e705,#eaca12,#f7bf05)}
.legacy-body .-w-ranking .p-postList__item:nth-child(2):before{background-color:#a5a5a5;background-image:linear-gradient(to top left,#a5a5a5,#e5e5e5,#ae9c9c,#a5a5a5,#a5a5a5,#7f7f7f,#a5a5a5,#e5e5e5,#a5a5a5,#a5a5a5,#a5a5a5)}
.legacy-body .-w-ranking .p-postList__item:nth-child(3):before{background-color:#c47222;background-image:linear-gradient(to top left,#c46522,#e8b27d,#d07217,#c47222,#b9722e,#834c17,#c47222,#e8b27d,#c48022,#b9722e,#c46522)}
.legacy-body .-w-ranking.-type-card .p-postList__item:before{font-size:3.2vw;left:calc(.5em + 8px);line-height:2.5;top:-4px;width:2em}
.legacy-body .-w-ranking.-type-list .p-postList__item:before{font-size:3vw;left:0;line-height:2;top:0;width:2em}
.legacy-body .p-spMenu .c-widget__title{margin-bottom:1.5em}
.legacy-body .c-spnav .menu-item{position:relative}
.legacy-body .c-spnav>.menu-item:first-child>a{border-top:none}
.legacy-body .widget_swell_ad_widget{margin:0 auto;text-align:center;width:100%}
.legacy-body .widget_swell_ad_widget iframe,.legacy-body .widget_swell_ad_widget ins{box-sizing:border-box;max-width:100%}
.legacy-body .c-widget+.c-widget{margin-top:2em}
.legacy-body .c-widget p:empty:before{content:none}
.legacy-body .c-widget .textwidget>:not(:last-child){margin-bottom:1em}
.legacy-body .c-widget__title{font-size:4vw;font-weight:700;margin-bottom:1.5em;overflow:hidden;position:relative}
.legacy-body .c-widget__title:after,.legacy-body .c-widget__title:before{box-sizing:inherit;display:block;height:1px;position:absolute;z-index:0}
.legacy-body .widget_search .c-widget__title,.legacy-body .widget_search .wp-block-search__label{display:none}
.legacy-body .swell-block-button{--the-icon-size:1.1em}
.legacy-body .swell-block-button[data-align=right]{text-align:right}
.legacy-body .swell-block-button[data-align=left]{text-align:left}
.legacy-body .swell-block-button a{text-align:center}
.legacy-body .swell-block-button .swell-block-button__link[data-has-icon]{align-items:center;display:inline-flex;gap:.5em;justify-content:center}
.legacy-body .swell-block-button .__icon:not(.-right){margin-left:-.25em}
.legacy-body .swell-block-button .__icon.-right{margin-right:-.25em}
.legacy-body .swell-block-button .__icon{font-size:var(--the-icon-size);height:var(--the-icon-size);width:var(--the-icon-size)}
.legacy-body .swell-block-button .__icon:before{display:block}
.legacy-body .swell-block-button__img{border:none;display:none!important}
@media (max-width:959px){.legacy-body #sidebar{margin-top:4em}.legacy-body .is-hide-last--sp .p-postList__item:last-child{display:none}}
@media (min-width:600px){.legacy-body .p-postList .c-postTitle__date .__md,.legacy-body .p-postList .c-postTitle__ttl{font-size:20px}.legacy-body.-frame-off .p-postList.-type-list2{padding-top:2em}.legacy-body .-type-list2 .p-postList__item{margin-bottom:2em;padding-bottom:2em}.legacy-body .-type-card.-pc-col1 .p-postList__item,.legacy-body .-type-thumb.-pc-col1 .p-postList__item{width:100%}.legacy-body .-type-card.-pc-col1 .p-postList__item{margin:0 0 3em}.legacy-body .-type-big .p-postList__body:after{width:80%}.legacy-body .-type-card .p-postList__title,.legacy-body .-type-list2 .p-postList__title,.legacy-body .-type-list .p-postList__title{font-size:16px}.legacy-body #sidebar .-type-card .p-postList__title,.legacy-body .-related .p-postList__title,.legacy-body .-type-thumb .p-postList__title,.legacy-body .w-footer:not(.-col1) .p-postList__title{font-size:14px}.legacy-body #sidebar .-type-list .p-postList__title,.legacy-body .-type-card .p-postList__excerpt{font-size:13px}.legacy-body .-type-list2 .p-postList__excerpt,.legacy-body .-type-list .p-postList__excerpt{font-size:14px}.legacy-body .p-postList__meta{font-size:11px}.legacy-body .-w-ranking.-type-card .p-postList__item:before{font-size:14px}.legacy-body .-w-ranking.-type-list .p-postList__item:before{font-size:12px}.legacy-body .c-widget__title{font-size:16px}}
@media (min-width:960px){.legacy-body.-sidebar-on .l-content{display:flex;flex-wrap:wrap;justify-content:space-between}.legacy-body.-sidebar-on .l-mainContent{width:calc(100% - var(--swl-sidebar_width) - var(--swl-sidebar_margin))}.legacy-body #sidebar .c-widget+.c-widget{margin-top:2.5em}.legacy-body.-sidebar-on #sidebar{width:var(--swl-sidebar_width)}.legacy-body #sidebar .-type-card .p-postList__item{width:100%}.legacy-body .-type-card.-pc-col2 .p-postList__item{padding:0 .75em}.legacy-body .w-footer.-col1 .-type-card .p-postList__item{width:33.33333%}.legacy-body .w-footer.-col1 .-type-list .p-postList__item{padding:.5em;width:50%}.legacy-body .is-hide-last--pc .p-postList__item:last-child,.legacy-body .p-spMenu{display:none}.legacy-body .w-fixSide .c-widget{flex:1 1 auto}.legacy-body .w-fixSide.-multiple .c-listMenu,.legacy-body .w-fixSide.-multiple .widget_swell_index{min-height:8em;overflow-y:auto!important}.legacy-body .w-fixSide.-multiple .widget_swell_new_posts,.legacy-body .w-fixSide.-multiple .widget_swell_popular_posts{min-height:160px;overflow-y:auto!important}}
@media (min-width:1200px){.legacy-body.-frame-on-sidebar{--swl-sidebar_width:316px}.legacy-body.-frame-on.-sidebar-on{--swl-sidebar_margin:36px}}
@media (max-width:1200px){.legacy-body .c-gnav>.menu-item>a{padding:0 10px}}
@media (max-width:1080px){.legacy-body .c-gnav>.menu-item>a{padding:0 8px}}
@media (max-width:599px){.legacy-body .-type-card.-sp-col1 .p-postList__item,.legacy-body .-type-thumb.-sp-col1 .p-postList__item{width:100%}.legacy-body .-type-list2 .p-postList__body:after{content:none!important}.legacy-body .p-postList__title .-type-thumb.-sp-col2{font-size:3.2vw}.legacy-body .-type-card.-sp-col1 .p-postList__title{font-size:3.8vw}}
@media (min-width:960px) and (max-width:1019px){.legacy-body.-sidebar-off .-type-card.-pc-col3 .p-postList__item{padding:0 .75em}}
@media (min-width:960px) and (max-width:1319px){.legacy-body.-sidebar-on .-type-card.-pc-col3 .p-postList__item{padding:0 .75em}}
@media (min-width:1020px){.legacy-body.-sidebar-off .-type-card.-pc-col3 .p-postList__item,.legacy-body.-sidebar-off .-type-thumb.-pc-col3 .p-postList__item{width:33.33333%}}
@media (min-width:1320px){.legacy-body.-sidebar-on .-type-card.-pc-col3 .p-postList__item,.legacy-body.-sidebar-on .-type-thumb.-pc-col3 .p-postList__item{width:33.33333%}}
