/* top / cmn
-------------------------------------------*/

.top .sec{
  position: relative;
  width: 100%;
}
.sec_inner{
  position: relative;
  width: var(--page-narrow);
  margin: calc(var(--sec-margin)*1.5) auto;
}

/* 共通リンクリスト */

.info_links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info_links li{
  border-top: 1px dotted #aaa;
}
.info_links li:nth-last-child(-n+2){
  border-bottom: 1px dotted #aaa;
}
.info_links a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.info_links_arrow{
  display: block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.info_links a:hover{
  opacity: var(--hover);
}
.info_links a:hover .info_links_arrow{
  transform: translateX(4px) rotate(45deg);
}

@media screen and (max-width: 900px){
  .info_links{
    column-gap: 1.25rem;
  }
}
@media screen and (max-width: 650px){
  .info_links{
    grid-template-columns: 1fr;
  }
  .info_links li:nth-last-child(-n+2){
    border-bottom: 0;
  }
  .info_links li:last-child{
    border-bottom: 1px dotted #aaa;
  }
  .info_links a{
    font-size: 1rem;
  }
}

/* top / mv
-------------------------------------------*/

/* Main Visual */

.mv{
  position: relative;
  width: 100%;
  min-height: 75vh;
}
.mv_img{
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: min(920px,70%);
  height: 75vh;
  border-radius: 0 999px 999px 0 / 0 999px 999px 0;
}
.mv_img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 18s ease-out forwards;
}
@keyframes slowZoom{
  from{
    transform: scale(1);
  }
  to{
    transform: scale(1.08);
  }
}
.mv_copy{
  position: absolute;
  right: max(5%, calc((100% - 1400px) / 2 + 70px));
  bottom: 10%;
  z-index: 2;
  width: min(620px, 65%);
  text-align: right;
}
.mv_copy h2 img{
  display: block;
  width: 100%;
  height: auto;
}

/* SVG animation */
.svg_txt{
  width: 100%;
  max-width: 330px;
  margin: -.5rem 2rem 0 auto;
}
.svg_txt svg{
  display: block;
  width: 100%;
  height: auto;
}

/* with you SVG animation */
.svg_txt .cls-1{
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-miterlimit: 10;
}

@media screen and (max-width: 650px){
  .mv{
    min-height: 50vh;
  }
  .mv_img{
    width: 95%;
    height: 40vh;
  }
  .mv_copy{
    bottom: clamp(-5.5rem,-20vw,-2rem);
    width: min(620px, 80%);
  }
  .svg_txt{
    max-width: 230px;
  }
}


/* News
-------------------------------------------*/

.news .sec_inner{
  margin: calc(var(--sec-margin)*1.25) auto;
}
.sec_title_news{
  position: absolute;
  top: -1.75rem;
  left: 3%;
  z-index: 2;
  padding: .65rem 1.75rem;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  background: #fff;
}
.sec_title_news .sec_title_en{
  font-size: 1.5rem;
}
.sec_title_news .sec_title_jp{
  font-size: .9rem;
}
.news_box{
  position: relative;
  padding: 4rem 8%;
  border-radius: 1.5rem;
  background: rgba(var(--black-rgb), .08);
}
.news_list{
  display: grid;
  gap: 1rem;
}
.news_list li{
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: baseline;
  gap: 1rem;
  text-align: left;
}
.news_list time{
  color: #444;
  font-size: .85rem;
  white-space: nowrap;
  letter-spacing: .025em;
}
.news_list a{
  letter-spacing: .125em;
  line-height: 1.75;
  font-weight: 600;
}
.news_list a:hover{
  text-decoration: underline;
}
.news_more{
  position: absolute;
  right: 3%;
  bottom: -1rem;
}

@media screen and (max-width: 650px){
  
  .news .sec_inner{
    margin: calc(var(--sec-margin)*3.5) auto;
  }
  .news_title{
    top: -1.8rem;
    left: 4%;
    padding: .5rem 1.4rem;
  }
  .news_title_en{
    font-size: 1.5rem;
  }
  .news_box{
    padding: 3.5rem 6% 4rem;
    border-radius: 1.25rem;
  }
  .news_list{
    gap: 1.5rem;
  }
  .news_list li{
    grid-template-columns: 1fr;
    gap: .2rem;
  }
  .news_list time{
    font-size: .85rem;
  }
  .news_more{
    right: 4%;
    bottom: -1.5rem;
    min-width: 8rem;
    font-size: .9rem;
  }
}

