@charset "utf-8";

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: -100px;
}

#business {
  scroll-margin-top: 100px;
}

.business-text {
  font-size: 50px;
  padding-top: 60px;
  padding-bottom: 10px;
  letter-spacing: 3px;
  font-weight: 900;
  text-align: center;
}

.business-box {
  width: 1200px;
  max-width: 90%;
  margin: 10px auto;
  position: relative;
}

.business-title {
  font-size: 40px;
  text-align: left;
  margin-left: 50px;
  font-weight: 300;
}

.business-title::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 60px;             /* 線の長さ */
  height: 1px;              /* 線の太さ */
  background-color: #000661;   /* 線の色 */
  margin-right: 20px;        /* 文字と線の間隔 */
}

.business-text2 {
  margin-top: 30px;
  font-size: 22px;
  text-align: center;
  line-height: 3.0;
  letter-spacing: 1.5px;
  padding-bottom: 20px;
  padding-top: 20px;
}

.top {
  height: 100vh;
  max-width: 1450px;
  display: flex;               /* flexboxを有効化 */
  flex-direction: column;      /* 縦に並べる */
  justify-content: center;     /* 縦方向中央寄せ */
  align-items: center;   
  margin-left: auto;  /* 左右中央寄せ */
  margin-right: auto; /* 左右中央寄せ */
}

.name {
  font-size: 20px;
  margin-top: 80px;
  align-self: flex-end;
}

.name::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 100px;             /* 線の長さ */
  height: 1px;              /* 線の太さ */
  background-color: #000661;   /* 線の色 */
  margin-right: 20px;        /* 文字と線の間隔 */
}

.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  gap: 0px;
  padding-top: 10px;
  padding-bottom: 30px;
  padding-left: 50px;
  padding-right: 50px;
}

.item {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.item img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(60%) blur(1px);
  transition: filter 0.3s ease;
  transition: all 0.2s ease;
  transform: scale(1);
}

.item img:hover {
  filter: brightness(100%) blur(0);
  opacity: 1;
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  pointer-events: none;
}

