@charset "utf-8";


/*---------------------------
全体
---------------------------*/
#pc-purpose{
  display:block;
  position:relative;
  text-align:center;
  width:100%;
  padding:50px 15px;
  color:#484848;
}

#pc-purpose img{
  width:100%;
}

.purpose-nav{
  margin:auto;
  display:block;
  position:relative;
  width:100%;
  max-width:1140px;
}

/*---Padサイズ以下---*/
@media screen and (max-width: 767px) {
  #pc-purpose{
    padding:30px 15px;
  }
}

/*---------------------------
タイトル
---------------------------*/
.purpose-nav h1{
  margin-bottom:40px;
  font-size:clamp(20px, 1.068rem + 0.91vw, 28px);
  font-weight: bold;
  text-align:left;
}
/*---Padサイズ以下---*/
@media screen and (max-width: 767px) {
  .purpose-nav h1{
    margin-bottom:20px;
  }
}

/*---------------------------
ナビ並び
---------------------------*/
.purpose-nav ul{
  margin:auto;
  width:100%;
  max-width:1140px;
  display: grid;
  place-items: center; 
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
}

.purpose-nav ul li{
  margin:auto;
  width:100%;
}

/*---SPサイズ以下---*/
@media screen and (max-width: 469px) {
  .purpose-nav ul{
    gap:10px;
  }
}
/*---PCサイズ以上（2・3・2）---*/
@media screen and (min-width: 768px) {
  .purpose-nav ul{
    grid-template-columns:repeat(6, 1fr);
  }
  .purpose-nav ul li:nth-child(1){
    grid-row: 1;
    grid-column: 2 / 4;
  }
  .purpose-nav ul li:nth-child(2){
    grid-row: 1;
    grid-column: 4 / 6;
  }
  .purpose-nav ul li:nth-child(3){
    grid-row: 2;
    grid-column: 1 / 3;
  }
  .purpose-nav ul li:nth-child(4){
    grid-row: 2;
    grid-column: 3 / 5;
  }
  .purpose-nav ul li:nth-child(5){
    grid-row: 2;
    grid-column: 5 / 7;
  }
  .purpose-nav ul li:nth-child(6){
    grid-row: 3;
    grid-column: 2 / 4;
  }
  .purpose-nav ul li:nth-child(7){
    grid-row: 3;
    grid-column: 4 / 6;
  }
}

/*---------------------------
ナビ中身
---------------------------*/
.purpose-nav ul li a{
  display:flex;
  justify-content: space-between;
  align-items: center;
  border:2px solid #ccc;
  border-radius: 10px;
  padding-right:40px;
  width:100%;
  height:4em;
  color:#004da1;
  font-weight:bold;
  box-shadow: 0 5px 5px rgba(0,0,0,0.1); 
  transition: all 0.3s;
}
.purpose-nav ul li a:hover{
  transform:translateY(5px);
  box-shadow: 0 1px 1px rgba(0,0,0,0.2); 
}
.purpose-nav ul li .purpose-nav-ico{
  width:20%;
}
.purpose-nav ul li p{
  width:calc(80% - 10px);
  font-size:clamp(12px, 0.614rem + 0.68vw, 18px);
}

/*---Padサイズ以下---*/
@media screen and (max-width: 767px) {
  .purpose-nav ul li a{
    padding-right:30px;
  }
  .purpose-nav ul li a::after {
    right: 15px;
  }
  .purpose-nav ul li .purpose-nav-ico{
    width:30%;
  }
}
/*---SPサイズ以下---*/
@media screen and (max-width: 469px) {
  .purpose-nav ul li a{
    padding-right:25px;
  }
  .purpose-nav ul li a::after {
    right: 10px;
  }
  .purpose-nav ul li .purpose-nav-ico{
    width:40%;
  }
}

