
.mv {
  text-align: center;
  background-image: url("../images/festa2026/mv.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv .inner {
  background-color: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mv .mv_main_content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

.mv .mv_date {
  max-width: 194px;
  flex-shrink: 0;
  transform: translateY(-90px);
  margin: 0 10px 0 0;
}

.mv .inner h1 {
  max-width: 510px;
  margin: 0;
  flex-shrink: 0;
}

.mv .mv_main_content::after {
  content: '';
  display: block;
  width: 194px;
  margin-left: 10px;
}
.mv .mv_subtitle {
  margin: 0;
  max-width: 320px;
}

.mv .inner img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cta_area {
  background-color: #17A4A4;
  padding: 16px 20px 32px;
}

.cta_container {
  display: flex;
  justify-content: center;
  gap: 94px;
  max-width: 870px;
  margin-left: auto;
  margin-right: auto;
}

.cta_item {
  max-width: 390px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
/* 【追記】子要素の絶対配置の基準とする */
  position: relative;
}

.cta_catchphrase {
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.cta_catchphrase .slash {
  display: inline-block;
  width: 1px;
  height: 22px;
  background-color: #fff;
}
.cta_catchphrase .slash.left {
  transform: rotate(-45deg);
}
.cta_catchphrase .slash.right {
  transform: rotate(-135deg);
}

.btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  padding: 20px 15px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  border: 3px solid #fff;
}

.closed_overlay {
    /* 【重要】ボタンの上に重ねるための設定 */
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 角丸をボタンに合わせて指定 */
    border-radius: 10px; 
    /* 半透明のグレー */
    background-color: rgba(0, 0, 0, 0.5); 
    /* 最前面に表示 */
    z-index: 10; 
    /* カーソルを禁止マークに */
    cursor: not-allowed; 
    /* テキストを中央寄せにするためのFlexbox設定 */
    display: flex; 
    justify-content: center;
    align-items: center;
}

.overlay_text {
    color: #fff; /* テキストの色を白に */
    font-weight: bold; /* テキストを太字に */
    text-align: center;
    padding: 5px 10px; 
    font-size: 1.2em; /* 既存のキャッチフレーズよりやや小さく調整 */
}

.btn_company {
  background-color: #E94F4D;
}
.btn_company .btn_main_text {
  font-size: 18px;
  display: block;
  color: #fff;
  font-weight: bold;
}
.btn_company .sub_text {
  font-size: 14px;
  display: block;
  color: #fff;
}

.btn_comingsoon {
  background-color: #20488a;
}

.btn_comingsoon .btn_main_text {
  font-size: 18px;
  display: block;
  color: #fff;
  font-weight: bold;
}

.anchor_image_wrap {
  text-align: center;
  margin: 60px auto;
}

.anchor_image_link {
  display: inline-block;
}

.anchor_image_link img {
  width: 700px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 817px) {
.mv {
    background-image: url("../images/festa2026/mv-sp.png");
    height: 817px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 17px 0;
    box-sizing: border-box;
  }

  .mv .inner {
    align-items: flex-start;
    gap: 15px;
    position: static;
    width: 100%;
  }
  
  .mv .mv_main_content {
    flex-direction: column;
    align-items: flex-start;
    position: static; 
    width: auto;
  }

  .mv .mv_date {
    position: static; 
    transform: translateY(0);
    margin-right: 0;
    max-width: 158px;
  }

  .mv .inner h1 {
    max-width: 100%;
    width: 100%;
  }
  .mv .mv_subtitle {
    max-width: 250px;
    margin-inline:auto;
    width: 100%;
  }
  .cta_container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .btn {
    min-height: 84px; 
    box-sizing: border-box;
  }
  .cta_catchphrase {
  font-size: 18px;
}
	.btn_company .btn_main_text {
  font-size: 15px;
  display: block;
  color: #fff;
  font-weight: bold;
}
	.btn_comingsoon .btn_main_text {
  font-size: 15px;
  display: block;
  color: #fff;
  font-weight: bold;
}
}

.sec_01 {
  text-align: center;
  margin: 100px auto 80px;
  max-width: 810px;
  width: 95%;
}
.purpose_btn {
  max-width: 527px;
  margin-inline: auto;
}

.purpose_btn p {
  background-color: #F6BA1E;
  border-radius: 33px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 5px 20px;
  margin: 0; 
}

.main_text {
  margin-top: 40px;
  text-align: left; 
  max-width: 740px;
  margin-inline: auto;
}
.sec_01 > p {
    margin-top: 40px;
}

@media (max-width: 580px) {
  .sec_01 {
    margin: 40px auto;
  }
  .purpose_btn {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100%;
  }

  .purpose_btn p {
    font-size: 18px;
    padding: 5px 15px;
  }
}

.sec_02 {
  background-color: #FFFAEE;
  padding-top: 70px;
  padding-bottom: 70px;
}

.sec_02 .purpose_btn {
  margin-bottom: 60px;
}

.outline_container {
  max-width: 810px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: 95%;
}

.outline_list {
  text-align: left;
}

.outline_item {
  display: flex;
  align-items: flex-start;
}
.outline_item:not(:last-child) {
  margin-bottom: 20px;
}

.outline_item dt {
  background-color: #B7B7B7;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 2px 12px;
  border-radius: 33px;
  text-align: center;
  width: 140px;
  flex-shrink: 0;
  margin-right: 60px;
}

.outline_item dd {
  line-height: 1.8;
  padding-top: 2px;
}

.outline_item dd a {
  color: #337ab7;
  text-decoration: underline;
}

@media (max-width: 580px) {
  .sec_02 {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .sec_02 .purpose_btn {
    margin-bottom: 45px;
  }

  .outline_item {
    flex-direction: column;
    align-items: flex-start;
  }

  .outline_item dt {
    min-width: 100px;
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 14px;
  }
	
	.outline_item dd a {
  color: #337ab7;
  text-decoration: underline;
  font-size: 14px;
}
}

.sec_03 {
  padding-top: 70px;
  padding-bottom: 70px;
    background-color: rgba(23, 164, 164, 0.05); 
}
.jobfair_container {
  max-width: 810px;
  margin-left: auto;
  margin-right: auto;
  width: 95%;
  box-sizing: border-box;
}

.sec_03 .purpose_btn p {
    background-color: #919191;
}

.sec_03 .purpose_btn {
    margin-bottom: 60px;
}

.jobfair_content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 120px;
  color: #fff;
}

.jobfair_text {
  flex: 1;
  line-height: 1.8;
  text-align: left;
}

.jobfair_text .pdf_link {
    margin-top: 30px;
    text-align: center;
}

.pdf_link_main {
    font-size: 18px;
    font-weight: bold;
}

.jobfair_text .pdf_link a {
    text-decoration: underline;
    font-weight: bold;
}
.jobfair_text .pdf_link_sub {
  font-size: 12px;
}
.jobfair_image {
  flex-shrink: 0;
  width: 40%;
  max-width: 450px;
  text-align: center;
  font-size: 14px;
}

.jobfair_image img {
  width: 100%;
  height: auto;
  display: block;
  border: 4px solid #fff;
  margin-bottom: 10px;
}
.jobfair_image span {
  white-space: nowrap;
}

.anchor_target {
  background-color: #fff;
  padding-top: 70px;
  padding-bottom: 70px;
}

.anchor_target .purpose_btn p {
    background-color: #18A4A4;
}

.anchor_target .form_text {
  text-align: center;
  margin-top: 50px;
}

.anchor_target .form_text a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
  width: 300px;                 /* PC */
  padding: 10px 0;
  background-color: #18A4A4;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 9999px;         /* 角丸100% */
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* hover */
.anchor_target .form_text a:hover {
  background-color: #128F8F;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 164, 164, 0.35);
}

@media (max-width: 800px) {

    .sec_03 {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    /* .jobfair_container {
        padding: 40px 20px;
    } */
    
    .sec_03 .purpose_btn {
        margin-bottom: 40px;
    }
    .sec_03 .purpose_btn p {
    white-space: nowrap; 
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

    .jobfair_content {
        flex-direction: column;
        gap: 40px;
    }

    .jobfair_image {
        width: 100%;
        margin-top: 0;
        padding-left: 40px;
        padding-right: 40px;
        box-sizing: border-box;
    }
    .jobfair_image span {
  white-space: wrap;
}
}

.festa_flyer {
  text-align: center;
  margin: 0 auto 50px;
}
.festa_flyer img {
  margin-bottom: 15px;
  max-width: 560px;
}

@media (max-width: 800px) {
    .festa_flyer {
        width: 100%;
        margin-top: 0;
        margin-bottom: 40px;
        padding-left: 40px;
        padding-right: 40px;
        box-sizing: border-box;
    }
    .festa_flyer img {
  max-width: 100%;
}
}

@media (max-width: 580px) {
    .anchor_image_link img {
    width: 90%;
  }
	
	.anchor_target {
    padding-top: 55px;
    padding-bottom: 55px;
  }
	
	.anchor_target .purpose_btn p {
	font-size: 18px;
}
	
	.anchor_target .form_text a {
    width: 70%;
    font-size: 16px;
    padding: 10px 0;
  }
	
}