/* ========================= 
   page-functions ファーストビュー
   ========================= */
.p-functions-fv {
    background-color: #ffffff;
    padding: 80px 40px 0;
    position: relative;
}

.p-functions-fv::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #f5f5f5;
    z-index: 0;
}

.p-functions-fv-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
    margin-top: -50px;
}

.p-functions-fv-left {
    flex: 0 0 auto;
    margin-top: -40px;
}

.p-functions-fv-label {
    font-size: 16px;
    color: #666666;
    margin: 0 0 8px 0;
}

.p-functions-fv-title {
    margin: 0 0 20px 0;
    line-height: 1.3;
    display: inline-block;
    border-bottom: 3px solid #134263;
    padding-bottom: 8px;
}

.p-functions-fv-title-main {
    font-size: 40px;
    font-weight: 700;
    color: #333333;
}

.p-functions-fv-title-year {
    font-size: 28px;
    font-weight: 600;
    color: #134263;
    margin-left: 10px;
}

.p-functions-fv-heading {
    font-size: 48px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.p-functions-fv-right {
    flex: 1;
    max-width: 700px;
}

.p-functions-fv-right img {
    width: 100%;
    height: auto;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
    .p-functions-fv {
        padding-top: 0px;
        padding-left: 15px;
        padding-right: 15px;
        margin-top: -20px;
    }
    
    .p-functions-fv::after {
        height: 25px !important;
        bottom: 30px !important;
        top: unset !important;
    }
    
    .p-functions-fv-inner {
        flex-direction: column;
        text-align: center;
        margin-top: 0;
    }
    
    .p-functions-fv-left {
        order: 1;
        margin-top: 0;
    }
    
    .p-functions-fv-right {
        order: 2;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .p-functions-fv-right img {
        max-width: 90%;
    }
    
    .p-functions-fv-title-main {
        font-size: 35px;
    }
    
    .p-functions-fv-title-year {
        font-size: 18px;
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .p-functions-fv-label {
        font-size: 12px;
        margin-bottom: 0;
    }
    
    .p-functions-fv-title {
        margin-top: -5px;
    }
    
    .p-functions-fv-heading {
        font-size: 45px;
    }
}

.grap-row {
        display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.func-3 {
      margin-top: -300px;
    text-align: center;  
    position: relative;
    z-index: 1;
}
.func3-btn {
    position: absolute;
    bottom: 90px;
    left: 200px;
        
}
.func-4 {
    position: relative;
      text-align: right;
    margin-right: 100px;
    margin-top: -40px;  
}
.func4-1-btn {
    position: absolute;
    bottom: 153px;
    left: 46%;
}
.func4-2-btn {
      position: absolute;
    bottom: 35px;
    right: 77px;
}
.func-6 img {
    max-width: 236px;
}
.func-5 {
    position: absolute;
    left: 0;
    top: 0;
}
.func-6 {
      text-align: right;
    margin-right: 92px;  
}

.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}


.zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}


.zoom-overlay .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 48px;
  color: #fff;
  cursor: pointer;
}
.pc1 img {
        max-width: 350px;
    width: 100%;
}
.pc2 img {
        max-width: 372px;
    width: 100%;
}
.func3img {
    width: 100%;
    max-width: 90%;
}
.func-4img {
    max-width: 521px;
}
.more_btn img {
    max-width: 77px;
    width: 100%;
}
.func-5 img {
    max-width: 246px;
}
.pcview {
    display: block;
}
.spview {
    display: none;
}
@media (max-width: 1000px){
    .cwidth9-wrap {
  width: 100%;
  overflow: hidden;   
          overflow-x: auto;
}
    .func-w.cwidth9 {
    width: 900px;
       
    }
    .pcview {
    display: none;
}
.spview {
    display: block;
}
.sptopgrap {
    position: relative;
}
.func3img {
       width: 100%;
    max-width: 100%; 
}

.more_btn img {
    max-width: 60px;
    width: 100%;
}

}

@media screen and  (max-width: 1000px) and (min-width: 797px) {
    .func3-btn {
        position: absolute;
        bottom: 43%;
        left: 10%;
    }
        .func4-1-btn {
        position: absolute;
        bottom: 11%;
        left: 22%;
    }
        .func4-2-btn {
        position: absolute;
        bottom: 2%;
        right: 18%;
    }
}
@media screen and (max-width: 796px) and (min-width: 500px) {
    .func3-btn {
    position: absolute;
    bottom: 41%;
    left: 4%;
}
        .func4-1-btn {
        position: absolute;
        bottom: 10%;
        left: 21%;
    }
        .func4-2-btn {
        position: absolute;
        bottom: 1%;
        right: 15%;
    }
}
@media screen and  (max-width: 499px) {
        .func4-2-btn {
        position: absolute;
        bottom: 2px;
        right: 13%;
    }
        .func4-1-btn {
        position: absolute;
        bottom: 9%;
        left: 19%;
    }
        .func3-btn {
        position: absolute;
        bottom: 42%;
        left: 6%;
    }
}