@charset "UTF-8";
/* CSS Document */

/*-----------------------------------
	
   スマホ版

-----------------------------------*/




.portal-section, .download-section {
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 見出し：スマホでは少し小さめに、かつインパクトを */
.section-heading, .target-title {
    font-size: 1.4rem;
    color: #427BBF;
    border-left: 6px solid #333;
    padding: 5px 15px;
    margin-bottom: 20px;
}

/* テキストコンテンツ */
.text-content, .sub-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

/* PDFボタン：スマホでは1カラム（縦並び） */
.pdf-link-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pdf-button {
    display: block;
    background-color: #fff;
    border: 1px solid #427BBF;
    border-left: 8px solid #427BBF;
    padding: 15px;
    text-decoration: none;
    color: #427BBF;
    font-weight: bold;
    border-radius: 5px;
}

.pdf-button .file-info {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
}

/* リンクボタン：スマホでは横幅いっぱい */
.btn-primary-yellow {
    display: block;
    text-align: center;
    background-color: #DFFF4F;
    color: #333;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

/* 画像：スマホでは縦並び */
.img-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.img-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 問い合わせエリア */
.contact-section {
    background-color: #f4f7f9;
    padding: 30px 15px;
    margin: 40px 0;
    border-radius: 10px;
}

@media (min-width: 900px){
	
	
	
      .portal-section {
        margin: 100px auto;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }

    .portal-section, .download-section {
        padding: 80px 0;
        max-width: 1000px;
        margin: 0 auto;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    /* PDFボタン：PCでは横並び */
    .pdf-link-area {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pdf-button {
        flex: 1; /* ボタンを均等に並べる */
        min-width: 280px;
        transition: all 0.3s ease;
    }

    .pdf-button:hover {
        background-color: #427BBF;
        color: #fff;
    }

    .pdf-button:hover .file-info {
        color: #eee;
    }

    /* リンクボタン：PCでは適切なサイズに */
    .btn-primary-yellow {
        display: inline-block;
        padding: 15px 60px;
    }

    /* 画像：PCでは横並び */
    .img-grid {
        flex-direction: row;
    }

    .img-grid img {
        flex: 1;
        height: 300px;
        object-fit: cover;
    }
}