/* About
-------------------------------------------*/

.about .sec_inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  min-height: 550px;
}
.about_content{
  position: relative;
  z-index: 2;
  width: min(85%, 600px);
  margin-left: max(5%, calc((100vw - 1000px) / 2));
  padding: 3rem 0;
  text-align: left;
}
.about_heading{
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .1em;
}
.about_text{
  padding: 2rem 0;
  line-height: 2.25;
  font-weight: 600;
  letter-spacing: .075em;
}
.about_img{
  position: relative;
  z-index: 1;
  width: 90%;
  margin-left: auto;
  overflow: hidden;
  border-radius: 999px 0 0 999px;
}
.about_img img{
  display: block;
  width: 100%;
  height: auto;
}
.about_img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* loop_text */
.loop_text{
  position: absolute;
  top: 75%;
  left: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}
.loop_text_track{
  display: flex;
  width: max-content;
  gap: 3rem; /* 画像同士の余白 */
  animation: bgTextLoop 30s linear infinite;
}
.loop_text_track img{
  display: block;
  flex-shrink: 0;
  width: auto;
  height: clamp(4rem, 8vw, 6rem);
  max-width: none;
}
@keyframes bgTextLoop{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 650px){
  
  .about .sec_inner{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .about_content{
    order: 2;
    width: var(--page-sp);
    margin: 0 auto;
    padding: 2rem 0;
  }
  .about_img{
    order: 1;
    width: 90%;
    height: 300px;
    margin-left: auto;
  }
  /* loop_text */
  .loop_text{
    top: 45%;
  }
  .loop_text_track img{
    height: 15vw;
  }
}

/* TOP / Service */

.service .sec_inner{
  width: var(--page-narrow);
  margin: calc(var(--sec-margin) * 1.5) auto;
}
.service .sec_title{
  margin-bottom: 5rem;
}
.service_list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service_card{
  position: relative;
  padding: 2.5rem 1.5rem;
  border: 1.5px solid var(--black);
  border-radius: 1.5rem;
  background: #fdfdf9;
}
.service_card_title{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  min-height: 3.25rem;
  padding: .4rem .75rem;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  background: #f9d65a;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.service_card:nth-child(2) .service_card_title{
  background: #f8dc82;
}
.service_card:nth-child(3) .service_card_title{
  background: #fff1c9;
}
.service_card ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
.service_card li{
  border-bottom: 1px dotted #aaa;
}
.service_card li a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3.75rem;
  padding: .75rem .5rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}