.overview {
  margin-top: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  letter-spacing: 0.5px;
  line-height: 1.8;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.attention {
  padding-bottom: 50px;
  line-height: 1.4;
  font-size: 13px;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ニュースリスト */
.news-section {
  margin-right: auto;
  margin-left: auto;
  width: 1200px;
  max-width: 90%;
  margin-top: 170px;
  padding-bottom: 60px;
}

.section-text {
  text-align: center;
  color: #000000;
  padding-bottom: 35px;
  margin-top: 30px;
}

.section-text h2 {
  font-size: 40px;
  text-align: left;
  margin-left: 50px;
  font-weight: 300;
}

.section-text h2::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 60px;             /* 線の長さ */
  height: 1px;              /* 線の太さ */
  background-color: #000661;   /* 線の色 */
  margin-right: 20px;        /* 文字と線の間隔 */
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 30px;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.news-date {
  width: 200px;
  color: #000000;
  font-size: 15px;
}

.news-title {
  text-decoration: none;
  transition: color 0.2s;
  flex: 1;
  font-size: 20px;
}

.news-title:hover {
  color: #043152;
  text-decoration: underline;
}

.news-more {
  text-align: right;
  margin-top: 50px;
}

.more-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #132f44;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.more-button:hover {
  background-color: #005fa3;
}

.partners-section {
  margin-top: 50px;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.partners-section h2 {
    font-size: 40px;
  font-weight: 300;
  margin-bottom: 2rem;
  color: #333;
    text-align: left;
  margin-left: 50px;
  
}

.partners-section h2::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 60px;             /* 線の長さ */
  height: 1px;              /* 線の太さ */
  background-color: #000661;   /* 線の色 */
  margin-right: 20px;        /* 文字と線の間隔 */
}

.partners-logos {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem; /* ロゴ間のスペース */
  flex-wrap: wrap; /* 小さい画面では折り返す */
}

.partner-logo {
  width: auto;
  max-width: 120px;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.partner-logo:hover {
  opacity: 1;
}

.company {
  background-color: #ececec;
  width: 100%;
  padding-bottom: 100px;
}

.c-box {
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 10px;
  width: 70%;
  color: rgb(5, 0, 0);
}

.company-text {
  font-size: 40px;
  padding-top: 70px;
  color: rgb(5, 0, 0);
  font-weight: 300;
  text-align: center;
}

.c-txtbox1 {
  display: flex;
  border-bottom: solid 1px #c1c4ca;
  width: 80%;
  margin: 0 auto;
  padding: 10px 0;
}

.ichiran-box1 {
  display: flex;
}

.c-txtbox2 {
  flex: 0 0 65%;
}

.c-txt2 {
  font-weight: bold;
  font-size: 20px;
  flex: 0 0 25%;
  margin-left: 30px;
  line-height: 1.5;
  font-family: "Montserrat", "Zen Old Mincho", sans-serif;
}

.c-txt3 {
  font-size: 20px;
  line-height: 1.5;
}

.feedback-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-image: linear-gradient(to right, #aad1e3, #817ce0);
  color: rgb(0, 0, 0);
  font-weight: 300;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  z-index: 60;
  display: inline-flex;   /* 横並びを確実にする */
  align-items: center;
  gap: 0.4rem;            /* アイコンと文字の隙間を少し小さめに */
  text-decoration: none;
  white-space: nowrap;    
  font-size: 20px;  
}

.feedback-button:hover {
  background-image: linear-gradient(to right, #5b9cbc, #5851a4);
  transform: scale(1.05);
}

.feedback-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px #a5b4fc;
}

.feedback-icon {
  width: 25px;   /* アイコンを少し小さく */
  height: 25px;
}



@media (max-width: 800px) {

  .header-logo {
    color: #000000;
  }

  .first-text {
    width: 100vw;
    /* 横幅を画面いっぱい */
    height: 50vh;
    /* 高さを画面いっぱい */
    object-fit: cover;
    /* 画像が縦横比を保ったままフィット */
    display: block;
    font-size: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .header.scrolled {
    background-color: #49b7d3;
    box-shadow: none;
    transition: none;
  }

  .business {
    margin-top: 10px;
  }

  .business-text {
    font-size: 20px;
  }

  .business-text2 {
    font-size: 15px;
  }

  br {
    display: none;
  }

  .business-box::before {
    display: none;
  }


  .item-list {
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
    gap: 0;
    width: 100%;
  }

  .item {
    max-width: 100%;
    width: 100%;
  }

  .item img {
    height: auto;
    max-width: none;
    transform: none !important;
    transition: none !important;
  }

 .overlay {
    font-size: 10px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-date {
    width: auto;
    margin-bottom: 4px;
    font-size: 12px;
  }

  .news-title {
    width: 100%;
    font-size: 15px;
  }

  .news-section {
    margin-top: 30px;
    width: 90%;
  }

  .section-text h2 {
    font-size: 25px;
  }

  .news-more {
    text-align: center;
    margin-top: 40px;
  }

  .more-button {
    font-size: 12px;
  }

  .company {
    margin-top: 30px;
    background-color: #ececec;
    width: 100%;
    padding-bottom: 15px;
  }

  .c-txtbox1 {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }

  .c-box {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .c-box p {
    font-size: 14px;
  }

  .company-text {
    font-size: 28px;
    padding-top: 40px;
  }

  .c-txt2 {
    margin-left: 0;
    font-size: 18px;
  }

  .c-txt3 {
    font-size: 16px;
  }

  .company-text {
    font-size: 25px;
  }

  .company-img {
    height: 0px;
  }

  .form {
    margin-top: 0px;
  }

  iframe {
    max-width: 100%;
    width: 640px;
    height: 400px;
    border: none;
  }

  .copyright {
    padding-top: 0px;
  }

}