/* ----------------------------------------------
共通
----------------------------------------------- */

:root{
  --textColor:#666;
  --primaryColor:#004B80;
  --accentColor:#FF9AB3;
  --secondAccentColor:#FFD5DF;

  --lineColor:#9EB1BF;
  --bgColor:#FFFDF9;

  --catNew:#FEBA4D;
  --catNews:#FF9AB3;
  --catRecruit:#5CC097;
  --catPattern:#79C0E3;
  --catImportant:#EE5E73;

  --primaryFont:"Zen Maru Gothic", serif;
}

/* - hero
----------------------------------------------- */

 .p-hero {
    display: flex;
    position: relative;
    height: 100vh;
    width: 100%;
  }
  
  .p-hero__textBox {
    flex: 1; /* 残りの幅を自動で調整してくれる */
    position: absolute;
    left: 7.63888888889%;
    top: 40%;

    z-index: 2;
  }
  
  
  .p-hero__copy {
    font-family: var(--primaryFont);
    color: var(--primaryColor);
    font-size: 2.3vw;
    font-weight: 500;

    margin-bottom: 10px;
   
  }
  
  .p-hero__copy-en {
    font-family: var(--primaryFont);
    font-size: 1.035vw;
    font-weight: 400;
  }
  
  .p-hero__mv {
    position: relative;
    flex-shrink: 0; /* 幅を優先してくれる */
    width: 53.8461538462%;
    height: 80.6451612903vh;
    max-width: 1200px;
    min-width: 550px;
    margin-top: auto;
    margin-left: auto;
    margin-right: 7.63888888889%;
  }
  
  .p-hero__mv img {
    width: 100%;
    height: 100%;
    border-radius: 1000px 1000px 0 0;
    object-fit: cover;
  
    position: absolute;
  }

  /* .p-hero__mv img:not(:first-child){
    display: none;
  } */

  .p-hero__illust{
    position: absolute;
    max-width: 400px;
    width: 27.7777777778%;
    height: auto;
    right: 57.083333%;
    bottom: -4.30107526882%;

    animation: hero_fadeIn 6s forwards;
    opacity: 0;
  }

  .p-hero__line{
    position: absolute;
    width: 100%;
    height: auto;

    top: 45%;
    transform: translateY(-50%);
    z-index: 10;

    animation: hero_fadeIn 3s forwards;
    opacity: 0;
  }

  .p-hero__line svg{
    width: 100%;
    display: block;
  }

    /* フェイドインアニメーション */
    @keyframes hero_fadeIn {
      0% {
      }
      100% {
          opacity: 1;
      }
    }

  
  @media screen and (max-width: 767px) {
    .p-hero {
      flex-direction: column;
      margin-bottom: 100px;
      height: 105vh;
      overflow: hidden;
    }
  
    .p-hero__textBox {
      left: 20px;
      top: 14.9775280899%;
    }

    .p-hero__copy {
      font-size: 5.26666666667vw;
      margin-bottom: 5px;
    }
  
    .p-hero__copy-en {
      font-size: 2.66666666667vw;
    }
  
    .p-hero__mv {
      position: relative;
      width: 104.651162791%;
      min-width: 450px;
      height: 55.0561797753vh;
      min-height: 490px;
      left: 20px;
      bottom: 15vw;
    }

    .p-hero__illust{
        position: absolute;
        width: 58.1395348837%;
        height: auto;
        right: 39.5348837209%;
        bottom: 0px;
      }

    .p-hero__line{
        position: absolute;
        width: 100%;
        height: auto;
    
        top: 40%;
        transform: translateY(-50%);
    }   
  }


/* - news お知らせ
----------------------------------------------- */

.p-topNews{
  margin-top: 120px;

  display: flex; 
  justify-content: space-between;
}

.p-topNewsHeading{
  margin-bottom: 40px;
}

.p-topNewsLeftBox{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  padding-top: 20px;
}

.p-topNewsRightBox{
  width: 67.6923076923%;
  max-width: 880px;
  padding: 60px 40px;
  background-color: #fff;
  border-radius: 50px;
}

