@charset "utf-8";

:root{
  --navy: #14157e;
  --navy-dark: #0c0d55;
  --navy-light: #eef0fb;
  --gray-bg: #f4f5f7;
  --text-main: #222327;
  --text-sub: #35363b;
  --border: #e1e2e8;
  --white: #ffffff;
}
*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: "Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--gray-bg);
  line-height: 1.6;
}
a{ color: inherit; text-decoration: none; }
.container{ max-width: 1040px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
}


/* hero */
.hero{
  position: relative;
  color:#fff;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero::before,
.hero::after{
  position: absolute;
  content: '';
  top: 0;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::before{
  position: absolute;
  z-index: 1;
  content: '';
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  transform: translateX(15%);
  background-image: url('../image/mv-back.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero::after{
  z-index: 2;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(100deg, var(--navy) 28%, rgba(20,21,126,0.92) 42%, rgba(12,13,85,0.55) 60%, rgba(12,13,85,0.2) 80%, rgba(12,13,85,0) 100%),
    linear-gradient(rgba(20,21,126,0.35), rgba(20,21,126,0.35));
  background-position: center left;
}
.hero h1{
  position: relative;
  z-index: 3;
  font-size: 30px;
  margin: 0 0 14px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.hero p{
  position: relative;
  z-index: 3;
  font-size: 15px;
  max-width: 560px;
  opacity: 0.95;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
@media (max-width: 600px){
  .hero::before{
    width: 70%;
    background-position: 30% center;
  }
  .hero::after{
    width: 140%;
    background-image:
      linear-gradient(100deg, var(--navy) 28%, rgba(20,21,126,0.92) 42%, rgba(12,13,85,0.55) 60%, rgba(12,13,85,0.2) 80%, rgba(12,13,85,0) 100%),
      linear-gradient(rgba(20,21,126,0.35), rgba(20,21,126,0.35));
    background-position: center left;
  }
}

section{ padding: 48px 0; }
section.alt{ background: var(--white); }

h2.section-title{
  font-size: 32px;
  margin: 0 0 16px;
  font-weight:700;
  border-left: 5px solid var(--navy);
  padding-left: 14px;
}
p.section-lead{
  font-size:16px;
  color: var(--text-sub);
  margin: 0 0 28px;
  padding-left: 19px;
}

/* category groups */
.category-group{ margin-bottom: 30px; }
.category-group:last-child{ margin-bottom: 0; }
.category-label{
  position: relative;
  display:flex; align-items:center; gap:12px;
  font-size:18px; font-weight:700; color: var(--navy-dark);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.category-label::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(to right, var(--navy), rgba(20,21,126,0));
}

.btn-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px){
  .btn-grid{ grid-template-columns: 1fr; }
}
.soft-btn{
  display:grid;
  grid-template-columns: 120px 1fr;
  align-items:center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor:pointer;
}
.soft-btn:hover{
  border-color: var(--navy);
  box-shadow: 0 2px 10px rgba(20,21,126,0.12);
}
.soft-btn .thumb{
  width:120px;
  height:120px;
  background: var(--white);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.category-group--padded .soft-btn .thumb{
  padding: 12px;
}
.soft-btn .thumb img{
  width:100%; height:100%; object-fit: contain;
}
.soft-btn .thumb.thumb-empty{
  border: 1px dashed var(--border);
  box-sizing: border-box;
}
.soft-btn .info{
  padding: 14px 18px;
}
.soft-btn .name{
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display:flex; align-items:center; justify-content:space-between;
  gap: 6px;
}
.soft-btn .name .arrow{
  font-size:15px; color: var(--navy); opacity:0.6;
  flex-shrink:0;
}
.soft-btn .desc{
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 6px;
  line-height:1.5;
}

/* case studies */
.case-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.case-card{
  display:flex;
  flex-direction: column;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.case-card:hover{
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(20,21,126,0.14);
}
.case-card .case-img{
  display:block;
  width:100%;
  aspect-ratio: 16 / 9;
  background: var(--white);
  overflow:hidden;
}
.case-card .case-img img{
  width:100%; height:100%; object-fit: cover;
}
.case-card .case-body{
  display:block;
  flex: 1 1 auto;
  padding: 22px 24px;
  background: var(--white);
}
.case-tag{
  display:inline-block;
  background: var(--navy);
  color:#fff;
  font-size:13px;
  font-weight:700;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.case-card h3{
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700;
}
.case-title{
  color: var(--text-main);
}
.case-org{
  color: var(--navy);
  font-size: 15px;
}
.case-card p.body{
  font-size: 14px;
  color: var(--text-sub);
  margin: 0 0 12px;
}
.case-card p.product{
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  margin: 0;
}

/* contact */
.contact-box{
  background: var(--navy);
  color:#fff;
  border-radius: 14px;
  padding: 32px 36px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-box h3{
  font-size: 20px;
  margin: 0 0 6px;
}
.contact-box p{
  font-size: 14px;
  opacity: 0.85;
  margin: 0;
}
.contact-box p.tel{
  font-size: 16px;
  font-weight: 700;
  opacity: 1;
  margin: 10px 0 2px;
}
.contact-box p.hours{
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}
.contact-btn{
  background: #fff;
  color: var(--navy)!important;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  white-space: nowrap;
}
.contact-btn:hover{
  color: var(--navy);
  background: var(--navy-light);
}

.sub-links{
  margin-top:16px; font-size:14px; color: var(--text-sub);
}
.sub-links a{ color: var(--navy); font-weight:700; }
.sub-links a:hover{ text-decoration:underline; }