@charset "utf-8";
/* ===== トップページ専用スタイル（body#index のみに適用） ===== */
body#index{margin:0;background:#fff;color:#141414;font-family:"Zen Kaku Gothic New","Hiragino Sans","Yu Gothic","Meiryo",sans-serif;-webkit-font-smoothing:antialiased;}
body#index *,body#index *::before,body#index *::after{box-sizing:border-box;}
body#index #main{display:block;font-size:16px;max-width:none;width:100%;margin:0;padding:0;float:none;}
body#index #top,body#index #header{max-width:none;width:auto;margin:0;padding:0;background:#fff;}
body#index #header h1,body#index #header>p,body#index #header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:-1px;padding:0;}
body#index #header>p:last-child{display:none;}
body#index #mbtn,body#index #pnav{display:none;}
body#index,body#index #main,body#index #main section,body#index #main p,body#index #main li{text-align:left;}
body#index #main h2,body#index #main h3,body#index #main h4,body#index .gt-cta h3{position:static !important;top:auto;left:auto;right:auto;width:auto;height:auto;max-width:none;overflow:visible;clear:none;float:none;text-align:left;text-indent:0;background:none;border:0;box-shadow:none;}
body#index a{color:#141414;text-decoration:none;}
body#index a:hover{color:#A07C00;}
body#index img{max-width:100%;height:auto;}

/* --- 共通パーツ --- */
body#index .gt-wrap{max-width:1360px;margin:0 auto;padding:0 40px;}
body#index .gt-label{display:block;margin:0 0 8px;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-size:22px;letter-spacing:.12em;color:#A07C00;}
body#index .gt-h3{margin:0;padding:0;background:none;border:0;color:#141414;font-size:clamp(30px,3.4vw,48px);font-weight:900;line-height:1.25;}
body#index .gt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:40px;}
body#index .gt-head p{margin:0;max-width:460px;font-size:15px;line-height:1.9;color:#5C5646;}
body#index .gt-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;background:#141414;color:#fff;font-size:14px;font-weight:700;white-space:nowrap;}
body#index .gt-btn:hover{background:#FABE00;color:#141414;}
body#index .gt-btn.y{background:#FABE00;color:#141414;}
body#index .gt-btn.y:hover{background:#141414;color:#FABE00;}
body#index .gt-btn.o{background:#fff;color:#141414;border:1.5px solid #141414;}
body#index .gt-more{font-size:14px;font-weight:700;color:#A07C00;}

/* --- ナビ --- */
body#index .gt-nav{display:flex;align-items:stretch;justify-content:space-between;padding:0 0 0 48px;background:#fff;}
body#index .gt-nav .logo{display:flex;align-items:center;margin:0;}
body#index .gt-nav .logo img{height:50px;width:auto;}
body#index .gt-nav ul{display:flex;list-style:none;margin:0;padding:0;}
body#index .gt-nav li{margin:0;padding:0;}
body#index .gt-nav li a{display:inline-flex;align-items:center;height:56px;padding:0 22px;background:#141414;color:#fff;font-size:14px;font-weight:700;border-left:1px solid #333;white-space:nowrap;}
body#index .gt-nav li:first-child a{border-left:0;}
body#index .gt-nav li a:hover{background:#333;color:#FABE00;}
body#index .gt-nav li.c a{background:#FABE00;color:#141414;border-left:0;}
body#index .gt-nav li.c a:hover{background:#141414;color:#FABE00;}

