/*
Theme Name: 高知県職業能力開発協会　オリジナルテーマ 2026
Description: セマンティックな HTML と Flexbox で組み直した高知県職業能力開発協会のテーマです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: original-theme-2026
*/

/* 基本
---------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
	/* font-weight: 300; */
	font-size: 1rem;
	line-height: 1.9;
	color: #333;
	letter-spacing: 0.4px;
	background-color: #343a40;
	overflow-wrap: break-word;
	word-break: normal;
}
/* メニュー展開中は背景をスクロールさせない */
body.is-global-menu-open {
    overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}

ul,
ol {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: #007bff;
	background-color: transparent;
	text-decoration: none;
}

a:hover {
	color: #0056b3;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid #8cc63f;
	outline-offset: 2px;
}

hr {
	box-sizing: content-box;
	height: 0;
	margin: 1rem 0;
	overflow: visible;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

main {
	display: block;
	background-color: #fff;
}

.c-skip-link {
	position: absolute;
	top: -4rem;
	left: 1rem;
	z-index: 2000;
	padding: 0.5rem 1rem;
	background-color: #fff;
	color: #333;
}

.c-skip-link:focus {
	top: 1rem;
}

/* レイアウト
---------------------------------------------------------- */
.l-container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

@media (min-width: 576px) {
	.l-container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.l-container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.l-container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.l-container {
		max-width: 1140px;
	}
}

.l-columns {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

.l-columns--center {
	justify-content: center;
}

.l-columns__item {
	width: 100%;
	max-width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-bottom: 50px;
}

@media (min-width: 768px) {
	.l-columns__item--one-third {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}

	.l-columns__item--two-thirds {
		flex: 0 0 66.666667%;
		max-width: 66.666667%;
	}

	.l-columns__item--topics {
		flex: 0 0 83.333333%;
		max-width: 83.333333%;
	}
}

@media (min-width: 992px) {
	.l-columns__item--topics {
		flex: 0 0 58.333333%;
		max-width: 58.333333%;
	}
}

/* グローバルナビゲーション
---------------------------------------------------------- */
.l-header {
	background-color: #343a40;
}

.c-global-nav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	max-width: 1140px;
	margin: auto;
	/* padding: 8px 15px; */
}

.c-global-nav__logo {
	margin: 0;
}

.c-global-nav__logo a {
	display: inline-block;
	padding: 5px 0 0 30px;
	line-height: 0;
}

.c-global-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
	border: none;
    /* border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px; */
    background-color: transparent;
    color: #fff;
    cursor: pointer;
}

/* ハンバーガーアイコン */
.c-global-nav__hamburger {
    position: relative;
    display: block;
    width: 22px;
    height: 18px;
}

.c-global-nav__hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.c-global-nav__hamburger span:nth-child(1) {
    top: 0;
}

.c-global-nav__hamburger span:nth-child(2) {
    top: 8px;
}

.c-global-nav__hamburger span:nth-child(3) {
    top: 16px;
}

/* メニュー展開時：×に変形 */
.c-global-nav.is-open .c-global-nav__hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.c-global-nav.is-open .c-global-nav__hamburger span:nth-child(2) {
    opacity: 0;
}

.c-global-nav.is-open .c-global-nav__hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.c-global-nav__menu {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-global-nav__menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.c-global-nav__menu > li > a {
	display: block;
	padding: 25px 30px;
	color: #fff;
	text-decoration: none;
	font-size: 18px;
}

.c-global-nav__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #343a40;
}

.c-global-nav__menu li:hover > .sub-menu,
.c-global-nav__menu li:focus-within > .sub-menu,
.c-global-nav__menu li.is-submenu-open > .sub-menu {
	display: block;
}

.c-global-nav__menu .sub-menu li {
	width: 100%;
}

.c-global-nav__menu .sub-menu li a {
	display: block;
	padding: 12px 15px;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.c-global-nav__menu a:hover,
.c-global-nav__menu a:focus {
	color: #fff;
	background-color: #555;
}

/* 下層メニューがある項目に下向き三角を表示 */
.c-global-nav__menu > li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em;
    border-top: 5px solid #fff;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    vertical-align: middle;
}

