@charset "utf-8";

/* 全体の制御 */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    max-width: 1980px;
    width: 100%;
    box-sizing: border-box;
    font-family: "游明朝体", "Yu mincho", serif; /* フォントを設定 */
}

header, main, footer {
    box-sizing: border-box;
    color: #000;
    vertical-align: bottom;
}

main {
    padding: 0 1%;
}

a {
    color: blue;
}

ul {
    list-style: none;
    padding: 0;  
}

dd {
    margin: 0;
}

/* 設定用クラス属性 */

.bold {
    font-weight: bold;
}

.line-height16 {
    line-height: 1.6;
}

p {
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.background-yellow {
    background-color: yellow !important;
}

.background-cian {
    background-color: cyan !important;
}

.background-lightcian {
    background-color: lightcyan !important;
}

.background-lavenderblush {
    background-color: lavenderblush !important;
}

.background-antiquwhite {
    background-color: antiquewhite !important;
}

.black {
    color: #000;
}

.cornflowerblue {
    color: cornflowerblue;
}

.normal {
    font-weight: normal !important;
}

.font-size24 {
    font-size: 24px;
}
/* PC表示とSP表示を切り替える汎用クラス */

@media screen and (min-width: 1200px) {
    .pc-only {
        display: block !important;
    }
    .sp-only {
        display: none !important;
    }
    
}

@media screen and (max-width: 1199px) {
    .pc-only {
        display: none !important;
    }
    .sp-only {
        display: block !important;
    }
    
}

/* 両矢印の装飾 */

div.arrow {
	width:auto;
	height:1px;
	background-color:#28313B;
	position:relative;
	margin-top: 30px;
    margin-bottom: 30px;
    display: none;
}
div.arrow:before {
	content:'';
	display:inline-block;
	position:absolute;
	top:-7px;
	left:-8px;
	border:8px solid transparent;
	border-right:8px solid #28313B;
}
div.arrow:after {
	content:'';
	display:inline-block;
	position:absolute;
	top:-7px;
	right:-8px;
	border:8px solid transparent;
	border-left:8px solid #28313B;
}
div.arrow div {
	position:absolute;
	left:0;
	right:0;
	top:-8px;
	margin:auto;
	width:6em;
	text-align:center;
	background-color:white;
}

div.arrow,
div.arrow:before,
div.arrow:after {
    animation: blinking 2s infinite backwards ease ;
}

@keyframes blinking {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* リンク・モーダルテキストリンクの装飾 */

.modal-link {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

/* header */

/* Loading画面設定 */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* 背景色 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 最前面に表示 */
    opacity: 1; /* 初期状態で表示 */
    transition: opacity 1s ease; /* フェードアウトのアニメーション */
}

.loading.hidden {
    opacity: 0; /* フェードアウト */
    pointer-events: none; /* フェードアウト後にクリックを無効化 */
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    align-items: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 20px;
    color: #fff000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 2px 10px #fff000;
    box-shadow: 0 0 0 20px rgba(0, 0, 0, .5);
    background: linear-gradient(0deg, #333, #000);
    box-shadow: 0 0 0 4px #353535, 0 0 0 5px #3e3e3e, inset 0 0 10px rgba(0, 0, 0, 1), 0 5px 20px rgba(0, 0, 0, 5), inset 0 0 15px rgba(0, 0, 0, .2);
}

.ring:before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    height: 100%;
    width: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #fff000;
    border-right: 3px solid #fff000;
    border-radius: 50%;
    animation: animateCircle 2s linear infinite;
}

span.ring-light {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    background: transparent;
    height: 4px;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

span.ring-light:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff000;
    top: -6px;
    right: -8px;
    box-shadow: 0 0 20px #fff000;
}

@keyframes animateCircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}
/* header内のナビゲーション */

nav {
    position: fixed;
    background-color: yellow;
    width: 100%;
    height: 100px;
    border: #000 1px solid;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo-box {
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .logo-box a {
    display: block;
    border: 1px solid #000;
    padding: 10px;
    color: #000;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s;
}

nav .logo-box a:hover {
    background-color: #000;
    color: #fff;
}

nav .gnavi-box {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 20px;
}

nav .gnavi-box .gnavi > a {
    display: block;
    position: relative;
    padding: 10px 20px;
    color: #000;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
    border-right: #000 1px solid;
    text-align: center;
    line-height: 1.6;
}

nav .gnavi-box .gnavi a:hover {
    background-color: #000;
    color: #fff;
}

nav .gnavi-box .gnavi a p {
    margin: 0;
}

.header-box {
    padding-top: 100px;
    height: calc(100vh - 100px);
    width: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top 120px left 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    border-bottom: #000 1px solid;
    text-align: left;
    margin-bottom: 100px;
}

/* ドロップダウンメニューの設定 */

.dropdown-box {
    visibility: hidden;
    width: 203px;
    position: absolute;
    top: 74px;
    box-sizing: border-box;
    transition: opacity 0.3s;
    opacity: 0;
}
.gnavi-box .gnavi:hover .dropdown-box {
    visibility: visible;
    opacity: 1;
}
.dropdown {
    transition: all .3s;
    position: relative;
    display: flex;
    align-items: center;
}
.dropdown:not(:first-child)::before{
    content: "";
    width: 202px;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
}
.dropdown a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    position: relative;
    width: 100%;
    padding: 0px !important;
    height: 0;
    font-size: 18px;
    line-height: 1.6;
    background-color: greenyellow;
    margin: 1px 1px 0 0;
    transition: all 0.3s;
}
.gnavi-box .gnavi:hover .dropdown-box .dropdown a {
    padding: 10px 20px !important;
    height: auto;
}
.dropdown a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
}
.dropdown a:hover::before {
    border-top:  2px solid #fff;
    border-left: 2px solid #fff;
}

