@charset "UTF-8";

/* Nav CTA */
header .header_in nav .nav_cta {
  padding: 1.25rem 1.5rem;
}
header .header_in nav .nav_cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 0.5rem;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  text-decoration: none;
  line-height: 1.4;
}
header .header_in nav .nav_cta a:last-child {
  margin-bottom: 0;
}
header .header_in nav .nav_cta .btn_web {
  background: linear-gradient(to bottom, #2cd26d 0%, #0cb84c 100%);
}
header .header_in nav .nav_cta .btn_tel {
  background: linear-gradient(to bottom, #f39c12 0%, #d35400 100%);
}
header .header_in nav .nav_cta a .txt_l {
  font-size: 1.125rem;
  font-weight: bold;
}
header .header_in nav .nav_cta a .txt_s {
  font-size: 0.75rem;
}

/* Popular Contents */
.popular_contents_section {
  background-color: #eeeae5;
  padding: 1rem 0;
  width: 100%;
}

.popular_contents_inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
}

.popular_title p {
  font-size: 1rem;
  color: #7d7054;
  line-height: 1.4;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

.popular_list {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.popular_list li a {
  background-color: #fff;
  color: #7d7054;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  display: block;
  transition: opacity 0.3s;
  font-weight: bold;
}

.popular_list li a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .popular_contents_section {
    padding: 1.5rem 0;
  }
  .popular_contents_inner {
    flex-direction: column;
    row-gap: 1rem;
    column-gap: 0;
    width: 100%;
    overflow: hidden;
  }
  .popular_title {
    width: 100%;
    text-align: center;
  }
  .popular_title p {
    text-align: center;
  }
  .popular_title p br {
    display: none;
  }
  .popular_list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 5px;
  }
  .popular_list li {
    flex: 0 0 auto;
    text-align: center;
  }
  .popular_list li a {
    width: auto;
    white-space: nowrap;
  }
}

/* Common CTA Shortcode */
.common_cta_section {
  background-color: #fffcf0; /* 薄い黄色 */
  border-radius: 4px;
  padding: 2rem 2rem;
  text-align: center;
  margin: 24px auto; /* セクション間の余白調整 */
  max-width: 1100px; /* サイトのコンテナ幅に合わせる */
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.common_cta_content .cta_lead {
  color: #7d7054;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: bold;
}

.common_cta_content .cta_buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media screen and (min-width: 768px) {
  .common_cta_content .cta_buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .common_cta_content .cta_buttons a {
    flex: 1;
    width: auto;
  }
}

.common_cta_content .cta_buttons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  transition: opacity 0.3s;
  line-height: 1.2;
}

.common_cta_content .cta_buttons a:hover {
  opacity: 0.8;
}

.common_cta_content .cta_buttons .btn_web {
  background: linear-gradient(to bottom, #2cd26d 0%, #0cb84c 100%);
}

.common_cta_content .cta_buttons .btn_tel {
  background: linear-gradient(to bottom, #c35e0d 0%, #a34e0b 100%);
}

.common_cta_content .cta_buttons a .txt_l {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.common_cta_content .cta_buttons a .txt_s {
  font-size: 0.875rem;
}

.common_cta_content .cta_buttons a .txt_no {
  font-size: 1.75rem;
  font-weight: bold;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0.25rem 0;
}

@media screen and (max-width: 767px) {
  .common_cta_section {
    padding: 2rem 1rem;
    margin: 2rem auto;
    width: 90%;
  }
  .common_cta_content .cta_lead {
    font-size: 1rem;
  }
  .common_cta_content .cta_buttons a .txt_l {
    font-size: 1.25rem;
  }
  .common_cta_content .cta_buttons a .txt_no {
    font-size: 1.5rem;
  }
}

/* Features Slider Navigation */
.top04 .slider .features_slider .slider-button-prev,
.top04 .slider .features_slider .slider-button-next {
  display: block !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.top04 .slider .features_slider .slider-button-prev {
  left: -20px;
}

.top04 .slider .features_slider .slider-button-next {
  right: -20px;
}

.top04 .slider .features_slider .slider-button-prev::before,
.top04 .slider .features_slider .slider-button-next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #7d7054;
  border-right: 2px solid #7d7054;
  position: absolute;
  top: 50%;
  left: 50%;
}

.top04 .slider .features_slider .slider-button-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.top04 .slider .features_slider .slider-button-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

@media screen and (max-width: 767px) {
  .top04 .slider .features_slider .slider-button-prev {
    left: -10px;
  }
  .top04 .slider .features_slider .slider-button-next {
    right: 10px; /* スマホは少し内側に */
  }
}

/* Features Slider Dots */
.top04 .slider {
  margin-bottom: 3rem; /* ドット用の余白 */
}

.top04 .slider .features_slider .slick-dots {
  bottom: -40px;
  position: absolute;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  display: block !important;
}

.top04 .slider .features_slider .slick-dots li {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.top04 .slider .features_slider .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 10px;
  height: 10px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #ddd;
  border-radius: 50%;
}

.top04 .slider .features_slider .slick-dots li.slick-active button {
  background: #7d7054;
}

.top04 .slider .features_slider .slick-dots li button:before {
  display: none;
  content: none;
}

/* Popular Thumbnail Section */
.popular_thumbnail_section {
  padding: 3rem 0;
  background-color: #fff;
}

.popular_thumbnail_section .section_ttl {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
}

/* PC Layout */
.popular_thumbnail_list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.popular_thumbnail_list .item {
  width: calc(20% - 16px);
  max-width: 200px;
  text-align: center;
}

.popular_thumbnail_list .item a {
  display: block;
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s;
}

.popular_thumbnail_list .item a:hover {
  opacity: 0.7;
}

.popular_thumbnail_list .item .img {
  width: 100%;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.popular_thumbnail_list .item .img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.popular_thumbnail_list .item p {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* SP Layout (Slick) */
@media screen and (max-width: 767px) {
  .popular_thumbnail_list {
    display: block; /* Flex解除 */
  }
  .popular_thumbnail_list .item {
    width: auto;
    margin: 0 10px;
  }
  
  /* Slider Arrows for Popular Thumbnail */
  .popular_thumbnail_section .slider-button-prev,
  .popular_thumbnail_section .slider-button-next {
    display: block !important;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
  }

  .popular_thumbnail_section .slider-button-prev {
    left: 0;
  }

  .popular_thumbnail_section .slider-button-next {
    right: 0;
  }

  .popular_thumbnail_section .slider-button-prev::before,
  .popular_thumbnail_section .slider-button-next::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #7d7054;
    border-right: 2px solid #7d7054;
    position: absolute;
    top: 50%;
    left: 50%;
  }

  .popular_thumbnail_section .slider-button-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
  }

  .popular_thumbnail_section .slider-button-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
  }
}

/* Supervision (Director Profile) */
#supervision {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

#supervision .section_ttl {
  margin-bottom: 40px;
}

#supervision .txt {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: left;
}

#supervision .txt .txt_inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

#supervision .profile-container {
  border: unset;
  border-radius: unset;
  padding: 0;
  max-width: 100%;
}

