@charset "UTF-8";

header .header_inner {
  position: relative;
}
header .header_inner h1 {
  width: 180px;
  position: absolute;
  top: 10px;
  left: 0;
  @media (max-width: 765px) {
    width: 214px;
  }
}

#team,
#recommend,
#media {
  scroll-margin-top: 100px;
  scroll-behavior: smooth;
}

#team{
  text-align: center;
}
#team .team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media screen and (max-width: 680px) {
  #team .team-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
#team .team-list img {
  width: 100%;
  height: auto;
}
#team .team-list li {
  text-align: center;
}
#team .team-list li sub {
  font-size: 12px;
  color: #878787;
}
#team .team-list li p {
  font-size: 16px;
}

#recommend{
  text-align: center;
}
#recommend p{
  margin-bottom: 20px;
}
#recommend .dassai{
  text-align: center;
}
#recommend .dassai img{
  width: 400px;
  height: auto;
  margin: 20px auto;
}
@media screen and (max-width: 680px) {
  #recommend .dassai img {
    width: 80%;
  }
}
#recommend .dassai-title{
  font-size: 18px;
  margin-bottom: 10px;
}
#recommend .dassai p{
  font-size: 16px;
  margin-bottom: 60px;
}
#recommend .recommend-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  text-align: left;
  margin: 40px auto;
}
@media screen and (max-width: 680px) {
  #recommend .recommend-list li {
    flex-direction: column;
  }
}
#recommend .recommend-list li .recommend-box{
  flex: 1;
}
#recommend .recommend-list li .recommend-box .recommend-sub{
  font-size: 12px;
  color: #878787;
}
#recommend .recommend-list li .recommend-box .recommend-title{
  font-size: 16px;
  margin-bottom: 10px;
}
#recommend .recommend-list li .recommend-box p{
  font-size: 14px;
  margin-bottom: 0;
}
#recommend .recommend-list li img{
  width: 150px;
  margin-right: 20px;
}
@media screen and (max-width: 680px) {
  #recommend .recommend-list li img {
    width: 100px;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

#media{
  text-align: center;
}
#media p{
  margin-top: 20px;
  margin-bottom: 40px;
}
#media .media-list a{
  display: flex;
  align-items: center;
  padding: 30px 20px;
  border-top: 1px solid #878787;
  box-sizing: border-box;
}
#media .media-list a:last-child{
  border-bottom: 1px solid #878787;
}
#media .media-list a time{
  font-size: 12px;
  color: #878787;
  margin-right: 20px;
}
#media .media-list a .media-category{
  font-size: 12px;
  color: #878787;
  margin-right: 20px;
}
#media .media-list a .media-name{
  font-size: 14px;
  margin-right: 20px;
}
#media .media-list a .media-title{
  font-size: 14px;
}

#media-list{
  text-align: center;
  margin-bottom: 80px;
}
#media-list p{
  margin-top: 20px;
  margin-bottom: 40px;
}
#media-list .media-list a{
  display: flex;
  align-items: center;
  padding: 30px 20px;
  border-top: 1px solid #878787;
  box-sizing: border-box;
}
#media-list .media-list a:last-child{
  border-bottom: 1px solid #878787;
}
#media-list .media-list a time{
  font-size: 12px;
  color: #878787;
  margin-right: 20px;
}
#media-list .media-list a .media-category{
  font-size: 12px;
  color: #878787;
  margin-right: 20px;
}
#media-list .media-list a .media-name{
  font-size: 14px;
  margin-right: 20px;
}
#media-list .media-list a .media-title{
  font-size: 14px;
}

.kiji{
  width: 80%;
  margin: 80px auto;
}
@media screen and (max-width: 680px) {
  .kiji{
    width: 90%;
  }
}
.kiji h1{
  font-size: 36px;
  text-align: left;
  margin: 40px 0;
}
@media screen and (max-width: 680px) {
  .kiji h1{
    font-size: 24px;
  }
}
.kiji p{
  font-size: 16px;
  margin: 20px 0;
}
@media screen and (max-width: 680px) {
  .kiji p{
    font-size: 14px;
  }
}
.kiji a{
  font-size: 16px;
  margin: 20px 0;
  color: #86714F;
  text-decoration: underline;
  word-break: break-all;
}
@media screen and (max-width: 680px) {
  .kiji a{
    font-size: 14px;
  }
}
.kiji .cat-data{
  background-color: #f3f3f3;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 12px;
  color: #878787;
}
.kiji .cat-data a {
  pointer-events: none;
  text-decoration: none;
}

/* 動画スライダー */
.videos-container {
  position: relative;
  width: 100%;
  margin: 40px 0;
}

.video-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.video-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}

.video-slide video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* スマホ時のスタイル */
@media screen and (max-width: 765px) {
  .videos-container {
    overflow: hidden;
    width: 100%;
    position: relative;
  }
  
  .video-slider {
    gap: 0;
    width: 300%;
    transform: translateX(0);
    display: flex;
  }
  
  .video-slide {
    flex: 0 0 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  
  .video-slide video {
    width: 75%;
    max-width: 300px;
    display: block;
  }
  
  /* 矢印ボタン */
  .video-prev-btn,
  .video-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
  }
  
  .video-prev-btn {
    left: 0;
  }
  
  .video-next-btn {
    right: 0;
  }
  
  .video-prev-btn:hover,
  .video-next-btn:hover {
    color: #333;
  }
  
  /* ドットナビゲーション */
  .video-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
  
  .video-dots {
    display: flex;
    gap: 8px;
  }
  
  .video-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .video-dot.active {
    background: #86714F;
  }
}

/* PC時はナビゲーションと矢印ボタンを非表示 */
@media screen and (min-width: 766px) {
  .video-navigation {
    display: none;
  }
  
  .video-prev-btn,
  .video-next-btn {
    display: none;
  }
}

