@charset "UTF-8";

/* ===================================
	File Name   : top.css
	Description : Top Page Layout CSS
	Editor      : Bface Saeki
	Last Editor : Bface Saeki
	
	Update Description :
	[2025/01/06] "new"ラベル追加／修正（newカラー変更）
	[2024/12/19] "top_background"削除（他、調整）
	[2024/09/09] 新規作成

====================================== */

/*========== Style Contents ==========

	1. Individual Redefinition
	2. Section [top] Setting
		- エントリー
		- エントリー終了
		- 受賞企業決定
	3. Section [information] Setting
	4. Section [top_about] Setting

	
====================================== */


/*===== ■1. Individual Redefinition =====*/
section,
.box_wrapper { max-width: 118.5rem;}


.cs{
  margin-top: 4rem;
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  color: #666;
  line-height: 2
}

.cs span{
  display: block;
  font-size: 1.4rem;
}



/*===== ■2. Section [hero] Setting =====*/
/* エントリー */
.hero_entry {
  display: flex;
	align-items: center;
	justify-content: center;
  max-width: none;
	min-height: 68rem;
  margin: 0;
  padding: 0;
	background: url("../img/top/bg-entry.jpg") no-repeat center / cover;

		h2 {
			margin-bottom: 3.5rem;
			font-size: 4.8rem;
      font-family: "Zen Old Mincho", system-ui;
      line-height: 1;
			span {
				display: block;
				background: linear-gradient(180deg, #d2bc4c 20%, #f1e7b5 48%, #d2bc4c 90%);
				-webkit-background-clip: text;
				-webkit-text-fill-color: transparent;
				&:not(:last-child) { margin-bottom: 1.5rem;}
				sup {
					font-size: 2.8rem;
					vertical-align: super;
				}
			}
		}
		h3 {
			display: inline-block;
			margin-bottom: 3.5rem;
			padding: 1rem 4rem 1.5rem;
			border: 2px solid var(--accentC);
			background: var(--mainC);
			font-weight: 500;
			font-size: 4.6rem;
      font-family: "Zen Old Mincho", system-ui;
			line-height: 1.2;
			span {
				background: linear-gradient(180deg, #d2bc4c 20%, #f1e7b5 48%, #d2bc4c 90%);
				-webkit-background-clip: text;
				-webkit-text-fill-color: transparent;
			}
		}
		dl {
			display: grid;
			align-items: center;
			grid-row-gap: 1rem;
			grid-column-gap: 2rem;
      line-height: 1.2;
		}
    dt {
			grid-column: 1 / 2;
      padding: .25rem .5rem;
			background: var(--baseC);
			color: var(--mainC);
      font-size: 1.9rem;
    }
    dd {
			grid-column: 2 / 3;
      font-weight: 900;
      font-size: 2.4rem;
      font-family: "Zen Old Mincho", system-ui;
    }
	}
}

@media (max-width: 768px){
	.hero_entry {
		min-height: auto;
		padding: 2rem;	
	}
}


/* エントリー終了  */
#hero {
  display: flex;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 0;
  .hero_cont {
    order: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--LGC) url("../img/top/bg-hero.png") no-repeat right bottom / 46.6%;
    h2 {
      position: relative;
      margin-bottom: 6rem;
      padding-left: 3rem;
      font-weight: 600;
      font-size: clamp(3.2rem,4.16vw,4.8rem);
      line-height: 1.4;
      font-family: "Zen Old Mincho", system-ui;
      &::before {
        position: absolute;
        left: 0;
        width: .8rem;
        height: calc(100% - 1rem);
        background: var(--accentC);
        transform: translateY(.5rem);
        content: "";
      }
      sup {
        font-size: 2.8rem;
      }
    }
    dt {
      display: inline-block;
      margin-bottom: .5rem;
      padding: .25rem .5rem;
      border: 1px solid currentColor;
      font-weight: 500;
      font-size: 2rem;
      line-height: 1;
    }
    dd {
      display: flex;
      align-items: center;
      margin-bottom: 2rem;
      font-weight: 900;
      font-size: clamp(2rem,2.6vw,3rem);
      font-family: "Zen Old Mincho", system-ui;
      sup { font-size: clamp(1.4rem,1.82vw,1.8rem);}
      span { font-size: clamp(1.8rem,2.34vw,2.6rem);}
    }
  }
  > figure {
    order: 1;
    flex: 1;
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      max-width: none;
      max-height: 68rem;
    }
  }
}

