@charset "UTF-8";

header #nav_menu > ul > li:nth-child(5) > a::before{
	background: var(--mClr2);
}

/*-----------------------------------

	headline

-----------------------------------*/
#headline {
	background-image: url(../img/product/mv.jpg);
}

#headline h1::before {
	content: "Public Product & Support";
}


/*-----------------------------------

	product_block

-----------------------------------*/
/* 親要素の並び */
#product_block .product_wrap {
	display: flex;
	gap: 20px;
	justify-content: space-between;
		align-items: stretch;
	margin-top: 40px;

}

/* 各カードのスタイル */
#product_block .product_box {
	flex: 1;
	background-color: #f0f9f4;
	/* 薄い緑色の背景 */
	border-radius: 15px;
	/* 外枠の角丸 */
	padding: 35px;
}

/* 画像のスタイル */
#product_block .product_box img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	/* 画像の角丸 */
	margin-bottom: 20px;
	display: block;
}

#product_block .product_wrap h3 {
	width: 100%;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.8;
	background: #585859;
	color: #FFF;
	padding: 15px 20px 15px 30px;
	margin-bottom: 20px;
	border-radius: 5px;
	position: relative;
}

#product_block .product_wrap h3::before,
#product_block .product_wrap h3::after {
	content: "";
	width: 6px;
	position: absolute;
	bottom: 10px;
	left: 10px;
}

#product_block .product_wrap h3::before {
	height: calc(100% - 20px);
	background: var(--mClr3);
	border-radius: 2px;
}

#product_block .product_wrap h3::after {
	height: calc(100% - 26px);
	background: var(--mClr1);
	border-radius: 0 0 2px 2px;
}

#product_block .product_wrap ul {
	width: auto;
	font-size: 18px;
	font-weight: 700;
	font-family: var(--fEn);
	line-height: 1.66;
	letter-spacing: 0.08em;
	display: inline-block;
}
@media screen and (max-width: 1024px) {
    #product_block .product_wrap {
        gap: 20px;
    }
    #product_block .product_box {
        padding: 25px;
    }
}

/* --- レスポンシブ: 840px以下 --- */
@media screen and (max-width: 840px) {
    #product_block .product_wrap {
        /* 840pxで縦並びにするか、2列を維持するかはお好みですが、
           画像と文字のバランス的に「縦並び」が安全です */
        flex-direction: column;
        gap: 20px;
    }

    #product_block .product_box {
        flex: none;
        width: 100%;
        padding: 25px;
    }

    #product_block .product_wrap h3 {
        font-size: 1.3rem;
        padding: 12px 15px 12px 30px;
    }

    #product_block .product_wrap ul {
        font-size: 1.6rem;
    }
}

/* --- レスポンシブ: 640px以下 (スマホ) --- */
@media screen and (max-width: 640px) {
    #product_block .product_wrap {
        margin-top: 30px;
    }

    #product_block .product_box {
        padding: 20px;
        border-radius: 10px;
    }

    #product_block .product_box img {
        margin-bottom: 15px;
    }

    #product_block .product_wrap h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    #product_block .product_wrap ul {
        font-size: 1.5rem;
        /* スマホで横幅が足りない場合に備えて */
        display: block;
    }
    
    #product_block .product_wrap ul li {
        margin-bottom: 5px;
    }
}

/*-----------------------------------

	notice_block

-----------------------------------*/
#notice_block {
	margin: 90px auto 100px;
}

#notice_block .contents_inner {
	position: relative;

}

#notice_block .main_title {
    margin-bottom: 40px;
}

#notice_block a.more {
	font: 700 1.5rem/28px var(--fJa);
	padding-right: 40px;
	background: url(../img/product/icon_arrow_newsmore.svg) no-repeat right center/28px;
	position: absolute;
	right: 0;
	top: 55px;
	/* news_listのすぐ上に配置 */
}

#notice_block .news_list {
	border-top: 1px solid #E6ECF2;
}

#notice_block .news_list article {
	border-bottom: 1px solid #E6ECF2;
	padding: 30px;
}

#notice_block .news_list article a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 25px;
	letter-spacing: -0.01em;
}

#notice_block .news_list article a time {
	font: 500 1.2rem/1 var(--fEn);
	color: #979797;
}

#notice_block .news_list article a p {
	line-height: 1.42;
}

#notice_block .news_list article a .pdf {
	display: inline-block;
	width: 12px;
	height: 15px;
	background: url(../img/index/icon_pdf.svg) no-repeat center/contain;
	margin-left: 10px;
	vertical-align: middle;
}

@media screen and (max-width: 840px) {
	#notice_block .news_list article a p {
		width: 100%;
	}
}

@media screen and (max-width: 640px) {
	#notice_block {
		margin: 60px auto 60px;
	}

#notice_block .main_title {
	margin-bottom: 40px;
}

	#notice_block .news_list article {
		padding: 20px 0;
	}

	#notice_block .news_list article a {
		gap: 5px 15px;
	}
		#notice_block a.more {
		font-size: 1.4rem;
	background: url(../img/product/icon_arrow_newsmore.svg) no-repeat right center/21px;
	position: absolute;
	right: 0;
	top: 70px;
	}
}

/*-----------------------------------

	catalog_block

-----------------------------------*/



/* カタログ全体のコンテナ */
.catalog_wrap {
    display: flex;
    align-items: flex-start;
    gap: 40px;         
    background-color: #f4f9f8; 
    border: 1px solid #D4E6E3;    
    border-radius: 10px;       
    padding: 30px 40px;
    margin: 60px 0 0;
}

