@media (max-width: 768px) {
  body {
    font-size: var(--root-font-size);
  }

  /* :where(main) > section:not(.contact-inc):nth-child(even) {
    background: var(--bg-light) !important;
  }

  :where(main) > section:not(.contact-inc):nth-child(odd) {
    background: #fff !important;
  } */
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  width: 100%;
  background: #dedcdd;
  display: flex;
  justify-content: center;
}

.hero img {
  width: 100%;
  max-width: 1500px;
}

.hero__seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.lead {
  font-size: var(--m-text);
}
.lead__years {
  font-weight: inherit;
}
html[lang^="en"] .lead__years {
  margin: 0 0.25em;
}
@media (max-width: 768px) {
  .lead {font-size:2.2vw;}
}
@media (max-width: 576px) {
  .lead {font-size:2.8vw;}
}

.lead-ctr {
  color: var(--key-navy);
  text-align: center;
  font-weight: 700;
  padding: 0 0 20px;
}

/* ---------- service ---------- */
.service {}

.service__grid {
  max-width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 15px;
}

.service__item {
  background: var(--key-blue);
  color: #fff;
  padding: 15px 40px 15px 20px;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  position: relative;
  font-size:var(--s-text);
}
.service__item .nowrap { white-space: nowrap; }

.service__item:after {
  content: "";
  position: absolute;
  display: block;
  width: 19px;
  height: 15px;
  background: url(../images/common/top_btn_arrow.png) no-repeat;
  background-size: 19px 15px;
  top: calc(50% - 7.5px);
  right: 15px;
}

.service__item.outer-link:after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: url(../images/common/btn_outer_link_white.png) no-repeat;
  background-size: 20px 20px;
  top: calc(50% - 10px);
  right: 15px;
}

.service__item.type02 {
  background: var(--key-grn);
  color: #fff;
  padding: 15px 40px 15px 20px;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  font-size:var(--s-text);
}

@media (max-width: 1080px) {
  .service__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 30px 0 15px;
  }
}
@media (max-width: 768px) {

  :where(.service) .lead {
    font-weight: 500;
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: var(--space-y-lg) 0 0;
  }
  .service__item,.service__item.type02{
    padding: var(--space-y-ms) var(--space-x-ms);
    padding-right: var(--pr-icon);
    line-height: var(--line-height-button);
    border-radius: 4px;
  }
  .service__item:where(:has( > .service__item-text)){
    display: flex;
    align-items: center;
  }
  .service__item-text {
    width: 100%;
    text-align: inherit;
  }
  .service__item:after {
    content: "";
    aspect-ratio: 16 / 12;
    width: var(--icon-width);
    height: auto;
    background-size: contain;
    top: calc(50%);
    translate: 0 -50%;
    right: var(--icon-right);
  }
  .service__item.outer-link:after {
    content: "";
    aspect-ratio: 1;
    width: var(--icon-width);
    height: auto;
    background-size: contain;
    top: 50%;
    translate: 0 -50%;
    right: var(--icon-right);
  }

  .lead-ctr {
    font-size: var(--lead);
    padding: 0;
    margin-bottom: var(--space-y-large-element);
  }
}

/* ---------- models ---------- */

.models {
  /*padding: 60px 0;*/
}

.model__card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.model__card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.model__card-img-wrap {
  position: relative;
  overflow: hidden;
}

.model__card img {
  width: 100%;
  height: auto;
  display: block;
}

.model__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #000;
  padding: 0 6px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.3;
}

.model__card-name {
  background: #F6F8FA;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--m-text);
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 8px;
  box-sizing: border-box;
}

.swiper-wrap {
  position: relative;
  padding-bottom: 0px;
}

.swiper-wrap .swiper-pagination {
  position: relative;
  bottom: auto;
  left: auto;
  display: block;
  margin-top: 16px;
  text-align: center;
}

.swiper-area {
  position: relative;
}

