html {
	scroll-behavior: smooth;
}

body {
  font-family: "Droid Sans", "Noto Sans JP", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Meiryo UI", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  /* font-family: "Noto Serif JP", serif, "Droid Sans", "Noto Sans JP", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Meiryo UI", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; */
	line-height: 1.6;
	color: #333;
	background-color: #fff;
  font-size: 16px;
}

.font-noto-serif-jp {
  font-family: "Noto Serif JP", serif, "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Meiryo UI", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
}

img {
  display: block;
  width: 100%;
  height: auto;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

h1 {
  letter-spacing: 0.2rem;
  font-size: 1.5rem;
}

h2 {
  letter-spacing: 0.1rem;
  font-size: 1.3rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  letter-spacing: 0.05rem;
}

.display-none {
  display: none;
}

.word-break {
  word-break: auto-phrase;
}

header, main, footer {
	max-width: 1200px;
	margin: 0 auto;
}

header {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 2fr auto;
  grid-auto-rows: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  /* background-image: linear-gradient(
    0deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 5%,
    rgba(255, 255, 255, 0.8) 10%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 1) 100%
  ); */
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

header img {
  width: 250px;
  padding: 0 10px;
}

header ul.header-first-ul {
  white-space: nowrap;
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-auto-rows: inherit;
  grid-auto-rows: 1fr;
  gap: 40px;
  align-items: center;
  letter-spacing: 0.1rem;
  line-height: 80px;
  padding: 0 20px;
}

header ul > li.work-menu {
  position: relative;
  cursor: pointer;
}

/* header ul > li.work-menu:hover > ul.header-second-ul,
header ul > li.work-menu > ul.header-second-ul:hover {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  display: grid;
  grid-template-columns: repeat(1, auto);
  grid-auto-rows: 50px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1rem;
  width: auto;
}
 */
ul.header-second-ul {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  display: grid;
  grid-template-columns: repeat(1, auto);
  grid-auto-rows: 50px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1rem;
  width: auto;
}

ul.header-second-ul li {
  cursor: pointer;
  line-height: normal;
  padding: 10px 20px;
}

.navicon-menu-btn {
  display: none;
}

@media (max-width: 768px) {

  header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  header ul.header-first-ul {
    display: none;
  }

  header ul.header-first-ul.active {
    position: fixed;
    top: 0;
    display: grid;
    grid-template-columns: repeat(1, auto);
    background-color: rgba(255, 255, 255, 0.9);
    width: 100vw;
    height: 100vh;
    padding: 80px 20px 50px;
    text-align: center;
  }

  .navicon-menu-btn {
    z-index: 101;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0%, -50%);
    display: none;
    font-size: 1.5rem;
  }

  .navicon-open-btn.active {
    display: block;
  }

  .navicon-close-btn.active {
    display: block;
  }

}

main {
  margin-top: 80px;
}

section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
}

.back-blue {
  background-color: rgb(246, 248, 251, 0.5);
}

section:not(.hero) {
  padding: 20px 5%;
  margin: 0 auto;
}

.main-container {
  display: grid;
  gap: 20px;
}

@media (max-width: 768px) {

  section:not(.hero) {
    max-width: 700px;
    padding: 10px 5%;
  }

}

.top-hero {
  background-image: url('../images/hero_top.png');
  background-size: cover;
  aspect-ratio: 16 / 8;
  background-repeat: no-repeat;
  background-position: center;
}

.about-hero {
  /* background-image: url('../images/hero_about.png');
  background-size: cover;
  aspect-ratio: 16 / 8;
  background-repeat: no-repeat;
  background-position: center; */
  position: relative;
  width: 100%;
  max-height: 400px;
}

.section-header h1 {
  position: relative;
  text-align: center;
  color: #032653;
}

.section-header h1::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(3, 38, 83, 1);
  padding: 0.5px 20px;
}

.grid {
  overflow: auto;
  display: grid;
  gap: 20px;
}

