﻿@charset "UTF-8";

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

* {
	box-sizing: border-box;
}

*:focus {
	outline: none;
}

body {
	font-family: "Helvetica Neue",
		"Helvetica",
		"Hiragino Sans",
		"Hiragino Kaku Gothic ProN",
		"Arial",
		"Yu Gothic",
		"Meiryo",
		sans-serif;
	font-size: 15px;
	line-height: 1.8;
}

.container {
	width: 100%;
	height: 100%;
}

header {
	position: relative;
	width: 100%;
	height: 70px;
	margin-bottom: 10px;
	padding: 20px 0;
	text-align: center;
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.11) 0 1px 3px, rgba(0, 0, 0, 0.24) 0 1px 3px;
}

.zkai-logo {
	position: absolute;
	top: 50%;
	left: 1em;
	height: 30px;
	transform: translateY(-50%);
	vertical-align: bottom;
}

.image-logo {
	height: 30px;
	vertical-align: bottom;
}

main {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}

footer {
	width: 100%;
	text-align: center;
	color: #fff;
	background-color: #043491;
}

.footer-content {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-between;
	width: 90%;
	max-width: 980px;
	height: 100px;
	margin: 0 auto;
}

/* ==========================================
   見出し・余白・全体レイアウトの改善
========================================== */
p {
	margin-top: 0;
	margin-bottom: 1.2rem;
	color: #333;
}

/* 【追加】お知らせの日付ラベル */
.news-date {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: bold;
	line-height: 1.2;
	color: #043491;             /* Z会ブランドの濃い青 */
	background-color: #e2ecf8;  /* 親和性の高い上品で薄いブルー */
	padding: 0.2rem 0.6rem;
	border-radius: 4px;         /* 角丸 */
	margin-bottom: 0.4rem;      /* 本文との間の適度な隙間 */
}

section {
	margin: 2.5rem 0;
	padding: 1.8rem;
	animation-name: fadeIn;
	animation-duration: 0.5s;
	opacity: 1;
	border-radius: 8px;
	background-color: #fff;
	border: 1px solid #eaeaea;
}

h2 {
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 2rem;
	padding-bottom: 0.8rem;
	color: #043491;
	border-bottom: 3px solid #043491;
}

h3 {
	font-size: 1.35rem;
	font-weight: bold;
	line-height: 1.4;
	margin: 2rem 0 1.2rem; 
	padding: 0.6rem 1rem;
	color: #043491;
	border-left: 6px solid #043491;
	background-color: #f0f4fa;
	border-radius: 0 6px 6px 0;
}

h3.section-title {
	color: #fff;
	background-color: #043491;
}

h3.header-ttl {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: bold;
	line-height: 1;
	margin: 0 0 0.8rem 0;
	padding: 0.4rem 0.8rem;
	color: #fff;
	background-color: #043491;
	border-left: none;
	border-radius: 4px;
}

h4 {
	font-size: 1.15rem;
	font-weight: bold;
	position: relative;
	margin-top: 2.2rem;
	margin-bottom: 1rem;
	padding-bottom: 0.4rem;
	color: #333;
	border-bottom: 2px solid #ddd;
}

h5 {
	font-size: 1.05rem;
	font-weight: bold;
	margin: 1.5rem 0 0.6rem;
	color: #043491;
}

.entry-title {
	padding: auto;
}

.box__frame {
	padding: 1.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background-color: #f8fafc;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	margin-bottom: 2rem;
}

.box__frame h4 {
	margin-top: 0;
}

.box__frame-note {
	font-size: 0.875rem;
	margin: 1em 0;
	padding: 1em;
	border: 1px solid #ff4b00;
	background-color: #fff;
	box-shadow: #f5f5f5;
}

.text-caution {
	font-weight: bold;
	margin: 1.5em 0 0.5em;
	color: #ff4b00;
}

.area__button {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin: 1.5em 0;
}

.area__button::after {
	display: block;
	width: 250px;
	content: "";
}

.btn-item {
	width: 250px;
	margin: 0.5em 0;
}

.area__link {
	width: 100%;
	max-width: 500px;
	margin: 0.5em 0;
}

.area__text-link {
	width: 100%;
	margin-left: 1em;
	word-break: break-all;
}

.link-page {
	font-size: 1rem;
	position: relative;
	display: block;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0.5em 2em;
	transition: all 0.5s ease;
	text-decoration: none;
	color: #009dcb;
	border: 1px solid #009dcb;
	border-radius: 2px;
	background-color: #fff;
}

