@charset "utf-8";

html {
    /* どの人でも見れる標準なフォントサイズをあらかじめ指定しておく */
    font-size: 62.5%;
}

body {
    font-family: "Noto Sans JP", serif;
    font-size: 2rem;
    font-weight: 400;
    color: #001738;
    background-color: var(--brand-page-bg);
    letter-spacing: 0.1em;
    /* background-color: var(--brand-cyan);
    background-image: linear-gradient(180deg, var(--brand-cyan) 0%, var(--brand-aqua) 100%); */
}

img {
    max-width: 100%;
}



/* ヘッダーここから */
#header {
    /* position: absolute; */
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    color: #fff;
    background-color: var(--brand-cyan);
    background-image: linear-gradient(180deg, var(--brand-cyan) 0%, var(--brand-aqua) 100%);
}

.header_inner {
    max-width: 1200px;
    height: 160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

}

.header_logo {
    display: block;
    width: 200px;
    transition: all 0.2s ease;
}

.header_logo:hover {
    opacity: 0.6;
}

.header_site_menu {
    margin-left: 26%;
}

.header_site_menu a {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header_site_menu ul {
    display: flex;
}

.header_site_menu ul li {
    padding: 0 14px;
}

.header_language a {
    font-size: 1.4rem;
}

/* ヘッダーここまで */



/* メインここから */
#container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 60px 0;
}

/* ニュース */

.news {
    padding-top: 40px;
}

.section_title {
    font-family: "Noto Sans JP", sans-serif;
    display: inline-block;
    font-size: 6rem;
    text-align: center;
    border-bottom: solid 6px var(--brand-emerald);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* ゴリゴリコードのニュース記事でよく見るレイアウトをコーディング ここから*/
.news_item {
    display: flex;
    padding-bottom: 4px;
    padding: 40px 0 40px;
    position: relative;
    border-bottom: 1px solid #D3D3D3;
    /* 初期の薄い灰色の線 */
}

/* マウスホバーで下線が左から右に伸びる */
.news_item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-emerald);
    /* ホバー時に変化する青い線 */
    transition: width 0.4s ease;
    /* 幅の変化をスムーズにする */
}

.news_item:hover::after {
    width: 100%;
    /* ホバー時に左から右へ幅を100%に伸ばす */
}

.news_item:hover {
    color: var(--brand-emerald);
}

.news_head {
    display: flex;
    align-items: center;
    width: 200px;
}

.news_date {
    font-size: 1.8rem;
    /* color: #8e8e8e; */
    color: #000;
    letter-spacing: 0.1rem;
    width: 110px;
}

.news_label a {
    font-size: 1.4rem;
    color: #fff;
    display: block;
    width: 90px;
    height: 32px;
    line-height: 32px;
    font-weight: 500;
    text-align: center;
    background-color: var(--brand-emerald);
    border-radius: 25px;
}

.news_title {
    font-size: 2rem;
    width: calc(100% - 200px);
    padding-left: 30px;
    padding-top: 3px;
    line-height: 1.5;
}


@media screen and (max-width: 480px) {

    .news-item {
        display: block;
    }

    .news-title {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
        margin-top: 10px;
    }
}

/* ゴリゴリコードのニュース記事でよく見るレイアウトをコーディング ここまで*/


/* ページドネーションのボタン */
.pagination-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding-top: 60px;
}

.pagination-1 a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border: 1px solid var(--brand-emerald);
    border-radius: 25px;
    color: var(--brand-emerald);
}

.pagination-1 a:not(:hover) {
    text-decoration: none;
}

.pagination-1 .current a {
    background-color: var(--brand-emerald);
    color: #fff;
    pointer-events: none;
}

/* ページドネーションのボタン ここまで */



/* ボタン右側バージョン ここから*/
.view_all_area {
    margin-top: 40px;
    text-align: right;
}

/*ボタンの形状*/
.view_all_btn {
    border: 1px solid var(--brand-emerald);
    padding: 10px 30px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: var(--brand-emerald);
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s linear;
    font-weight: 800;
    border-radius: 24px;
}

.view_all_btn:hover {
    background: var(--brand-emerald);
    color: #fff;
}

.white_btn {
    border: 1px solid #fff;
    color: #fff;
}