@media screen and (max-width: 1199px) {
    .dropdown-box {
        display: block;
        position: relative;
        top: 0;
    }
    .dropdown a {
        background-color: transparent;
    }
    .dropdown a::before {
        border-top: 2px solid #fff;
        border-left: 2px solid #fff;    
    }
}

/* Topの背景差し替え設定 */

.top-background-1 {
    background-image: url(../img/human.svg);
}
.top-background-2 {
    background-image: url(../img/human-2.svg);
}

.header-box .header-text-box {
    margin-right: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    position: relative;
    padding: 20px 30px;
    border: #000 1px solid;
}

.header-box .header-text-box h1 {
    margin-bottom: 100px;
    letter-spacing: 0.1em;
}

/* current設定 */

.current {
    background-color: cyan;
    color: #000;
}

/* hamburgerメニューの設定 */

.hamburger-box {
    width: 65px;
    height: 65px;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: yellow;
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 3;
    border: #000 1px solid;
    }

/*=============================
.btn-trigger
=============================*/
.btn-trigger {
    position: relative;
    width: 50px;
    height: 44px;
    cursor: pointer;
}
.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #000;
    border-radius: 4px;
}
.btn-trigger, .btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
    top: 0;
}
.btn-trigger span:nth-of-type(2) {
    top: 20px;
}
.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

/*=============================
#btn08
=============================*/
#btn08.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) rotate(-315deg);
    transform: translateY(20px) rotate(-315deg);
}
#btn08.active span:nth-of-type(2) {
    opacity: 0;
}
#btn08.active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) rotate(315deg);
    transform: translateY(-20px) rotate(315deg);
}

/* headerのレスポンシブデザイン */

@media screen and (max-width: 1199px) {
    nav {
        display: none;
        width: 100%;
        height: 100vh;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.2);
        background-color: rgba(0, 0, 0, 0.8);
        padding-top: 50px;
        padding-bottom: 50px;
        overflow: auto;
    }

    nav .logo-box {
        margin-left: 0;
    }

    nav .logo-box a {
        background-color: yellow;
        border: #fff 1px solid;
        width: 300px;
        text-align: center;
    }

    nav .gnavi-box {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        margin-bottom: 100px;
        margin-left: 10%;
        margin-right: 10%;
    }

    nav .gnavi-box .gnavi {
        margin-bottom: 30px;
    }

    nav .gnavi-box .gnavi a {
        border: #fff 1px solid;
        color: #fff;
        width: 300px;
    }

    .hamburger-box {
        display: flex;
    }

    .show-nav {
        display: block;
    }

    .header-box {
        align-items: center;
    }

    .header-box .header-text-box {
        margin-right: 0; 
    }
    .header-box .header-text-box h1 {
        margin-bottom: 60px;
    }

}
    