.link-page::after {
	position: absolute;
	top: 0;
	right: 1em;
	bottom: 0;
	width: 0.5em;
	height: 0.5em;
	margin: auto;
	content: "";
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	vertical-align: middle;
	border-top: 1px solid #009dcb;
	border-right: 1px solid #009dcb;
}

.link-page:hover {
	color: #fff;
	background-color: #009dcb;
}

.link-page:hover::after {
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
}

.btn-links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.btn-links-item {
	width: calc(50% - 2em);
	margin: 1em;
}

.btn-links-item .link-page {
	margin: 0;
}

.text-indent-hunging,
.text-list {
	margin-left: 1em;
	text-indent: -1em;
}

.text-indent {
	margin-left: 1em;
}

.text-link {
	color: #043491;
}

.text-title {
	font-weight: bold;
	margin: 0 0 0.5em;
}

.text-note {
	font-size: 0.85rem;
	color: #666;
	margin-left: 0.85em;
	text-indent: -0.85em;
	margin-top: 0.3rem;
	margin-bottom: 0.5rem;
}

.text-mark {
	padding: 0.5em 1em;
	color: #fff;
	background-color: #009dcb;
}

.text-color-r {
	color: #ff4b00;
}

.text-color-b {
	color: #043491;
}

.border-area__image {
	width: 240px;
	max-width: 80%;
	margin: 1em auto;
	padding: 5px;
	border: 1px solid #eee;
}

.border-area__image+.image-caption {
	text-align: center;
}

.area__image {
	margin: 1em;
}

.image-caption {
	font-weight: bold;
}

.image-base {
	width: auto;
	height: 150px;
	vertical-align: bottom;
}

.image-qr {
	width: 150px;
	height: 150px;
	vertical-align: bottom;
}

.image-exp {
	width: 100%;
	max-width: 240px;
	vertical-align: bottom;
}

.image-app {
	width: 60px;
	height: 60px;

	filter: drop-shadow(0px 0px 5px rgba(160, 160, 160, 0.7));
}

.float-item {
	float: right;
}

.image-float {
	height: 150px;
}

.image-guide {
	width: 100%;
	height: auto;
}

.image-inline {
	height: 30px;
	vertical-align: middle;
}

.mark-caution {
	width: 25px;
	height: 25px;
	margin-right: 0.5em;
	vertical-align: bottom;
}

.mark-app {
	width: 25px;
	height: 25px;
	vertical-align: bottom;
}

.area__exp-device {
	display: flex;
	flex-direction: row;
}

.exp-item {
	width: calc(50% - 2em);
	margin: 1em 1em 1em 0;
}

.box-frame {
	margin: 1em 0;
	padding: 1em;
	border-radius: 4px;
	background-color: #f5f5f5;
}

.footer-content .logo a {
	display: block;
	overflow: hidden;
	width: 130px;
	height: 32px;
	white-space: nowrap;
	text-indent: 100%;
	background: url("../images/zkai_logo_f.svg") 0 0 no-repeat;
	background-size: 100%;
}

.footer-content p {
	font-family: sans-serif;
	font-size: 0.8em;
	text-align: right;
	color: #fff;
}

/****************
Link area
****************/
/* 目次 */
ul.menu {
	position: relative;
	margin-top: 50px !important;
	padding: 0 0.5em;
	border: 1px solid #043491;
}

ul.menu li {
	line-height: 2;
	padding: 0.25em 0 0.25em 1.5em;
	list-style-type: none !important;
	border-bottom: 1px dashed #ccc;
}

ul.menu li:last-of-type {
	border-bottom: none;
}

ul.menu li:before {
	font-size: 100%;
	position: absolute;
	left: 13px;
	content: "■";
	color: #043491;
}

ul.menu li:after {
	font-weight: bold;
	position: absolute;
	bottom: 100%;
	left: -1px;
	padding: 0 0.75em;
	content: "目次";
	letter-spacing: 0.25em;
	color: #fff;
	background: #043491;
}

ul.menu li a {
	display: block;
	width: auto;
	padding-right: 1em;
	text-decoration: none;
	background: url(../images/icon_arrow.png) no-repeat 100% 50%;
	background-size: 15px;
}

.link-page {
	margin: 1.5em 0;
}

ul.link-page a {
	font-weight: bold;
	margin-left: 0.25em;
	text-decoration: none;
	color: #043491;
}

ul.link-page li {
	margin: 0.5em 0;
	padding-left: 0.5em;
	list-style: none;
	border-bottom: 1px dotted #043491;
}

ul.link-page a:hover {
	color: #006999;
}

ul.link-page li::before {
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: -4px;
	content: "";
	border: 6px solid transparent;
	border-left: 8px solid #043491;
}

ul.square-list li {
	margin: 0.5em 0;
	padding-left: 0.5em;
	list-style: none;
	border-bottom: 1px dotted #043491;
}

