@charset "UTF-8";


/***************  company sub visual *****************/
.company_top_page {
    background-image: url(../img/company/sub_main_company_top.jpg);
	position: relative;
}
.about_page {
    background-image: url(../img/company/sub_main_about.jpg);
	position: relative;
}
.hero_sub::before {
	content: '';
	display: inline-block;
	background: rgba(83,198,252, .25);
	background: rgba(0,0,0, .2);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 28px;
}
.hero_sub h2 {
    position: relative;
	}

/***************  company  *****************/
.company_top.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding-top: 50px;
    padding-bottom: 35px;
}
.company_top.grid .inner {
    padding: 65px 60px 20px 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.company_top.grid .inright {
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: url("../img/company/company_top.jpg") left / auto 100% no-repeat;
    min-height: 366px;
	}

/***************  1400サイズ以上  *****************/
@media screen and (min-width:1400px){
.company_top.grid .inner {
    width: 100%;
    max-width: 800px;
    float: right;
	}
.company_top.grid .inright {
    background-size: cover;
	}
}

/***************  1200サイズ未満  *****************/
@media screen and (max-width:1199px){
}

/***************  タブレットサイズ  *****************/
@media (max-width: 960px){
.company_top.grid {
    grid-template-columns: 0.8fr 1fr;
    padding-top: 20px;
	padding-bottom: 15px;
	}
.company_top.grid .inner {
    padding: 35px 40px 20px 20px;
	}
.company_top.grid .inright {
    background-size: cover;
    background-position: center;
    min-height: 250px;
    background: url("../img/company/company_top.jpg") left / auto 100% no-repeat;
	}
}

/***************  SPサイズ以上  *****************/
@media (min-width: 769px){



}
/***************  タブレット768pxサイズ  *****************/

/***************  SPサイズ  *****************/
@media (max-width: 768px){
.company_top .menu {
	font-size: 18px;
	}
.company_top.grid {
    grid-template-columns: 1fr;
	padding-top: 20px;
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
	}
.company_top.grid .inner {
    padding: 0;
    gap: 0;
	margin-bottom: 35px;
	}
.company_top.grid .inright {
	border-radius: 18px;
    background: url("../img/company/company_top_sp.jpg") left 30% / auto 130% no-repeat;
    background-size: cover;
    min-height: 250px;
	}
}
@media (max-width: 767px){
.company_top .menu {
	font-size: 16px;
	}
.company_top.grid {
    grid-template-columns: 1fr;
	padding-top: 5px;
	}
.company_top.grid .inner {
    margin-bottom: 5px;
	}
}
@media (max-width: 500px){
.company_top.grid .inright {
    min-height: 150px;
	}
}





/*********************************************
会社概要ページ About 
/*********************************************/
section + section{
	margin-top: 80px;
}
/* ====== base ====== */
.corp-card{
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  color: var(--text);
}

.corp-table{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

/* ====== rows ====== */
.about .row {
    display: grid;
    grid-template-columns: 230px 1fr;
    border-top: 1px solid var(--line-soft);
    min-height: 54px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}
.about .row:first-child{ border-top: none; }

.about .row:hover {
    background: #fff;
}

/* left */
.head{
  padding: 10px 12px 10px 25px;
  display: flex;
  align-items: center;
}

/* right */
.cell{
	padding: 12px 16px;
	line-height: 1.75;
	align-items: center;
	display: grid;
}

/* pill label */
.pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-weight: 700;
  color: #1f2937;
  width: auto;
}

/* 事業目的の青枠強調（スクショの青枠） */
.row.is-focus{
  outline: 2px solid var(--focus);
  outline-offset: -2px;
  background: #fff;
}

/* tall rows */
.row.tall .head{ align-items: flex-start; padding-top: 14px; }
.row.tall .cell{ padding-top: 14px; padding-bottom: 14px; }

/* ====== inline + links ====== */
.inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.company .link{
  color: var(--text);
  text-decoration: none;
}
.company .link:hover{ text-decoration: underline; }

/* ====== PDF icon ====== */
.pdf{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.pdf-ico{
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  border: 1px solid #e6b4b4;
  border-radius: 3px;
  background: #fff;
}

/* 紙＋折り返し */
.pdf-ico::before{
  content:"";
  position:absolute;
  inset: 2px 2px 2px 2px;
  border: 1px solid #ef4444;
  border-radius: 2px;
}
.pdf-ico::after{
  content:"PDF";
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: 8px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: .02em;
}

/* ====== pairs (役職 / 氏名の2列) ====== */
.pair{
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 500px;
}

.pair li{
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
  padding: 6px 0;
}

.pair .left{
  color: #111827;
}

.pair .left.indent{
	padding-left: 1em;
	text-indent: -1em;
}

.pair .right{
  color: #111827;
}

.row.tall .pair li{
}
.row.tall .pair li:first-child{
  border-top: none;
}
.information_box a:hover {
	text-decoration: underline;
}
.information_box a {
    position: relative;
}
i.pdf {
    background-image: url(../img/icon_pdf.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 32px;
    height: 32px;
    position: absolute;
    margin-left: 4px;
}
.information_box a:hover i.pdf {
	opacity:.75;
	transition:.3s;
}
/* ====== responsive ====== */
@media (max-width: 768px){
section + section{
	margin-top: 45px;
	}
.head {
    padding: 10px 12px 10px 3px;
	}
.row {
    margin-bottom: 15px;
	}
.about .row {
    grid-template-columns: 1fr;
    gap: 0px;
    padding: 5px 0px 10px;
	}
i.pdf {
    width: 28px;
    height: 28px;
	}
.pair li {
    grid-template-columns: 1fr 100px;
	}
.pill {
    border-bottom: 1px solid var(--line2);
	}
}
@media (max-width: 640px){
  .row{ grid-template-columns: 1fr; }
  .head{ padding-bottom: 6px; }
  .cell{ padding-top: 6px; font-size: 14px;}

  .pill{ text-align: left; justify-content: flex-start; }
}




/* 事業所・アクセス */
:root{
  --line:#dfe6ec;
  --line2:#e9eef3;
  --bg:#ffffff;
  --alt:#f4f6f8;
  --text:#0f172a;
  --muted:#475569;
  --badge:#1f6fd7;
  --radius:16px;
}

.office-access{
  margin: 0 auto;
  color: var(--text);
}

.oa-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr 1.25fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "left mid right"
    "left map map";
  align-items: stretch;
  padding: 10px 0 25px;
  margin-bottom: 25px;
}

/* LEFT */
.oa-left {
    grid-area: auto;
    padding: 20px 16px 18px 25px;
    justify-content: start;
}

.oa-title,
.oa-branch{
  font-weight: 700;
  line-height: 1.4;
}

/* MID */
.oa-mid{
  grid-area: mid;
  padding: 18px 16px;
  line-height: 1.8;
}

.oa-text,
.oa-addr{ margin: 0 0 10px; }

.oa-addr{ font-weight: 600; }

.oa-tel strong{ font-weight: 800; }

.oa-dl{ margin: 0; }
.oa-dlrow{
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
}
.oa-dlrow + .oa-dlrow{ margin-top: 2px; }
.oa-dl dt{ font-weight: 700; }
.oa-dl dd{ margin: 0; }

/* RIGHT */
.oa-right{
  grid-area: right;
  padding: 14px 14px 0;
}

.oa-accessbox{
  background: var(--alt);
  border-radius: 6px;
  padding: 0 12px 12px;
  position: relative;
  top: 10px;
  margin-bottom: 25px;
}

.oa-badge{
  display: inline-block;
  background: var(--badge);
  color:#fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 6px 10px;
  border-radius: 3px;

  margin-bottom: 0;
  position: relative;
  top: -10px;
}

.oa-desc,
.oa-access-text{
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

.oa-access-text{ font-size: 90%; }

/* MAP（中＋右を横断） */
.oa-map{
  grid-area: map;
  padding: 0; /* デザインがベタ貼りなら 0 */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.oa-map img, 
.oa-map iframe {
    display: block;
    width: 98.5%;
    height: 260px;
    border: 0;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px){
  .oa-card{
    grid-template-columns: 190px 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "left mid"
      "left right"
      "left map";
  }
  .oa-mid{
    border-right: none;
    border-bottom: 1px solid var(--line2);
  }
}
@media (max-width: 768px){
.oa-card {
    margin-bottom: 15px;
    padding: 10px 0 12px;
	}
.oa-accessbox {
    margin-bottom: 5px;
	}
.oa-left {
	padding: 10px 16px 18px 15px;
	}
.oa-map {
    width: 96%;
	}
.oa-map img, .oa-map iframe {
    width: 100%;
	}
}
@media (max-width: 767px){
.about .row {
    padding: 0px 0px 0px;
	}
.oa-text, .oa-addr {
    margin: 0 0 5px;
    font-size: 14px;
	}
.oa-left {
    padding: 5px 16px 12px 15px;
	}
.oa-mid {
    padding: 10px 16px;
    line-height: 1.65;
	}
.oa-dlrow {
    grid-template-columns: 30px 1fr;
	}
.oa-dl {
    font-size: 14px;
	}
.oa-access-text {
    font-size: 13.5px;
	}
}
@media (max-width: 680px){
  .oa-card{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "left"
      "mid"
      "right"
      "map";
  }
  .oa-left{
    border-right: none;
    border-bottom: 1px solid var(--line2);
  }
  .oa-mid{
    border-right: none;
    border-bottom: 1px solid var(--line2);
  }
  .oa-right{
    padding: 12px;
  }
  .oa-accessbox{
    top: 0;
    border-radius: 8px;
    padding-top: 12px;
  }
  .oa-badge{
    top: 0;
    margin-bottom: 8px;
  }
  .oa-map img,
  .oa-map iframe{
    height: 200px;
  }
}
@media (max-width: 550px){
.oa-map {
    width: 93.5%;
	}
}
@media (min-width: 768.0px) and (max-width: 768.9px){
.oa-accessbox {
    margin-bottom: 25px;
	}
.oa-map {
    width: 94%;
	}
}