@media (max-width: 768px){
  #hero {
    display: flex;
    flex-direction: column;
    .hero_cont {
      order: 1;
      display: block;
      padding: 4rem 2rem 2rem;
      h2 {
        margin-bottom: 3rem;
        font-size: 2.8rem;
        sup {
          font-size: 1.8rem;
        }
      }
      dt {
        margin-bottom: 1rem;
        padding: .5rem 1rem;
        font-size: 1.8rem;
      }
      dd {
        margin-bottom: 2rem;
        font-weight: 900;
        font-size: 1.8rem;
        sup { font-size: 1.4rem;}
        span { font-size: 1.6rem;}
      }
    }
    > figure {
      order: 1;
      flex: 1;
      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: 68rem;
      }
    }
  }
}


/* 受賞企業決定  */
.hero_award {
  max-width: none;
  margin: 0;
  padding: 3rem;
	background: url("../img/top/bg-award.jpg") no-repeat center / cover;
	position: relative;
}
.hero_award::after{
  position: absolute;
  content: "";
  background: url("../img/top/img-trophy.png") no-repeat bottom / contain;
  min-height: 55rem;
  width: 25%;
  bottom: 0%;
  left: 50%
}
.hero_award .hero_cont{
  max-width: 107rem;
  margin: 0 auto;
}
.hero_award figure{
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
}

@media (max-width: 768px){
  .hero_award {
		padding: 3rem 2rem 24rem;
    
  }
  .hero_award::after{
    width: 27%;
    left: 50%;
    transform: translateX(-50%);
  }
	.hero_award figure{
    width: 70%;
    margin: 0 auto;
    padding: 0;
  }
	
}


/*===== ■3. Section [information] Setting =====*/
#information {
	margin-top: 6rem;
  ul {
    margin-bottom: 4rem;
    padding-top: 1px;
    border-top: 1px solid var(--GC);
    li {
      margin-bottom: 1px;
      padding-bottom: 1px;
      border-bottom: 1px solid var(--GC);
      a {
        display: flex;
        align-items: center;
        column-gap: 3rem;
        position: relative;
        padding: 2rem;
        opacity: 1 !important;
        &[href]{
          &::before {
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
            background: var(--LGC);
            transition: transform .25s;
            transform: scale(0, 1);
            transform-origin: right top;
            content: "";
          }
          @media (hover: hover){
            &:hover::before {
              transform: scale(1, 1);
              transform-origin: left top;
            }
          }
        }
        &:not([href]) {
          pointer-events: none;
        }
        time {
          color: #999;
          font-weight: 600;
        }
        p {
          display: flex;
          line-height: 1.2;
        }
        &.new p::before {
          display: flex;
          align-items: center;
          margin-right: 1rem;
          padding: 0 1rem .15rem;
          background: var(--RC);
          color: #fff;
          font-size: 1.3rem;
          line-height: 1;
          font-family: "Zen Old Mincho", system-ui;
          content: "NEW";
        }
      }
    }
  }
}

@media (max-width: 768px){
  #information {
		margin-top: 3rem;
    ul {
      li {
        a {
          flex-direction: column;
          align-items: flex-start;
          column-gap: 1rem;
          padding: 1rem;
          &[href]{
            &::before {
              position: absolute;
              top: 0;
              left: 0;
              z-index: -1;
              width: 100%;
              height: 100%;
              background: var(--LGC);
              transition: transform .25s;
              transform: scale(0, 1);
              transform-origin: right top;
              content: "";
            }
          }
          time {
            display: flex;
            margin-bottom: .5rem;
            font-size: 1.4rem;
          }
          &.new time::after {
            display: flex;
            align-items: center;
            margin-left: 1rem;
            padding: .25rem 1rem;
            background: var(--RC);
            color: #fff;
            font-size: 1.2rem;
            line-height: 1;
            font-family: "Zen Old Mincho", system-ui;
            content: "NEW";
          }
          p {
            display: block;
            line-height: 1.4;
          }
          &.new p::before {display: none;}
        }
      }
    }
  }
}