.service_link_text{
  background-image: linear-gradient(
    rgba(var(--yellow-rgb), .65),
    rgba(var(--yellow-rgb), .65)
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 35%;
  transition: background-size .25s ease;
}
.service_card li a:hover .service_link_text{
  background-size: 100% 40%;
}
.service_arrow{
  position: relative;
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.service_card li a:hover .service_arrow{
  transform: translateX(3px) rotate(45deg);
}
.service_more{
  margin: 3.5rem 0 0 auto;
}

@media screen and (max-width: 900px){
  
  .service_list{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service_card{
    padding: 2rem 1.5rem 1rem;
  }
  .service_card_title{
    width: min(60%, 260px);
  }
}

@media screen and (max-width: 650px){
  
  .service .sec_inner{
    margin: calc(var(--sec-margin) * 2.5) auto;
  }
  .service_list{
    gap: 3rem;
  }
  .service_card{
    padding: 2rem;
    border-radius: 1rem;
  }
  .service_more{
    margin-top: 2.5rem;
  }
}

/* TOP / Guide */

.guide_inner{
  display: grid;
  align-items: center;
  grid-template-columns: 44% minmax(0, 1000px);
  column-gap: 5%;
  width: 100%;
  margin: 0;
}
.guide_image{
  width: 100%;
  height: min(780px, 60vw);
  overflow: hidden;
  border-radius: 0 999px 999px 0;
}
.guide_image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide_content{
  width: 100%;
  max-width: 1000px;
  min-width: 0;
  box-sizing: border-box;
  padding: 3rem 7% 3rem 0;
}
.guide_text{
  margin: 3.5rem 0;
  font-weight: 600;
  text-align: left;
}
.guide_text p{
  margin: 0 0 1.8rem;
  font-size: .95rem;
}
.guide_text p:last-child{
  margin-bottom: 0;
}

@media screen and (max-width: 900px){
  
  .guide_text p{
    font-size: .9rem;
    line-height: 1.75;
  }
}
@media screen and (max-width: 650px){
  .guide_inner{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .guide_image{
    width: var(--page-sp);
    max-height: 280px;
  }
  .guide_content{
    width: var(--page-sp);
    margin: 0 auto;
  }
  .guide_text{
    margin: 3rem 0;
  }
  .guide_text p{
    font-size: 1rem;
  }
}

/* TOP / Company */

.company_inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38%;
  align-items: center;
  padding: 4rem 0 3rem;
  gap: 6%;
  width: 100%;
  margin: 0;
}
.company_content{
  width: min(80%, 640px);
  margin-left: max(5%, calc((100vw - 1000px) / 2));
  padding: 3rem 0;
}
.company .sec_title{
  margin-bottom: 3rem;
}
.company_image{
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 999px 0 0 999px;
}
.company_image img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 900px){
  
  .company_content{
    width: 90%;
    margin-left: 5%;
  }
}

@media screen and (max-width: 650px){
  
  .company_inner{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
  }
  .company_content{
    order: 2;
    width: var(--page-sp);
    margin: 0 auto;
    padding: 0;
  }
  .company_image{
    order: 1;
    width: 90%;
    max-height: 280px;
    margin-left: auto;
  }
}

/* TOP / Magazine */

.magazine_inner{
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  width: var(--page-narrow);
  padding: 2rem 0 5rem;
  margin: 0 auto;
}
.magazine_content{
  align-self: start;
}
.magazine_title{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.magazine_title_en{
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-en);
}
.magazine_title_jp{
  font-size: .9rem;
  font-weight: 600;
}
.magazine_text{
  margin: 0 0 1.5rem;
  font-size: .85rem;
  line-height: 1.8;
  text-align: left;
}
.magazine_link{
  min-width: 0;
  height: 56px;
  margin: 0;
  font-size: .75rem;
  padding: .5rem 1rem .5rem 1.5rem;
}
.magazine_list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.magazine_card{
  display: block;
  min-width: 0;
  text-align: left;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(var(--black-rgb), .05);
}
.magazine_card > img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
  border-radius: 2px;
}
.magazine_card_date{
  display: block;
  margin-left: 0;
  padding: .5rem .75rem 0;
  color: #777;
  font-size: .65rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.magazine_card_title{
  display: block;
  padding: .25rem .75rem;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
}
.magazine_card:hover .magazine_card_title{
  text-decoration: underline;
}
.magazine_card_meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  margin-top: 0;
  padding: .25rem .75rem .75rem;
  color: #777;
  font-size: 9px;
  line-height: 1.5;
}
.magazine_card_avatar{
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}
.magazine_card_author{
  min-width: 0;
  font-size: .7rem;
  line-height: 1.4;
}

@media screen and (max-width: 900px){
  
  .magazine_inner{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 650px){
  
  .magazine_inner{
    padding: 3rem 0;
  }
  .magazine_title,
  .magazine_text{
    margin: 0 0 .75rem;
    font-size: 1rem;
  }
  .magazine_list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .magazine_link{
    height: 46px;
    font-size: .9rem;
  }
  .magazine_card{
    display: block;
    min-width: 0;
  }
  .magazine_card > img{
    display: block;
    width: 100%;
    aspect-ratio: 1.9 / 1;
    object-fit: cover;
  }
  .magazine_card_title{
    overflow-wrap: anywhere;
    line-height: 1.5;
    font-size: 1rem;
  }
}