*{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.75em;
    color:#000;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}


h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e5044;
}

h2 span {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: #1E5044;
}

header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    height: 120px;
    box-shadow: 0 0 10px 0px #00000050;
}

header .left a {
    font-size: 26px;
    font-weight: 700;
    opacity: 1;
    transition: .3s;
}

header .left a:hover{
    opacity:.5;
}

header .left a span {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
}

header .right{
    transform: none;
}

header .right ul {
    display: flex;
}

header .right li {
    color: #1E5044;
    border-left: 1px solid #1E5044;
    padding: 0.25em 1em;
}

header .right li:first-child {
    border: 0;
}

header .right li a {
    opacity: 1;
    transition: .3s;
    font-size:20px;
}

header .right li a:hover {
    opacity: .5;
}

.spHeadBtn {
    display: none;
}

.inner{
    width:1200px;
    margin:0 auto;
}

.title {
    text-align: center;
    margin-bottom:30px;
}

.btn {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 250px;
    padding: 0.75em 0;
    color: #1E5044;
    background: #fff;
    border: 1px solid #1E5044;
    transition: .3s;
}

.btn:after {
    content: "\e5cc";
    font-family: Material Symbols Outlined;
    position: absolute;
    font-size: 20px;
    right: 15px;
}

.btn:hover {
    background: #1E5044;
    color:#fff;
    border:1px solid #fff;
}

#topImg{
    position: relative;
}

.slideshow-txt {
    position: absolute;
    z-index: 1;
    top: calc(50% - 69px);
    left: calc(50% - 273px);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
}

.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slides img {
    width: 100%;
    object-fit: cover;
    height: calc(100vh - 120px);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slides.active {
    opacity: 1;
}

.dot-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
  
.dot {
    display: inline-block;
    width: 100px;
    height: 12px;
    margin: 0 15px;
    cursor: pointer;
    border: 1px solid #fff;
}

.dot:hover{
    background:#ffffff96;
}

.dot.active {
    background-color: #fff;
}

#news {
    display: flex;
}

.news-title-wrap {
    text-align: left;
    width: 30%;
    margin-bottom:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 100px;
    background: #1E5044;
}

#news .title h2,#news .title h2 span {
    color: #fff;
}

.news-article-wrap{
    width: 70%;
}

.news-article-wrap ul {
    max-width: 1080px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.5em;
}

.news-article-wrap ul li {
    border-bottom: 1px solid #aaa;
    padding: 0.75em 1em;
    transition: .3s;
}

.news-article-wrap ul li h3 {
    color: #1E5044;
    font-size: 18px;
}

.news-article-wrap ul li .date {
    display: inline-block;
    margin-bottom: 0.25em;
}

.news-article-wrap ul li:hover{
    opacity: .5;
}

#mission{
    background:url(../images/top-bg-01.jpg)no-repeat center center;
    padding: 125px 0;
}

#mission .inner {
    background:#fff;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.85) 75%, rgba(255, 255, 255, 0.3) 100%);
    padding: 50px 100px;
}

.mission-txt p {
    text-align: center;
    font-size: 20px;
    line-height: 2em;
}

#contents{
    background: #f2fcf9;
    background: linear-gradient(-45deg, #b8d8d0 0%, #f2fcf9 100%);
}

#contents .inner {
    width: 100%;
}

.content-wrap {
    display: flex;
    flex-direction: row;
}

.content-wrap-revert {
    flex-direction: row-reverse;
}

.content-txt {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-txt-box {
    background: #1E5044;
    width: 500px;
    height: 250px;
    gap: 30px;
    padding: 1.75em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-txt-box h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.content-txt-box p {
    display: block;
    position: relative;
    padding-left: 4.5em;
    color: #fff;
    font-size: 18px;
}

.content-txt-box p:after {
    content: '';
    position: absolute;
    left: 0;
    width: 3.75em;
    border-bottom: 1px solid #fff;
}

.btn-wrap {
    text-align: right;
}

.content-img {
    width: 50%;
}

.content-img img {
    width: 100%;
}

#contact-footer{
    background:url(../images/common-bg-01.jpg)no-repeat center bottom;
    padding: 50px 0;
}

.inner-590 {
    width: 590px;
    margin: 0 auto;
    background: #ffffffd1;
    padding: 30px;
}

.contact-footer-txt {
    text-align: center;
}

.contact-footer-txt p {
    margin-bottom: 30px;
}

#map-footer iframe {
    width: 100%;
    height: 500px;
}

#profile-footer {
    background: #1E5044;
    text-align: center;
    padding: 1.5em 0;
}

#profile-footer p {
    color: #fff;
    line-height: 2em;
}

#profile-footer a {
    color: #fff;
    text-decoration: underline;
    opacity: 1;
    transition: .3s;
}