@media screen and (max-width: 767px) {
	.c-global-nav__inner {
        margin-top: 10px;
        margin-bottom: 5px;
        margin-left: 1em;
        margin-right: 1em;
    }

    .c-global-nav__logo a {
        display: inline-block;
        padding: 0;
        line-height: 0;
    }

    .c-global-nav__toggle {
        display: inline-flex;
    }

    /* ナビゲーションの重なり順 */
    .c-global-nav {
        position: relative;
        z-index: 1001;
    }

    /* 全画面メニュー */
    .c-global-nav__menu {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;

        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;

        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 20px 1.5rem 40px;

        overflow-y: auto;
        background-color: #343a40;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);

        transition:
            opacity 0.3s ease,
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.4s;
    }

    /* メニュー展開時 */
    .c-global-nav.is-open .c-global-nav__menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);

        transition:
            opacity 0.3s ease,
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s;
    }

    /* メニュー項目 */
    .c-global-nav__menu > li {
        width: 100%;
        flex: 0 0 auto;
    }

    .c-global-nav__menu > li > a {
        padding: 15px 10px;
        white-space: normal;
    }

    /* サブメニューは常時表示 */
    .c-global-nav__menu .sub-menu {
        display: block;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0 0 10px 20px;
        background-color: transparent;
    }

    .c-global-nav__menu .sub-menu li {
        width: 100%;
    }

    .c-global-nav__menu .sub-menu li a {
        padding: 10px 15px;
        white-space: normal;
        color: #ddd;
    }

}

/* ヒーロー
---------------------------------------------------------- */
.c-hero {
	margin-bottom: 2rem;
	padding: 2rem 0;
	background-color: var(--hero-color, #8cc63f);
	color: #fff;
}

.c-hero__title {
	margin-bottom: 0.5rem;
	font-size: 3rem;
	font-weight: 300;
	line-height: 1.2;
	text-wrap: balance;
}

.c-hero__text {
	margin-bottom: 0;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.3;
}

.c-hero--home {
	background-color: #8cc63f;
	background-image: url("images/top_image.png");
	background-repeat: no-repeat;
	background-position: 80% top;
	background-size: auto 100%;
}

@media (min-width: 576px) {
	.c-hero {
		padding: 4rem 0;
	}

	.c-hero__title {
		font-size: 3.5rem;
	}
}

@media (max-width: 575.98px) {
	.c-hero--home {
		background-position: 50% top;
	}

	.c-hero--home .c-hero__title,
	.c-hero--home .c-hero__text {
		text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
	}

	.association .c-hero__title {
		font-size: 3rem;
	}
}

/* トップの紹介
---------------------------------------------------------- */
.c-features {
	margin-top: 100px;
	margin-bottom: 100px;
}

.c-feature {
	height: 100%;
	margin: 0 30px 50px;
	display: flex;
	flex-direction: column;
}

.c-feature__icon {
	display: block;
	margin: 1.5rem auto;
	width: 100px;
	height: 100px;
	/* line-height: 1;
	text-align: center; */
}

.c-feature__title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4rem;
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
}

.c-feature__text {
	margin-top: 2em;
	margin-bottom: 0;
}

.c-button {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	border: 1px solid #8cc63f;
	border-radius: 0;
	background-color: #8cc63f;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	margin-top: auto;
}

.c-button:hover,
.c-button:focus {
	border-color: #71a230;
	background-color: #78ac33;
	color: #fff;
	text-decoration: none;
}

