@charset "utf-8";

.concept-page-header {
  height: 300px;
  background-image: url(https://wandercycle.kyoto/images/concept/concept-kyototower.webp);
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.concept-page-header p {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-white);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 0 20px;
}

.concept-intro-block {
  max-width: 80%;
  margin: 60px auto;
  background-color: var(--color-white);
  padding: 30px;
  text-align: center;
  line-height: 1.8;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.services-container .service p {
  font-size: 13px;
}

/* サービスの3つ */
.services-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  padding: 25px 0 0;
  border-radius: 10px;
  max-width: 950px;
}

.service {
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.service img {
  width: 40px;
  height: 40px;
}

.service-title a:hover {
  text-decoration: underline;
}

.separator {
  width: 1px;
  height: 80px;
  background-color: lightgray;
}

.service-title {
  color: var(--color-main);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.service-icon {
  margin-right: 20px;
}

/* 横向きの区切り線 */
.separator-horizontal {
  width: 80%;
  /* 区切り線の幅 */
  height: 1px;
  /* 区切り線の高さ */
  background-color: lightgray;
  /* 区切り線の色 */
  margin: 10px auto;
  /* 上下の余白と中央揃え */
  display: none;
  /* デフォルトでは非表示 */
}


.feature {
  display: flex;
  justify-content: space-between;
  width: 800px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  align-items: anchor-center;
}

.feature img {
  width: 335px;
  border-radius: 10px;
}

.feature-text {
  max-width: 500px;
  margin-right: 40px;
  text-align: left;
}

.reverse {
  flex-direction: row-reverse;
}

.reverse .feature-text {
  margin-left: 40px;
  margin-right: 0;
}

.feature-text h3 {
  color: var(--color-main);
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 15px;
  line-height: 2;
  margin-top: 25px;
}

@media (max-width: 800px) {

  /* Page Header Section */
  .concept-page-header {
    height: 200px;
  }

  .concept-page-header p {
    font-size: 18px;
    padding: 0 15px;
  }

  /* Intro Block Section */
  .concept-intro-block {
    max-width: calc(100% - 40px);
    margin: 40px auto;
    padding: 0;
    line-height: 2;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
  }

  .concept-intro-block p {
    background-color: var(--color-white);
    margin: 0 auto 20px auto;
    border-radius: 8px;
    line-height: 2;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    width: auto;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .services-container .service {
    background-color: var(--color-white);
    padding: 20px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    flex: none;
  }

  .services-container .service:last-child {
    margin-bottom: 0;
  }

  /* Remove separators between services on mobile */
  .separator,
  .separator-horizontal {
    display: none;
  }

  .service {
    width: 100%;
    margin-bottom: 0;
  }

  .service-icon {
    margin-right: 10px;
  }

  .service-title a {
    text-decoration: underline;
  }

  /* Feature Sections (Mobile Layout) */
  .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 45px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .feature-text {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    order: 1;
  }

  .feature-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .feature-text h3::after {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-text p {
    font-size: 14px;
    line-height: 2;
    margin-top: 20px;
  }

  .feature img {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-top: 30px;
    order: 2;
  }

  .feature.reverse {
    flex-direction: column;
  }

  .feature.reverse .feature-text {
    margin-left: 0;
    margin-right: 0;
  }
}


/* Extra Small Screen Layout Styles (max-width: 479px) */
@media screen and (max-width: 479px) {

  /* Page Title Section */
  .title p {
    font-size: 12px;
  }

  /* Page Header Section */
  .concept-page-header {
    height: 150px;
  }

  .concept-page-header p {
    font-size: 16px;
  }

  /* Intro Block Section */
  .concept-intro-block {
    margin: 30px auto;
    padding: 15px;
  }

  .concept-intro-block p {
    padding: 15px;
    margin-bottom: 15px;
    font-size: 13px;
  }

  /* Feature Sections (Mobile Layout) */
  .feature {
    margin-top: 30px;
    padding: 0 10px;
  }

  .feature-text h3 {
    margin-bottom: 8px;
  }

  .feature-text p {
    font-size: 13px;
    line-height: 2;
    margin-top: 15px;
  }

  .feature img {
    margin-top: 20px;
  }

  /* Concept Button Area */
  .concept-button-area {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}