@media(min-width:901px){
.c .hero{isolation:isolate;margin-top:30px}
.c .hero .wall{position:relative;box-shadow:inset 0 0 0 10px #f0e9d8,inset 0 0 0 11px rgba(171,147,99,.95)}
.c .hero .wall:before{content:'';position:absolute;inset:-34px;z-index:-1;background:#f0e9d8;border:1px solid rgba(171,147,99,.8);pointer-events:none}
.c .hero .frame-orn{position:absolute;left:50%;width:160px;height:32px;margin-left:-80px;background:url(images/frame/ornament.svg) center/160px 32px no-repeat;pointer-events:none}
.c .hero .frame-orn.t{top:-33px}
.c .hero .frame-orn.b{bottom:-33px;transform:scaleY(-1)}
.c .hero .frame-corner{position:absolute;inset:-43px;pointer-events:none;background:url(images/frame/corner.svg) left top/18px no-repeat,url(images/frame/corner.svg) right top/18px no-repeat,url(images/frame/corner.svg) left bottom/18px no-repeat,url(images/frame/corner.svg) right bottom/18px no-repeat}
.c .hero .hero-caption{position:absolute;left:0;right:0;bottom:-78px;top:auto!important;margin:0;color:#26382e!important;text-align:center;display:flex;align-items:center;justify-content:center;gap:18px;font-size:15px!important;letter-spacing:.12em;text-shadow:none!important}
.c .hero .hero-caption:before,.c .hero .hero-caption:after{content:'';flex:0 1 150px;height:1px;background:rgba(171,147,99,.75)}
.c .hero .sub{transform:translateY(80px)}
.c .hero .hero-actions .action,.c .hero .hero-actions .action.primary{background:transparent!important;color:#26382e!important;border:1px solid rgba(171,147,99,.9)!important;transition:background .35s ease}
.c .hero .hero-actions .action.primary{border-color:#26382e!important}
.c .hero .hero-actions .action:hover{background:rgba(171,147,99,.12)!important}
}
@media(max-width:900px){
.c .hero .frame-orn,.c .hero .frame-corner{display:none}
.c .hero .wall{position:relative;box-shadow:inset 0 0 0 8px #f0e9d8,inset 0 0 0 9px rgba(171,147,99,.95)}
.c .hero .hero-caption{left:18px!important;right:18px;bottom:20px!important;white-space:normal;letter-spacing:.06em!important;line-height:1.6;height:auto!important;top:auto!important;text-shadow:0 1px 6px rgba(0,0,0,.6)}
}
/* 画面が狭い PC・タブレットでは、額の外の台紙を細くして画面の外に出さない */
@media(min-width:901px) and (max-width:1400px){
.c .hero .wall:before{inset:-16px}
.c .hero .frame-corner{display:none}
.c .hero .frame-orn{width:120px;margin-left:-60px;background-size:120px 24px}
.c .hero .frame-orn.t{top:-22px}
.c .hero .frame-orn.b{bottom:-22px}
}