/*===== ■4. Section [top_about] Setting =====*/
#top_about {
  display: grid;
  grid-template-columns: 1fr 42rem;
  grid-template-rows: auto 1fr;
  grid-column-gap: 5rem;
  h2 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  div {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    p {
      line-height: 1.8;
      &:not(:last-child) { margin-bottom: 2rem;}
    }
  }
  figure {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
}



@media (max-width: 768px){
  #top_about {
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-column-gap: 0;
    h2 {
      grid-column: auto;
    }
    div {
      grid-column: auto;
      margin-bottom: 3rem;
      p {
        &:not(:last-child) { margin-bottom: 2rem;}
      }
    }
    figure {
      grid-row: 3 / 4;
      grid-column: auto;
    }
  }
}


#top_presentation > div:first-of-type {
  padding: 2rem 3rem;
  border: 0.1rem solid var(--GC);
}
#top_presentation > div:first-of-type dl{
  padding: 2rem 1rem;
  border-bottom: 0.1rem solid var(--GC);
  display: flex;
}

#top_presentation > div:first-of-type dl:last-child{
  border-bottom: none;
}
#top_presentation > div:first-of-type dl dt{
  font-weight: 500;
  width: 12rem;
}
#top_presentation > div:first-of-type dl dd{
  flex: 1;
}
#top_presentation > div:first-of-type dl dd span{
  font-size: 1.4rem;
  display: block;
}

#top_presentation > div:first-of-type dl dd a{
  display: inline-block;
  border: #000 solid 0.1rem;;
  margin-left: 1rem;
  font-size: 1.2rem;
  padding: 0.1rem 2rem;
}
#top_presentation > div:first-of-type dl dd li{
  font-size: 1.4rem;
}
#top_presentation > div:first-of-type dl dd li:not(:last-child){
  margin-bottom: 2rem;
}
#top_presentation > div:first-of-type dl dd li b{
  font-weight: 500;
  font-size: 1.6rem;
  display: block;
}
#top_presentation > div:first-of-type dl dd li >div + div{
  margin-top: 0.5rem;
}

#top_presentation .apply_contents{
  margin-top: 4rem;
  text-align: center;
}
#top_presentation .apply_contents p{
  font-weight: bold;
}

#top_presentation a.button{
  margin: 1rem auto 0;
}

#top_presentation .note{
  margin-top: 1rem;
  font-size: 1.4rem;
}


@media (max-width: 768px){
  #top_presentation > div:first-of-type {
    padding: 1.5rem 2rem;
  }
  #top_presentation > div:first-of-type dl{
    flex-wrap: wrap;
  }
  #top_presentation > div:first-of-type dl dt{
    width: 100%;
    margin-bottom: 1rem;
  }
  #top_presentation > div:first-of-type dl dd{
    width: 100%;
    flex: none;
  }
  #top_presentation > div:first-of-type dl dd span{
    font-size: 1.4rem;
    display: block;
  }

  #top_presentation > div:first-of-type dl dd a{
    display: inline-block;
    border: #000 solid 0.1rem;;
    margin-left: 1rem;
    font-size: 1.2rem;
    padding: 0.1rem 2rem;
  }
  #top_presentation > div:first-of-type dl dd li{
    font-size: 1.4rem;
  }
  #top_presentation > div:first-of-type dl dd li:not(:last-child){
    margin-bottom: 2rem;
  }
  #top_presentation > div:first-of-type dl dd li b{
    font-weight: 500;
    font-size: 1.6rem;
    display: block;
  }
  #top_presentation > div:first-of-type dl dd li >div + div{
    margin-top: 0.5rem;
  }
  #top_presentation a.button{
    margin: 1rem auto 0;
  }
}


  
.cta{
  text-align: center;
  padding-bottom: 10rem;
}
.cta p{
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta .button{
  margin: 0 auto 3rem;
}