.swiper-area .swiper-button-next,
.swiper-area .swiper-button-prev {
  width: 60px !important;
  height: 60px !important;
  background: #fff;
  border-radius: 30px;
  padding: 10px;
  border: solid 4px var(--key-blue);
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.swiper-area .swiper-button-prev:after {
  content: "";
  width: 14px;
  height: 20px;
  background: url(../images/common/swiper-arrow-left.png) no-repeat;
  background-size: 14px 20px;
}

.swiper-area .swiper-button-next:after {
  content: "";
  width: 14px;
  height: 20px;
  background: url(../images/common/swiper-arrow-right.png) no-repeat;
  background-size: 14px 20px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0 !important;
}

.swiper-area .swiper-button-prev {
  left: -30px !important;
}

.swiper-area .swiper-button-next {
  right: -30px !important;
}

@media (max-width: 768px) {

.talent-slider {
  /* pagerのpaddingの分、下の余白を--space-y-areaより小さい値にする */
  margin: var(--space-y-area) auto var(--space-y-element);
}
.model__card {
  border-radius: var(--border-radius-sm);
}
.model__card:has( .model__card-name) {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
}
.model__card:has( .model__card-name) a {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.model__card:has( .model__card-name) > *,
.model__card:has( .model__card-name) a > * {
  width: 100%;
}
.model__card-name {
  flex: 1;
  height: auto;
  min-height: 36px;
  white-space: normal;
  line-height: var(--line-height-label);
  font-size: var(--ss-text);
  padding: var(--space-y-sm) var(--card-xs-padding-x);
}
.model__card-overlay {
  height: auto;
  min-height: 40px;
  font-size: 9px;
  padding: var(--space-y-sm) var(--card-xs-padding-x);
}
.swiper-area .swiper-button-next,
.swiper-area .swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  border: solid 2px var(--key-blue);
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.swiper-area .swiper-button-prev {
  left: max(-20px, calc(var(--space-x-page) * -1)) !important;
}

.swiper-area .swiper-button-next {
  right: max(-20px, calc(var(--space-x-page) * -1)) !important;
}

.swiper-area .swiper-button-prev:after {
  content: "";
  width: 10px;
  height: 14px;
  background-size: 10px 14px;
}

.swiper-area .swiper-button-next:after {
  content: "";
  width: 10px;
  height: 14px;
  background-size: 10px 14px;
}
}

/* ---------- flow ---------- */
.casting_flow {
  margin: 50px 0;
}
.three_column.casting_flow{
  flex-wrap:wrap;
}

.casting_flow_item {
  border: solid 2px var(--key-blue);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.casting_flow_item h3 {
  background: var(--key-blue);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: var(--h3);
}

.casting_flow_item div {
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.casting_flow_item div h4 {
  color: #002972;
  font-size: var(--text);
  font-weight: 700;
}

.casting_flow_item div p {
  font-size: var(--s-text);
}

.casting_flow_item div img {
  width: 75%;
}

.sns_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 50px 0 30px;
}

.sns_list li {
  width: 64px;
}

.sns_list li img {
  width: auto;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .three_column .casting_flow_item{width:calc((100% - 40px * 2) / 3) }
}
@media (max-width: 768px) {
  .casting_flow {
    margin-block: var(--space-y-area);
    row-gap: var(--card-gap-y);
  }
  .three_column .casting_flow_item{
    flex-basis:calc((100% - 40px * 1) / 2);
    width:calc((100% - 40px * 1) / 2);
    justify-content: flex-start;
  }
  .casting_flow_item {
    border-radius: var(--border-radius-lg);
  }
  .casting_flow_item h3 {
    font-size: var(--h4);
    padding: var(--space-y-sm);
  }
  .casting_flow_item div {
    padding: var(--space-y-md);
    padding-left: 0;
    /* padding-top: var(--space-y-md); */
    gap: 0;
    display: grid;
    grid-template-columns: max(35%, 48px) 1fr;
    grid-template-rows: auto 1fr;
  }
  .casting_flow_item div h4 {
    grid-column-start: 2;
    grid-row-start: 1;
    align-self: flex-end;
    font-size: var(--m-font);
    line-height: var(--line-height-label);
    margin-bottom: var(--space-y-xs);
  }
  .casting_flow_item div img {
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 1;
    width: 100%;
    padding: 0;
  }
  .casting_flow_item div p {
    align-self: flex-start;
    grid-column-start: 2;
    margin-top: 0;
    font-size: inherit;
    line-height: var(--line-height-lead);
  }
  .casting_flow_item:nth-child(2) .casting_flow_item div img {

  }
  .casting_flow_item:nth-child(3) .casting_flow_item div img {
    
  }
  .sns_list {
    gap: var(--space-x-sm);
    margin: var(--space-y-area) auto;
  }
  .sns_list li {
    width: calc((100% - 20px * 5) / 6);
  }
}
@media (max-width: 576px) {
  .three_column .casting_flow_item{
    flex-basis:100%;
    width:100%
  }
}

/* ---------- other__news__list リンク ---------- */
.other__news__list dd a {
  text-decoration: none;
  color: #333;
}

.other__news__list dd a:hover {
  color: #999;
}

/* ---------- 業界ナビ：three_column内のnews__photo ---------- */
.three_column .news__photo {
  width: 100%;
  height: 200px;
}

.three_column .news__photo img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .useful-nav {
    margin: var(--space-y-area) auto;
  }
  .useful-nav .three_column {
    gap: var(--card-gap-y)
  }
  .useful-nav .three_column a {
    display: block;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
  }
  .useful-nav .three_column .news__photo {
    height: auto;
    max-height: 200px;
  }
  .useful-nav .three_column .news__photo img {
    display: block;
    height: auto;
    max-height: 200px;
  }
  .useful-nav .three_column a p {
    padding: 0 var(--space-y-ml) var(--space-y-lg);
  }
}

@media (max-width: 768px) {
  
}