/*
 * 子テーマ有効化前の管理画面「追加 CSS」を、そのまま移植した互換CSS。
 * Danganページビルダーの固定ページとContact Form 7の既存表示を維持する。
 * 変更時は管理画面の追加CSSではなく、このファイルもあわせて更新する。
 */

.profile,.profile *,.profile *::before,.profile *::after{box-sizing:border-box}
.profile{max-width:1100px;margin:auto;padding:48px 24px 72px;color:#222;font:16px/1.8 Arial,"Hiragino Sans","Yu Gothic Medium",Meiryo,sans-serif}
.profile img{display:block;max-width:100%;height:auto;margin:auto}
.profile h1{margin:0 0 36px;padding-bottom:12px;border-bottom:2px solid #b49858;font-size:clamp(28px,4vw,42px);text-align:center}
.profile h2{margin:56px 0 20px;font-size:26px}
.profile .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.profile .split{gap:42px;align-items:center;margin-bottom:42px}
.profile .cards{gap:24px;margin:32px 0;text-align:center}
.profile .cards>div{padding:24px;border:1px solid #ddd}
.profile .cards img{margin-bottom:12px}
.profile .contact img{width:150px}
.profile .events img{aspect-ratio:4/3;object-fit:cover}
.profile figure{margin:0}
.profile figcaption{margin-top:8px;color:#666;font-size:14px;text-align:center}
.profile a{color:#765d22;overflow-wrap:anywhere}
.profile .video{width:100%;aspect-ratio:16/9;margin-top:32px;border:0}
@media(max-width:700px){
  .profile{padding:32px 18px 56px}
  .profile .grid{grid-template-columns:1fr}
  .profile .split{gap:24px}
  .profile h2{margin-top:40px}
}

.global-navigation,
.global-navigation * { box-sizing: border-box; }
.lpb-custom:has(.global-navigation) { border-top:1px solid #8f7227;border-bottom:1px solid #8f7227;background:linear-gradient(180deg,#151515 0%,#050505 100%);box-shadow:0 6px 20px rgba(0,0,0,.22); }
.lpb-custom:has(.global-navigation) > .container { width:100%;max-width:1440px;background:transparent; }
.global-navigation { display:grid;grid-template-columns:160px minmax(0,1000px) 160px;align-items:center;justify-content:center;gap:0;width:100%;padding:16px 20px;background:transparent; }
.global-navigation__logo { display:block;width:min(100%,130px);justify-self:start; }
.global-navigation__logo img { display:block;width:100%;height:auto; }
.global-navigation ul { display:flex;justify-content:center;gap:8px;width:100%;max-width:1000px;margin:0 auto;padding:0;list-style:none; }
.global-navigation li { position:relative;flex:1 1 0;max-width:210px;margin:0; }
.global-navigation li + li::before { position:absolute;top:20%;bottom:20%;left:0;width:1px;background:linear-gradient(transparent,#8f7227,transparent);content:""; }
.global-navigation li a { display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;border-bottom:1px solid transparent;color:#d8b85a;font-size:15px;font-weight:600;letter-spacing:.08em;line-height:1.4;text-align:center;text-decoration:none;transition:border-color .2s,color .2s,text-shadow .2s; }
.global-navigation li a:hover,.global-navigation li a:focus-visible,.global-navigation li a[aria-current="page"] { border-color:#f1d47c;color:#f1d47c;text-shadow:0 0 12px rgba(216,184,90,.28); }
@media (max-width:1100px) { .global-navigation{grid-template-columns:1fr;gap:12px}.global-navigation__logo{width:120px;justify-self:center}.global-navigation ul{width:100%} }
@media (max-width:600px) { .global-navigation{padding:12px}.global-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.global-navigation li{max-width:none}.global-navigation li + li::before{display:none}.global-navigation a{min-height:44px;padding:8px;font-size:14px} }

.site-footer-copy,
.site-footer-copy * { box-sizing:border-box; }
.lpb-custom:has(.site-footer-copy) { border-top:1px solid #8f7227;border-bottom:1px solid #8f7227;background:linear-gradient(180deg,#151515 0%,#050505 100%);box-shadow:0 -6px 20px rgba(0,0,0,.18); }
.lpb-custom:has(.site-footer-copy) > .container { width:100%;max-width:1440px;padding-right:24px;padding-left:24px;background:transparent; }
.site-footer-copy { width:100%;padding:70px 50px 50px;color:#d8b85a;background:transparent;font-family:Manrope,sans-serif; }
.site-footer-copy__inner { display:flex;justify-content:space-between;gap:48px;width:100%;max-width:1280px;margin:0 auto; }
.site-footer-copy__brand p { margin:12px 0 0;color:#bca45f;letter-spacing:.04em; }
.site-footer-copy__brand .site-footer-copy__contact { margin-top:20px;line-height:1.8; }
.site-footer-copy__brand { flex:1 1 auto;min-width:0; }
.site-footer-copy__logo { display:block;width:120px;margin-bottom:20px; }
.site-footer-copy__logo img { display:block;width:100%;height:auto; }
.site-footer-copy__title { display:inline-block;color:#f1d47c;font-size:32px;font-weight:700;line-height:1.2;text-decoration:none;text-shadow:0 0 16px rgba(216,184,90,.18);white-space:nowrap; }
.site-footer-copy__menus { display:flex;flex:0 0 auto;gap:0;padding-left:48px;border-left:1px solid rgba(216,184,90,.35); }
.site-footer-copy__menus nav + nav { margin-left:32px;padding-left:32px;border-left:1px solid rgba(216,184,90,.35); }
.site-footer-copy ul { min-width:130px;margin:0;padding:0;list-style:none; }
.site-footer-copy li + li { margin-top:8px; }
.site-footer-copy li,.site-footer-copy a:not(.site-footer-copy__title) { white-space:nowrap;color:#d8b85a;line-height:1.6; }
.site-footer-copy a:not(.site-footer-copy__title) { text-decoration-color:transparent;text-underline-offset:5px;transition:color .2s,text-decoration-color .2s,text-shadow .2s; }
.site-footer-copy a:hover,.site-footer-copy a:focus-visible { color:#f1d47c;text-decoration-color:currentColor;text-shadow:0 0 12px rgba(216,184,90,.28); }
@media (max-width:700px) { .site-footer-copy{padding:48px 24px 40px}.site-footer-copy__inner{flex-direction:column}.site-footer-copy__title{font-size:26px;white-space:normal}.site-footer-copy__menus{justify-content:space-between;gap:0;padding-top:28px;padding-left:0;border-top:1px solid rgba(216,184,90,.35);border-left:0}.site-footer-copy__menus nav + nav{margin-left:16px;padding-left:16px}.site-footer-copy a:not(.site-footer-copy__title){white-space:normal} }

.wpcf7.js,
.wpcf7.js * { box-sizing:border-box; }
.wpcf7.js form,.wpcf7.js label,.wpcf7.js .wpcf7-form-control-wrap { display:block;width:100%; }
.wpcf7.js input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),.wpcf7.js select,.wpcf7.js textarea { display:block;width:100%;max-width:none; }
.wpcf7.js input[type="submit"] { display:block;width:min(100%,280px);min-height:48px;margin:24px auto 0;padding:10px 24px; }