/* --- ヒーロー --- */
body#index .gt-hero{position:relative;height:960px;overflow:hidden;background:#fff;}
body#index .gt-hero .mark{position:absolute;right:-180px;top:60px;width:1000px;height:auto;pointer-events:none;}
body#index .gt-hero .since{position:absolute;left:48px;top:96px;margin:0;font-size:13px;font-weight:700;letter-spacing:.32em;}
body#index .gt-hero .display{position:absolute;left:64px;top:128px;margin:0;display:flex;flex-direction:column;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-weight:400;font-size:180px;line-height:.9;letter-spacing:.02em;transform:skewX(-6deg);transform-origin:left top;}
body#index .gt-hero .display .y{color:#FABE00;-webkit-text-stroke:2px #141414;}
body#index .gt-hero .catch{position:absolute;left:620px;top:128px;height:740px;margin:0;display:block;writing-mode:vertical-rl;font-family:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;}
body#index .gt-hero .catch span{display:block;margin-left:22px;font-size:30px;font-weight:700;letter-spacing:.14em;}
body#index .gt-hero .catch small{font-size:14px;font-weight:600;letter-spacing:.2em;color:#5C5646;padding-top:6px;}
body#index .gt-hero .lead{position:absolute;left:48px;top:700px;width:560px;display:flex;flex-direction:column;gap:22px;}
body#index .gt-hero .lead p{margin:0;font-size:15px;line-height:1.9;font-weight:500;color:#4A463D;}
body#index .gt-hero .cta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
body#index .gt-hero .tel{white-space:nowrap;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-size:30px;letter-spacing:.04em;padding-left:8px;}
body#index .gt-hero .tel small{display:inline-block;font-family:"Zen Kaku Gothic New","Hiragino Sans",sans-serif;font-size:12px;font-weight:700;color:#5C5646;letter-spacing:0;margin-left:8px;}
body#index .gt-hero .rail{position:absolute;right:56px;top:96px;display:flex;flex-direction:column;gap:22px;list-style:none;margin:0;padding:0;}
body#index .gt-hero .rail li{width:250px;margin:0;padding:0;}
body#index .gt-hero .rail a{display:flex;flex-direction:column;gap:6px;padding:18px 20px 16px;background:#fff;color:#141414;box-shadow:0 14px 30px rgba(0,0,0,.18);transition:transform .2s;}
body#index .gt-hero .rail a:hover{transform:translateY(-4px) rotate(0) !important;}
body#index .gt-hero .rail li:nth-child(1) a{background:#141414;color:#fff;transform:rotate(-2deg);}
body#index .gt-hero .rail li:nth-child(2) a{transform:rotate(1.5deg);}
body#index .gt-hero .rail li:nth-child(3) a{background:#FABE00;transform:rotate(-1deg);}
body#index .gt-hero .rail .l{font-size:11px;font-weight:700;letter-spacing:.16em;opacity:.8;}
body#index .gt-hero .rail .t{font-size:22px;font-weight:900;line-height:1.25;}
body#index .gt-hero .rail .d{font-size:12px;font-weight:500;line-height:1.5;opacity:.85;}
body#index .gt-hero .rail .b{display:inline-flex;align-self:flex-start;align-items:center;height:28px;padding:0 12px;margin-top:6px;background:#141414;color:#fff;font-size:12px;font-weight:700;}
body#index .gt-hero .rail li:nth-child(1) .b{background:#FABE00;color:#141414;}
body#index .gt-hero .ticker{position:absolute;left:0;right:0;bottom:0;height:44px;background:#141414;overflow:hidden;white-space:nowrap;}
body#index .gt-hero .ticker div{display:inline-flex;align-items:center;height:44px;animation:gt-ticker 40s linear infinite;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-size:20px;letter-spacing:.12em;color:#FABE00;}
body#index .gt-hero .ticker span{padding:0 24px;}
body#index .gt-hero .ticker i{font-style:normal;color:#666;}
@keyframes gt-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* --- セクション共通 --- */
body#index .gt-sec{padding:112px 0;}
body#index .gt-sec.tint{background:#F3F1E8;border-top:1px solid #E3DFD2;border-bottom:1px solid #E3DFD2;}
body#index .gt-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
body#index .gt-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}

/* 自社サービス */
body#index .gt-prod{display:flex;flex-direction:column;justify-content:space-between;gap:28px;min-height:360px;padding:44px 40px;background:#F7F5EE;border-top:4px solid #FABE00;}
body#index .gt-prod .tags{display:flex;gap:10px;flex-wrap:wrap;}
body#index .gt-prod .tags span{display:inline-flex;align-items:center;height:26px;padding:0 12px;font-size:12px;font-weight:700;background:#FABE00;}
body#index .gt-prod .tags span+span{background:none;border:1px solid #C9C4B4;color:#4A463D;}
body#index .gt-prod h4{margin:16px 0;padding:0;background:none;border:0;color:#141414;font-size:clamp(26px,2.5vw,36px);font-weight:900;line-height:1.3;}
body#index .gt-prod p{margin:0;font-size:15px;line-height:1.9;color:#5C5646;}
body#index .gt-prod .foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
body#index .gt-prod .foot small{font-size:13px;font-weight:700;color:#4A463D;}

/* ホームページ制作と集客 */
body#index .gt-svc{padding:40px;border:1px solid #DDD8C8;}
body#index .gt-svc .gt-label{font-size:20px;}
body#index .gt-svc h4{margin:0 0 16px;padding:0;background:none;border:0;color:#141414;font-size:28px;font-weight:900;}
body#index .gt-svc p{margin:0 0 16px;font-size:15px;line-height:1.9;color:#5C5646;}
body#index .gt-svc .chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
body#index .gt-svc .chips span{padding:6px 12px;border:1px solid #C9C4B4;font-size:12px;font-weight:700;color:#4A463D;}

