@charset "utf-8";
.hero {
 position: relative;
  height: 240px;
  background: url("assets/main/sub_mainp1.png") 100% 100% / cover no-repeat;
	z-index: 0;
}
.office-overview, .office-greeting, .office-access {
  position: relative;
  padding-right: 38px;
  padding-left: 39px
}
.office-overview {
width:100%;
}
.office-overview h2, .office-greeting h2, .office-access h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 45px;
  margin: 0;
  color: #0065c8;
  font-size: 26px;
  white-space: nowrap;
	line-height: 1.4;
}
.office-overview h2::after, .office-greeting h2::after, .office-access h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #1577e5
}
.office-overview h2 {
  width: 535px
}
.office-wrapper{
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto 30px
}
.office-overview table {
/*  position: absolute;
  top: 48px;
  left: 39px;
  width: 533px;
  height: 475px;*/
  border-collapse: collapse;
  table-layout: fixed;
  color: #00329d;
	width:60%;
	margin-right: 20px
}

.office-overview th, .office-overview td {
  border: 1px solid #bddff6;
  vertical-align: middle
}
.office-overview th {
  width: 158px;
  padding: 5px;
  background: linear-gradient(90deg, #eaf5ff, #dceffe);
  text-align: center;
  font-weight: 800
}
.office-overview td {
  padding: 5px 24px;
  font-weight: 600;
  line-height: 1.55
}
.office-overview td a {
  color: #0063e0;
  font-size: 22px;
  font-weight: 800
}
.office-overview td strong {
  display: block;
  color: #0034af;
  font-size: 16px;
  font-weight: 800
}
.office-overview td small {
  display: block;
  font-size: 12px;
  font-weight: 600
}
.office-overview td ul {
  margin: 0;
  padding: 3px 0 5px 20px;
  list-style: disc;
}
.office-overview td li {
/*  font-size: 13px;
  line-height: 1.45*/
}
.office-wrapper-right{
	  width:38%;
}
.representative-photo {
/*  position: absolute;
  top: 5px;
  right: 36px;*/
  width:100%;
  height: 454px;
  object-fit: cover;
  border-radius: 3px;
}
.office-greeting {
/*  height: 295px*/
}
.office-greeting h2 {
  height: 38px
}
.greeting-copy {
  padding: 6px 12px 60px;
/*  color: #333;
  font-size: 12px;
  line-height: 1.72;
  letter-spacing: .03em;*/
  font-weight: 600
}
.greeting-copy p {
  margin: 0 0 4px;
/*  color: #333*/
}
.greeting-name {
  position: absolute;
  right: 200px;
  bottom: 18px;
  margin: 0px 0px 0px 0;
  color: #0033aa;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  text-align: right;
}
.signature {
  position: absolute;
  right: 36px;
  bottom: 0px;
  width: 150px;
  height: 64px;
  object-fit: contain;
}
.office-access {
  height: 173px
}
.office-access h2 {
  height: 35px
}
.access-grid {
  display: grid;
  grid-template-columns: 185px 187px 375px 168px;
  gap: 11px;
  height: 112px
}
.station-card {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 112px;
  padding: 0 11px;
  border-radius: 6px;
  background: linear-gradient(110deg, #f1f8ff, #eaf5fe)
}
.station-card img {
  width: 35px;
  height: 48px;
  object-fit: contain
}
.station-card p {
  margin: 0;
  color: #0034a8;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 800;
  white-space: nowrap
}
iframe {
  width: 100%;
  height: 112px;  
  aspect-ratio: 16 / 9; 
  border: 0;
}
.access-map, .access-building {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 4px
}

@media(max-width:1024px) {
.representative-photo {
  width:100%;
	height:auto;
  object-fit:cover;
  border-radius: 3px;
}
.access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  height: 112px;
}	

 .office-overview, .office-greeting, .office-access {
    height: auto;
    padding: 10px 20px
  }
  .office-overview h2 {
    width: 100%
  }
  .office-overview th {
    width: 30%
  }
  .office-overview td {
    padding: 7px
  }
  .office-greeting h2, .office-access h2 {
    height: 38px
  }
  .greeting-copy {
    padding: 5px 0 75px
  }
  .access-grid {
    height: auto;
    grid-template-columns: repeat(2, 1fr)
  }
iframe {
  width: 100%;
  height: 160px;  
  aspect-ratio: 16 / 9;
  border: 0;
}
	
.access-building {
    height: 160px
  }
.station-card p {
  margin: 0;
  color: #0034a8;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
  white-space: nowrap
}	
 .office-page .site-footer {
    height: auto;
    min-height: 163px;
    padding: 10px
  }
  .office-page .footer-upper {
    height: auto;
    flex-wrap: wrap;
    gap: 10px
  }
  .office-page .site-footer nav {
    flex-wrap: wrap
  }
}
@media(max-width:644px) {
	.office-wrapper{
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto 30px;
		flex-direction: column;
}
.office-overview table {
/*  position: absolute;
  top: 48px;
  left: 39px;
  width: 533px;
  height: 475px;*/
  border-collapse: collapse;
  table-layout: fixed;
  color: #00329d;
	width:100%;
	margin: 0 20px 20px 0;
}
.office-wrapper-right{
	  width:90%;
	margin: 0 auto;
}
.representative-photo {
  width:100%;
  height: 454px;
  object-fit: cover;
  border-radius: 3px;
}	
  .greeting-copy {
    padding: 5px 0 120px
  }
.greeting-name {
  position: absolute;
  right: 20px;
  bottom: 28px;
  margin: 0px 0px 0px 0;
  color: #0033aa;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  text-align: right;
	  height: 78px
}
.signature {
  position: absolute;
  right: 20px;
  bottom: 0px;
  width: 150px;
  height: 64px;
  object-fit: contain;
}
  .access-grid {
    grid-template-columns: 1fr
  }
  .station-card {
    height: 74px
  }
  .access-map, .access-building {
    /*height: 130px*/display:none;
  }
iframe {
  width: 100%;
  height: 260px;  
  aspect-ratio: 16 / 9;
  border: 0;
}
}