@charset "utf-8";

/* css */
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	word-break: normal;
	word-wrap: break-word;
}

/* aタグのリセット */
a {
    all: unset;
    color: inherit; 
    text-decoration: none; 
    cursor: pointer; 
}
  

/* ヘッダー */
.header {
    text-decoration: none;
    color: #333333;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo img {
    width: 130px;
    height: auto;
    z-index: 3;
    margin-left: 80px;
    margin-top: 10px;
}

.nav-container {
    display: flex;
    align-items: center;
    color: #333333;
    margin-right: 80px;
    margin-top: 10px;
}

.nav-container ul {
    display: flex;
    gap: 40px;
    list-style:none;
    padding: 0;
    margin: 0;
}

.nav-container li :hover {
    color: #00943E;
    font-weight: bold;
}






/* メインビジュアル */

.main-visual {
    background-color: #fffef5;
    background-image: repeating-linear-gradient(90deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px);
    aspect-ratio: 16 / 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    font-family: 'Noto Sans', sans-serif;
    color: #333333;
    border-bottom: 1.8vw solid #FF6F23;
    width: 100%;
    z-index: -3; 
    position: relative; 
}

.title {
    font-size: 3rem;
    color: #00943E;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    margin-left: 15vw;
}

.subtitle {
    font-size: 2.5rem;
    color: #E95B10;
    font-weight: 700;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    margin-left: 15vw;
}

.main-visual p {
    z-index: 2;
    margin-left: 15vw;
    font-size: 1.5rem;
}

.main-visual-mv-yagi {
    position: absolute;
    width: 40%;
    height: auto;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin-right: 10vw;
}

.mv-left-pc {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    z-index: 1;
}
.mv-right-pc {
    position: absolute;
    right: 0;
    width: auto;
    height: 100%;
    z-index: 1;
}


.mv-left {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    z-index: 1;
    display: none;
}

.mv-right {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    z-index: 1;
    display: none;
}


/* 画面幅が800px以下の場合 */
@media (max-width: 800px) {
    .header-logo img{
        width: 100px;
        height: auto;
        z-index: 3;
        margin-left: 50px;
        margin-top: 10px;
    }

    .nav-container ul {
        display: flex;
        gap: 20px;
        list-style:none;
        padding: 0;
        margin: 0;
    }


    .main-visual {
        aspect-ratio: 16 / 9;
        padding: 20px;
    }

    .main-visual-mv-yagi {
        position: absolute;
        width: 48%;
        height: auto;
        right: 0;
        bottom: 0;
        z-index: 1;
        margin-right: 6vw;
    }

    .title {
        font-size: 2.7rem;
        margin-left: 10vw;
    }

    .subtitle {
        font-size: 2.3rem;
        margin-left: 10vw;
    }

    .main-visual p {
        font-size: 1.2rem;
        margin-left: 10vw;
        z-index: 2;
    }

    .mv-left-pc {
        position: absolute;
        top: 0;
        left: 0;
        width: 10%;
        height: 100%;
        z-index: 0;
    }
    .mv-right-pc {
        position: absolute;
        right: 0;
        width: 10%;
        height: 100%;
        z-index: 0;
    }


}


/* 画面幅が600px以下の場合 */
@media (max-width: 600px) {
    .header-logo img {
        width: 110px;
        height: auto;
        z-index: 3;
        margin-left: 25px;
        margin-top: 10px;
    }

    .nav-container {
        display: flex;
        align-items: center;
        color: #333333;
        margin-right: 30px;
        margin-top: 10px;
    }

    .nav-container ul li:nth-child(1), /* 자주있는 질문 */
    .nav-container ul li:nth-child(2) { /* 문의하기 */
        display: none;
    }

    .nav-container ul {
        display: flex;
        gap: 24px;
        list-style:none;
        padding: 0;
        margin: 0;
        color: #00943E;
        font-weight: 700;
    }

    .main-visual {
        aspect-ratio: 16 / 7;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        border-bottom: 3.5vw solid #FF6F23;
        width: 100%;
    }

    .mv-left {
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        height: 100%;
        z-index: 0;
        display: block;
        
    }
    .mv-right {
        position: absolute;
        right: 0px;
        width: auto;
        height: 100%;
        z-index: 0;
        display: block;
    }

    .mv-left-pc {
        display: none;
    }
    .mv-right-pc {
        display: none;
    }

    .main-visual-mv-yagi {
        position: relative;
        width: 75%;
        max-width: 450px;
        min-width: 320px;
        height: auto;
        z-index: 1;
        margin: 0;
    }

    .title {
        font-size: 2.5rem;
        margin-left: 0;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 2rem;
        margin-top: 70px;
        margin-left: 0;
        margin-bottom: 4px;
    }

    .main-visual p {
        font-size: 1rem; 
        margin-left: 0; 
        margin-bottom: 8px; 
    }

}






/*履歴書テンプレート*/
.resume-container{
    margin-top: 160px;
}