/* 制作実績 */
body#index .gt-works{list-style:none;margin:0;padding:0;}
body#index .gt-works li{display:flex;flex-direction:column;margin:0;padding:0;}
body#index .gt-works a{display:block;position:relative;overflow:hidden;background:#fff;border:1px solid #E3DFD2;}
body#index .gt-works a img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:top;background:#fff;transition:transform .3s;}
body#index .gt-works a:hover img{transform:scale(1.03);}
body#index .gt-works .pick{position:absolute;left:0;top:0;padding:4px 10px;background:#FABE00;font-size:11px;font-weight:700;color:#141414;}
body#index .gt-works .name{margin:12px 0 4px;font-size:15px;font-weight:700;}
body#index .gt-works .goal{margin:0 0 6px;font-size:13px;font-weight:700;color:#A07C00;}
body#index .gt-works .type{display:inline-block;align-self:flex-start;padding:2px 8px;background:#141414;color:#fff;font-size:11px;font-weight:700;}
body#index .gt-works .items{margin:6px 0 0;font-size:11px;color:#5C5646;line-height:1.6;}

/* 業界別CMS ＋ お知らせ */
body#index .gt-two{display:grid;grid-template-columns:1fr 1fr;gap:64px;}
body#index .gt-ind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0;}
body#index .gt-ind li{margin:0;padding:0;}
body#index .gt-ind a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 18px;border:1px solid #DDD8C8;font-size:15px;font-weight:700;}
body#index .gt-ind a small{font-size:12px;color:#A07C00;}
body#index #news{margin:0;padding:0;}
body#index #news h3{display:flex;flex-direction:column-reverse;margin:0 0 28px;padding:0;background:none;border:0;color:#141414;font-size:36px;font-weight:900;line-height:1.25;}
body#index #news h3 span{display:block;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-size:22px;font-weight:400;letter-spacing:.12em;color:#A07C00;margin-bottom:8px;}
body#index #news .content{padding:0;}
body#index #news ul.newlist{list-style:none;margin:0;padding:0;border-top:1px solid #DDD8C8;}
body#index #news ul.newlist li{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:baseline;gap:24px;margin:0;padding:18px 0;border-bottom:1px solid #DDD8C8;font-size:15px;background:none;}
body#index #news ul.newlist time{flex:0 0 160px;margin:0;padding:0;background:none;border:0;display:flex;align-items:center;gap:8px;white-space:nowrap;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-size:18px;line-height:1;letter-spacing:.06em;color:#A07C00;}
body#index #news ul.newlist li.new time::after{content:"NEW";display:inline-block;padding:3px 6px 2px;background:#FABE00;color:#141414;font-family:"Zen Kaku Gothic New","Hiragino Sans",sans-serif;font-size:10px;font-weight:700;line-height:1;letter-spacing:.06em;}
body#index #news ul.newlist div p{margin:0;}
body#index #news .content>p{margin:16px 0 0;}
body#index #news .content>p a.link{font-size:14px;font-weight:700;color:#A07C00;}
body#index #news h4,body#index #news h5,body#index #news .archivelist{display:none;}

/* パートナー ＋ お問合せ */
body#index .gt-cta{display:grid;grid-template-columns:1fr 1fr;}
body#index .gt-cta>div{padding:80px 64px;}
body#index .gt-cta .p{background:#F3F1E8;border-top:1px solid #E3DFD2;}
body#index .gt-cta .c{background:#FABE00;}
body#index .gt-cta .c .gt-label{color:#141414;}
body#index .gt-cta h3{margin:0 0 16px;padding:0;background:none;border:0;color:#141414;font-size:32px;font-weight:900;line-height:1.3;}
body#index .gt-cta p{margin:0 0 16px;font-size:15px;line-height:1.9;color:#5C5646;}
body#index .gt-cta .gt-row{width:100% !important;max-width:none !important;margin:0 !important;padding:0 !important;float:none;display:flex;align-items:center;gap:24px;flex-wrap:wrap;}
body#index .gt-cta .gt-row .gt-btn{min-height:58px;padding:0 32px;background:#141414;color:#FABE00;font-size:16px;font-weight:900;}
body#index .gt-cta .tel{display:flex;flex-direction:column;flex:none;white-space:nowrap;}
body#index .gt-cta .tel b{display:block;font-family:"Bebas Neue",Impact,"Arial Narrow",sans-serif;font-size:34px;font-weight:400;line-height:1;letter-spacing:.04em;white-space:nowrap;}
body#index .gt-cta .tel small{display:block;font-size:12px;font-weight:700;color:#4A463D;white-space:nowrap;}

/* MT側のサイド・フッター */
body#index #contact,body#index #side{display:none;}
body#index #info{max-width:none;width:auto;margin:0;padding:0;background:#fff;border-top:1px solid #E3DFD2;}
/* フッターは下層ページと同じ shared.css の見た目に揃える（トップ専用の上書きなし） */