/* 左側：画像ボックス */
.catalog_wrap .left_box {
    flex: 0 0 230px; /* 幅を固定（画像のサイズに合わせて調整してください） */
}

.catalog_wrap .left_box img {
    width: 100%;
    height: auto;
    display: block;
    /* 必要に応じて img にも border-radius を追加してください */
}

/* 右側：テキストとボタン */
.catalog_wrap .right_box {
    flex: 1;
	margin-top: 10px;
}

.catalog_wrap .right_box p {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 35px; /* ボタンとの間隔 */
}

/* 電子カタログボタン */
.catalog_wrap .right_box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00A07D; /* 緑色 */
    color: #fff;
    font-weight: 600;
	line-height: 1;
    font-size: 1.5rem;
    padding: 15px 25px 15px 40px;
    border-radius: 30px;       /* カプセル型 */
    text-decoration: none;
    transition: opacity 0.3s;
}

.catalog_wrap .right_box a:hover {
    opacity: 0.8;
}

/* ボタン内のアイコン */
.catalog_wrap .right_box a img {
    width: 20px;
    height: auto;
    margin-left: 15px;
}

/* --- レスポンシブ（スマホ対応） --- */
/* --- レスポンシブ対応 --- */

/* タブレットサイズ（960px以下など、必要に応じて調整） */
@media screen and (max-width: 840px) {
    .catalog_wrap {
        gap: 30px; /* 余白を少し詰める */
        padding: 30px;
    }
    .catalog_wrap .left_box {
        flex: 0 0 200px; /* 画像を少し小さく */
    }
}

/* スマホサイズ（640px以下） */
@media screen and (max-width: 640px) {
    .catalog_wrap {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;    /* 中央揃え */
        padding: 30px 20px;
        margin: 40px 0 0;         /* 外側の余白も少し調整 */
        gap: 20px;              /* 画像とテキストの間隔 */
    }

    .catalog_wrap .left_box {
        flex: 0 0 auto;
        width: 100%;           /* 幅を広げる */
        max-width: 240px;      /* 大きくなりすぎないよう制限 */
    }

    .catalog_wrap .right_box {
        margin-top: 0;
        text-align: center;    /* テキストとボタンを中央寄せ */
    }

    .catalog_wrap .right_box p {
        font-size: 1.4rem;     /* 文字を少し小さく */
        line-height: 2;
        margin-bottom: 25px;
        text-align: left;      /* 文章は左揃えの方が見やすい場合が多い */
    }

    /* ボタンを押しやすいサイズに調整 */
    .catalog_wrap .right_box a {
        width: 100%;           /* 横幅いっぱいに広げる */
        max-width: 280px;      /* 最大幅を制限 */
        padding: 15px 20px;    /* 左右の余白を均等に */
        box-sizing: border-box;
    }
}

/*-----------------------------------

	download_block

-----------------------------------*/

#download_block {
    padding: 100px 0;
}

/* カテゴリごとの塊 */
.download_item {
    margin-top: 50px;
}

/* サブタイトル（緑の棒がある見出し） */
.download_item .sub_ttl {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;

    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
	border-left: 6px solid var(--mClr1);
	padding: 8px 20px;
}


/* ファイルリスト */
.file_list {
    border-top: 1px solid #E6ECF2;
}

.file_list li {
    border-bottom: 1px solid #E6ECF2;
}

.file_list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px 25px 35px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.file_list li a:hover {
    background-color: #F9FBFB;
}

/* ファイル名とPDFアイコン */
.file_name {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.icon_pdf {
    display: inline-block;
    width: 14px;
    height: 16px;
    background: url(../img/common/icon_pdf.svg) no-repeat center/contain;
    margin-left: 10px;
}

.icon_download {
    display: block;
    width: 18px;
    height: 19.29px;
    background: url(../img/product/icon_download.svg) no-repeat center/contain;
}

/* --- レスポンシブ対応 --- */

@media screen and (max-width: 840px) {
    #download_block {
        padding: 80px 0; /* 全体の上下余白を少し調整 */
    }

    .download_item {
        margin-top: 40px; /* カテゴリ間の余白を調整 */
    }

    .download_item .sub_ttl {
        font-size: 2.0rem; /* 見出しを少し小さく */
        padding: 6px 15px;
    }

    .file_list li a {
        padding: 20px 15px 20px 25px; /* リスト内のパディングを調整 */
    }
}

@media screen and (max-width: 640px) {
    #download_block {
        padding: 60px 0; /* スマホ向けにさらに余白を調整 */
    }

    .download_item {
        margin-top: 30px;
    }

    .download_item .sub_ttl {
        font-size: 1.8rem; /* さらに見出しを小さく */
        border-left-width: 4px; /* 緑の棒を少し細く */
        padding: 5px 12px;
        line-height: 1.4;
    }

    .file_list li a {
        padding: 15px 10px 15px 15px; /* 左右の余白を詰める */
        gap: 10px; /* テキストとダウンロードアイコンの最低限の隙間 */
    }

    .file_name {
        font-size: 1.3rem; /* ファイル名の文字サイズ調整 */
        line-height: 1.5;
        /* 長いファイル名がダウンロードアイコンに被らないように */
        flex: 1; 
    }

    .icon_pdf {
        width: 12px;
        height: 14px;
        margin-left: 6px;
        flex-shrink: 0; /* アイコンが潰れないように */
    }

    .icon_download {
        width: 16px;
        height: 17.15px; /* アスペクト比を維持しつつ縮小 */
        flex-shrink: 0;
    }
}