/* トップページだけの見た目（12/3 社長決定：ライオンズのホームページと同じ作り方。地元の会社のサイトの並べ方）。
   共通の site.css はDXのページも使うので変えない。ここはトップページだけが読む。 */
.T{font-family:var(--f-ud);color:#1C2433;line-height:1.8}
.T .T-min{font-family:"BIZ UDPMincho","Hiragino Mincho ProN","Yu Mincho",serif}
.T-wrap{max-width:1200px;margin:0 auto;padding-left:40px;padding-right:40px;box-sizing:border-box}
.T a{color:var(--navy)}
.T .T-go{font-weight:700;text-decoration:none}
.T .T-go:hover{text-decoration:underline}

/* 上の帯：社名と、メニューの紺の帯 */
.T-head{border-top:5px solid var(--sun);background:#fff}
.T-head-in{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
.T a.T-logo{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--navy)}
.T-logo img{width:52px;height:52px;object-fit:contain;flex:none}
.T-logo b{display:block;font-size:1.6rem;line-height:1.3}
.T-logo small{display:block;font-size:.78rem;line-height:1.4;color:#4A5468}
.T-head-side{display:flex;align-items:center;gap:20px}
.T-head-tel{margin:0;font-size:.82rem;line-height:1.5;color:#4A5468;text-align:right}
.T-head-tel a{display:block;font-size:1.3rem;font-weight:700;letter-spacing:.03em;color:var(--navy);text-decoration:none}
.T a.T-head-btn{display:flex;align-items:center;min-height:48px;padding:0 22px;background:var(--navy);color:#fff;font-weight:700;text-decoration:none}
.T-nav{background:var(--navy)}
.T-nav-in{display:flex;flex-wrap:wrap;font-size:.95rem;white-space:nowrap}
.T .T-nav a{padding:14px 22px;color:#fff;text-decoration:none;border-bottom:3px solid transparent;line-height:1.5}
.T .T-nav a:hover{background:#0B1A33}
.T .T-nav a[aria-current]{background:#0B1A33;border-bottom-color:var(--sun);font-weight:700}

/* いちばん上の写真（4枚がゆっくり切り替わる） */
.T-hero{position:relative;height:620px;overflow:hidden;background:#0B1A33;color:#fff}
.T-slide{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat;opacity:0;animation:tSlide 24s linear infinite both}
@keyframes tSlide{0%{opacity:0;transform:scale(1.02)}5%{opacity:1}25%{opacity:1}31%{opacity:0;transform:scale(1.12)}100%{opacity:0;transform:scale(1.12)}}
.T-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,18,38,.88) 0%,rgba(8,18,38,.6) 40%,rgba(8,18,38,.12) 72%,rgba(8,18,38,.2) 100%)}
.T-hero-in{position:absolute;inset:0;z-index:1}
.T-hero-tx{position:absolute;left:40px;right:40px;bottom:110px;display:flex;flex-direction:column;gap:14px}
.T-hero-tx p{margin:0;text-shadow:0 1px 10px rgba(0,0,0,.6)}
.T-hero-kicker{font-size:1.1rem;font-weight:700;letter-spacing:.14em;color:#FFC266}
.T-hero h1{margin:0;font-size:4rem;font-weight:700;line-height:1.25;letter-spacing:.08em;text-shadow:0 2px 18px rgba(0,0,0,.4)}
.T-hero-sub{max-width:640px;font-size:1.1rem;color:#EEF2F8}
.T-rise{opacity:0;animation:tRise 1.3s cubic-bezier(.2,.7,.2,1) both}
@keyframes tRise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.T-hero-foot{position:absolute;left:40px;right:40px;bottom:28px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.T-caps{position:relative;height:22px;min-width:300px;color:#EEF2F8;font-size:.88rem}
.T-cap{position:absolute;right:0;bottom:0;opacity:0;white-space:nowrap;animation:tCap 24s linear infinite both}
@keyframes tCap{0%{opacity:0}5%{opacity:1}25%{opacity:1}29%{opacity:0}100%{opacity:0}}
.T-dots{display:flex;gap:9px}
.T-dots span{display:block;width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);animation:tDot 24s linear infinite both}
@keyframes tDot{0%{background:rgba(255,255,255,.45)}2%{background:#fff}25%{background:#fff}27%{background:rgba(255,255,255,.45)}100%{background:rgba(255,255,255,.45)}}
.T-d1{animation-delay:6s !important}.T-d2{animation-delay:12s !important}.T-d3{animation-delay:18s !important}
@media (prefers-reduced-motion:reduce){.T-slide,.T-cap,.T-dots span,.T-rise{animation:none}.T-first{opacity:1}.T-rise{opacity:1}}

/* 写真の下の紺の帯 */
.T-band{background:var(--navy);color:#fff;text-align:center}
.T-band .T-wrap{padding-top:28px;padding-bottom:30px;display:flex;flex-direction:column;align-items:center;gap:2px}
.T-band p{margin:0;font-size:.88rem;color:#C9D3E6}
.T-band .T-band-h{font-size:1.7rem;font-weight:700;line-height:1.5;color:#fff}

/* 本文（左）と、右の列 */
.T-body{display:flex;flex-wrap:wrap;align-items:flex-start;gap:48px;padding-top:48px;padding-bottom:64px}
.T-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:52px}
.T-side{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:28px}
.T-h2{margin:0;padding-bottom:10px;border-bottom:2px solid var(--navy);font-size:1.65rem;font-weight:700;line-height:1.5;color:var(--navy)}
.T-h2row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:2px solid var(--navy)}
.T-h2row .T-h2{padding:0;border:0}
.T-note{margin:10px 0 0;font-size:.88rem;color:#4A5468}
.T-cat{font-weight:700;color:#9A4F00}

/* お知らせ・活動報告（各事業のInstagramから） */
.T-news{list-style:none;margin:4px 0 0;padding:0}
.T-news li{border-bottom:1px solid #DDE3EC}
.T .T-news a{display:flex;gap:20px;padding:16px 0;color:#1C2433;text-decoration:none}
.T .T-news a:hover .T-news-t{text-decoration:underline}
.T-news img,.T-news-noimg{width:140px;height:105px;flex:none;object-fit:cover;display:block;background:#E4E9F0}
.T-news-tx{display:flex;flex-direction:column;gap:4px;min-width:0}
.T-news-tx span{display:block}
.T-news-d{font-size:.88rem;color:#4A5468}
.T-news-t{font-size:1.18rem;font-weight:700;line-height:1.5}
.T-news-x{font-size:.94rem;line-height:1.7;color:#4A5468}
.T-news-wait{padding:16px 0;color:#4A5468;font-size:.94rem}

/* 三つの仕事 */
.T-biz{display:flex;gap:24px;padding:22px 0;border-bottom:1px solid #DDE3EC}
.T-biz img{width:240px;height:160px;flex:none;object-fit:cover;display:block}
.T-biz-tx{display:flex;flex-direction:column;gap:6px;min-width:0}
.T-biz-tx p,.T-biz-tx h3{margin:0}
.T-biz-tx h3{font-size:1.38rem;font-weight:700;line-height:1.5;color:var(--navy)}
.T-biz-go{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:4px !important;font-size:.94rem}
.T-biz-go a.T-tel{text-decoration:none}

/* 私たちの想い */
.T-omoi{display:flex;gap:28px;margin-top:22px;flex-wrap:wrap}
.T-omoi img{width:150px;height:188px;object-fit:cover;flex:none;display:block}
.T-omoi-tx{flex:1 1 300px;display:flex;flex-direction:column;gap:8px}
.T-omoi-tx p{margin:0}
.T-omoi-name{font-size:1.38rem;font-weight:700}

/* 右の列 */
.T-box{border:1px solid #DDE3EC}
.T-box-h{margin:0;padding:12px 16px;background:var(--navy);color:#fff;font-size:1.06rem;font-weight:700;line-height:1.5}
.T-table{width:100%;border-collapse:collapse;font-size:.88rem;line-height:1.6}
.T-table th,.T-table td{padding:10px 12px;border-bottom:1px solid #DDE3EC;text-align:left;vertical-align:top}
.T-table th{width:30%;color:var(--navy);background:#F2F5F9;font-weight:700}
.T-table tr:last-child th,.T-table tr:last-child td{border-bottom:0}
.T a.T-box-go{display:flex;align-items:center;justify-content:flex-end;min-height:44px;padding:0 16px;border-top:1px solid #DDE3EC;font-size:.88rem;font-weight:700;text-decoration:none}
.T-ask{border:2px solid var(--sun);padding:20px;display:flex;flex-direction:column;gap:10px}
.T-h3{margin:0;font-size:1.2rem;font-weight:700;line-height:1.5;color:var(--navy)}
.T-ask dl{margin:0;font-size:.88rem;line-height:1.6}
.T-ask dl div{padding:9px 0;border-bottom:1px solid #DDE3EC}
.T-ask dl div:last-child{border-bottom:0}
.T-ask dt{display:flex;justify-content:space-between;gap:8px;font-weight:700}
.T-ask dt a{font-size:1.05rem;text-decoration:none;letter-spacing:.02em}
.T-ask dd{margin:2px 0 0;color:#4A5468}
.T a.T-ask-btn{display:flex;align-items:center;justify-content:center;min-height:48px;background:var(--navy);color:#fff;font-weight:700;text-decoration:none}
.T-list{list-style:none;margin:0;padding:0;font-size:.88rem;line-height:1.6}
.T-list li{padding:10px 0;border-bottom:1px solid #DDE3EC}
.T-dx{background:#F2F5F9;padding:20px;display:flex;flex-direction:column;gap:6px}
.T-dx p{margin:0;font-size:.88rem}
.T-sns li{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
.T-sns b{flex:1 1 100%;font-weight:700}

/* 下の帯 */
.T-foot{background:#0B1A33;color:#fff;padding:40px 0 26px}
.T-foot .T-wrap{display:flex;flex-direction:column;gap:22px}
.T-foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px}
.T-foot p{margin:0;font-size:.88rem;line-height:1.9;color:#C9D3E6}
.T-foot .T-foot-name{font-size:1.25rem;font-weight:700;color:#fff}
.T-foot-marks{display:flex;gap:12px;align-items:flex-start}
.T-foot-marks img{display:block;height:72px;width:auto;background:#fff;padding:4px}
.T-foot-links{list-style:none;margin:0;padding:18px 0 0;border-top:1px solid #2A3B5C;display:flex;flex-wrap:wrap;gap:6px 24px;font-size:.88rem}
.T .T-foot-links a{color:#fff;text-decoration:none}
.T .T-foot-links a:hover{text-decoration:underline}

@media (max-width:760px){
  .T-wrap{padding-left:16px;padding-right:16px}
  .T-head-side{display:none}
  .T-logo b{font-size:1.35rem}
  .T-nav-in{flex-wrap:nowrap;overflow-x:auto;padding-left:0;padding-right:0}
  .T .T-nav a{padding:12px 16px}
  .T-hero{height:470px}
  .T-hero h1{font-size:2.6rem}
  .T-hero-tx{left:16px;right:16px;bottom:84px}
  .T-hero-foot{left:16px;right:16px}
  .T-caps{min-width:0;width:100%}
  .T-band .T-band-h{font-size:1.35rem}
  .T-body{padding-top:36px}
  .T-biz{flex-direction:column;gap:14px}
  .T-biz img{width:100%;height:auto;aspect-ratio:3/2}
  .T-news img,.T-news-noimg{width:96px;height:72px}
  .T .T-news a{gap:14px;padding:12px 0}
  .T-news-t{font-size:1.02rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .T-news-tx span.T-news-t{display:-webkit-box}
  .T-news-x{display:none}
  .T-news-tx span.T-news-x{display:none}
}