/* ナビ：ロゴは縮めず、入り切らない幅では2段に */
body#index .gt-nav .logo{flex:0 0 auto;}
body#index .gt-nav .logo img{width:260px;height:50px;max-width:none;}
body#index .gt-nav ul{flex:0 0 auto;}
@media (max-width:1100px){
  body#index .gt-nav{flex-wrap:wrap;padding:12px 24px 0;}
  body#index .gt-nav .logo{margin-bottom:12px;}
  body#index .gt-nav ul{width:100%;}
  body#index .gt-nav li{flex:1 1 auto;}
  body#index .gt-nav li a{width:100%;justify-content:center;padding:0 12px;}
}

/* ===== レスポンシブ ===== */
@media (max-width:1200px){
  body#index .gt-hero .display{font-size:140px;}
  body#index .gt-hero .catch{left:540px;}
  body#index .gt-hero .mark{width:820px;right:-200px;}
}
@media (max-width:1000px){
  body#index .gt-nav{padding-left:20px;}
  body#index .gt-nav li a{padding:0 12px;font-size:13px;}
  body#index .gt-hero{height:auto;padding:56px 20px 100px;}
  body#index .gt-hero .mark{width:520px;right:-160px;top:-40px;opacity:.9;}
  body#index .gt-hero .since,body#index .gt-hero .display,body#index .gt-hero .catch,body#index .gt-hero .lead,body#index .gt-hero .rail{position:relative;left:auto;right:auto;top:auto;bottom:auto;}
  body#index .gt-hero .since{margin-bottom:16px;}
  body#index .gt-hero .display{font-size:clamp(88px,18vw,150px);}
  body#index .gt-hero .catch{writing-mode:horizontal-tb;height:auto;margin:28px 0 20px;}
  body#index .gt-hero .catch span{margin:0;font-size:clamp(22px,4.2vw,32px);}
  body#index .gt-hero .catch small{display:block;margin-top:8px;}
  body#index .gt-hero .lead{width:auto;max-width:640px;}
  body#index .gt-hero .rail{flex-direction:row;flex-wrap:wrap;margin-top:36px;}
  body#index .gt-hero .rail li{width:calc(50% - 11px);}
  body#index .gt-two,body#index .gt-cta{grid-template-columns:1fr;}
  body#index .gt-grid4{grid-template-columns:repeat(2,minmax(0,1fr));}
  body#index .gt-sec{padding:72px 0;}
  body#index .gt-head{flex-direction:column;align-items:flex-start;gap:12px;}
}
@media (max-width:640px){
  body#index .gt-nav{flex-wrap:wrap;padding:12px 16px;gap:10px;}
body#index .gt-nav .logo img{height:50px;width:auto;}
  body#index .gt-nav ul{width:100%;flex-wrap:wrap;}
  body#index .gt-nav li{flex:1 1 33%;}
  body#index .gt-nav li a{width:100%;height:44px;padding:0 8px;font-size:12px;justify-content:center;border-left:0;border:1px solid #333;}
  body#index .gt-wrap{padding:0 16px;}
  body#index .gt-hero{padding:32px 16px 80px;}
  body#index .gt-hero .mark{width:380px;right:-140px;top:-30px;}
  body#index .gt-hero .rail li{width:100%;}
  body#index .gt-hero .rail a{transform:none !important;}
  body#index .gt-grid2,body#index .gt-ind{grid-template-columns:1fr;}
  body#index .gt-grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  body#index .gt-works .items{display:none;}
  body#index .gt-prod,body#index .gt-svc{padding:28px 20px;}
  body#index .gt-cta>div{padding:48px 20px;}
  body#index .gt-hero .ticker div{font-size:16px;}
  body#index #news ul.newlist li{flex-direction:column;gap:8px;padding:14px 0;}
  body#index #news ul.newlist time{flex:0 0 auto;width:auto;}
}

/* ===== スマホ：下層ページと同じハンバーガーメニュー＋ヒーロー調整 ===== */
@media (max-width:767px){
  body#index .gt-nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;height:50px;padding:0 60px 0 5px;gap:0;}
  body#index .gt-nav .logo{margin:0;}
  body#index .gt-nav ul{display:none;}
  body#index #mbtn{display:block;}
  body#index #side{display:block;}
  body#index #pnav{display:block;}
  body#index .gt-hero{padding:24px 16px 80px;}
  body#index .gt-hero .mark{width:260px;right:-70px;top:-6px;opacity:1;}
  body#index .gt-hero .display{margin-left:26px;}
  /* キャッチ「ホームページも、クラウドテックも、」を1行に収める（画面幅に合わせて縮小） */
  body#index .gt-hero .catch span{white-space:nowrap;font-size:5vw;letter-spacing:.04em;}
}