/* 新着トピックス
---------------------------------------------------------- */
.c-topics {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.c-topics__heading {
	margin-bottom: 1rem;
	font-size: 2rem;
	font-weight: 500;
	text-align: center;
}

.c-topics__item {
	margin: 1.5rem 0;
}

.c-topics__date {
	display: inline-block;
	padding: 5px 10px;
	background-color: #c1c9d1;
	color: #fff;
}

.c-topics__new {
	display: inline-block;
	padding: 5px 10px;
	color: #cc0000;
	font-weight: 600;
}

.c-topics__title {
	margin-top: 1rem;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.5;
}

/* ご挨拶
---------------------------------------------------------- */
.c-greeting {
	margin-top: 100px;
	padding: 100px 0;
	background-color: #f8f9fa;
}

.c-greeting__title {
	margin-bottom: 1rem;
	font-size: 2rem;
	font-weight: 500;
	text-align: center;
}

.c-name {
	margin-top: 20px;
	text-align: right;
}

.c-name span,
.name span {
	font-size: 153.9%;
}

/* 固定ページ
---------------------------------------------------------- */
.c-content {
	padding-top: 50px;
	padding-bottom: 50px;
}

.c-content__body h2,
.c-topics__item h2 {
	margin-bottom: 20px;
	padding-bottom: 5px;
	border-bottom: 5px solid #f8f9fa;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.4;
}

.c-content__body p,
.c-content__body ul {
	font-size: 1rem;
}

.c-content__body ul {
	line-height: 1.8;
}

.c-content__body ul li,
.c-content__body ol li {
	margin-bottom: 1rem;
}

.c-content__body ul li ul li,
.c-content__body ol li ol li {
	margin-bottom: 0;
}

.c-content__body ol li {
	list-style-type: decimal;
}

.c-content__body ol li.roman {
	list-style-type: lower-roman;
}

.c-content__body strong {
	font-weight: bold;
}

.c-content__body .small {
	color: #4f4f4f;
	font-weight: 300;
}

.c-content__body img.aligncenter,
.c-content__body .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.c-content__body img.alignleft,
.c-content__body .alignleft {
	float: left;
	margin-right: 1rem;
	margin-bottom: 1rem;
}

.c-content__body img.alignright,
.c-content__body .alignright {
	float: right;
	margin-bottom: 1rem;
	margin-left: 1rem;
}

.c-content__body::after {
	display: block;
	clear: both;
	content: "";
}

/* 自動でリンクの後ろに別ウィンドウアイコン表示 */
.c-content__body a.is-external-link::after,
.c-topics__item a.is-external-link::after {
    content: "\2197";
    display: inline-block;
    margin-left: 0.15em;
	margin-right: 0.2em;
    font-size: 1em;
    text-decoration: none;
    vertical-align: baseline;
}




.study h2,
.study strong {
	color: #5dadd4;
}

.test h2,
.test strong {
	color: #eb7f7a;
}

.association h2,
.association strong {
	color: #8cc63f;
}

.c-page-nav {
	position: sticky;
	top: 95px;
	display: flex;
	flex-direction: column;
	margin-bottom: 2rem;
	padding: 0;
}

.c-page-nav__link {
	display: block;
	padding: 0.75rem 1.25rem;
	border: 1px solid rgba(0, 0, 0, 0.125);
	border-top-width: 0;
	background-color: #fff;
	color: #495057;
	text-decoration: none;
}

.c-page-nav__link:first-child {
	border-top-width: 1px;
}

.c-page-nav__link:hover,
.c-page-nav__link:focus {
	background-color: #f8f9fa;
	color: #495057;
	text-decoration: none;
}

.c-page-nav__link[aria-current="page"] {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
}
.c-page-nav__link[aria-current="page"] {
    pointer-events: none;
    cursor: default;
}

/* 投稿本文で使っている既存クラス
---------------------------------------------------------- */
.headline3 {
	margin-top: 5rem;
	margin-bottom: 1rem;
	padding-bottom: 10px;
	border-bottom: 1px solid #ece9e6;
	color: #444;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.5;
}

.headline4 {
	margin-top: 3rem;
	margin-bottom: 1.5rem;
	padding-left: 0.5rem;
	border-left: 5px solid #ece9e6;
	color: #444;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.annotateinp {
	color: #888;
	font-size: 0.8rem;
}

.annotate {
	display: block;
	margin-top: 1rem;
	padding-top: 0.5rem;
	border-top: 1px dotted #ece9e6;
	color: #888;
	font-size: 0.8rem;
	line-height: 1.5;
}

.annotate-ol {
	padding-left: 2rem;
}

.annotate-ol ul {
	padding-left: 1rem;
}

.annotate-ol li,
.annotate-ol ul li {
	margin-bottom: 0.3rem;
	color: #888;
	font-size: 0.8rem;
}

dl.dl01 {
	margin: 1rem 0;
	padding: 2rem;
	border: 1px dotted #ccc;
	background-color: #fff9f6;
	line-height: 1.7;
}

dl.dl01 dt {
	float: left;
	width: 12rem;
	color: #eb7f7a;
	font-weight: bold;
}

dl.dl01 dd {
	display: block;
	margin-left: 12rem;
}

dl.dl01::after {
	display: block;
	clear: both;
	content: "";
}

@media (max-width: 575.98px) {
	dl.dl01 dt {
		float: none;
		width: auto;
	}

	dl.dl01 dd {
		margin-bottom: 0.75rem;
		margin-left: 0;
	}
}

dl.dl02 {
	margin: 10px;
	padding: 10px 10px 10px 10px;
	line-height: 1.7;
}

dl.dl02 dt {
	float: left;
	width: 120px;
	margin-bottom: 5px;
	color: #eb7f7a;
	font-weight: bold;
}

dl.dl02 dt span {
	color: #666;
	font-weight: normal;
}

dl.dl02 dd {
	display: block;
	width: auto;
	max-width: 460px;
	margin-bottom: 5px;
	margin-left: 120px;
}

dl.dl02::after {
	display: block;
	clear: both;
	content: "";
}

@media (max-width: 575.98px) {
	dl.dl02 dt,
	dl.dl02 dd {
		float: none;
		width: auto;
		margin-left: 0;
	}
}

dl.dl03 dd {
	margin-left: 1rem;
}

.box01 {
	padding: 20px;
	border: 1px dotted #ccc;
	background-color: #fbfbfb;
	line-height: 1.7;
}

.cellpaddign10 {
	padding: 10px;
}

.cellpadding5 {
	padding: 5px;
}

.cellborderSolid {
	border: 1px solid #cdcac8;
}

.txtLeft {
	text-align: left;
}

.txtRight {
	text-align: right;
}

.txtCenter {
	text-align: center;
}

.txtTop {
	vertical-align: top;
}

.table {
	width: 100%;
	margin-bottom: 1rem;
	border-collapse: collapse;
}

.table th {
	vertical-align: middle;
}

.backcolorGray {
	background-color: #f2eee9;
}

.backcolorNavy {
	background-color: #336699;
	color: #fff;
}

.backcolorBlue {
	background-color: #cbdbec;
}

.backcolorPink {
	background-color: #fff9f6;
}

.backcolorRed {
	background-color: #eb7f7a;
	color: #fff;
}

.fixText {
	white-space: nowrap;
}

@media (max-width: 575.98px) {
	.fixText {
		white-space: normal;
	}

	.c-content__body {
		overflow-x: auto;
	}
}

/* フッター
---------------------------------------------------------- */
.l-footer {
	padding-top: 50px;
	padding-bottom: 50px;
	background-color: #343a40;
	color: #f8f9fa;
}

.l-footer a {
	color: #8cc63f;
}

.l-footer a:hover,
.l-footer a:focus {
	color: #fff;
}

.l-footer__column {
	margin-bottom: 50px;
}

.l-footer__title {
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
}

.l-footer__address {
	padding: 2rem;
	border: 5px solid rgba(255, 255, 255, 0.2);
	color: #ccc;
	line-height: 1.5;
	font-style: normal;
}

.l-footer__address strong {
	font-size: 1.5rem;
	line-height: 1.5;
}

.l-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.l-footer__links li {
	position: relative;
	padding: 0.3rem 0 0.3rem 1.2rem;
	font-size: 0.9rem;
	line-height: 1.4;
}

.l-footer__links li::before {
	content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid gray;
}

.l-footer__banners {
	margin: 0;
	padding: 0;
	list-style: none;
}

.l-footer__banners li {
	margin: 0;
}

.l-footer__banners li + li {
	margin-top: 1rem;
}

.l-footer__banners img {
	display: block;
	width: 100%;
	height: auto;
}

.l-footer__rule {
	border-top-color: rgba(255, 255, 255, 0.2);
}

.l-footer__copy {
	margin-bottom: 0;
	color: #f8f9fa;
	text-align: center;
}

@media (max-width: 575.98px) {
	.l-footer__address strong {
		font-size: 1.3rem;
	}
}

/* カウンター
---------------------------------------------------------- */
.c-counter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	color: rgba(255, 255, 255, 0.3);
}

.c-counter dd {
	margin-right: 1em;
	margin-left: 0.3em;
}

/* アニメーションを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce) {
    .c-global-nav__menu {
        transition: none;
        transform: none;
    }
}