/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:#3A9BAF;
  --line:#E5E5E5;
  --orange:       #E07B1A;
  --orange-light: #F0A040;
  --orange-pale:  rgba(246, 139, 31, 0.2);
  --teal:         #3A9BAF;
  --dark:         #444444;
  --gray:         #555555;
  --gray-light:   rgba(238, 238, 238, 1);
  --bg-gray:      #F0F0EE;
  --white:        #FFFFFF;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.white{ color: var(--white)!important; }
.text-center{ text-align: center;}
.text{ font-size: 20px; font-weight: 400; line-height: 150%; letter-spacing: 10%; padding-bottom: 10px;}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  margin-top: 20px;
}

.header__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width : 1000px) {
  .header .header__inner{
    flex-direction: column;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width:300px;
}

.header__logo-icon { width: 36px; height: 36px; flex-shrink: 0; }

.header__logo-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--dark);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (max-width : 1000px) {
  .header__nav {
    gap: 14px;
  }
}

.header__nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}

.header__nav a:hover { color: var(--orange); }

/* ============================================================
   title
   ============================================================ */
   .page-title{
    height: 200px;
    display: flex;
    justify-content: center; /* 横中央 */
    align-items: center; 
    border-bottom: solid 1px #000;
   }


/* ============================================================
   COMMON
============================================================ */
.company-main { background: #fff; }
.companyContainer { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.companySection { padding: 84px 0; }
.companySection--gray { background: var(--bg-gray); }
.sectionHeading { margin-bottom: 38px; text-align: center; }
.sectionHeading p {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
}
.sectionHeading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.45;
  font-weight: 800;
}


/* ============================================================
   HERO
============================================================ */
.companyHero {
  position: relative;
  padding: 108px 20px 100px;
  color: #444;
  color: #F3F3F1;
  background:#F3F3F1;
    );
  overflow: hidden;
}

.companyHero::before {
  content: "";
  position: absolute;
  right: 120px;
  top: 60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(224,123,26,0.02);
  pointer-events: none;
}

.companyHero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(224,123,26,0.025);
}

.companyHero__inner {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}
.companyHero__label {
  margin: 0 0 20px;
  font-family:var(--font-en);
  font-size:15px;
  font-weight:800;
  letter-spacing:0.18em;
  color: #E07B1A;
}

.companyHero h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .03em;
  color:#444;
}

.companyHero__lead {
  max-width: 760px;
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 2;
  color:#555;
}

.companyHero__buttons {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.companyBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
}

.companyBtn--primary {
  background:#FFFFFF;
  color:#444;
}

/* お問い合わせボタン */
.companyBtn--outline {
  border: 1px solid #BBBBBB;
  color: #666666;
  background:#FFFFFF;
}

.companyBtn:hover {
  transform: translateY(-2px);
   opacity: .92;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { 
  position: relative;
  padding: 5% 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.headding{
  font-size: 30px;
  font-weight: 400;
}

/* ============================================================
   ヒーロー画像
   ============================================================ */
   .company__hero img{
    width: auto;
    margin-inline: auto;
   }

/* ============================================================
   PAGE NAV
============================================================ */
.companyNav {
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.08); padding:0;
}

.companyNav__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.companyNav__grid a{
  display:block;
  padding:16px 14px;
  text-align:center;
  color:var(--blue);
  font-weight:700;
  border-right:1px solid #ddd;
}
.companyNav__grid a:first-child { border-left: 1px solid var(--line); }
.companyNav__grid a:hover { background: #F5F5F5; color: #E07B1A; }




/* ============================================================
   MESSAGE
============================================================ */
.messagePanel {
  max-width: 920px;
  margin: 0 auto;
  padding: 46px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0,56,92,.08);
}
.messagePanel p { margin: 0 0 20px; line-height: 2; font-size: 16px; }
.messagePanel p:last-child { margin-bottom: 0; }
.messagePanel__strong {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 19px !important;
  font-weight: 700;
}


/* ============================================================
   経営理念　削除する
   ============================================================ */
   .about__content{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
   }
   .about__content img{
    width: 50%;
   }
   .about__text{
    flex-direction: column;
   }
/* ============================================================
   行動指針　削除する
   ============================================================ */
   .value__list ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
    /* padding-inline: 10px; */
   }
   .value__list li{
    background:#D9D9D9;
    /* height: 266px; */
    width: calc((100% - 40px) / 3);
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
   }
   .value__list li span{
    font-weight: bold;
    padding-bottom: 3%;
   }
   /* ============================================================
   経営ビジョン削除する
   ============================================================ */
   .value__list ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
   }
   .value__list li{
    background:#D9D9D9;
    height: 266px;
    width: 30%;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
   }
   .value__list li span{
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 5%;
   }
  /* ============================================================
   経営ビジョン　削除する
   ============================================================ */
   .vision__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vision__item {
  display: flex;
  flex-direction: column;
  gap:30px;
  text-align: center;
}

.vision__item figure {
  margin-bottom: 16px;
}

/* タイトル（span入ってるp） */
.vision__item p:first-of-type {
  min-height: 3em; /* ←ここで高さ揃える */
  font-weight: bold;
}

