@charset "UTF-8";
body{
  background-color: #efefef;
  width:100%;
}
p,a{
  font-family: "M PLUS 1p", sans-serif;
}
.mt15p{
  margin-top: 15%;
}
main{
  width:80%;
  margin:5% auto 0;
}
header{
  width: 100vw;
  padding: 2%;
  background-color: #f0f053;
  
}
.header_lane{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
}
.header_lane p{
  margin:0 0 0 2%;
}
.logo{
  height: 50px;
}
.header_lane_inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header_lane_inner p:nth-child(2){
  margin:0 0 0 2%;
}

.header_lane_inner_child{
  width: 540px;
  text-align: right;
}
.header_lane_inner_child>a{
  margin-left: 2%;
  text-decoration: underline;
  /* padding: 1% 0; */
}
.header_lane_inner_child>a:hover{
  text-decoration: none;
}

.movie{
  margin-top:5%;
  text-align: center;
}
.post{
  margin-top:5%;
  text-align: center;
}
.post_content>iframe{
  margin: 0 auto !important;
}

.info{
  border: solid 1px #000;
  padding: 3%;
}

.corporate {
  max-width: 1420px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* 全体を中央配置 */
  flex-wrap: wrap; /* カードが増えたら折り返す */
  align-items: flex-start; /* 折り返し時の左揃えを確保 */
  gap: 20px; /* カード間の余白 */
}

.corporate_personal {
  width: calc(25% - 20px); /* 5列表示（gapを考慮） */
  max-width: 300px; /* カード幅の最大値を設定 */
  height: 410px; /* 高さを統一 */
  padding: 2%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 5%;
  background-color: #ffffff;
  /* border: 1px solid; */
}
.corporate_text p:nth-child(2){
  margin: 6% 0 6%;
}

.corporate_personal:nth-child(-n+5) {
  /* margin-top: 0; */
}

/* 各行の最初のカードの margin-left をなくす */
.corporate_personal:nth-child(5n+1) {
  /* margin-left: 0; */
}

.corporate_logoarea {
  width: 100%;
  height: 80%;
  /* background-color: #cccccc; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.corporate_logo {
  max-width: 200px;
  max-height: 150px;
  height: auto;
}
.sizeup{
  width:100px;
}
.sizeupL{
  width:150px;
}

.corporate_text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* ボタン */
.button11 {
  background-color: #000000;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1em;
  outline: 1px solid;
  outline-color: #000000;
  outline-offset: 0px;
  display: inline-block;
  transition: .3s;
}

.button11:hover {
  color: #fff;
  animation: light .8s infinite;
}

@keyframes light {
  100% { 
    outline-color: transparent;
    outline-offset: 10px;
  }
}
.button11:nth-child(n+1) {
  margin-top: 3%;
}


footer{
  text-align: center;
  margin-top:10%;
  background-color: #000000;
  padding:1% 0;
  color: #ffffff;
  font-size: 12px;
}


/* 画面が狭くなったときのレスポンシブ対応 */
@media (max-width: 1024px) {
  .corporate_personal {
    width: calc(50% - 20px); /* 2列表示 */
  }
}

@media (max-width: 1000px) {
  body{
    /* background-color: aqua; */
  }
  .logo{
    text-align: center;
  }
  .corporate_personal {
    width: 100%; /* 1列表示 */
  }
  header{
    padding:3%;
  }
  .header_lane{
    display: block;
  }
  .header_lane>a{
    display: flex;
    justify-content: center;
  }
  .header_lane p{
    margin:0;
    padding:2%;
    text-align: center;
  }
  .header_lane_inner{
    display: block;
  }
  .header_lane_inner_child{
    width: 100%;
    text-align: center;
  }
  .header_lane_inner_child>a{
    margin:0%;
    font-size: 0.8rem;
    /* padding:2%; */
  }
  .header_lane_inner_child>a:nth-child(n+1){
    margin-left:2%;
  }
  .sp_off{
    display: none;
  }
}

@media (max-width: 600px) {
  iframe{
     width:100% !important; /* 画面幅が600px以下の時、Youtubeの動画のサイズを強制的に画面の幅に応じて可変させる。 */
  }
}