#profile-footer a:hover {
    opacity: .5;
}

#scrollTopBtn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: #1E5044;
    color: #fff;
    box-shadow: 0 0 8px 0px #00000050;
    transition: .3s;
}

#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}

#scrollTopBtn span {
    font-size: 32px;
    color: #fff;
}

#scrollTopBtn:hover {
    opacity: .5;
}

.member-wrap {
    background: #1E5044;
    margin-top: 50px;
    text-align: center;
    padding: 30px 1.5em;
}

.member-wrap h2,.member-wrap p {
    color: #fff;
}

.member-wrap h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.member-wrap .btn-wrap {
    text-align: center;
    margin-top: 15px;
}

@media screen and (max-width:1600px) {
    .slideshow-container {
        height: 100%;
    }
    .slides img{height:100%;}

    .news-title-wrap {
        padding: 4em;
    }
}

@media screen and (max-width:1200px) {
    .inner{
        width:100%;
        padding:0 30px;
    }

    .news-title-wrap {
        width: 40%;
        padding: 2em;
    }
    
    .news-article-wrap {
        width: 60%;
        padding: 1.5em 0;
    }

    #mission {
        padding: 75px;
    }

    #contents .inner {
        padding: 0;
    }

    .content-txt-box {
        width: 85%;
    }
}

@media screen and (max-width: 768px){
    * {
        font-size: 14px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h2 span {
        font-size: 16px;
    }

    header {
        padding: 0 30px;
        height: 80px;
    }
    
    header .left a {
        font-size: 18px;
    }
    
    .spHeadBtn {
        display: block;
        z-index: 3;
        top: 38px;
        right: 30px;
    }
    
    .spHeadBtn span {
        font-size: 32px;
    }

    header .right{
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }

    header .right.open{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 2;
        background: #fff;
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    header .right ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100vh;
    }
    
    header .right li {border-left: 0;border-bottom: 1px solid #1E5044;width: 80%;text-align: center;font-size: 22px;}
    
    header .right li:first-child {
        border-bottom: 1px solid #1E5044;
    }

    .title{
        margin-bottom:15px;
    }

    #topImg {
        height: calc(100vh - 80px);
    }

    .slideshow-txt img {
        width: 330px;
    }
    
    .slideshow-txt {
        top: calc(50% - 42px);
        left: calc(50% - 165px);
    }
     
    .dot {
        width: 75px;
        margin: 0 10px;
    }

    #news {
        flex-direction: column;
    }
    
    .news-title-wrap {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 30px;
        gap: 20px;
    }

    .news-article-wrap {
        width: 100%;
        padding: 30px 0;
        text-align: center;
    }

    .news-article-wrap ul li h3{
        font-size:16px;
    }
    
    #mission {
        background-size: cover;
        padding: 30px;
    }
    
    #mission .inner {
        background: #fff;
        background: linear-gradient(45deg, rgb(255 255 255 / 70%) 75%, rgba(255, 255, 255, 0.3) 100%);
        padding: 30px 60px;
    }
    
    .mission-txt p {
        font-size: 16px;
    }
    
    .content-wrap {
        flex-direction: column-reverse;
    }
    
    .content-img {
        width: 100%;
    }
    
    .content-txt {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 75px;
    }
    
    .content-txt-box h2 {
        font-size: 20px;
    }
    
    .content-txt-box p {
        font-size: 16px;
    }
    
    .content-txt-box {
        gap: 20px;
    }
    
    #contact-footer {
        padding: 30px;
    }
    
    .inner-590 {
        width: 100%;
    }
    #scrollTopBtn {
        width: 70px;
        height: 70px;
        font-size: 16px;
        box-shadow: 0 0 5px 0px #00000050;
    }
    
    #scrollTopBtn span {
        font-size: 26px;
    }
}


