/* ===========================
   Rough Studio Group
   style.css 2026整理版
=========================== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* COMMON */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-label,
.eyebrow {
  color: #004098;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

h1 {
  font-size: 56px;
  line-height: 1.3;
}

h2 {
  font-size: 40px;
  margin-bottom: 25px;
}

p {
  color: #666;
}

.btn-main,
.btn-primary {
  display: inline-block;
  background: #004098;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
}

.btn-sub,
.btn-secondary {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
}

.btn-secondary {
  background: #fff;
  color: #111827;
  border: none;
}

/* HEADER */
.header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  z-index: 9999;
  border-bottom: 1px solid #eee;
}

.header-inner {
  width: min(1280px, 92%);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a,
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 22px;
  font-weight: 700;
  color: #004098;
  white-space: nowrap;
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.company-name {
  font-size: 22px;
  font-weight: 700;
  color: #004098;
  white-space: nowrap;
}

.g-nav ul,
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 35px);
}

.g-nav a,
.site-header nav a {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.nav-contact {
  background: #004098;
  color: #fff !important;
  padding: 14px 22px;
  border-radius: 8px;
}

.menu-btn {
  display: none;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 40, 100, .75), rgba(0, 40, 100, .55)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80")
    center / cover;
  color: #fff;
}

.hero-inner {
  width: min(1200px, 90%);
  margin: auto;
}

.hero h1 {
  margin: 20px 0;
  color: #fff;
}

