/*
 Theme Name:   Shinohara Management Lab
 Theme URI:    https://shinohara-lab.jp
 Description:  篠原マネジメント研究所 オリジナルテーマ
 Author:       篠原マネジメント研究所
 Author URI:   https://shinohara-lab.jp
 Version:      1.0.3
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  shinohara-theme
 Requires at least: 6.0
 Requires PHP: 8.0
*/

/* ==========================================================================
   0. Reset & Base
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:"Noto Sans JP","Yu Gothic",sans-serif;
  color:#1a1a1a;
  background:#fdfdfd;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.4}

/* ==========================================================================
   1. Layout Utilities
   ========================================================================== */
.l-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}
.section-pad{padding:80px 0}
@media(max-width:768px){
  .section-pad{padding:50px 0}
  .l-inner{padding:0 16px}
}

/* ==========================================================================
   2. Section Textures
   ========================================================================== */
.stex-d{
  position:relative;
  overflow:hidden;
  background:#0d1b2a;
  color:#fff;
}
.stex-d::before{
  content:"";position:absolute;top:0;left:0;width:100%;height:100%;
  background-image:radial-gradient(rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:22px 22px;pointer-events:none;z-index:0;
}
.stex-l{
  position:relative;
  overflow:hidden;
  background:#f5f0e8;
  color:#1a1a1a;
}
.stex-l::before{
  content:"";position:absolute;top:0;left:0;width:100%;height:100%;
  background-image:radial-gradient(rgba(0,0,0,.025) 1px,transparent 1px);
  background-size:22px 22px;pointer-events:none;z-index:0;
}
.rz{position:relative;z-index:1}

/* Section Divider (wave) */
.section-divider{
  width:100%;height:60px;overflow:hidden;position:relative;
  margin-top:-1px;
}
.section-divider svg{
  position:absolute;bottom:0;left:0;width:100%;height:100%;
}

/* ==========================================================================
   3. Gold Underline Heading
   ========================================================================== */
.g-ul::after{
  content:"";display:block;width:40px;height:3px;
  background:#b8963e;margin-top:14px;
}

/* ==========================================================================
   4. Loading Overlay
   ========================================================================== */
#sa-loader{
  position:fixed;top:0;left:0;width:100%;height:100%;
  background:#000;z-index:99999;
  display:flex;align-items:center;justify-content:center;
  transition:opacity .6s ease,visibility .6s ease;
}
#sa-loader.sa-done{
  opacity:0;visibility:hidden;pointer-events:none;
}
#sa-loader-bar{
  width:120px;height:2px;
  background:rgba(255,255,255,0.15);
  position:relative;overflow:hidden;
}
#sa-loader-bar::after{
  content:"";position:absolute;top:0;left:0;height:100%;width:0;
  background:linear-gradient(90deg,#b08d57,#d4af37);
  animation:sa-load 1.5s ease forwards;
}
@keyframes sa-load{to{width:100%}}

/* ==========================================================================
   5. Header
   ========================================================================== */
.l-header{
  position:fixed;top:0;left:0;width:100%;
  background:transparent;
  z-index:1000;
  padding:0 40px;
  display:flex;align-items:center;justify-content:space-between;
  height:80px;
  transition:background .4s ease, backdrop-filter .4s ease, transform .3s ease;
}
.l-header.is-scrolled{
  background:#0d1b2a;
}
.l-header.is-hidden{transform:translateY(-100%)}
.l-header__logo img{height:48px;width:auto}
.l-header__logo{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:14px;letter-spacing:1px}
.l-header__nav{display:flex;gap:28px;align-items:center}
.l-header__nav a{
  color:rgba(255,255,255,.85);font-size:13px;font-weight:500;
  letter-spacing:1.5px;transition:color .3s;
  text-transform:uppercase;
}
.l-header__nav a:hover,.l-header__nav a.is-active{
  color:#fff;
}
.l-header__nav a.is-active{border-bottom:2px solid #fff;padding-bottom:2px}

/* Mobile hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.hamburger span{display:block;width:24px;height:2px;background:#fff;transition:all .3s}
@media(max-width:900px){
  .hamburger{display:flex}
  .l-header__nav{
    display:none;position:fixed;top:70px;left:0;width:100%;
    background:rgba(13,27,42,.98);flex-direction:column;
    padding:30px 0;gap:20px;text-align:center;
  }
  .l-header__nav.is-open{display:flex}
  .l-header{padding:0 20px}
}

/* Fixed header (appears on scroll) */
#fix_header{display:none}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;align-items:center;
  background:#0d1b2a;
  color:#fff;
  overflow:hidden;
}
.hero__bg{
  position:absolute;top:0;left:0;width:100%;height:100%;
  z-index:0;
}
.hero__bg video,
.hero__bg img{
  width:100%;height:100%;object-fit:cover;
}
.hero__overlay{
  position:absolute;top:0;left:0;width:100%;height:100%;
  background:rgba(0,0,0,.55);z-index:1;
}
.hero__content{
  position:relative;z-index:2;
  padding:0 60px;max-width:800px;
}
.hero__title{
  font-size:clamp(28px,4vw,44px);
  font-weight:900;line-height:1.5;
  margin-bottom:20px;
}
.hero__subtitle{
  font-size:clamp(13px,1.5vw,16px);
  opacity:.85;margin-bottom:36px;
  line-height:1.7;
}
.hero__cta{
  display:inline-block;
  padding:16px 40px;
  border:1px solid #fff;
  color:#fff;font-size:14px;
  letter-spacing:1px;
  transition:all .3s;
  background:transparent;
}
.hero__cta:hover{
  background:#b8963e;border-color:#b8963e;color:#fff;
}
@media(max-width:768px){
  .hero__content{padding:0 24px}
  .hero{min-height:80vh}
}

