/* Responsive common footer. Keep source dark background and watermark; allow the link inventory to grow. */
:is(.top-page,.subpage-page) .site-footer{min-height:0;padding:60px 0 38px}
:is(.top-page,.subpage-page) .site-footer .footer-inner{display:grid;grid-template-columns:240px minmax(0,1fr);justify-content:start;align-items:start;column-gap:47px;row-gap:0;max-width:1300px;width:calc(100% - 80px);min-height:0;padding-bottom:0}
:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-main-nav{display:grid;grid-template-columns:max-content max-content;grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:12px 32px;font-size:14px;line-height:24px}
:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-treatments{justify-self:start;max-width:100%;display:grid;grid-template-columns:max-content max-content;grid-template-rows:auto;grid-auto-flow:row;align-content:start;align-items:start;gap:0 40px!important;font-size:14px;line-height:24px}
:is(.top-page,.subpage-page) .footer-treatment-group{min-width:0;margin:0;padding:0}
:is(.top-page,.subpage-page) .footer-treatment-group>p{margin:0 0 12px;font-size:14px;line-height:24px;font-weight:500}
:is(.top-page,.subpage-page) .footer-treatment-group ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
:is(.top-page,.subpage-page) .footer-treatment-group li{margin:0;padding:0}
:is(.top-page,.subpage-page) .footer-treatment-group a,:is(.top-page,.subpage-page) .footer-treatment-group button{display:block;max-width:100%;padding:0;text-align:left;font:inherit;line-height:24px;overflow-wrap:anywhere}
:is(.top-page,.subpage-page) .footer-treatment-group a::before,:is(.top-page,.subpage-page) .footer-treatment-group button::before{content:'・'}
:is(.top-page,.subpage-page) .site-footer .copyright{position:static;top:auto;bottom:auto;left:auto;right:auto;grid-column:1/-1;width:100%;margin:50px 0 0;line-height:1.8;font-size:12px;white-space:normal;text-align:center}
:is(.top-page,.subpage-page) .site-footer .footer-mark{pointer-events:none;z-index:0}
:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-main-nav,:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-treatments,:is(.top-page,.subpage-page) .site-footer .copyright{position:relative;z-index:1}
@media(min-width:768px) and (max-width:1000px){:is(.top-page,.subpage-page) .site-footer .footer-inner{grid-template-columns:210px minmax(0,1fr);column-gap:30px}:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-treatments{column-gap:24px!important}}
@media(max-width:767px){:is(.top-page,.subpage-page) .site-footer{padding:46px 20px 32px}:is(.top-page,.subpage-page) .site-footer .footer-inner{width:100%;max-width:520px;margin:auto;grid-template-columns:110px minmax(0,1fr);column-gap:20px}:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-main-nav{display:flex;flex-direction:column;gap:14px;font:400 14px/24px 'Noto Sans JP',sans-serif}:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-treatments{justify-self:start;max-width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:28px!important}:is(.top-page,.subpage-page) .footer-treatment-group>p{font-size:14px;line-height:24px;margin-bottom:10px}:is(.top-page,.subpage-page) .footer-treatment-group ul{gap:4px}:is(.top-page,.subpage-page) .site-footer .copyright{margin-top:36px;font-size:10px}:is(.top-page,.subpage-page) .site-footer .footer-inner::after{bottom:40px;top:auto}}
@media(max-width:359px){:is(.top-page,.subpage-page) .site-footer .footer-inner{grid-template-columns:90px minmax(0,1fr);column-gap:16px}:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-main-nav,:is(.top-page,.subpage-page) .site-footer .footer-inner>.footer-treatments,:is(.top-page,.subpage-page) .footer-treatment-group>p{font-size:12px}}

:is(.top-page,.subpage-page) .footer-treatment-group .footer-parent-link{font-weight:500}:is(.top-page,.subpage-page) .footer-treatment-group .footer-child-links{padding-left:16px;margin:7px 0 16px 6px;border-left:1px solid #ffffff45;gap:4px}:is(.top-page,.subpage-page) .footer-treatment-group .footer-child-links a{font-size:13px;line-height:22px}:is(.top-page,.subpage-page) .footer-treatment-group .footer-parent-links{gap:0}@media(max-width:359px){:is(.top-page,.subpage-page) .footer-treatment-group .footer-child-links{padding-left:10px;margin-left:3px}:is(.top-page,.subpage-page) .footer-treatment-group .footer-child-links a{font-size:12px}}

/* Share the existing TOP watermark geometry with all lower pages. */
:is(.top-page,.subpage-page) .site-footer .footer-mark{display:none}
:is(.top-page,.subpage-page) .site-footer .footer-inner::after{content:'';position:absolute;right:0;top:-2px;width:260px;height:288px;background:url('assets/pc-imgKozueEnglishWhite2.png') -248px 4.7px/756px auto no-repeat;opacity:.05;pointer-events:none;z-index:0}
@media(max-width:767px){:is(.top-page,.subpage-page) .site-footer .footer-inner::after{width:180px;height:200px;top:auto;bottom:40px;background-size:524px auto;background-position:-172px 3.2px}}