/* 本文 */
.vision__item p:last-of-type {
  flex-grow: 1; /* ←これが超重要 */
}
  /* ============================================================
   会社概要
   ============================================================ */
   .table-default {
  width: 100%;
}

.table-default th,
.table-default td {
  padding: 12px 16px;
  vertical-align: middle;
}

.table-default th {
  text-align: left;
  white-space: nowrap;
  border-bottom: 6px solid #3A9BAF;
}
.table-default td {
  width: 200px;
  padding-right: 32px;
  text-align: left;
  border-bottom: 3px solid #3A9BAF;
}


/* ============================================================
   TABLES
============================================================ */
.companyTable, .licenseTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,56,92,.08);
}
.companyTable th, .companyTable td,
.licenseTable th, .licenseTable td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
  vertical-align: middle;
}
.companyTable th {
  width: 22%;
  color: #fff;
  background: var(--blue);
  text-align: left;
  white-space: nowrap;
}
.companyTable td { background: #fff; }
.companyTable tr:last-child th, .companyTable tr:last-child td,
.licenseTable tr:last-child th, .licenseTable tr:last-child td { border-bottom: none; }
.companyTable a, .licenseTable a { color: var(--teal); font-weight: 700; }
.licenseLead {
  max-width: 860px;
  margin: -8px auto 30px;
  text-align: center;
  line-height: 2;
}
.licenseTableWrap { overflow-x: auto; }
.licenseTable thead th {
  color: #fff;
  background: var(--blue);
  text-align: center;
}
.licenseTable tbody th { background: #EEF7FA; color: var(--blue); font-weight: 700; }
.licenseTable tbody td { text-align: center; font-weight: 700; color: var(--teal); background: #fff; white-space: nowrap; }


/* ============================================================
   CONTACT
   ============================================================ */
.companyCta {
  padding: 82px 20px;
  color: #444;
  text-align: center;
  background: #F0F0EE;
}
.companyCta__inner { width: min(900px, 100%); margin: 0 auto; }
.companyCta p:first-child { margin: 0 0 10px; font-family: var(--font-en); font-weight: 800; letter-spacing: .16em; }
.companyCta h2 { margin: 0 0 18px; font-size: clamp(26px, 4vw, 40px); }
.companyCta p { line-height: 1.9; margin-bottom: 26px; }

/* ボタン */
.companyBtn--primary{
  background:#E07B1A;
  color:#fff;
}

.companyBtn--primary:hover{
  background:#bf6410;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer__brand {
  background: var(--white);
  padding: 36px 0 28px;
  border-top: 1px solid #ddd;
}

.footer__brand-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer__logo-icon { width: 52px; height: 52px; }

.footer__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark);
}

.footer__address {
  font-size: 11px;
  color: var(--dark);
  line-height: 1.9;
  margin-top: 3px;
}

.footer__bottom {
  background: var(--orange);
  padding: 16px 0 10px;
}

.footer__nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 0;
}

.footer__nav a {
  font-size: 11px;
  color: rgba(255,255,255,0.92);
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.35);
  line-height: 1.2;
  transition: opacity 0.2s;
}

.footer__nav a:first-child { padding-left: 0; }
.footer__nav a:last-child { border-right: none; }
.footer__nav a:hover { opacity: 0.7; }

.footer__copy {
  max-width: 1100px;
  text-align: center;
  margin: 8px auto 0;
  padding: 0 60px;
  font-size: 10px;
  color: rgba(255,255,255,0.65);
}

.sp-only {
  display: none;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {

  /* =========================
     共通
  ========================= */
  .container {
    padding: 0 20px;
  }
  section{
    padding: 5% 20px!important;
  }

  .sp-only {
    display: block;
  }
 /* =========================
     header
  ========================= */
  .header__nav a {
    font-size: 12px;
}
  .header__logo img{
    width: 50%;
  }
  /* =========================
     ヒーロー
  ========================= */
  .company__hero img {
    width: 100%;
    height: auto;
  }

  /* =========================
     経営理念（横→縦）
  ========================= */
  .about__content {
    flex-direction: column;
    align-items: center;
  }

  .about__content img {
    width: 100%;
  }

  .about__text {
    width: 100%;
  }

  /* =========================
     行動指針（3列→1列）
  ========================= */
  .value__list ul {
    flex-direction: column;
    align-items: center;
  }

  .value__list li {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  /* =========================
     経営ビジョン（3列→1列）
  ========================= */
  .vision__list {
    grid-template-columns: 1fr;
  }

  .vision__item {
    gap: 20px;
  }

  /* =========================
     会社概要（テーブル）
  ========================= */
  .table-default th,
  .table-default td {
    display: block;
    width: 100%;
  }

  .table-default th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .table-default td {
    border-bottom: 1px solid #ccc;
    padding-top: 0;
    margin-bottom: 12px;
  }

  /* =========================
     保有資格
  ========================= */
  .company__licenses {
    flex-direction: column;
    align-items: center;
  }

  .license {
    width: 100%;
  }

  .license li {
    margin-left: 3%;
  }

  /* =========================
     フッター
  ========================= */
  .footer__brand-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    flex-direction: column;
    gap: 8px;
  }

  .footer__nav a {
    border-right: none;
  }
}