@charset "utf-8";
/*＝＝＝＝＝ COMMON ＝＝＝＝＝*/
:root{
  --text:#333;
  --base:#fff;
  --accent:#0e57a1;
  --accent2:#c41621;
}

.l_main{
  line-height: 2;
}

.l_wrapper{
  padding-top: 80px;
}

.content-title{
  margin: 80px 0;
  font-size: 30px;
  color: var(--accent);
  text-align: center;
  position: relative;
}



/*＝＝＝＝＝ ANIMATION ＝＝＝＝＝*/
.js-scroll.-fadein {
  opacity: 0;
  transform: translateY(5rem);
}
.js-scroll.-fadein.js-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}


/*＝＝＝＝＝ main visual ＝＝＝＝＝*/
.image_box{
  width: 100%;
}

.image_inner{
  position: relative;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
}

.breadCrumbs{
  position: absolute;
  text-align: left;
  top: 140px;
  left: 80px;
  z-index: 1;
  color: var(--base);
}

.breadCrumbs a{
  font-size: clamp(12px, 1vw, 20px);
  color: var(--base);
  text-decoration: none;
}

.breadCrumbs_Clicknone{
  pointer-events: none;
}

.text_box{
  position: absolute;
  text-align: left;
  top: 250px;
  left: 80px;
  z-index: 1;
  color: var(--base);
}

.head_title{
  font-size: clamp(20px, 3vw, 40px);
  font-family: "Noto Serif JP";
  font-weight: normal;
  margin-bottom: -8px;
}

.sub_title{
  font-size: clamp(16px, 2vw, 24px);
  font-family: "Noto Serif JP";
  margin-bottom: 8px;
}

.for_sp{
  display: none;
}



