﻿@charset "UTF-8";
/*
layout
*/
/*
color
*/
/*
pxをvwに変換

ウインドウ幅1400pxに対して要素幅50pxの場合
getvw(50,1400)となる
*/
/*
メディアクエリ
記述例
body{
  @include msw('max',1200){
    background-color: red;
  }
}
*/
/*
ICON FONT
*/
/************************************************************
SCREEN ALL
*************************************************************/
/************************************************************
SCREEN SP
*************************************************************/
/************************************************************
SCREEN PC
*************************************************************/
/************************************************************
SCREEN ALL
*************************************************************/
section.links .links-boxes .links-box .links-box-txts .links-box-txt-01 {
  font-family: "Play", sans-serif;
}

/************************************************************
SCREEN SP
*************************************************************/
@media screen and (max-width:767px) {
  section.links {
    padding-bottom: 100px;
  }
  section.links .links-boxes .links-box {
    position: relative;
    display: block;
  }
  section.links .links-boxes .links-box:nth-of-type(n+2) {
    margin-top: 40px;
  }
  section.links .links-boxes .links-box .links-box-pic {
    overflow: hidden;
  }
  section.links .links-boxes .links-box .links-box-pic::before {
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    opacity: 0.45;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    display: block;
    will-change: transform;
  }
  section.links .links-boxes .links-box .links-box-txts {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 0 0 12px 15px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  section.links .links-boxes .links-box .links-box-txts .links-box-txt-01 {
    font-feature-settings: "palt" on;
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
  }
  section.links .links-boxes .links-box .links-box-txts .links-box-txt-02 {
    margin-top: 2px;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: "palt" on;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.05em;
  }
  section.links .links-boxes .links-box .links-box-txts .links-box-txt-02::after {
    content: "\ea02";
    display: inline-block;
    font-family: "icons";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    margin-left: 10px;
    transform: translateY(-0.05em);
    transition: transform 0.2s;
    will-change: transform;
  }
}
/************************************************************
SCREEN PC
*************************************************************/
@media screen and (min-width:768px) {
  section.links {
    padding-bottom: 150px;
  }
  section.links .links-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
  }
  section.links .links-boxes .links-box {
    position: relative;
    display: block;
  }
  section.links .links-boxes .links-box:hover .links-box-pic img {
    transform: scale(1.12);
  }
  section.links .links-boxes .links-box:hover .links-box-txts .links-box-txt-02::after {
    transform: translateX(5px) translateY(-0.1em);
  }
  section.links .links-boxes .links-box .links-box-pic {
    overflow: hidden;
  }
  section.links .links-boxes .links-box .links-box-pic img {
    transition: transform 0.5s;
  }
  section.links .links-boxes .links-box .links-box-pic::before {
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    opacity: 0.45;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    display: block;
    will-change: transform;
  }
  section.links .links-boxes .links-box .links-box-txts {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 0 0 20px 25px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  section.links .links-boxes .links-box .links-box-txts .links-box-txt-01 {
    font-feature-settings: "palt" on;
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
  }
  section.links .links-boxes .links-box .links-box-txts .links-box-txt-02 {
    margin-top: 2px;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: "palt" on;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.05em;
  }
  section.links .links-boxes .links-box .links-box-txts .links-box-txt-02::after {
    content: "\ea02";
    display: inline-block;
    font-family: "icons";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    margin-left: 12px;
    transform: translateY(-0.1em);
    transition: transform 0.2s;
    will-change: transform;
  }
}