.p-topNews__btn p{
  position: relative;
  color: var(--primaryColor);
  font-weight: 600;
  padding-bottom: 4px;
}

.p-topNews__btn a{
  font-family: var(--primaryFont);
  display: flex;
  align-items: center;
}

.p-topNews__btn p::before {
  background: var(--primaryColor);
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.p-news__list{
  display: flex;
  flex-direction: column;
}

.p-news__item-link{
  position: relative;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 40px 32px 40px 8px; 
  border-bottom: 1px dotted var(--lineColor);
}

.p-topNews .p-news__item-link{
   padding: 20px 32px 8px 8px;
  }

.p-news__item-link::before,
.p-news__item-link::after{
  content: "";
	position: absolute;
	margin: auto;
}

.p-news__item-link::before{
  right: 8px;
	width: 16px;
	height: 1.5px;
	background: var(--primaryColor);
}
.p-news__item-link::after{
  right: 8px;
	width: 8px;
	height: 8px;
	border-top: 1.5px solid var(--primaryColor);
	border-right: 1.5px solid var(--primaryColor);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.p-news__item-date{
  font-family: var(--primaryFont);
  font-weight: 600;
}

.p-news__item-category{
  color: #fff;
  font-family: var(--primaryFont);
  font-weight: 500;
  text-align: center;

  min-width: 110px;
  height: 34px;
  line-height: 34px;
  border-radius: 10px;
}

.p-news__item-category.-important{
  background-color: var(--catImportant);
}

.p-news__item-category.-news{
  background-color: var(--catNews);
}

.p-news__item-category.-new-release{
  background-color: var(--catNew);
}

.p-news__item-category.-recruit{
  background-color: var(--catRecruit);
}

.p-news__item-category.-pattern{
  background-color: var(--catPattern);
}


@media screen and (min-width: 768px) {

  .p-news__item-link:hover{
    opacity: 0.6;
    transition: ease 0.4s;
  }

  .p-news__btn:hover p::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
}

@media screen and (max-width: 767px) {
  .p-topNews{
    flex-direction: column;
    align-items: center;
  }

  .p-topNewsLeftBox{
   padding-top: 0px;
  }
  
  .p-topNewsRightBox{
    width: 100%;
    max-width: 100%;
    padding: 40px 20px;
  }

  .p-news__item-link{
    padding: 20px 32px 8px 8px;
  }

  .p-news__item-link::before{
    bottom: 16px;
  }

  .p-news__item-link::after{
    bottom: 13px;
  }  

  .p-news__item-category{
    min-width: 80px;
    height: 27px;
    line-height: 27px;
    font-size: 0.75rem;
  }


}


/* - about スキー毛糸
----------------------------------------------- */

.p-topAbout{
  position: relative;
  background-color: #fff;

  padding-top: 100px;
  padding-bottom: 80px;
  margin-top: 100px;

  text-align: center;
}

.p-topAboutHeading{
  margin-bottom: 40px;
}

.p-topAbout__copy{
  font-size: 2rem;
  font-family: var(--primaryFont);
  color: var(--primaryColor);
  font-weight: 600;

  margin-bottom: 20px;
}

.p-topAbout__text{
  line-height: 3rem;
}

.p-topAbout__illust{
  position: absolute;
  height: auto;
}

.p-topAbout__illust.-illust01{
  max-width: 340px;
  width: 11.8055555556%;
  right: 13.8888888889%;
  top: 11.5942028986%;
}

.p-topAbout__illust.-illust02{
  max-width: 230px;
  width: 8.33333333333%;
  height: auto;
  left: 4.86111111111%;
  top: 31.884057971%;
}

.p-topAbout__illust.-illust03{
  max-width: 350px;
  width: 11.8055555556%;
  right:4.86111111111%;
  bottom: -4.34782608696%;
}

@media screen and (max-width: 767px) {

  .p-topAbout{
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .p-topAboutTextBox{
    padding: 0 20px;
  }

  .p-topAbout__copy{
    font-size: 1.5rem;
  }
  
  .p-topAbout__text{
    text-align: justify;
    line-height: 2.5rem;
  }

  .p-topAbout__illust.-illust01{
    max-width: 160px;
    width: 18.6046511628%;
    right: 3.72093023256%;
    top: -3.33333333333%;
  }
  
  .p-topAbout__illust.-illust02{
    max-width: 110px;
    width: 12.7906976744%;
    height: auto;
    left: 3.72093023256%;
    top: 12.6666666667%;
  }
  
  .p-topAbout__illust.-illust03{
    max-width: 200px;
    width: 21.8604651163%;
    right:4.86111111111%;
    bottom: -5.33333333333%;
  }  
}


/* - history 沿革
----------------------------------------------- */

.p-topHistory{
  position: relative;
  margin-top: 100px;
}

.p-topHistoryHeading{
  margin-bottom: 40px;
}

.p-topHistory__flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;

  position: relative;
}

.p-topHistoryImgBox{
  position: relative;
  display: flex;
  justify-content: flex-start;

  width: 43.0769230769%;
}

.p-topHistory__img.-img01{
  max-width: 420px;
  width: 75%;
  height: 32.3076923077vw;
  z-index: 1;

  top: 0;
  left: 0;
}

.p-topHistory__img.-img02{
  max-width: 320px;
  width: 57.1428571429%;
  height: 24.6153846154vw;

  margin-top: 320px;
  margin-left: -60px;

  z-index: 2;
}

.p-topHistoryContentBox{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48.1203007519%;

  /* position: absolute;
  right: 20px; */
  z-index: 11;
}

.p-topHistory__img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.p-topHistory__list{
  position: relative;
  width: 100%;
}

.p-topHistory__list::after{
  border-bottom: 1.5px dotted var(--lineColor);
  content: "";
  position: absolute;
  bottom: -33px;
  left: -11.5px;
  transform: translateX(-50%);
  width: 40px;
  transform: rotate(90deg);
}

.p-topHistory__item{
  position: relative;
  padding-left: 32px;
  padding-bottom: 40px;
}

.p-topHistory__item:last-child{
  padding-bottom: 20px;
}

.p-topHistory__item::before{
  content: "";
  position: absolute;
  top: 10px;
  left: 7.5px;
  width: 1.5px;
  height: calc(100% + 40px);
  background-color: var(--lineColor); 
}

.p-topHistory__item:last-child::before{
  height:100%;
}

.p-topHistory__item::after{
  content: "";
	position: absolute;

  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accentColor);

  top: 7.5px;
  left: 0;
}

.p-topHistory__item-year{
  font-family: var(--primaryFont);
  color: var(--primaryColor);
  font-size: 1.5rem;

  margin-bottom: 12px;
}

.p-topHistory__item-text{
  line-height: 1.8em;
}

.p-topHistory__line{
  position: absolute;
  width: 100%;
  height: auto;

  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

@media screen and (max-width: 767px) {
  .p-topHistory__flex{
    flex-direction: column-reverse;
    gap: 80px;
  }

  .p-topHistoryContentBox {
    width: 100%;
    position: static;
  }

  .p-topHistory__item-year{
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .p-topHistoryImgBox{
    position: relative;
    width: 100%;
  }

  .p-topHistory__img.-img01{
    height: 350px;
  }
  .p-topHistory__img.-img02{
    height: 330px;
  }

  .p-topHistory__line{
    top: auto;
    bottom: 0;
    transform: unset;
  }

}

/* - company 会社概要
----------------------------------------------- */

.p-topCompany{
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 120px;
}

.p-topCompanyHeading{
  margin-bottom: 40px;
}

.p-topCompanyInnerBox{
  background-color: #fff;
  border-radius: 10px;
  padding: 80px 40px;
}

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

.p-topCompany__img{
  width: 43.4426229508%;
  max-width: 520px;
  height: 350px;
}

.p-topCompany__img img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.p-topCompanyTextBox{
  width: 53.2786885246%;
}

.p-topCompany__copy{
  font-family: var(--primaryFont);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6em;
  color: var(--primaryColor);

  margin-bottom: 40px;
}

.p-topCompany__text{
  line-height: 1.8em;
}

.p-topCompanyOverView__list{
  display: grid;
  column-gap: 40px;
  grid-template-columns: calc(50% - 20px) calc(50% - 20px);

  margin-top: 40px;
}

.p-topCompanyOverView__item{
  display: flex;
  gap: 16px;
}

.p-topCompanyOverView__item dt,
.p-topCompanyOverView__item dd{
  padding: 20px 8px;
  line-height: 1.8em;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-topCompanyOverView__item dt{
  font-family: var(--primaryFont);
  font-weight: 600;
  color: var(--primaryColor);

  width: 20.3389830508%;
  border-bottom: var(--primaryColor) 2px solid;
}

.p-topCompanyOverView__item dd{
  border-bottom: var(--lineColor) 1px dotted;
  width: calc( 100% - ( 20.3389830508% + 16px ) );
}

.p-topCompanyBusiness__list{
  margin-top: 60px;
}

.p-topCompanyBusiness__item{
  display: flex;
  gap: 40px;

  padding: 40px;
  border-bottom: var(--lineColor) 1px solid;
}

.p-topCompanyBusiness__item:first-child{
  border-top: var(--lineColor) 1px solid;
}

.p-topCompanyBusiness__heading{
  width:42%;
}


.p-topCompanyBusiness__heading-jp{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;

  font-size: clamp(1.25rem, 0.393rem + 1.79vw, 2rem);
  font-family: var(--primaryFont);
  color: var(--primaryColor);

  margin-bottom: 4px;
}

.p-topCompanyBusiness__heading-en{
  font-family: var(--primaryFont);
}

.p-topCompanyBusiness__text{
  line-height: 1.8em;

  width:58%;
}


@media screen and (max-width: 767px) {

  .p-topCompany{
    padding-inline: 0px;}

  .p-topCompanyInnerBox{
    padding: 40px;
  }

  .p-topCompany__flex{
    flex-direction: column;
  }

  .p-topCompany__img{
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .p-topCompanyTextBox{
    width: 100%;
  }

  .p-topCompany__copy{
    font-size: 1.25rem;  
    margin-bottom: 20px;
  }

  .p-topCompanyOverView__list{
    grid-template-columns: 100%;
  }

  .p-topCompanyBusiness__item{
    flex-direction: column;
    gap: 20px;

    padding: 40px 20px;
  }

  .p-topCompanyBusiness__heading{
    width:100%;
  }

  .p-topCompanyBusiness__heading-jp{
    font-size: clamp(1.25rem, 1.071rem + 0.89vw, 1.5rem);
    margin-bottom: 0px;
  }

  .p-topCompanyBusiness__text{  
    width:100%;
  }
  
}

/* - brand 運営ブランド
----------------------------------------------- */

.p-topBrand{
  position: relative;
  margin-top: 160px;
}

.p-topBrandHeading{
  margin-bottom: 40px;
}

.p-topBrand__flex{
  display: flex; 
  justify-content: space-between;
}

.p-topBrandRightBox{
  display: flex;
  width: 67.6923076923%;
}

.p-topBrand__list{
  display: flex;
  gap: 40px;

  width: 100%;
}

.p-topBrand__item{
  width: 50%;
}

.p-topBrand__img{
  width: 100%;
  height: clamp(21.875rem, 11.161rem + 22.32vw, 31.25rem);

  position: relative;
  border-radius: 10px;
}

.p-topBrand__img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.p-topBrand__img-overlay{
  position: absolute;
  background-color: rgba(255,154,179,0.3);
  width: 100%;
  height: 100%;
  border-radius: 10px;
  mix-blend-mode: multiply;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.p-topBrand__img p{
  position: absolute;
  bottom: 0;

  font-size: 1.25rem;
  font-family: var(--primaryFont);
  color: var(--primaryColor);
  font-weight: 600;

  padding: 16px 40px;
  background-color: #fff;
  border-radius: 0 10px 0 10px;
}

.p-topBrand__text{
  line-height: 1.8rem;
  margin-top: 20px;
}

.p-topBrand__line{
  position: absolute;
  width: 100%;
  height: auto;

  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}


@media screen and (max-width: 767px) {

  .p-topBrand__flex{
    flex-direction: column;
    align-items: center;
  }

  .p-topBrandRightBox{
    flex-direction: column;
    width: 100%;
  }
  
  .p-topBrand__list{
    display: flex;
    flex-direction: column;
  }
  
  .p-topBrand__item{
    width: 100%;
  }

  .p-topBrand__img{
  height: clamp(21.875rem, 10.689rem + 55.93vw, 37.5rem);
  }

  .p-topBrand__img p{
    font-size: 1.125rem;
    padding: 10px 20px;
  }

  .p-topBrand__line{
    top: clamp(-5rem, -1.421rem + -17.9vw, -10rem);
    transform: unset;
  }  
}

/* - 下層 policy
----------------------------------------------- */

.p-policyList{
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.p-policy__heading{
  font-family: var(--primaryFont);
  color: var(--primaryColor);
  font-size: 1.5rem;
  line-height: 1.5em;
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: dotted var(--primaryColor) 1px;
}

.p-policy__heading span{
  font-size: 1rem;
}

.p-policy__textBox + .p-policy__textBox{
  margin-top: 40px;
}

.p-policy__title{
  color: var(--primaryColor);
  padding-bottom: 8px;
  line-height: 1.5em;
}

.p-policy__text{
  line-height: 1.8em;
  font-weight: 400;
}

.p-policy__text ul li{
  text-indent: -1em;
  margin-left: 1em;
  margin-top: 8px;
}

.p-policy__text ul li::before {
  content:  "・";
}

.p-policy__text a{
  text-decoration: underline;
  color: var(--primaryColor)
}

@media screen and (max-width: 767px) {
  .p-policyList{
    gap: 40px;
  }
  
  .p-policy__heading{
    font-size: 1.25rem;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .p-policy__heading span{
    display: block;
  }
}


/* - 下層 news 
----------------------------------------------- */

.p-news{
  position: relative;

  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}

.p-newsContentBox{
  max-width: 920px;
  width: 70.7692307692%;
  min-height: 500px;
  float: left;
}

.p-newsBannerBox{
  width: 23.0769230769%;
  max-width: 300px;
  min-width: 200px;

  margin-top: 40px;
  float: right;
}

.p-newsBanner__list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* flotの要素の浮遊を解除 */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* カテゴリーリスト PC */
@media screen and (min-width: 768px) {

.p-newsCategoryBox{
  float: right;
  width: 23.0769230769%;
  max-width: 300px;
  min-width: 200px;
  
  background-color: #fff;
  border-radius: 40px;
  padding: 40px;
}
  
.p-newsCategory__heading{
  font-family: var(--primaryFont);
  color: var(--primaryColor);
  font-weight: 600;
  font-size: 1.25rem;
}

.p-newsCategory__list{
  display: flex;
  flex-direction: column;
  gap: 2rem;

  margin-top: 40px;
}

.p-newsCategory__item a{
  font-family: var(--primaryFont);
  color: var(--textColor);
  font-weight: 600;

  position: relative;
  padding-left: 1rem;
}

.p-newsCategory__item.-current a{
  pointer-events: none;
}

.p-newsCategory__item.-all.-current a{
  color: var(--primaryColor)
}

.p-newsCategory__item.-important.-current a{
  color: var(--catImportant);
}

.p-newsCategory__item.-news.-current a{
  color: var(--catNews);
}

.p-newsCategory__item.-new-release.-current a{
  color: var(--catNew);
}

.p-newsCategory__item.-recruit.-current a{
  color: var(--catRecruit);
}

.p-newsCategory__item.-pattern.-current a{
  color: var(--catPattern);
}


.p-newsCategory__item a::before{
  content: "";
  position: absolute;

  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;

  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.p-newsCategory__item.-all a::before{
  background-color: var(--primaryColor)
}

.p-newsCategory__item.-important a::before{
  background-color: var(--catImportant);
}

.p-newsCategory__item.-news a::before{
  background-color: var(--catNews);
}

.p-newsCategory__item.-new-release a::before{
  background-color: var(--catNew);
}

.p-newsCategory__item.-recruit a::before{
  background-color: var(--catRecruit);
}

.p-newsCategory__item.-pattern a::before{
  background-color: var(--catPattern);
}
}


@media screen and (min-width: 768px) {

  .p-newsCategory__item a:hover{
    transition: ease 0.4s;
  }

  .p-newsCategory__item.-all a:hover{
    color: var(--primaryColor);
  }

  .p-newsCategory__item.-important a:hover{
    color: var(--catImportant)
  }

  .p-newsCategory__item.-news a:hover{
    color:var(--catNews)
  }

  .p-newsCategory__item.-new-release a:hover{
    color: var(--catNew)
  }

  .p-newsCategory__item.-recruit a:hover{
    color: var(--catRecruit)
  }

  .p-newsCategory__item.-pattern a:hover{
    color: var(--catPattern)
  }

  .p-newsBanner__item a:hover{
    opacity: 0.6;
    transition: ease 0.4s;    
  }
}

@media screen and (max-width: 767px) {

  .p-news{
    position: relative;
    padding-inline: 0px;
  }
  
  .p-newsContentBox{
    float: none;
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding-inline: 20px;
  }
  
  .p-newsBannerBox{
    float: none;
    width: 100%;
    padding-inline: 20px;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* カテゴリーリスト SP */
  .p-newsCategoryBox{
    width: 100%;

    position: relative;
    padding: 20px 4.6511627907%;
    background-color: #fff;
    margin-bottom: 40px;
  }

  .p-newsCategory__heading{
    font-family: var(--primaryFont);
    color: var(--primaryColor);
    font-weight: 600;
    font-size: 1.25rem;

    position: absolute;
    top: -12px;
  }
  
  .p-newsCategory__list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .p-newsCategory__item{
    width: calc((100% - 20px)/3)
  }
  
  .p-newsCategory__item a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-family: var(--primaryFont);
    font-weight: 600;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
  }

  .p-newsCategory__item.-current a{
    pointer-events: none;
  }
  

  .p-newsCategory__item.-all a{
    color: var(--primaryColor);
    background-color:rgba(0,75,128,0.05);
    border: var(--primaryColor) 1px solid; 
  }

  .p-newsCategory__item.-important a{
    color: var(--catImportant);
    background-color:rgba(238,94,115,0.05);
    border: var(--catImportant) 1px solid; 
  }

  .p-newsCategory__item.-news a{
    color: var(--catNews);
    background-color:rgba(255,154,179,0.05);
    border:  var(--catNews) 1px solid; 
  }

  .p-newsCategory__item.-new-release a{
    color: var(--catNew);
    background-color:rgba(254,186,77,0.05);
    border: var(--catNew) 1px solid; 
  }

  .p-newsCategory__item.-recruit a{
    color: var(--catRecruit);
    background-color:rgba(92,192,151,0.05);
    border: var(--catRecruit) 1px solid; 
  }

  .p-newsCategory__item.-pattern a{
    color: var(--catPattern);
    background-color:rgba(121,192,227,0.05);
    border: var(--catPattern) 1px solid; ;
  }

  .p-newsCategory__item.-all.-current a{
    color:  #FFF;
    background-color:var(--primaryColor);
  }

  .p-newsCategory__item.-important.-current a{
    color: #FFF;
    background-color:var(--catImportant); 
  }

  .p-newsCategory__item.-news.-current a{
    color: #FFF;
    background-color:var(--catNews);
  }

  .p-newsCategory__item.-new-release.-current a{
    color: #FFF;
    background-color:var(--catNew);
  }

  .p-newsCategory__item.-recruit.-current a{
    color: #FFF;
    background-color: var(--catRecruit);
  }

  .p-newsCategory__item.-pattern.-current a{
    color: #FFF;
    background-color:var(--catPattern);
  }

}

/* ページネーション
----------------------------------------------- */

.nav-links{
  margin-top: 120px;
}

ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

ul.page-numbers li {
  text-align: center;
}

ul.page-numbers li > .page-numbers {
  font-weight: 600;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

ul.page-numbers li > .page-numbers.current {
  color: var(--accentColor);
}

ul.page-numbers li > .page-numbers .prev-arrow,
ul.page-numbers li > .page-numbers .next-arrow {
  position: relative;
}

ul.page-numbers li > .page-numbers .prev-arrow::before,
ul.page-numbers li > .page-numbers .next-arrow::before {
  content: "";
	position: absolute;
	margin: auto;

	width: 14px;
	height: 14px;
	border-top: 2px solid var(--accentColor);
	border-right: 2px solid var(--accentColor);

  top: 50%;
}

ul.page-numbers li > .page-numbers .prev-arrow::before{
	-webkit-transform: translateY(-50%) rotate(-135deg);
	transform:translateY(-50%) rotate(-135deg);
  right: 100px;
}

ul.page-numbers li > .page-numbers .next-arrow::before{
	-webkit-transform:translateY(-50%) rotate(45deg);
	transform: translateY(-50%)rotate(45deg);
  left: 100px;
}

@media screen and (min-width: 768px) {
  ul.page-numbers li a:hover{
      opacity: 0.6;
      transition: ease 0.4s;
  }
}

@media screen and (max-width: 767px) {
  .nav-links{
    margin-top: 40px;
  }

  ul.page-numbers li > .page-numbers.prev{
    margin-right: 0px;
  }
  
  ul.page-numbers li > .page-numbers.next{
    margin-left: 0px;
  }

  ul.page-numbers li > .page-numbers.prev::before,
  ul.page-numbers li > .page-numbers.next::before {
	width: 10px;
	height: 10px;
}
  
}

/* - 下層 news 詳細
----------------------------------------------- */

.p-newsSingleTitleBox{
  padding: 0px 8px 20px 8px;
  border-bottom: 1px dotted var(--lineColor);
  margin-bottom: 40px;
}

.p-newsSingle__date{
  display: inline-block;
  margin-right: 20px;
}

.p-newsSingle__category{
  display: inline-block;

  color: #fff;
  font-family: var(--primaryFont);
  font-weight: 500;
  text-align: center;

  min-width: 110px;
  height: 34px;
  line-height: 34px;
  border-radius: 10px;
}

.p-newsSingle__category.-important{
  background-color: var(--catImportant);
}

.p-newsSingle__category.-news{
  background-color: var(--catNews);
}

.p-newsSingle__category.-new-release{
  background-color: var(--catNew);
}

.p-newsSingle__category.-recruit{
  background-color: var(--catRecruit);
}

.p-newsSingle__category.-pattern{
  background-color: var(--catPattern);
}

.p-newsSingle__title{
  font-family: var(--primaryFont);
  font-size: 1.5rem;
  font-weight: 500;

  margin-top: 20px;
}

/* 記事内見出し */
.p-newsSingleTextBox h5{
  color: var(--primaryColor);
  font-family: var(--primaryColor);
  font-size: 1.25rem;
  line-height: 1.8rem;

  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* 段落 */
.p-newsSingleTextBox p{
  line-height: 1.8em;
  font-weight: 400;
}

.p-newsSingleTextBox a{
  color: var(--primaryColor);
  text-decoration: underline;
}

.p-newsSingleTextBox p + p,
.p-newsSingleTextBox img + p,
.p-newsSingleTextBox p + img{
  margin-top: 20px
}

.p-newsSingle__backBtn{
  display: flex;
  justify-content: center;
  margin-top: 120px;
}


.p-newsSingle__backBtn a{
  font-family: var(--primaryFont);
  color: var(--primaryColor);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: var(--primaryColor) 1px solid;
}


@media screen and (min-width: 768px) {
  .p-newsSingleTextBox p a:hover{
      opacity: 0.6;
      transition: ease 0.4s;
  }

  .p-newsSingle__backBtn a:hover{
    opacity: 0.6;
    transition: ease 0.4s;
  }
  
}

@media screen and (max-width: 767px) {

.p-newsSingle__date{
  font-size: 0.875rem;
}

.p-newsSingle__category{
  min-width: 80px;
  height: 27px;
  line-height: 27px;
  font-size: 0.75rem;
}

.p-newsSingle__title{
  font-size: 1rem;
  margin-top: 8px;
}

/* 記事内見出し */
.p-newsSingleTextBox h5{
  font-size: 1rem;
}

}