/*＝＝＝＝＝ menu ＝＝＝＝＝*/
.l_menu{
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.nav-links{
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link-text{
  font-size: 16px;
  color: var(--accent);
  position: relative;
}

span{
  margin: 0 16px;
}

.tab,
.sp{
  display: none;
  font-size: 16px;
  color: var(--accent);
  position: relative;
}

.nav-link-text:hover,
.tab:hover,
.sp:hover{
  text-decoration: none;
}

.nav-link-text::after,
.tab::after,
.sp::after{
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-bottom: solid 1px var(--accent);
  border-left: solid 1px var(--accent);
  transform: rotate(-45deg);
  position: absolute;
  left: 35%;
  top: 120%;
}

.nav-link-text:hover::after,
.tab:hover::after,
.sp:hover::after{
  top: 150%;
}



/*＝＝＝＝＝ TVCM ＝＝＝＝＝*/
.l_tvcm-wrapper{
  padding-top: 50px;
}

.tvcm-title{
  font-size: 45px;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--accent);
  position: relative;
  padding-left: 10vw;
}

.tvcm-title::before{
  content: "■";
  color: var(--accent2);
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 8vw;
}

.tvcm-title::after{
  content: "FJネクストホールディングスのTVCMについて説明します。";
  font-size: 12px;
  position: absolute;
  top: 40%;
  padding: 0 1.7em;
  text-align: left;
}

.content-tvcmtitle{
  margin: 50px 0;
  font-size: 30px;
  color: var(--accent);
  text-align: center;
  position: relative;
}

.concept::before{
  content: "CMコンセプト";
  font-size: 12px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #5a9ad0;
}

.tvcm_txt_inner{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 40px auto;
}

.tvcm_img{
  width: 50%;
}

.tvcm_txt{
  color: var(--text);
  font-weight: normal;
}



/*＝＝＝＝＝ TVCM Story ＝＝＝＝＝*/
.section_imgContainer{
  text-align: center;
}

.section_img{
  width: 80%;
}

.color_story{
  background-color: var(--accent);
  padding: 20px 0 80px;
}

.story{
  color: var(--base);
}

.story::before{
  content: "CMストーリー";
  font-size: 12px;
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
}

.story_wrapper{
  /* background-color: orange; */
  max-width: 1200px;
  margin: 0 auto;
}

.story_inner{
  max-width: 1000px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 40px;
  background-color: var(--base);
  margin-top: 80px;
  padding: 60px;
  position: relative;
  margin-left: auto;
  margin-right: 0;
}

.story_inner:nth-child(odd) {
  display: flex;
  align-items: center;
  gap: 40px;
  /* flex-direction: row-reverse; */
  flex-direction: column;
  margin-left: 0;
  margin-right: auto;
}

.story_box{
  display: flex;
  align-items: center;
  gap: 40px;
}

.story_imgBox {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story_img {
  position: absolute;
  top: -8.1vw;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.story_img.second {
  position: absolute;
  top: -7vw;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.img_detail{
  margin-top: calc(100% - 19vw + 14px);
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.story_detail {
  color: var(--text);
  font-weight: normal;
  margin-bottom: 0;
}

.story_caution{
  margin-top: 24px;
  font-size: 14px;
}

/*＝＝＝＝＝ TVCM Making ＝＝＝＝＝*/
.making::before{
  content: "メイキング";
  font-size: 12px;
  color: #5a9ad0;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.making_inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.making_title{
  margin-top: 16px;
  text-align: center;
}


/*＝＝＝＝＝ TVCM Cast ＝＝＝＝＝*/

.color_cast{
  background-color: var(--accent);
  padding: 20px 0;
  position: relative;
  z-index: 1;
  padding-bottom: 200px; /* 適度な余白（必要に応じて調整） */
}

.cast{
  color: var(--base);
}

.cast::before{
  content: "キャスト";
  font-size: 12px;
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
}

.profile{
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.profile_Machikoimg{
  height: 320px;
}

.profile_Erikaimg{
  height: 320px;
  object-fit: cover;
}

.name{
  color: var(--base);
  font-weight: bold;
  font-size: 18px;
}

.info{
  color: var(--base);
  font-weight: normal;
  margin-top: 24px;
}

.info-data{
  font-size: 18px;
  padding-right: 40px;
}

.ono{
  padding-right: 80px;
}



/*＝＝＝＝＝ ギャラリー ＝＝＝＝＝*/
.l_gallery{
  margin: 80px auto 0;
  text-align: center;
  background-color: var(--base);
  border-top-left-radius: 50% 6vw;
  border-top-right-radius: 50% 6vw;
  position: relative;
  z-index: 2;
  margin-top: -150px;
  padding-top: 80px;
}

.gallery-title{
  background-color: var(--accent);
  color: var(--base);
  display: inline-block;
  border-radius: 50px;
  padding: 8px 80px;
  margin: 0;
}

.gallery_inner{
  max-width: 1200px;
  margin: 80px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 80px;
  overflow: hidden;
}

.gallery_btn{
  padding: 16px 70px 16px 40px;
  margin-top: 40px;
  background-color: var(--base);
  border: 1px solid var(--accent);
  color: var(--accent);
  position: relative;
}

.gallery_btn::after{
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-bottom: solid 1px var(--accent);
  border-left: solid 1px var(--accent);
  transform: rotate(-45deg);
  position: absolute;
  left: 65%;
  top: 36%;
}

.gallery_btn:hover{
  cursor: pointer;
  color: var(--base);
  background-color: var(--accent);
}

.gallery_btn:hover::after{
  border-bottom: solid 1px var(--base);
  border-left: solid 1px var(--base);
}

#buttonContent {
  display: flex;
  gap: 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

#buttonContent.open {
  max-height: 3500px; /* 中の高さに合わせて適当に大きめに */
}



/*＝＝＝＝＝ TVCM提供一覧 ＝＝＝＝＝*/
#sponsor,
#vision,
#advertising{
  max-width: 1200px;
  margin: 0 auto;
}

.sponsor-title,
.vision-title,
.advertising-title{
  font-size: 30px;
  color: var(--accent);
  padding-bottom: 16px;
  position: relative;
}

.sponsor-title::after,
.vision-title::after,
.advertising-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 80%;
  border-bottom: 1px solid #ccc;
}

.sponsor-title::before,
.vision-title::before,
.advertising-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15%;
  border-bottom: 1px solid var(--accent);
}

.table {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}

.table-title{
  font-size: 24px;
  font-weight: bold;
}

.table_box{
  display: flex;
  justify-content: center;
}

.cm-left,
.cm-right{
  border: 1px solid #ccc;
}

.cm-left{
  border-right: none;
}

.cm-right{
  border-left: none;
}

.cm-left,
.cm-right {
  border-collapse: collapse;
  border: 1px solid #000;
  margin-right: -1px;
}


.cm-data{
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 8px 16px;
  white-space: nowrap;
}

.cm-item{
  border: 1px solid #ccc;
  padding: 8px 16px;
  white-space: nowrap;
}

.cm-data_asahi{
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 0.5px 16px;
  white-space: nowrap;
}

.cm-item_asahi{
  border: 1px solid #ccc;
  padding: 0.5px 16px;
  white-space: nowrap;
}

.caution_box{
  margin-top: 16px;
}

.caution{
  margin: 0;
  font-size: 14px;
}



/*＝＝＝＝＝ 街頭ビジョン、看板広告 ＝＝＝＝＝*/
.img_box{
  text-align: center;
}

#advertising{
  padding-bottom: 80px;
}

.vision_detail,
.advertising_detail{
  margin-top: 8px;
}



/*＝＝＝＝＝ サイズ調整 ＝＝＝＝＝*/
@media screen and (min-width: 1350px) {
  .text_box{
    left: 150px;
  }

  .breadCrumbs{
    left: 150px;
  }
}

@media screen and (min-width: 1489px) {
  .text_box,
  .breadCrumbs{
    left: 200px;
  }
}

@media screen and (min-width: 1555px) {
  .img_detail{
    margin-top: calc(100% - 18vw + 14px);
  }
}

@media screen and (min-width: 1590px) {
  .text_box,
  .breadCrumbs{
    left: 250px;
  }

  .img_detail{
    margin-top: calc(100% - 18vw + 14px);
  }
}

@media screen and (min-width: 1700px) {
  .text_box,
  .breadCrumbs{
    left: 300px;
  }

  .img_detail{
    margin-top: calc(100% - 17vw + 14px);
  }
}

@media screen and (min-width: 1800px) {
  .text_box,
  .breadCrumbs{
    left: 350px;
  }

  .img_detail{
    margin-top: calc(100% - 16vw + 14px);
  }
}

@media screen and (min-width: 1890px) {
  .text_box,
  .breadCrumbs{
    left: 400px;
  }
}

@media screen and (min-width: 1925px) {
  .story_img{
    top: -6vw;
  }

  .img_detail{
    margin-top: calc(100% - 14vw + 14px);
  }
}

@media screen and (min-width: 2000px) {
  .text_box,
  .breadCrumbs{
    left: 480px;
  }

  .img_detail{
    margin-top: calc(100% - 14vw + 14px);
  }
}

@media screen and (min-width: 2100px) {
  .img_detail{
    margin-top: calc(100% - 13vw + 14px);
  }
}

@media screen and (min-width: 2160px) {
  .text_box,
  .breadCrumbs{
    left: 540px;
  }
}

@media screen and (min-width: 2280px) {
  .text_box,
  .breadCrumbs{
    left: 600px;
  }

  .img_detail{
    margin-top: calc(100% - 12vw + 14px);
  }
}

@media screen and (min-width: 2400px) {
  .text_box,
  .breadCrumbs{
    left: 690px;
  }
}

@media screen and (max-width: 1200px) {
  .tvcm_txt_inner,
  .making_inner,
  .profile,
  #sponsor,
  #vision,
  #advertising{
    max-width: 95%;
  }
}