ul.square-list li::before {
	content: "□";
	color: #043491;
}

ul.black-square-list li {
	margin: 0.5em 0;
	padding-left: 0.5em;
	list-style: none;
	border-bottom: 1px dotted #043491;
}

ul.black-square-list li::before {
	content: "■";
	color: #043491;
}

ul.triangle-list li {
	margin: 0.5em 0;
	padding-left: 0.5em;
	list-style: none;
	border-bottom: 1px dotted #043491;
}

ul.triangle-list li::before {
	content: "▷";
	color: #043491;
}

ul.square-list a {
	font-weight: bold;
	margin-left: 0.25em;
	text-decoration: none;
	color: #043491;
}

ul.square-list a:hover {
	color: #006999;
}

ul.black-square-list a {
	font-weight: bold;
	margin-left: 0.25em;
	text-decoration: none;
	color: #043491;
}

ul.black-square-list a:hover {
	color: #006999;
}

ul.triangle-list a {
	font-weight: bold;
	margin-left: 0.25em;
	text-decoration: none;
	color: #043491;
}

ul.triangle-list a:hover {
	color: #006999;
}

.list-sub {
	padding-left: 2.5em !important;
}

ul.menu li.list-sub:before {
	font-size: 100%;
	position: absolute;
	left: 1.5em;
	content: "□";
	color: #043491;
}

ul.normal-index {
	margin-left: 1em;
	list-style: disc;
}

/* スライドパネル */
.box-slide-panel-area {
	margin: 1em 0;
}

.box-slide-panel {
	margin: 1em 0;
	padding: 0.5em 1em;
	background-color: #efefff;
}

.no-disp {
	display: none;
}

.btn-slide {
	font-size: 1.05em;
	font-weight: bold;
	position: relative;
	display: block;
	margin: 0 auto;
	padding: 0.5em 2em 0.5em 1em;
	padding-left: 20px;
	text-decoration: none;
	color: #333;
	background-color: #ccebf4;
}

.btn-slide::after {
	position: absolute;
	top: 50%;
	right: 1em;
	width: 6px;
	height: 6px;
	margin-top: -6px;
	content: "";
	transform: translateY(-50%);
	transform: rotate(45deg);
	border: 0;
	border-top: initial;
	border-right: solid 2px #333;
	border-bottom: solid 2px #333;
}

.is-active::after {
	position: absolute;
	top: 50%;
	right: 1em;
	width: 6px;
	height: 6px;
	margin-top: -2px;
	content: "";
	transform: translateY(-50%);
	transform: rotate(-45deg);
	border: 0;
	border-top: solid 2px #333;
	border-right: solid 2px #333;
	border-bottom: initial;
}

.box-qa-slide-panel-area {
	margin: 1em 0;
}

.box-qa-slide-panel-area .btn-slide {
	width: 100%;
	margin: 1em 0 0 0;
	text-align: left;
}

.box-qa-slide-panel-area .box-slide-panel {
	margin: 0;
	background: transparent;
}

.box-qa-slide-panel-area .txt-qa-a {
	margin-left: 0;
	padding-left: 2em;
	text-indent: -2em;
}

.box-qa-slide-panel-area .txt-qa {
	margin-left: 0;
	padding-left: 2em;
	text-indent: 0;
}

.mt1 {
	margin-top: 1em;
}

.mt2 {
	margin-top: 2em;
}

.mtb1h {
	margin: 1em 0 0.5em;
}

.mtb1a {
	margin: 1em 0 1em;
}

/* ==========================================
   レスポンシブデザイン (スマホ・タブレット)
========================================== */
@media screen and (max-width: 768px) {
	/* お知らせ枠のスクロールシャドウ化 */
	.box__frame {
		max-height: 250px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: 
			linear-gradient(#f8fafc 30%, rgba(248, 250, 252, 0)),
			linear-gradient(rgba(248, 250, 252, 0), #f8fafc 70%) 0 100%,
			radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0)),
			radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0)) 0 100%;
		background-repeat: no-repeat;
		background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
		background-attachment: local, local, scroll, scroll;
	}
}

@media screen and (max-width: 520px) {
	.area__button {
		flex-direction: column;
	}

	.item-middle {
		margin: 0;
	}

	.btn-links {
		flex-direction: column;
	}

	.btn-links-item {
		width: 100%;
		margin: 0.25em 0;
	}

	.footer-content {
		flex-direction: column;
		justify-content: center;
		width: 100%;
		height: auto;
	}

	.logo {
		margin: 20px 0;
	}

	.copyright {
		margin-bottom: 12px;
	}
}