@charset "UTF-8";

/* --- ここからヘッダー調整用CSS（HTMLに対応） --- */

body.header-fixed .navbar.fixed-top {
  top: 0;
}

.navbar.fixed-top {
  transition: top 0.3s ease;
  top: 70px;
  z-index: 1030;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.navbar-brand img {
  height: 40px;
  object-fit: contain;
}

.navbar .nav-link {
  color: #fff !important;
  font-size: 14px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar .nav-link.active {
  border-bottom: 2px solid #fff;
}

/* --- スマホ --- */
@media (max-width: 991px) {
  .navbar {
    background: transparent !important;
    box-shadow: none;
  }

  .navbar-toggler {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 8px;
  }

  .side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #212529;
    transition: left 0.3s ease;
    z-index: 1050;
    padding-top: 80px;
  }

  .side-menu.active {
    left: 0;
  }

  .overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* --- ここまでヘッダー関連 --- */

header img {
  height: 65px;
  object-fit: contain;
  display: block;
}

.fixed-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 100vh;
  background-color: #212529;
  border-right: 1px solid #444;
  z-index: 1030;
  padding-top: 20px;
}

.nav-link {
  color: #fff !important;
  font-size: 16px;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/*スマホ*/
@media (max-width: 991px) {
  .fixed-left {
    width: 100%;
    height: auto;
    position: relative;
  }

  .side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #212529;
    transition: left 0.3s ease;
    z-index: 1050;
    padding-top: 80px;
  }

  .side-menu.active {
    left: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1040;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar-toggler {
    position: absolute;
    top: 15px;
    left: 15px;
  }

  .navbar .nav-link.active {
    border-left: #fff 2px solid;
    border-bottom: none !important;
  }

  .side-menu .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    flex-wrap: nowrap !important;
    white-space: normal !important;
    align-items: center !important;
  }

  .navbar-brand {
    display: none !important;
  }

  .navbar {
    background: transparent !important;
    height: auto;
    padding: 10px 0;
    margin: 0;
    border: none;
    box-shadow: none;
  }

  .navbar-toggler {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 8px;
    display: block !important;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h22M4 15h22M4 23h22'/%3E%3C/g%3E%3C/svg%3E");
  }

  .navbar-brand {
    white-space: normal !important;
  }
}

.navbar .nav-link {
  font-size: 14px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar .nav-link.active {
  border-bottom: #fff 2px solid
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../font/static/NotoSansJP-Light.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

body {
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

h2.information {
  font-size: 35px;
  padding: 5px;
  text-align: center;
  letter-spacing: 10px;
  width: 100%;
}

.text-center {
  text-align: center;
}

.services {
  width: 100%;
  padding: 50px 20px;
  text-align: center;
  background: #ffffff;
}

.services-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

/* スマホ */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:nth-child(1) { order: 2; }
  .services-grid .service-card:nth-child(2) { order: 1; }
  .services-grid .service-card:nth-child(3) { order: 3; }
  .services-grid .service-card:nth-child(4) { order: 4; }
}

.service-card {
  display: block;
  background: #fff;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: left;
  transition: 0.2s;
  text-decoration: none;
  color: #000;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-area {
  text-align: center;
  margin-bottom: 15px;
}

.icon-area img {
  width: 50px;
  height: auto;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card ul {
  padding-left: 20px;
}

.member-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  text-align: center;
}

.member-box img {
  width: 150px;
  height: auto;
  margin-right: 20px;
  border-radius: 8px;
}

.member-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.member-name {
  margin-top: 10px;
}

.welfare {
  text-align: center;
  margin: 50px 0;
}

.welfare-boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.welfare-item {
  border: 1px solid #333;
  padding: 20px 40px;
  font-size: 18px;
  color: #333;
  background-color: #fff;
  border-radius: 10px;
  min-width: 250px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

table {
  text-align: left;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid #ccc;
}

table td {
  padding: 4px 20px;
  border-bottom: 1px solid #ccc;
}

.carousel-item {
  height: 32rem;
}

.carousel-item img {
  height: 32rem;
}

.carousel-caption {
  bottom: 3rem;
}

img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex !important;
    white-space: nowrap;
    flex-wrap: nowrap !important;
  }

  .navbar-toggler {
    display: none !important;
  }
}

.navbar-toggler {
  display: block;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.card {
  border: none !important;
  box-shadow: none !important;
}

.flow-container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding-left: 20px;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 70px;
    position: relative;
}

/* アイコン */
.step-circle {
    width: 90px;
    height: 90px;
    background-color: #575b70;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    position: relative;
}

/* 点線 */
.step-circle::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: 50%;
    width: 2px;
    height: 70px;
    border-left: 2px dotted #ccc;
}

.flow-step:last-child .step-circle::after {
    display: none;
}

/* 説明 */
.step-content {
    margin-left: 40px;
    width: calc(100% - 140px);
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.7;
}

/* スマホ */
@media (max-width: 600px) {
    .flow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content {
        margin: 20px 0 0 0;
        width: 100%;
    }

    .step-circle::after {
        display: none !important;
    }
}

.price-section {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
}

.title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* 横並び */
.price-wrap {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.price-box {
  width: 450px;
  padding: 15px;
  border-radius: 20px;
}

.price-header {
  font-size: 20px;
  font-weight: 700;
  padding: 10px;
  border: 1px solid #000000;
  color: #000000;
  border-radius: 30px;
  margin-bottom: 20px;
}

.price-value .yen {
  font-size: 70px;
  font-weight: 700;
  color: #0400ff;
}

.price-value .tax {
  font-size: 18px;
  vertical-align: middle;
  color: #000000;
}

.description {
  margin-top: 40px;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 768px) {

  .title {
    font-size: 26px;
  }

  .price-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .price-box {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
  }

  .price-header {
    font-size: 18px;
    padding: 8px;
  }

  .price-value .yen {
    font-size: 40px;
  }

  .description {
    font-size: 14px;
    padding: 0 10px;
  }
}