/* ボタン右側バージョン ここまで*/


/* メインここまで */



/* フッターここから */

/* コンタクト */
.footer_contact {
    font-family: "Noto Sans JP", serif;
    text-align: center;
    padding: 60px 0 60px;
}

/* ボタン真ん中バージョン */
.footer_contact_btn {
    display: inline-block;
    border: none;
    font-size: 2.4rem;
    font-weight: 800;
    padding: 24px 90px;
    border-radius: 40px;
    background-color: var(--brand-emerald);
    color: #fff;
    /*アニメーションの指定*/
    transition: all .2s linear;
}

.footer_contact_btn:hover {
    background-color: var(--brand-gold);
}

/* フッターの詳細 */
.footer_container {
    background-color: var(--brand-light-blue);
    background-image: linear-gradient(180deg, var(--brand-light-blue) 0%, var(--brand-aqua) 100%);

    border-top-left-radius: 6rem;
    border-top-right-radius: 6rem;
    color: #fff;
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    position: relative;
}

.footer_detail {
    padding-top: 40px;
    display: flex;
    justify-content: center;
}

.footer_detail_company {
    font-size: 2rem;
    line-height: 2;
    padding-right: 20px;
}

.company_name {
    font-size: 2.4rem;
    font-weight: 500;
}

.company_address {
    font-size: 1.8rem;
    font-weight: 300;
}

.company_tel {
    padding-top: 30px;
}


/* フッターのナビゲーション */
.footer_nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
}

.footer_logo {
    display: block;
    width: 200px;
}

.footer_site_menu {
    padding-top: 40px;
}

.footer_site_menu ul {
    display: flex;
}

.footer_site_menu ul li {
    padding: 0 12px;
}

.footer_site_menu a {
    font-size: 1.8rem;
    padding-bottom: 4px;
    transition: all 0.2s;
}

.footer_site_menu a:hover {
    color: var(--brand-gold);
}


/* プライバシーポリシー */
.policy {
    font-size: 1.6rem;
    padding-top: 20px;
    transition: all 0.2s;
}

.policy:hover {
    color: var(--brand-gold);
}

hr {
    width: 860px;
    margin: 0 auto;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #D3D3D3;
}

.footer_bottom_p {
    padding-top: 20px;
    padding-bottom: 100px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 300;
}

/* ページトップに戻るアイコン ここから */
.page_top {
    box-sizing: border-box;
    position: fixed;
    right: 45px;
    bottom: 75px;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 60px;
    height: 60px;
    border: 2px solid var(--brand-page-bg);
    border-radius: 50%;
    background-color: var(--brand-emerald);
    transition: .3s ease-in-out;
}

.page_top::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--brand-page-bg);
    border-right: 2px solid var(--brand-page-bg);
    transform: rotate(-45deg);
    left: 17px;
    bottom: 10px;
}

/* ページトップに戻るアイコン ここまで */


/* ページトップに戻るアイコン マウスホバーで色が変わる */
.page_top:hover {
    background-color: var(--brand-gold);
}

/* フッターここまで */

/* ===== News list visual cards ===== */
body {
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0;
}

.news_item_with_image {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 28px 0;
}

.news_thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #eaf7fa;
    box-shadow: 0 10px 24px rgba(0, 101, 127, 0.08);
}

.news_thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news_item_with_image:hover .news_thumb img {
    transform: scale(1.04);
}

.news_copy {
    min-width: 0;
}

.news_item_with_image .news_head {
    width: 100%;
    gap: 12px;
    margin-bottom: 10px;
}

.news_item_with_image .news_date {
    width: auto;
    font-size: 1.4rem;
    color: #5e6a80;
    letter-spacing: 0;
    white-space: nowrap;
}

.news_item_with_image .news_label a {
    width: auto;
    min-width: 78px;
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
    background: var(--brand-cyan);
    font-size: 1.15rem;
    letter-spacing: 0;
}

.news_item_with_image .news_title {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: 0;
}

.news_summary {
    margin-top: 10px;
    color: #4f5b70;
    font-size: 1.45rem;
    line-height: 1.8;
    letter-spacing: 0;
}

@media screen and (max-width: 760px) {
    #container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .news_item_with_image {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
