@charset "UTF-8";
.hero{
position:relative;
height:180vh;
overflow:hidden;
display:flex;
justify-content:center;
align-items:center;
}

/* 背景 */
.hero-bg{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
}

/* 写真 */
.bg{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
animation:slide 18s infinite;
}

/* ズーム */
.bg{
animation:slide 18s infinite, zoom 18s infinite;
}

/* 写真タイミング */

.bg1{
animation-delay:0s;

}

.bg2{
animation-delay:6s;

}

.bg3{
animation-delay:12s;
}

/* フェード */

@keyframes slide{

0%{opacity:0;}

5%{opacity:1;}

33%{opacity:1;}

38%{opacity:0;}

50%{opacity:0;}

}

/* ズーム */

@keyframes zoom{

0%{transform:scale(1);}

100%{transform:scale(1.1);}

}

/* 黒グラデーション */

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
rgba(0,0,0,0.3),
rgba(0,0,0,0.3)
);
z-index:1;
}

/* 文字 */

.hero-content{
position:relative;
z-index:2;
text-align:center;
color:white;
max-width:900px;
padding:20px;
}

.hero-content h1{
font-size:70px;
letter-spacing:4px;
margin-bottom:30px;
margin-top:80px;

}

.hero-content p{
font-size:22px;
line-height:1.8;
margin-top:400px;

}




.content1 h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: black;
  font-size: 28px;  
  
  padding: 5px 0;
  text-align: center;
  display:flex; 
  justify-content:center; 
  align-items:center;
}
.content1 h2 img {
  width: 40px;
  height: 30px;
  object-fit: cover;
}

.content2 h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: black;
  font-size: 28px;  
  
  padding: 5px 0;
  display:flex; 
  justify-content:center; 
  align-items:center;
  
}
.content2 h2 img {
  width: 40px;
  height: 30px;
  object-fit: cover;
}

.content3 h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: black;
  font-size: 28px;  
  
  padding: 5px 0;
  text-align: center;
  display:flex; 
  justify-content:center; 
  align-items:center;
}
.content3 h2 img {
  width: 40px;
  height: 30px;
  object-fit: cover;
}

.content1 p,
.content2 p{
  text-align: center;
}

.space {
  height: 100px;
}
.part1,
.part2,
.part3,
.part4,
.part5,
.part6,
.part7,
.part8{
display: flex;
justify-content: center;
 margin-bottom: 20px;
align-items: flex-start; /* 上揃え */

background-color: #FFF8E7;
padding: 12px 25px;
border-radius: 6px;

width: 800px;
margin: 0 auto;

gap: 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);

transition: 0.3s;
}

.part1:hover,
.part2:hover,
.part3:hover,
.part4:hover,
.part5:hover,
.part6:hover,
.part7:hover,
.part8:hover{
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.part1 h3,
.part2 h3,
.part3 h3,
.part4 h3,
.part5 h3,
.part6 h3,
.part7 h3,
.part8 h3{
white-space: nowrap;
flex-shrink: 0;
margin: 0;
font-size: 20px;
font-weight: bold;
width: 130px;
}

.part1 p,
.part2 p,
.part3 p,
.part4 p,
.part5 p,
.part6 p,
.part7 p,
.part8 p{
margin: 0;
flex: 1;
font-size: 18px;
}

.part1,
.part2,
.part3,
.part4,
.part5,
.part6,
.part7,
.part8{
margin: 20px auto;
}

.content1 h2,
.content2 h2,
.content3 h2{
  color: rgb(237, 137, 15);
}
.part1 h3,
.part2 h3,
.part3 h3,
.part4 h3,
.part5 h3,
.part6 h3,
.part7 h3,
.part8 h3{
  color: rgb(237, 137, 15);
}

/*スマホ*/
@media (min-width:1px) and (max-width: 767px) {
   .hero{
height:100vh;   /* 画面の高さに合わせる */
}



.content1 h2,
.content2 h2,
.content3 h2{
  text-align: center;
  font-size: 20px;
}

    .content1 p,
.content2 p{
  text-align: center;
  font-size: 20px;
}
.content3 h3{
    font-size: 15px;
}
.content3 p{
    font-size: 15px;
}
.part1,
.part2,
.part3,
.part4,
.part5,
.part6,
.part7,
.part8{
width: 300px;
}
.hero-content h1{
    margin-top: 350px;
font-size:60px;
}
.hero-content p{
font-size:20px;
line-height:1.8;
margin-top:100px;
}
.bg1 {
    object-position:55% center;
}

.bg3 {
    object-position:58% center;
  }
}


/*タブレット*/
@media (min-width: 768px) and (max-width: 1350px) {
.part1,
.part2,
.part3,
.part4,
.part5,
.part6,
.part7,
.part8{
width: 650px;
}

}




/*header*/
.menu-toggle {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 50px;
  height: 30px;
  cursor: pointer;
  z-index: 300;
  font-weight: bold;
  font-size: 40px;
  z-index: 20000;
}
.menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background:rgba(0, 0, 0, 0.836);
  color: white;
  width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0);
  z-index: 20000;
  

}
.menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid #ddd;
  z-index: 20000;
}
.menu a:last-child {
  border-bottom: none;


}



/*header*/
.menu-toggle {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 50px;
  height: 30px;
  cursor: pointer;
  z-index: 300;
  font-weight: bold;
  font-size: 40px;
  z-index: 20000;
}
.menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background:rgba(0, 0, 0, 0.836);
  color: white;
  width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0);
  z-index: 20000;
  

}
.menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid #ddd;
  z-index: 20000;
}
.menu a:last-child {
  border-bottom: none;


}