.resume-container h2 {
    font-size: 2.3rem;
    color: #3c3c3c;
    font-weight: 700;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 40px;
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; 
    justify-content: center; 
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.card {
    flex: 1 1 calc(220px - 24px);
    max-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #e5f3e8;
    list-style: none;
}
  
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
  
.card img {
    width: 100%;
    height: auto;
    display: block;
}
  
.card-content {
    padding: 4px;
    text-align: left;
}
  
.card-content p {
    margin: 0px 0px 8px 0px;
}
  
.card-content .sub {
    font-size: 1.0rem;
    color: #3c3c3c;
}
  
.card-content .title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #003F1A;
}
  
.card-content .desc {
    font-size: 1.0rem;
    color: #3c3c3c;
}
  
.card-footer {
    background-color: #00A651;
    color: white;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
}


/* 800pxの場合 */
@media (max-width: 800px) {

    .card-content {
        padding: 8px;
    }

    .card {
        flex: 1 1 calc(33.33% - 16px);
        max-width: calc(33.33% - 16px);
        min-width: 220px;
    }

    .card-content .sub {
        font-size: 0.9rem;
        color: #3c3c3c;
    }
      
    .card-content .title {
        font-size: 1.3rem;
        font-weight: bold;
        color: #003F1A;
    }
      
    .card-content .desc {
        font-size: 0.9rem;
        color: #3c3c3c;
    }

}

/* 600pxの場合 */
@media (max-width: 600px) {
    .card-container {
        display: flex;
        flex-wrap: wrap;
        gap: 16px; 
        justify-content: center; 
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 16px;
    }

    .card {
        flex: 1 1 calc(100% - 24px);
        max-width: 250px;
        min-width: 220px;
    }

    .card-content {
        padding: 8px;
    }

    .card-content .sub {
        font-size: 0.9rem;
        color: #3c3c3c;
    }
      
    .card-content .title {
        font-size: 1.3rem;
        font-weight: bold;
        color: #003F1A;
    }
      
    .card-content .desc {
        font-size: 0.9rem;
        color: #3c3c3c;
    }
}




/*特徴*/
.yagish-feature {
    margin-top: 160px;
    margin-bottom: 160px;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background: url("./asset/svg/feature_pc.svg") no-repeat center / cover; */
    background-image: repeating-linear-gradient(90deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px);
    background-color: #fffef5;
    position: relative;
}

.yagish-feature h2 {
    font-size: 2.3rem;
    color: #3c3c3c;
    font-weight: 700;
    text-align: center;
}

.feature-list{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 40%;
}

.feature-list li {
    list-style: none;
    margin: 0 20px;
}

.green{
    color: #57B871;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 32px;
}

.orange{
    color: #FFB26F;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 32px;
}

.feature-background{
    margin-top: 120px;
}


.feature-left{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; /* 親の高さに合わせます */
    z-index: 0;
}

.feature-right{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%; /* 親の高さに合わせます */
    z-index: 0;
}


/* 画面サイズが800px以下の場合 */
@media (max-width: 800px) {

    .feature-list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 30px;
        width: 55%;
    }
}

/* 画面サイズが600px以下の場合 */
@media (max-width: 600px) {
    .feature-list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 30px;
        width: 80%;
    }

    .yagish-feature h2 {
        font-size: 2.0rem;
    }

    .feature-left{
        display: none;
    }
    
    .feature-right{
        display: none;
    }

}




/* ご利用の流れ */
.how-to-use {
    text-align: center;
    margin-top: 120px;
    margin-bottom: 120px;
}
  
.how-to-use h2{
    font-size: 2.3rem;
    font-weight: bold;
    margin-bottom: 60px;
}
  
.section-title span {
    font-weight: normal;
}
  
.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
  
.step {
    width: 180px;
}
  