@media screen and (max-width: 960px) {
  /*＝＝＝＝＝ TVCM ＝＝＝＝＝*/
  .tvcm-title::before{
    font-size: 20px;
    top: 48%;
  }

  .tvcm-title::after{
    top: 37%;
  }
}

@media screen and (max-width: 892px) {
  /*＝＝＝＝＝ TVCM Story ＝＝＝＝＝*/
  .story_inner{
    align-items: flex-end;
  }
}

@media screen and (max-width: 880px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .breadCrumbs{
    left: 50px;
  }

  .text_box{
    top: 200px;
    left: 50px;
  }

  .staff_infoBox{
    max-width: 95%;
  }

  .staff_name{
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 810px) {
  .breadCrumbs{
    left: 54px;
  }
  /*＝＝＝＝＝ TVCM Cast ＝＝＝＝＝*/
  .profile {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .profile_Machikoimg {
    width: 50%;
    height: auto;
  }

  .info {
    margin-top: 12px;
  }

  .info-row {
    display: flex;
    justify-content: space-between;
  }

/*＝＝＝＝＝ TVCM提供一覧 ＝＝＝＝＝*/
    .table_box{
      flex-direction: column
    }

    .cm-left{
      border-bottom: none;
    }
    
    .cm-right{
      border-top: none;
    }

    .cm-left,
    .cm-right {
      border-collapse: collapse;
      border: 1px solid #000;
      margin-top: -1px;
    }
  
    .cm-data_asahi,
    .cm-data{
      width: calc(100% / 2);
    }

    .cm-data,
    .cm-item,
    .cm-data_asahi,
    .cm-item_asahi{
      white-space: inherit;
    }
}


@media screen and (max-width: 768px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .breadCrumbs{
    font-size: 10px;
    left: 70px;
  }

  .text_box{
    top: 200px;
    left: 70px;
  }

  .head_title{
    margin-bottom: 8px;
  }
  
  .sub_title{
    margin-bottom: 4px;
  }

  .for_sp{
    display: block;
  }

  .pageTitle_box{
    width: 159px;
  }
  
  .pageTitle_txt{
    font-size: 12px;
    margin-bottom: 0;
  }

  /*＝＝＝＝＝ TVCM ＝＝＝＝＝*/
  .tvcm_txt_inner {
    flex-wrap: wrap;
    text-align: left;
  }

  .tvcm_img {
    width: 100%;
  }

  .tvcm_txt {
    width: 100%;
    margin-top: 20px;
  }

  /*＝＝＝＝＝ TVCM Story ＝＝＝＝＝*/
  .story_inner {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .story_inner:nth-child(odd) {
    flex-direction: column;
  }

  .story_box{
    display: block;
  }

  .story_imgBox {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center; 
  }

  .story_img{
    position: relative;
    width: 100%;
    top: 0;
  }

  .story_img.second {
    position: relative;
    top: 0;
    width: 100%;
  }

  .img_detail{
    margin-top: 24px;
    white-space: inherit;
  }

  .story_detail {
    display: block;
    margin-top: 20px;
  }
}

@media screen and (max-width: 680px) {
  .breadCrumbs{
    top: 120px;
    left: 50px;
    font-size: 8px;
  }

  .text_box{
    top: 180px;
    left: 50px;
  }
}

@media screen and (max-width: 577px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .text_box{
    top: 150px;
    left: 50px;
  }
  /*＝＝＝＝＝ menu ＝＝＝＝＝*/
  .tab{
    display: block;
  }

  .nav-link-text{
    display: none;
  }
}

@media screen and (max-width: 540px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .text_box{
    top: 150px;
    left: 50px;
  }
}

@media screen and (max-width: 512px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .text_box{
    top: 140px;
    left: 50px;
  }
  /*＝＝＝＝＝ ギャラリー ＝＝＝＝＝*/
  .content_box {
    min-width: 390px;
    width: 100%;
    margin: 0 auto;
  }
  
  iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  
  .video-title {
    text-align: center;
    margin-top: 10px;
  }
}



@media screen and (max-width: 480px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .text_box{
    top: 150px;
    left: 50px;
  }
}


@media screen and (max-width: 428px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .breadCrumbs{
    left: 20px;
  }

  .text_box{
    top: 150px;
    left: 20px;
    line-height: 1.4;
  }

  /*＝＝＝＝＝ menu ＝＝＝＝＝*/
  .sp{
    display: block;
  }

  .nav-link-text,
  .tab{
    display: none;
  }

  span{
    margin: 0 8px;
  }

  /*＝＝＝＝＝ TVCM ＝＝＝＝＝*/
  .tvcm-title::before{
    top: 48%;
    padding-left: 5vw;
  }

  .tvcm-title::after{
    top: 25%;
  }

  /*＝＝＝＝＝ TVCM Making ＝＝＝＝＝*/
  .making_inner{
    max-width: 1200px;
    margin: 0 auto;
    display: block;
  }

  /*＝＝＝＝＝ TVCM Cast ＝＝＝＝＝*/
  .section_img{
    width: 100%;
  }

  .info-data{
    white-space: nowrap;
  }
}

@media screen and (max-width: 397px) {
  .breadCrumbs{
    left: 20px;
  }

  span{
    margin: 0 7px;
  }
}

@media screen and (max-width: 390px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .text_box{
    top: 150px;
    left: 20px;
  }
}

@media screen and (max-width: 386px) {
  /*＝＝＝＝＝ menu ＝＝＝＝＝*/
  span{
    margin: 0 6px;
  }
}

@media screen and (max-width: 376px) {
  /*＝＝＝＝＝ menu ＝＝＝＝＝*/
  span{
    margin: 0 5px;
  }
}

@media screen and (max-width: 375px) {
  /*＝＝＝＝＝ main visual ＝＝＝＝＝*/
  .text_box{
    top: 150px;
    left: 20px;
  }

  .pageTitle_box{
    width: 127px;
  }
  
  .pageTitle_txt{
    font-size: 12px;
  }
}

@media screen and (max-width: 366px) {
  /*＝＝＝＝＝ menu ＝＝＝＝＝*/
  span{
    margin: 0 4px;
  }
}