.grid-2-column {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3-column {
  grid-template-columns: repeat(3, 1fr);
}

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

.grid-5-column {
  grid-template-columns: repeat(5, 1fr);
}

.grid-split-4-6 {
  grid-template-columns: 0.4fr 0.6fr;
}

.grid-split-6-4 {
  grid-template-columns: 0.6fr 0.4fr;
}

.justify-content-center {
  justify-content: center;
}

.item-header {
  font-size: 1.5rem;
  font-weight: bold;
}

.item-header-text-left {
  text-align: left;
  /* 下線追加 */
}

.item-header-text-center {
  text-align: center;
  /* 下線追加 */
}

.item-wrap {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
}

.item-wrap p {
  word-break: auto-phrase;
  align-self: start;
}

.sub-grid-3 {
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-width: 150px;
}

.sub-grid-4 {
  grid-template-rows: subgrid;
  grid-row: span 4;
}

.item-caption-1 {
  position: relative;
  color: #032653;
}

.item-caption-1::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -10px;
  left: 0;
  background-color: rgba(3, 38, 83, 1);
  padding: 0.5px 20px;
}

.item-caption-2 {
  /* white-space: nowrap; */
  color: #032653;
}

.item-strong-caption {
  color: #032653;
}

.item-strong-img {
  max-width: 50px;
}

.lean-more-btn-1 {
  display: inline-block;
  background-color: #032653;
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
  color: #fff;
  padding: 10px 20px;
  width: 100%;
  max-width: 200px;
}

.lean-more-btn-2 {
  display: inline-block;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #000;
  width: 100%;
  max-width: 200px;
}

.company-profile {
  overflow: auto;
  white-space: nowrap;
  max-width: 800px;
}

.company-profile table {
  border-top: 1px solid #ccc;
  width: 100%;
}

.company-profile table th,
.company-profile table td {
  border-bottom: 1px solid #ccc;
  padding: 10px 10px;
}

.company-profile table th {
  min-width: 150px;
}

.grid-center .center {
  justify-items: center;
}

@media screen and (max-width: 768px) {
.company-profile table th {
  min-width: unset;
}
}

.g-map-canvas iframe {
  width: 700px;
  height: 500px;
}

@media screen and (max-width: 900px) {
  .g-map-canvas iframe {
    width: 500px;
    height: 300px;
  }
}

@media screen and (max-width: 650px) {
  .g-map-canvas iframe {
    width: 300px;
    height: 250px;
  }
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.form-group label {
  font-size: 0.9rem;
  color: #032653;
}

.required-mark {
  color: #ff0000;
  margin-left: 5px;
}

.form-error-text {
  color: #ff0000;
  font-size: 0.8rem;
}

.form-group input, .form-group select, .form-group textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 10px;
}

.contact-form button {
  cursor: pointer;
  background-color: #032653;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
}


footer {
  margin-top: 50px;
}

.contact-banner {
  background-image: url('../images/footer_back.png');
  background-size: cover;
  aspect-ratio: 56 / 8;
  background-repeat: no-repeat;
  background-position: bottom;
  display: grid;
  gap: 10px;
  align-items: center;
  color: #032653;
  padding: 20px 0;
  text-align: center;
}

.contact-banner h2 {
  /* font-size: 1.2rem; */
  font-weight: bold;
  letter-spacing: 0.2rem;
}

.contact-sub-text {
  font-size: 0.8rem;
}

.contact-banner .contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(auto, 350px));
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {

  .contact-banner {
    padding: 20px;
  }

  .contact-banner .contact-actions {
    grid-template-columns: repeat(1, minmax(auto, 350px));
  }

}

.contact-banner .contact-btn {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 15px 0;
}

.contact-banner .contact-btn p:nth-child(1) {
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-banner .contact-btn p:nth-child(2) {
  font-size: 0.8rem;
}

.contact-banner .contact-icon {
  font-size: 2rem;
}

.copyright-banner {
  background-color: #032653;
  color: #fff;
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {

  .grid-2-column {
    grid-template-columns: 1fr;
  }

  .grid-3-column {
    grid-template-columns: 1fr;
  }

}