/* ==========================================================================
   7. Knowledge Bar
   ========================================================================== */
.knowledge-bar{
  background:#1a1a1a;
  padding:12px 24px;
  display:flex;align-items:center;gap:16px;
  font-size:13px;color:rgba(255,255,255,.8);
  position:relative;z-index:2;
}
.knowledge-bar__label{
  background:transparent;border:1px solid rgba(255,255,255,.3);
  padding:4px 12px;font-size:11px;letter-spacing:2px;
  color:rgba(255,255,255,.6);white-space:nowrap;
}
.knowledge-bar__cat{
  border-left:1px solid rgba(255,255,255,.2);
  padding-left:12px;font-size:11px;
  color:rgba(255,255,255,.5);white-space:nowrap;
}
.knowledge-bar__link{
  color:rgba(255,255,255,.8);transition:color .3s;
  flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.knowledge-bar__link:hover{color:#d4af37}
.knowledge-bar__arrow{
  color:rgba(255,255,255,.4);font-size:18px;
  transition:color .3s;flex-shrink:0;
}
.knowledge-bar__arrow:hover{color:#d4af37}
@media(max-width:600px){
  .knowledge-bar{flex-wrap:wrap;gap:6px 10px;padding:10px 16px}
  .knowledge-bar__link{flex-basis:calc(100% - 30px);font-size:12px}
}

/* ==========================================================================
   8. Pain Points Section
   ========================================================================== */
.pain-section{padding:80px 0}
.pain-section h2{font-size:clamp(22px,3vw,30px);margin-bottom:40px}
.pain-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:16px;margin-top:30px;
}
.pain-c{
  border:1px solid rgba(255,255,255,.12);
  border-left:3px solid #c9a84c;
  padding:20px;display:flex;gap:16px;
  background:rgba(255,255,255,.04);
  border-radius:6px;transition:all .35s;
}
.pain-c:hover{
  border-left:3px solid #d4af5a;
  background:rgba(255,255,255,.07);
}
.pain-c__num{
  font-size:24px;font-weight:700;
  color:#c9a84c;flex-shrink:0;
  min-width:32px;
}
.pain-c__text{font-size:14px;line-height:1.7}

/* ==========================================================================
   9. Mission / About Section
   ========================================================================== */
.mission-section{padding:80px 0}
.mission-section h2{
  font-size:clamp(20px,2.5vw,28px);margin-bottom:40px;
  line-height:1.6;
}
.mission-cols{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;
  align-items:center;margin-top:40px;
}
.mission-cols__img{
  position:relative;overflow:hidden;border-radius:4px;
  aspect-ratio:4/3;
}
.mission-cols__img img{width:100%;height:100%;object-fit:cover}
.mission-cols__text p{
  font-size:15px;line-height:1.9;margin-bottom:16px;
  color:#444;
}
@media(max-width:768px){
  .mission-cols{grid-template-columns:1fr;gap:24px}
}

/* Image Slider in mission */
#solSliderMission{position:relative;width:100%;height:100%;overflow:hidden}
#solSliderMission img{
  position:absolute;top:0;left:0;width:100%;height:100%;
  object-fit:cover;transition:opacity 1.5s ease-in-out;
}

/* ==========================================================================
   10. Strengths Section (経営の実践者)
   ========================================================================== */
.strengths-section{padding:80px 0}
.strengths-section h2{font-size:clamp(22px,3vw,30px);margin-bottom:40px}
.strength-item{
  display:flex;gap:20px;
  padding:30px 0;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.strength-item:last-child{border-bottom:none}
.strength-item__num{
  font-size:28px;font-weight:700;
  color:rgba(0,0,0,.15);flex-shrink:0;
  min-width:48px;
}
.strength-item__body h3{
  font-size:18px;margin-bottom:10px;
  font-weight:700;
}
.strength-item__body p{
  font-size:14px;line-height:1.8;color:#555;
}
/* Fade-in animation */
.fade-item{
  opacity:0;transform:translateX(-30px);
  transition:opacity .6s ease,transform .6s ease;
}
.fade-item.visible{opacity:1;transform:translateX(0)}

/* ==========================================================================
   11. Services Section
   ========================================================================== */
.services-section{padding:80px 0}
.services-section h2{font-size:clamp(22px,3vw,30px);margin-bottom:40px}
.svc-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;margin-top:30px;
}
.svc-h{
  display:block;
  background:#fff;border-radius:4px;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  transition:all .35s;
  color:inherit;text-decoration:none;
}
.svc-h:hover{
  transform:scale(1.02);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.svc-h__img{
  aspect-ratio:16/9;overflow:hidden;
  background:#eee;
}
.svc-h__img img{width:100%;height:100%;object-fit:cover}
.svc-h__body{padding:20px}
.svc-h__title{
  font-size:16px;font-weight:700;
  margin-bottom:8px;
  padding-bottom:8px;
  border-bottom:2px solid #1a1a1a;
}
.svc-h__desc{font-size:13px;color:#666;line-height:1.6}
@media(max-width:768px){
  .svc-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   12. Profile Section
   ========================================================================== */
.profile-section{padding:80px 0}
.profile-section h2{font-size:clamp(22px,3vw,30px);margin-bottom:40px}
.profile-card{
  display:grid;grid-template-columns:240px 1fr;
  gap:40px;align-items:start;
}
.profile-card__photo{
  border:2px solid #333;overflow:hidden;
}
.profile-card__photo img{width:100%;height:auto}
.profile-card__info h3{
  font-size:24px;margin-bottom:4px;
}
.profile-card__info .en-name{
  font-size:13px;color:rgba(255,255,255,.5);
  margin-bottom:20px;display:block;
}
.profile-card__info .bio{
  font-size:14px;line-height:1.9;
  color:rgba(255,255,255,.85);
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:20px;
}
.profile-card__info .profile-link{
  display:inline-block;margin-top:20px;
  color:#d4af37;font-size:14px;
  transition:color .3s;
}
.profile-card__info .profile-link:hover{color:#f0c850}
@media(max-width:768px){
  .profile-card{grid-template-columns:1fr;text-align:center}
  .profile-card__photo{max-width:200px;margin:0 auto}
}

/* ==========================================================================
   13. Knowledge / Blog Section
   ========================================================================== */
.knowledge-section{padding:80px 0}
.knowledge-section h2{
  font-size:clamp(24px,3vw,32px);
  text-align:center;margin-bottom:40px;
}
.kn-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.kn-h{
  background:#fff;border-radius:4px;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  transition:all .35s;
}
.kn-h:hover{
  transform:scale(1.02);
  box-shadow:0 10px 30px rgba(0,0,0,.10);
}
.kn-h__img{aspect-ratio:16/9;overflow:hidden;background:#eee}
.kn-h__img img{width:100%;height:100%;object-fit:cover}
.kn-h__body{padding:20px}
.kn-h__cat{font-size:11px;color:#888;letter-spacing:1px;margin-bottom:8px}
.kn-h__title{
  font-size:15px;font-weight:700;line-height:1.5;
  margin-bottom:10px;
  border-bottom:2px solid #1a1a1a;
  padding-bottom:8px;
}
.kn-h__excerpt{font-size:13px;color:#666;line-height:1.6}
.view-all{
  text-align:center;margin-top:40px;
}
.view-all a{
  display:inline-block;padding:14px 48px;
  border:1px solid #1a1a1a;font-size:13px;
  letter-spacing:1px;transition:all .3s;
}
.view-all a:hover{background:#1a1a1a;color:#fff}
@media(max-width:768px){
  .kn-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   14. CTA Section
   ========================================================================== */
.cta-section{
  padding:100px 0;text-align:center;
  position:relative;overflow:hidden;
}
.cta-section h2{
  font-size:clamp(24px,3vw,32px);
  margin-bottom:24px;line-height:1.6;
}
.cta-section p{
  font-size:15px;line-height:1.8;
  opacity:.85;margin-bottom:36px;
}
.cta-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.cta-p{
  display:inline-block;padding:16px 40px;
  background:#fff;color:#0d1b2a;
  font-size:14px;font-weight:600;
  letter-spacing:1px;transition:all .3s;
}
.cta-p:hover{background:#b8963e;color:#fff}
.cta-s{
  display:inline-block;padding:16px 40px;
  border:1px solid #fff;color:#fff;
  font-size:14px;font-weight:600;
  letter-spacing:1px;transition:all .3s;
}
.cta-s:hover{border-color:#b8963e;color:#b8963e}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.l-footer{
  background:#111;color:rgba(255,255,255,.7);
  padding:60px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:40px;
}
.footer-grid__brand h3{
  color:#fff;font-size:18px;margin-bottom:12px;
}
.footer-grid__brand p{font-size:13px;line-height:1.8}
.footer-grid__menu h4,
.footer-grid__contact h4{
  color:#fff;font-size:14px;letter-spacing:2px;
  margin-bottom:16px;
}
.footer-grid__menu ul{display:flex;flex-direction:column;gap:10px}
.footer-grid__menu a{font-size:13px;transition:color .3s}
.footer-grid__menu a:hover{color:#d4af37}
.footer-grid__contact p{font-size:13px;line-height:1.8;margin-bottom:12px}
.footer-grid__contact .contact-btn{
  display:inline-block;padding:10px 24px;
  border:1px solid rgba(255,255,255,.3);
  font-size:13px;transition:all .3s;
}
.footer-grid__contact .contact-btn:hover{
  border-color:#d4af37;color:#d4af37;
}
.footer-bottom{
  text-align:center;padding:30px 0;margin-top:40px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:12px;color:rgba(255,255,255,.4);
  letter-spacing:1px;
}
@media(max-width:768px){
  .footer-grid{grid-template-columns:1fr;gap:30px;text-align:center}
}

/* ==========================================================================
   16. Page / Single Templates
   ========================================================================== */
.page-header{
  background:#0d1b2a;color:#fff;
  padding:120px 0 60px;text-align:center;
}
.page-header h1{font-size:clamp(28px,4vw,40px)}
.page-content{padding:60px 0}
.page-content p{margin-bottom:16px;line-height:1.9}
.page-content h2{font-size:24px;margin:40px 0 16px}
.page-content h3{font-size:20px;margin:30px 0 12px}

/* Single post */
.single-header{
  background:#0d1b2a;color:#fff;
  padding:120px 0 40px;
}
.single-header .l-inner{max-width:800px}
.single-header__meta{
  font-size:12px;opacity:.6;margin-bottom:12px;
  display:flex;gap:16px;
}
.single-header h1{font-size:clamp(24px,3vw,36px);line-height:1.5}
.single-content{max-width:800px;margin:0 auto;padding:40px 24px 80px}
.single-content p{margin-bottom:20px;line-height:2}
.single-content h2{font-size:24px;margin:48px 0 16px;padding-bottom:8px;border-bottom:2px solid #0d1b2a}
.single-content h3{font-size:20px;margin:36px 0 12px}
.single-content img{margin:24px 0;border-radius:4px}
.single-content blockquote{
  border-left:3px solid #b8963e;padding:16px 24px;
  background:#f9f6f0;margin:24px 0;font-style:italic;
}

/* ==========================================================================
   17. Scroll to Top
   ========================================================================== */
.scroll-top{
  position:fixed;bottom:30px;right:30px;
  width:48px;height:48px;
  background:rgba(13,27,42,.8);
  border:1px solid rgba(255,255,255,.2);
  border-radius:50%;color:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;opacity:0;visibility:hidden;
  transition:all .3s;z-index:999;
  font-size:18px;
}
.scroll-top.is-visible{opacity:1;visibility:visible}
.scroll-top:hover{background:#b8963e;border-color:#b8963e}

/* ==========================================================================
   18. WordPress Core Styles
   ========================================================================== */
.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}
.alignfull{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}
.wp-block-image{margin:24px 0}
.wp-block-image img{border-radius:4px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