/*lower*/
.lower-content-wrap {
    background: #f2fcf9;
    background: linear-gradient(-45deg, #b8d8d0 0%, #f2fcf9 100%);
    padding-bottom: 75px;
}

.lower-link-list {
    background: #1E5044;
    padding: 1em 0;
}

.lower-link-list li {
    display: inline;
    color: #fff;
    font-size: 18px;
    margin-right: 1.5em;
}

.lower-link-list li:last-child {
    margin-right: 0;
}

.lower-link-list li a {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
}

.lower-link-list li a span {
    color: #fff;
}

.lower-title {
    position:relative;
    height:300px;
    background-size:cover;
    background-position:center center;
}

.lower-title h1 {
    position: absolute;
    font-size: 36px;
    font-weight: 700;
    color: #1E5044;
    background: #fff;
    padding: 0.15em 1em;
    top: calc(150px - 32.5px);
}

.lower-box {
    margin-top: 75px;
    background: #fff;
    border-top: 7px solid #1E5044;
    padding: 50px 100px;
}

.lower-table table {
    width: 100%;
}

.lower-table tr {
    border-bottom: 1px solid #aaa;
}

.lower-table th {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    padding: 0.5em 0;
    width: 30%;
    vertical-align: middle;
}

.lower-table td {
    vertical-align: middle;
    width: 70%;
    padding: 1em 0.5em;
    line-height: 1.75em;
}

.lower-content p {
    line-height: 2em;
}

.lower-box h3 {
    font-size: 28px;
    font-weight: 700;
    border-left: 6px solid #1e5044;
    padding-left: 0.5em;
    margin-bottom: 15px;
}

.lower-content section {
    margin-bottom: 50px;
}

.lower-content section:last-child {
    margin-bottom: 0;
}

.lower-content section p {
    margin-left: calc(1em + 6px);
}

@media screen and (max-width: 1200px){
    .lower-box {
        padding: 50px;
    }
}

@media screen and (max-width: 768px){
    .lower-title {
        height: 150px;
    }
    
    .lower-content-wrap .inner {
        padding: 0 15px;
    }

    .lower-title h1 {
        font-size: 24px;
        top: calc(75px - 21.5px);
    }
    
    .lower-link-list{
        text-align: center;
    }

    .lower-link-list li {
        font-size: 16px;
    }

    .lower-box {
        margin-top: 30px;
        padding: 30px;
    } 

    .lower-table th {
        font-size: 16px;
        width: 100%;
        padding: 0;
        padding-top: 0.5em;
    }
    
    .lower-table tr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .lower-table td {
        width: 100%;
        padding: 0.5em 0;
        text-align: center;
    }
    .lower-box h3 {
        font-size: 24px;
    }
}

/*lower-about*/
.lower-title.about {
    background-image: url(../images/about-head.jpg);
}

.lower-title.about h1 {
    left: calc(50% - 108px);
}

.lower-list-service {
    display: flex;
    justify-content: center;
}

.lower-list-service ul {
    width: 800px;
}

.lower-list-service li {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #1E5044;
    padding: 1em;
}

.lower-list-service li span.number {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #1E5044;
    font-size: 38px;
    font-weight: bold;
    width: 56px;
    height: 56px;
    border-radius: 9em;
}

.number-box {
    width: 12%;
}

.service-txt {
    width: 88%;
    line-height: 1.75em;
}

@media screen and (max-width: 768px){
    .lower-title.about h1 {
        left: calc(50% - 72px);
    }
    
    .lower-list-service ul{
        width:100%;
    }

    .lower-list-service li {
        flex-direction: column;
        align-items: center;
    }
    
    .number-box {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .lower-list-service li span.number {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }
    
    .service-txt {
        width: 100%;
        text-align: center;
    }
}

/*lower-test*/
.lower-title.test {
    background-image: url(../images/test-head.jpg);
}

.lower-title.test h1 {
    left: calc(50% - 108px);
}

.lower-content section .area {
    margin-left: calc(1em + 6px);
    margin-top: 30px;
    background: #f3f9f7;
    padding: 1.5em 2em;
}

.area h4 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.area h4:after {
    content: '';
    position: absolute;
    border-top: 2px solid #1E5044;
    width: calc(100% - 165px);
    top: 22px;
    left: 165px;
}

.area h5 {
    font-weight: bold;
    font-size: 20px;
}

.area div {
    margin-bottom: 15px;
}

.area a {
    color: #1E5044;
    text-decoration: underline;
    opacity:1;
    transition:.3s;
}

.area a:hover{
    opacity:.5;
}

.area-btn {
    text-align: center;
    margin-top: 20px;
}

.area-btn a.btn {
    text-decoration: none;
    width: 100%;
}

.area-btn a.btn:hover {
    opacity:1;
}

.test-type-wrap {
    margin-left: calc(1em + 6px);
    display: flex;
    gap: 30px;
}

.test-type-box {
    width: 470px;
    padding: 1em 1.5em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.test-type {
    width: 75px;
}

.test-type h4 {
    font-size: 100px;
    font-weight: 700;
}

.test-type-txt h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.test-type-txt h4 span {
    display: block;
    font-size: 14px;
}

.lower-content section .test-type-txt p {
    margin-left: 0;
}

.test-type-box.test-type-a {
    background: #FFFDDE;
}

.test-type-a .test-type h4 {
    color: #E8BB2A;
}

.test-type-box.test-type-b {
    background: #E1F7FF;
}

.test-type-b .test-type h4 {
    color: #3790BC;
}

.test-license-wrap {
    display: flex;
    gap: 5%;
    margin-left: calc(1em + 6px);
}

.test-license-box {
    width: 30%;
    background: #EBF7F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 1em 0.5em;
}

.test-license-box h4 {
    font-size: 18px;
    text-align: center;
}

.test-license-box h4 span {
    font-size: 22px;
    font-weight: 700;
    color: #1E5044;
}

.lower-content section .license-box p {margin-left: 0;}

.license-box p {
    font-size: 20px;
    font-weight: 700;
}

.license-box p span {
    font-size: 16px;
    padding-left: 0.25em;
}

.license-box {
    display: flex;
    align-items: center;
    gap: 7px;
}

.lower-content section .test-license-box p {
    margin: 0;
    text-align: center;
    line-height: 1.5em;
}

h4.no-license-title span {
    display: block;
}

.lower-content section .test-license-box p.license01 {
    background: #FFFDDE;
    padding: 0 1em;
    line-height: 2em;
}

.lower-content section .test-license-box p.license02 {
    background: #E1F7FF;
    padding: 0 1em;
    line-height: 2em;
}

@media screen and (max-width: 1200px){
    .test-license-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-left: 0;
    }
    
    .test-license-box {
        width: 300px;
    }
}

@media screen and (max-width: 768px){
    .lower-title.test h1 {
        left: calc(50% - 72px);
    }
        
    .test-type-wrap {
        flex-direction: column;
        margin-left: 0;
    }
    
    .test-type-box {
        width: 100%;
        flex-direction: column;
    }
    
    .test-type h4 {
        font-size: 55px;
        line-height: 1em;;
    }
    
    .test-type {
        width: 100%;
        text-align: center;
    }
    
    .test-type-txt {
        text-align: center;
    }
    
    .test-type-txt h4 {
        font-size: 20px;
    }
    
    .test-license-box h4 span {
        font-size: 20px;
    }
    
    .test-license-box h4 span {
        font-size: 18px;
    }
    
    .license-box p {
        font-size: 18px;
    }
    
    .license-box p span {
        font-size: 14px;
    }

    .area h4 {
    font-size: 21px;
}

.area h4:after{
        width: calc(100% - 140px);
    top: 18px;
    left: 140px;
}

.area h5 {
    font-size: 18px;
}
}

/*member*/
.lower-title.member {
    background-image: url(../images/member-head.jpg);
}

.lower-title.member h1 {
    left: calc(50% - 162px);
}

#member p, #fee p {
    text-align: center;
    margin-left: 0;
}

#member a, #fee a {
    text-decoration: underline;
    color: #1E5044;
    transition: .3s;
}