@media  screen and (max-width: 420px) {

    .header-box .header-text-box h1 {
        font-size: 1.6em;
    }
    
}

/* main */

/* h2の設定 */

.h2-box {
    width: 450px;
    background-color: yellow;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: #000 1px solid;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}
.h2-box::before {
    position: absolute;
    top: 0;
    left: 75px;

    width: 150%;
    height: 500%;

    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);

    background: #00b7ee;
}

.h2-box::after {
    position: absolute;
    top: -44px;
    right: -30px;
    width: 150%;
    height: 500%;
    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(-45deg);
    transform: translateX(98%) translateY(-25%) rotate(45deg);
    background: #00b7ee;}

.h2-box img {
    width: 80px;
}

.h2-box h2 {
    font-size: 24px;
    padding: 10px 20px;
    color: #000;
    margin: 0;
}

/* アコーディオン設定ここから */

.js-accordion--close{
    display: none;
}
.accordion-box{
    height:0;
    overflow:hidden;
    transition:all 0.4s ease;
    padding-top: 0px;
}
.js-accordion{
    position: relative;
}

.js-accordion .cross-mark::before{
    content: "";
    width: 3px;
    height: 20px;
    background: #fff;
    position: absolute;
    right: 20px;
    top: 62px;
    bottom: 0;
    margin: auto;
    transition: .6s ease;
}

.js-accordion .cross-mark::after{
    content: "";
    width: 20px;
    height: 3px;
    background: #fff;
    position: absolute;
    right: 11px;
    top: 62px;
    bottom: 0;
    margin: auto;
    transition: .6s ease;
}

.js-accordion .cross-mark.is-accordion--open::before{
    transform: rotate(90deg);
}

.js-accordion .cross-mark.is-accordion--open::after{
    transform: rotate(-180deg);
}

.description-box--open {
    padding-bottom: 50px;
}

/* Windowsのみの制御 */

.win .js-accordion .cross-mark::before {
    top: 31px;
}

.win .js-accordion .cross-mark::after {
    top: 31px;
}

/* アコーディオン設定ここまで */

/* 読み方説明項目の設定 */

.example-box {
    margin: 50px auto;
    max-width: 1200px;
    width: 100%;
}

.example-box dl {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 20px;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.example-box dl dt {
    width: 30px;
    height: 30px;
    background-color: yellow;
    color: #000;
    border: #000 1px solid;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 10px;
}

/* HOME以外のh2直下のコンテンツ設定 */

.description-box {
    margin: 50px auto;
    max-width: 1200px;
    width: 100%;
}

/* Wordのtable設定ここから */

.table-box {
    margin: 50px auto;
    max-width: 1200px;
    width: 100%;
}

.table-box .word-table {
    border-collapse: collapse;
    border: #000 1px solid;
    margin: auto;
}

.table-box .word-table caption {
    caption-side: top;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.table-box .word-table tbody tr {
    width: 100%;
}

.table-box .word-table tbody tr.top-double-border {
    border-top: #000 3px double;
}

.table-box .word-table tbody tr.bottom-double-border {
    border-bottom: #000 3px double;
}

.table-box .word-table tbody tr th {
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border: #000 1px solid;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    position: relative;
    white-space: nowrap;
    text-align: left;
    vertical-align: top;
}

.table-box .word-table tbody tr th.column {
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

.table-box table tbody tr td {
    padding: 10px 20px;
    background-color: #fff;
    color: cornflowerblue;
    border: #000 1px solid;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    position: relative;
    vertical-align: top;
}

/* Wordのtable設定ここまで */

/* descriptionのtable設定ここから */

.table-box .description-table {
    border-collapse: collapse;
    border: #28313B 3px solid;
    width: 100%;
    min-width: 1200px;
}

.table-box .description-table tbody tr.top-bold-border {
    border-top: #28313B 3px solid;
}

.table-box .description-table tbody tr th,
.table-box .description-table tbody tr td {
    padding: 10px 20px;
    background-color: rgba(180, 180, 180, 1);
    color: #28313B;
    border: #28313B 1px solid;
    line-height: 1.6;
    text-align: center;
    vertical-align: middle;
}

/* descriptionのtable設定ここまで */

/* ツールチップ設定 */

.tooltip-target {
    position:relative;
    display: inline-block;
    color: red;
    cursor: pointer;
}
.tooltip-target::after {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url(../img/attention.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: bottom;
    margin-bottom: 3px;
    margin-right: 5px;
}
.tooltip {
    width: auto;
    padding:5px 10px;
    font-size:12px;
    margin:-30px 0 0;
    background-color:yellow;
    border: #000 1px solid;
    color:#000;
    position:absolute;
    right: 0px;
    bottom: 30px;
    text-align: center;
    white-space: wrap;
}
.tooltip:before {
    right: 46%;
    bottom: -8px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-color: rgba(102, 102, 102, 0);
    border-top-color: #000;
    border-width: 8px;
    margin-bottom: -8px;
}

/* 注釈付番 */

span.numbers-1::before {
    content: "1";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-2::before {
    content: "2";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-3::before {
    content: "3";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-4::before {
    content: "4";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-5::before {
    content: "5";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-6::before {
    content: "6";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-7::before {
    content: "7";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-8::before {
    content: "8";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-9::before {
    content: "9";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-10::before {
    content: "10";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-11::before {
    content: "11";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-12::before {
    content: "12";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-13::before {
    content: "13";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-14::before {
    content: "14";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-15::before {
    content: "15";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

span.numbers-16::before {
    content: "16";
    color: red;
    font-weight: bold;
    font-size: 10px;
    vertical-align: top;
}

/* modalウィンドウの設定ここから */

.modal-link::after {
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    background-image: url(../img/search.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: bottom;
    margin-bottom: 3px;
    margin-right: 5px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    cursor: pointer;
    -webkit-backdrop-filter:blur(3px);
    backdrop-filter:blur(3px);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 3px solid #28313B;
    width: 80%;
    max-width: 800px;
    cursor: default;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.modal-header {
    background-color: yellow;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 5px;
    cursor: text;
    border: #000 1px solid;
}

.modal-text {
    padding: 10px 5px;
    cursor: text;
    letter-spacing: 0.025em;
    line-height: 1.6;
}

.modal-image {
    width: 100%;
    height: auto;
    padding: 10px 5px;
}

/* modalウィンドウの設定ここまで */

/* footer */

/* 追従トップページのボタン */

.button{
    position: fixed;
    right: 0;
    bottom: 0;
    font-size: 16px;
    color: #fff;
    background: #28313B;
    border: #fff 1px solid;
    padding: 10px;
    cursor: pointer;
    transition: .3s;
    
    /*デフォルトで非表示にする*/
    opacity: 0;
    visibility: hidden;
}

/*このクラスが付与されると表示する*/
.active{
    opacity: 1;
    visibility: visible;
}

/* mainのレスポンシブデザインここから */

@media screen and (max-width: 1199px) {

    .h2-box {
        display: block;
        width: 300px;
        text-align: center;
    }

    .h2-box::before {
        left: 860px;
    }

    .h2-box::after {
        top: -130px;
        right: 945px;
    }

    .h2-box img {
        margin-left: auto;
        margin-right: auto;
    }

    .h2-box h2 {
        font-size: 18px;
    }

    .example-box dl {
        display: block;
    }

    .example-box dl dt .example-number {
        width: 30px;
        height: 30px;
    }

    .table-box {
        overflow: auto;
    }

    div.arrow.visible-1199px {
        display: block;
    }

}

@media screen and (max-width: 765px) {

    .table-box .word-table tbody tr th,
    .table-box .word-table tbody tr td,
    .table-box .description-table tbody tr th,
    .table-box .description-table tbody tr td {
        font-size: 12px;
    }

    .tooltip {
        font-size: 10px;
        right: -28px;
        max-width: 197px;
        white-space: wrap;
    }

}

@media screen and (max-width: 600px) {

    div.arrow.visible-600px {
        display: block;
    }

    .table-box .word-table tbody tr td {
        min-width: 326px;
    }

}

/*フッターのスタイルを追加*/
footer{
    position: relative;
    height: auto;
    padding: 20px 0;
    background: yellow;
    color: #000;
    margin-top: 50px;
    text-align: center;
    border: #000 1px solid;
}

footer .copy {
    text-align: center;
    padding: 20px 0;
}

/*このクラスが付与されると表示する*/
.absolute{
    position: absolute;
    top: -70px;
    bottom: auto;
}