.icon {
    width: 180px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.icon img {
    width: 70%;
    height: auto;
}
  
.step-title {
    font-size: 18px;
    color: #f29656;
    font-weight: bold;
    margin-bottom: 4px;
}
  
.step-desc {
    font-size: 20px;
    font-weight: bold;
}

/* 画面サイズが800px以下の場合 */
@media (max-width: 800px) {
    .steps {
        display: flex;
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
    }

}

/* 画面サイズが600px以下の場合 */
@media (max-width: 600px) {
    .how-to-use h2{
        font-size: 2.0rem;
        font-weight: bold;
        margin-bottom: 60px;
    }


    .steps {
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: center;
        gap: 40px;
    }
    
    .step {
        text-align: center;
    }
    

    .icon {
        width: 180px;
        height: auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .icon img {
        width: 70%;
        height: auto;
    }

}








/* お役立ち情報 */
  
.article-section {
    background-color: #FFFEF4;
    background-image: repeating-linear-gradient(90deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px);
    padding: 80px 80px;
    text-align: center;
}
  
.article-section h2 {
    color: #3c3c3c;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 60px;
}
  
.articles {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
  
.article-card {
    background-color: #ffffff;
    max-width: 250px;
    min-width: 230px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
    box-sizing: border-box;
    padding: 8px 8px;
}

.article-card img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
  
.article-card:hover {
    box-shadow: 0 4px 12px #f5a57ea1;
}
  
.article-card-content {
    text-align: left;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 8px; 
}
  
.article-card-content p {
    font-size: 14px;
    color: #3c3c3c;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
  
.link-button-wrapper {
    text-align: center;
}
  
.link-button {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #E95B10;
    background-color: #fff;
    border-radius: 9999px;
    color: #E95B10;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
  
.link-button:hover {
    background-color: #E95B10;
    color: #fff;
}


/* 画面サイズ800pxの場合 */
@media (max-width: 800px) {
    .article-section {
        padding: 80px 30px;
        text-align: center;
    }


    .articles {
        justify-content: center;
        gap: 8px;
    }

    .article-card{
        width:100%;
        padding: 16px 16px;
    }
    
    .article-card img{
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }




}


@media (max-width: 600px) {
    .article-section {
        padding: 80px 30px;
        text-align: center;
    }

    .article-section h2 {
        color: #3c3c3c;
        font-size: 2.0rem;
        font-weight: 700;
        margin-bottom: 60px;
    }


    .articles {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 60px;
    }

    .article-card{
        width:85%;
        padding: 16px 16px;
    }

    .article-card img{
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }


}




/* よくある質問 */
.faq{
    background-color: #F4FFFA;
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
  
.faq h2 {
    font-size: 2.3rem;
    font-weight: bold;
}
  
.faq-container{
    width: auto;
    max-width: 50%;
}



.faq-item {
    margin-bottom: 72px;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.question{
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 10px;
    margin-bottom: 16px;
}
  
.question p{
    font-size: 1.2rem;
    font-weight: bold;
    color: #333333;
    text-align: start;
}
  
.answer{
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 10px;
    margin-bottom: 48px;
}

.answer p{
    font-size: 1.0rem;
    color: #333333;
    text-align: start
}
  
  
.button-wrapper {
    text-align: center;
    margin-top: 50px;
}
  
.faq-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #16c784;
    background-color: #ffffff;
    border: 2px solid #16c784;
    border-radius: 40px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
  
.faq-button:hover {
    background-color: #16c784;
    color: white;
    font-weight: bold;
}

@media (max-width: 600px) {
    .faq-container{
        width: auto;
        max-width: 80%;
    }

    .faq{
        text-align: left;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .faq h2 {
        font-size: 2.0rem;
        font-weight: bold;
    }
}






/* フッター */
.footer-content{
    margin-top: 40px;
    padding: 80px 0;
    text-align: left;
    position: relative;
    display: flex;
    align-items: start;
    gap: 72px;
    justify-content: center;
}

.footer img{
    width: auto;
    height: auto;
    max-width: 180px;
    margin-bottom: 0;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content ul li a {
    text-decoration: none;
    color: #3c3c3c;
    font-size: 14px;
    line-height: 2.0;
}



@media (max-width: 600px) {

    .footer-content{
        margin-top: 40px;
        padding: 40px 0;
        text-align: left;
        position: relative;
        display: flex;
        align-items: start;
        gap: 32px;
        justify-content: center;
    }
    
    .footer img{
        width: auto;
        height: auto;
        max-width: 130px;
        margin-bottom: 0;
    }

    .footer-content ul li a {
        text-decoration: none;
        color: #3c3c3c;
        font-size: 14px;
        line-height: 2.5;
    }
}



/* 言語切り替え */
.footer hr{
    margin-top: 24px;
    margin-bottom: 24px;
}

.footer-language{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.footer-button{
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #3c3c3c;
    background-color: #ffffff;
    border: 2px solid #3c3c3c;
    border-radius: 40px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-button:hover {
    background-color: #3c3c3c;
    color: white;
    font-weight: bold;
}





/* コピーライト */
.footer-copyright{
    text-align: center;
    font-size: 14px;
    color: #3c3c3c;
    margin-top: 16px;
    margin-bottom: 16px;
}




/* ここから下は記事一覧ページ */

.article-page-mv {
  background-color: #E7FAF4;
  /*background-image: repeating-linear-gradient(90deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px);*/
  min-height: 200px;
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.article-page-mv-text {
  color: #1EAE80;
}

.article-content{
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-item {
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  text-decoration: none;
  color: inherit;
}

.article-item:hover {
  opacity: 0.8; /* ホバー効果 */
}

.article-image {
  max-width: 275px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.article-text {
  flex: 1;
}

.article-date {
  font-size: 14px;
  color: #555;
  margin: 0 0 4px 0;
}

.article-title {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.pagination-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #1EAE80;
  color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}


/* スマホ (640px以下) では縦並び */
@media (max-width: 640px) {
  .article-list {
    grid-template-columns: 1fr;
  }

  .article-item {
    display: flex;
    flex-direction: row;
  }

  .article-image {
    max-width: 180px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
  }
}





/* ここから下は記事詳細ページ */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.date {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.single-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.article-single-image {
  max-width: 830px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.content p {
  margin-bottom: 20px;
}

.content h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 32px 0 16px;
}