#supervision .profile-container .profile-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  #supervision .profile-container .profile-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

#supervision .profile-container .profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #b5a889;
  box-shadow: 0 8px 25px rgba(155, 140, 108, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

#supervision .profile-container .profile-image:hover {
  transform: scale(1.05);
}

#supervision .profile-container .profile-info h3 {
  border: none;
  padding: 0;
  margin: 0 0 8px 0;
  font-size: 1.8em;
  line-height: 1.4;
  color: #7d7054;
  font-weight: bold;
}

@media (max-width: 768px) {
  #supervision .profile-container .profile-info h3 {
    font-size: 1.3em;
  }
}

#supervision .profile-container .profile-info p {
  margin-bottom: 1.2em;
  line-height: 1.7;
  color: #333333;
}

#supervision .profile-container .profile-info p:first-of-type {
  font-size: 1.1em;
  color: #7d7054;
  font-weight: 600;
}

#supervision .profile-container .profile-info h4 {
  font-size: 1.3em;
  margin: 0 0 15px 0;
  color: #7d7054;
  padding-bottom: 8px;
  border-bottom: 2px solid #b5a889;
  display: inline-block;
}

#supervision .profile-container .profile-info .career {
  list-style: none;
  padding: 0;
  font-size: 15px;
  display: grid;
  gap: 8px;
  text-align: left;
}

#supervision .profile-container .profile-info .career li {
  padding: 12px 15px;
  background: #f5f3f0;
  border-radius: 8px;
  border-left: 4px solid #b5a889;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  #supervision .profile-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 0;
  }
  #supervision .profile-container .profile-image {
    width: 150px;
    height: 150px;
    justify-self: center;
  }
}

/* Supervision Button */
.supervision_btn_wrap {
  text-align: center;
  margin-top: 40px;
}

.supervision_btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #9b8c6c, #7d7054);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(155, 140, 108, 0.3);
}

.supervision_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(155, 140, 108, 0.4);
  opacity: 0.9;
}
