.container800{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.container{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.waku_main{
  width: 100%;
  max-width: 100%;
  background-color:var(--color-bg-light);
  margin:0 auto;
}

/* service.css */
.service-top-section {
  background: linear-gradient(rgba(188, 225, 222, 0.75), rgba(253, 255, 251, 0.75)), url('../img/bg_main2.jpg') no-repeat center/cover;
  padding-top: 200px;
  padding-bottom: 100px;
}

.service-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.service-box {
  background: rgba(255, 255, 255, 0.60);
  padding: 40px;
  text-align: center;
}

.service-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.service-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 100px;
  display: block;
}

.info-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.info-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap:20px;
}

.info-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.info-icons img {
  width: 100px;
  height: auto;
}

.info-text {
  width: 48%;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .info-flex {
    text-align: center;
  }
  .info-text {
  width: 100%;
}
}

/* Serviceセクション */
#service_section {
  background-color:var(--color-bg-mid);
  padding: 80px 20px;
  text-align: center;
  margin-bottom:100px;
}

.service_title_text{
    font-size:32px;
    font-weight: 550;
    margin-bottom:40px;
}

.service_title {
  margin-bottom: 50px;
}

.service_cards_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.service_card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 260px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  margin-top: 15px;
  font-size: 14px;
}

.service_card img.main {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.service_card .crown {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
}

.service_card h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-font-base);
  margin: 10px 0;
}

.view_more_btn {
  background: #fff;
  padding: 10px 30px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
  margin-bottom:80px;
}

.view_more_btn:hover {
  background: #f4f4f4;
}

/* 韓国でのインプラント治療セクション */
.implant-section {
  background-color: #e6f8f7;
  padding: 80px 20px;
  text-align: center;
  max-width: 1000px;
  margin:0 auto;
  margin-bottom:100px;
}

.implant-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-font-light);
  background-color: var(--color-bg-base);
  margin-bottom: 20px;
}

.implant-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.implant-subtitle {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-font-base);
  margin: 50px 0 20px;
  text-align: left;
}

.implant-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  width: calc(22% - 15px);
  background: #fff;
  border-radius: 10px;
  padding: 20px 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.feature-item img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.5;
}

.implant-process {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 40px;
  max-width: 600px;
}

.implant-process li {
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 1em;
  position: relative;
}

.implant-fee {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}

.implant-banner {
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  display: block;
}

.implant-clinics {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 14px;
}

.implant-photos {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.implant-photos img {
  width: 30%;
  max-width: 240px;
  border-radius: 8px;
  object-fit: cover;
}

.implant-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-bg-base);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.btn-link:hover {
  background-color: var(--color-bg-button-hover);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .feature-item {
    width: 100%;
  }

  .implant-photos img {
    width: 100%;
    max-width: 100%;
  }

  .implant-process,
  .implant-clinics,
  .implant-fee {
    padding: 0 10px;
  }
}

/* Flowページ上部セクション */
.flow-top-section {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/bg_main2.jpg') no-repeat center/cover;
  padding: 200px 20px 100px;
  text-align: center;
}

.flow-subtitle {
  font-size: 22px;
  font-weight: 500;
  margin: 20px 0 40px;
  color: var(--color-font-deep-base);
}

.flow-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.btn-link.large {
  background-color: var(--color-bg-base);
  color: #fff;
  font-size: 18px;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-link.large:hover {
  background-color: var(--color-bg-button-hover);
}

/* Flow セクション：インプラント治療の流れ */
.flow-section {
  background-color: #e6f8f7;
  padding: 80px 20px;
  text-align: center;
}

.flow-section .flow-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-font-deep-base);
}

.flow-steps {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 2px;
  background-color: var(--color-bg-base);
}

.flow-step {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
  align-items: flex-start;
}

.flow-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-base);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.flow-content {
  flex: 1;
}

.flow-content h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--color-font-base);
}

.flow-content .flow-subtitle {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-font-base);
  margin-bottom: 6px;
}

.flow-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.flow-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 60px;
  border-radius: 10px;
  display: block;
}

@media (max-width: 768px) {
  .flow-steps::before {
    left: 20px;
  }
  .flow-step {
    flex-direction: column;
    padding-left: 60px;
  }
  .flow-icon {
    position: absolute;
    left: 0;
    top: 0;
  }
}

.step-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.step-circle {
  background-color: var(--color-bg-base);
  color: white;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 22px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

.step-title {
  font-size: 22px;
  color: var(--color-font-base);
  text-align: left;
  font-weight: 600;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .step-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-content h3,
  .step-title,
  .step-desc {
    text-align: center;
  }
}

.flow-banner {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.flow-banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*形成外科治療の流れ*/
.flow-section2 {
  background-color: var(--color-bg-be);
  padding: 80px 20px;
  text-align: center;
}

.flow-section2 .flow-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-font-deep-base);
}

/* After-care ページ */
.message-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.message-subtitle {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-bg-gold);
  margin-bottom: 30px;
  text-align: left;
}

.message-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  text-align: left;
  margin-bottom:40px;
}

.message-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
}

.message-photo {
  flex-shrink: 0;
  max-width: 280px;
}

.message-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.career_box{
  text-align: left;
  font-size:14px;
}

.doctor-name {
  font-size: 18px;
  font-weight: 550;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .message-flex {
    flex-direction: column;
    align-items: center;
  }

  .message-text {
    text-align: left;
  }

  .message-photo {
    max-width: 100%;
    text-align: center;
  }
}


/*ご利用方法*/
.howto-section {
  background-color: #fefefe;
  padding: 80px 20px;
  text-align: center;
}

.howto-icon {
  margin-top:40px;
  margin-bottom: 40px;
  text-align: center;
}
.howto-icon img{
  height:40px;
}

.howto-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.howto-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.howto-card:hover {
  transform: translateY(-5px);
}

.howto-icon-box {
  font-size: 32px;
  color: var(--color-bg-base);
  background-color: #e6f8f7;
  padding: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.howto-content {
  text-align: left;
}

.howto-content h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
  color: var(--color-font-base);
}

.howto-sub {
  color:  var(--color-font-base);;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

.howto-content p {
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .howto-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .howto-content {
    text-align: center;
  }
}

/*QA*/
.ask-answer-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.ask-answer-section .sub_title {
  margin-bottom: 30px;
  font-size: 14px;
}

.qa-item {
  text-align: left;
  margin-bottom: 40px;
}

.qa-item .question {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-bg-gold);
  margin-bottom: 8px;
}

.qa-item .answer {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

@media (max-width: 768px) {
  .qa-item .question {
    font-size: 15px;
  }

  .qa-item .answer {
    font-size: 13px;
  }
}