#member a:hover, #fee a:hover {
    opacity: .5;
}

@media screen and (max-width: 768px){
    .lower-title.member h1 {
        left: calc(50% - 108px);
    }
}

.lower #member ul {
    margin-left: calc(1em + 6px);
}

.lower #member ul li {
    line-height: 2em;
}

/*lower-contact*/
.lower-title.contact {
    background-image: url(../images/contact-head.jpg);
    height: 400px;
}

.lower-title.contact h1 {
    left: calc(50% - 144px);
    top: calc(200px - 32.5px);
}

@media screen and (max-width: 768px){
    .lower-title.contact h1 {
        left: calc(50% - 92px);
    }
}


/*lower-news*/
.lower-title.news {
    background:#1e5044;
}

.lower-title.news h1 {
    left: calc(50% - 108px);
}


#news.lower-box {
    border: 0;
}

.lower-content .news-article-wrap {
    width: 100%;
    padding: 0;
}

.lower-content .news-article-wrap ul {
    width: 100%;
    padding: 0;
}

.lower-content .news-article-wrap ul a {
    display: flex;
    justify-content: center;
}

.lower-content .news-article-wrap ul li .date {
    width: 15%;
    display: flex;
    align-items: center;
}

.lower-content .news-article-wrap ul li .news-title {
    width: 85%;
    color: #1E5044;
    font-size: 18px;
}

@media screen and (max-width: 768px){
    .lower-title.news h1 {
        left: calc(50% - 72px);
    }

    .lower-content .news-article-wrap ul a {
        flex-direction: column;
        align-items: center;
    }
    
    .lower-content .news-article-wrap ul li .news-title {
        width: 100%;
        font-size: 16px;
    }
    
    .lower-content .news-article-wrap ul li .date {
        width: 100%;
        justify-content: center;
    }
}

/*article*/
.lower-box#article {
    margin-top: 0;
}

.article-title {
    margin-bottom: 30px;
}

.article-title p.date {
    color: #1E5044;
    font-size: 20px;
}

.article-btn-wrap {
    margin-top: 30px;
    text-align: center;
}

.lower-content-wrap.article-wrap {
    padding-top: 75px;
}

@media screen and (max-width: 768px){
.article-title p.date{font-size:18px;}
}