.hero-catch {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.hero-lead {
  color: #fff;
  max-width: 850px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, #004098, #0056d6);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.page-hero p {
  color: #fff;
}

/* INDEX */
.about-lead {
  font-size: 18px;
  line-height: 2.2;
  max-width: 900px;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading p {
  max-width: 700px;
  margin: 0 auto;
}

.business-preview,
.philosophy,
.cta-section {
  background: #ffffff;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.business-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  transition: .3s;
}

.business-card:hover {
  transform: translateY(-8px);
}

.business-card h3 {
  color: #004098;
  margin-bottom: 15px;
}

.business-card-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: rgba(0, 64, 152, .15);
  margin-bottom: 10px;
}

.card-more {
  display: inline-block;
  margin-top: 20px;
  color: #004098;
  font-weight: bold;
}

.philosophy {
  text-align: center;
}

.philosophy-inner {
  max-width: 900px;
}

.philosophy h2 {
  color: #004098;
  line-height: 1.6;
}

.philosophy p {
  font-size: 18px;
  line-height: 2.2;
}

/* STATS */
.stats {
  background: #004098;
  color: #fff;
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-size: 36px;
  margin-bottom: 10px;
}

.stat-item p {
  color: #fff;
  font-weight: bold;
}

/* BUSINESS PAGE */
.business-list {
  padding: 100px 0;
}

.business-block,
.business-card-large {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  border: 1px solid #eef2f7;
}

.business-number {
  font-size: 72px;
  font-weight: 800;
  color: #004098;
  line-height: 1;
}

.business-content h2,
.business-text h2 {
  color: #004098;
  margin-bottom: 20px;
}

.business-content p,
.business-text p {
  margin-bottom: 25px;
}

.business-content ul,
.business-text ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.business-content li,
.business-text li {
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: bold;
  border-left: 4px solid #004098;
}

/* BUSINESS IT SUPPORT */
.business-hero {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  padding: 90px 0;
}

.business-hero .eyebrow {
  color: #60a5fa;
}

.business-hero h1 {
  font-size: 42px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #fff;
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  max-width: 760px;
  color: #e5e7eb;
}

.problem-section,
.service-section,
.price-section,
.cta-section {
  padding: 70px 0;
}

.problem-section h2,
.service-section h2,
.price-section h2,
.cta-section h2 {
  font-size: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.card-grid,
.service-list {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: #f3f4f6;
  padding: 22px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}

.service-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.service-box h3 {
  margin-bottom: 12px;
  color: #111827;
}

.service-box p {
  line-height: 1.7;
  color: #374151;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 16px;
  text-align: left;
}

.price-table th {
  background: #111827;
  color: #fff;
}

.note {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.cta-section {
  text-align: center;
}

.cta-section p {
  margin-bottom: 25px;
}

/* NEWS */
.news-page {
  padding: 100px 0;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  border: 1px solid #eef2f7;
}

.news-date {
  color: #004098;
  font-weight: bold;
  margin-bottom: 10px;
}

.news-card h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

/* ABOUT */
.about-page {
  padding: 100px 0;
}

.company-message {
  margin-bottom: 70px;
}

.company-message p {
  max-width: 900px;
  line-height: 2.2;
}

.company-table {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.company-table th {
  width: 220px;
  color: #004098;
}

/* CONTACT */
.contact-section {
  width: min(700px, 90%);
  margin: 100px auto;
}

.contact-form {
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

.form-item {
  margin-bottom: 25px;
}

.form-item label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.form-item span {
  color: red;
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.submit-btn {
  width: 100%;
  border: none;
  background: #004098;
  color: #fff;
  padding: 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* CTA */
.contact-cta {
  background: #004098;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.contact-cta p {
  color: #ffffff;
  margin-bottom: 30px;
}

/* FOOTER */
.footer,
.site-footer {
  background: #111827;
  color: #fff;
}

.footer {
  padding-top: 70px;
}

.site-footer {
  text-align: center;
  padding: 25px;
}

.footer-flex {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer p,
.site-footer p {
  color: #ccc;
}

.footer-nav ul li {
  margin-bottom: 15px;
}

.footer-btn {
  display: inline-block;
  background: #004098;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 25px;
  margin-top: 50px;
}

.footer-sns {
  margin-top: 30px;
}

.footer-sns a {
  display: block;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-sns a:hover {
  color: #fff;
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .header,
  .site-header {
    height: 70px;
  }

  .logo img {
    height: 38px;
  }

  .logo,
  .company-name {
    font-size: 16px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .section {
    padding: 70px 0;
  }

  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
  }

  .menu-btn span {
    width: 28px;
    height: 3px;
    background: #333;
  }

  .g-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    transition: .3s;
    padding: 40px;
  }

  .g-nav.active {
    right: 0;
  }

  .g-nav ul,
  .site-header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero {
    min-height: 75vh;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-catch {
    font-size: 18px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-main,
  .btn-sub,
  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .business-grid,
  .footer-flex {
    grid-template-columns: 1fr;
  }

  .business-block,
  .business-card-large {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .business-number {
    font-size: 48px;
  }

  .business-content ul,
  .business-text ul {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .stat-item {
    border-right: none;
  }

  .stat-item h3 {
    font-size: 28px;
  }

  .business-hero h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .news-card {
    padding: 28px;
  }

  .news-card h2 {
    font-size: 22px;
  }

  .company-table,
  .contact-form {
    padding: 30px 22px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .page-hero {
    padding: 90px 20px;
  }
}

/* ===========================
   法人ITサポートページ 色調整
=========================== */

.business-hero {
  background: linear-gradient(135deg, #004098, #111827);
  color: #fff;
}

.business-hero h1,
.business-hero p {
  color: #fff;
}

.problem-section {
  background: #f8fafc;
}

.service-section {
  background: #fff;
}

.price-section {
  background: #f8fafc;
}

.problem-section h2,
.service-section h2,
.price-section h2,
.cta-section h2 {
  color: #004098;
}

.card {
  background: #fff;
  color: #222;
  border-left: 5px solid #004098;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.service-box {
  background: #fff;
  border-top: 5px solid #004098;
}

.service-box h3 {
  color: #004098;
}

.service-box p {
  color: #555;
}

.price-table th {
  background: #004098;
  color: #fff;
}

.price-table td {
  color: #333;
}

.cta-section {
  background: linear-gradient(135deg, #004098, #0056d6);
  color: #ffffff;
}

.cta-section p {
  color: #ffffff;
}

.cta-section h2,
.cta-section p {
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

/* 代表メッセージ */
.company-message {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.6fr);
  gap: 55px;
  padding: 56px;
  background: linear-gradient(135deg, #071f42, #004098);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 40, 100, .2);
  color: #fff;
}

.company-message::after {
  content: "MESSAGE";
  position: absolute;
  right: -12px;
  bottom: -42px;
  font-size: 104px;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .055);
  pointer-events: none;
}

.company-message .section-label { color: #8fc2ff; }
.company-message h2 { color: #fff; margin-bottom: 22px; }
.company-message p { color: rgba(255, 255, 255, .88); }
.message-catch { font-size: 22px; font-weight: 700; line-height: 1.7 !important; color: #fff !important; }
.message-body { position: relative; z-index: 1; padding-left: 42px; border-left: 1px solid rgba(255, 255, 255, .25); }
.message-sign { margin-top: 34px; text-align: right; font-size: 20px; font-weight: 700; color: #fff !important; }
.message-sign span { display: block; font-size: 12px; font-weight: 400; letter-spacing: .08em; opacity: .75; }

@media (max-width: 768px) {
  .company-message { grid-template-columns: 1fr; gap: 28px; padding: 34px 25px; }
  .message-body { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 28px; }
  .company-message::after { font-size: 58px; bottom: -18px; }
}

.service-links{
    margin-top:30px;
}

.service-btn{
    display:inline-block;
    background:#0047AB;
    color:#fff;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.service-btn:hover{
    opacity:.85;
}
