/*
  Theme Name: 和歌山県シルバー人材センター
  Theme URI: http://
  Description: 
  Version: 1.0.0

*/

@charset "utf-8";

/* CSS Document */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: #212121;
    background-color: #f4e6dc;
    font-size: 20px;
    font-weight: 500;
    overflow-x: clip;
    font-family: "Noto Sans JP", sans-serif;
}

* {
    line-height: 1.6;
    box-sizing: border-box;
    letter-spacing: 0.7px;
}

section {
    margin: 0;
    padding: 0;
    width: 100%;
    /* line-height: 0; */
    position: relative;
}

.bg_color1 {
    background-color: #434343a6;
}

.wrapper {
    width: 100%;
    margin: auto;
    padding: 4rem 0;
    position: relative;
}

.cont {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

a {
    cursor: pointer;
    color: #0087e9;
}

a:hover {
    filter: opacity(0.6);
    transition: all 0.8s;
}

summary:hover {
    opacity: 0.6;
    transition: all 0.8s;
}

img {
    width: 100%;
    height: auto;
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    line-height: 1.0;
}

iframe,
form,
figure,
dl {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin: 0;
    font-family: "Zen Maru Gothic", serif;
}

h1 {
    font-size: clamp(16px, 1.5vw, 20px);
    width: fit-content;
    font-weight: 600;
    line-height: 1.1;
    padding: 1rem 1.5rem;
    position: relative;
    padding-left: 65px;
}

h1::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 50px;
    background: url(img/chie_bukurou.png) no-repeat;
    background-size: contain;
    display: block;
    left: 15px;
    top: auto;
}

h1 span {
    display: block;
    font-size: clamp(12px, 1.2vw, 16px);
}

h2 {
    margin-bottom: 2%;
    font-size: clamp(20px, 6.5vw, 40px);
    font-weight: 550;
    line-height: 1.2;
}

h4 {
    font-size: 110%;
    font-weight: 500;
}

p {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn {
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    margin: 3rem auto;
    text-decoration: none;
    position: relative;
}

.center {
    /* background: linear-gradient(135deg, #95e5fd 0%, #0faabb 100%); */
    background: #5cc2cf;
}

.seminar {
    background: #eb890a;
    /* background: linear-gradient(135deg, #ffd89c 0%, #eb890a 100%); */
}

.box {
    opacity: 0;
}

.eachAnime {
    animation-name: eachAnime;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes eachAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUpTrigger {
    opacity: 0;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flex {
    display: flex;
    justify-content: space-between;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: auto;
}

th {
    font-weight: inherit;
    text-align: left;
}

.target {
    scroll-margin-top: 100px;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

/*==================================================
ヘッダー
===================================*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 10;
    display: flex;
    align-items: center;
    /* bottom: 0; */
    background: #fff;
    box-shadow: 0 0 3px 1px #aeaeae;
}

.fixed_header {
    animation-name: DownAnime;
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
    animation-delay: 0s;
}

header ul {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

header ul li a {
    text-decoration: none;
    font-size: 13px;
    width: 95px;
    height: 80px;
    text-align: center;
    padding: 1.5rem 0.5rem;
    background: #5cc2cf;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
    font-weight: 600;
}

header ul li a img {
    height: 90%;
    width: auto;
}

header ul li:nth-child(2) a {
    background: #eb890a;
}

header ul li:nth-child(3) a {
    background: #fffedb;
    color: #39cd00;
}

header ul li:nth-child(4) a {
    background: #8d8d8d;
}

/*==================================================
メイン
===================================*/
main {
    margin-top: 100px;
}

.sec01 {
    z-index: 1;
}

.sec01 .wrapper {
    width: 100%;
}

.sec01 .wrapper .cont {
    max-width: 1400px;
    background: #fff;
    padding: 5% 5% 8%;
    border-radius: 50px;
    box-shadow: 0px 0px 0px 5px #2b2b2b;
}

.sec01 .wrapper ul {
    position: relative;
    width: 90%;
    height: 100%;
    margin: auto;
    margin-bottom: 20%;
}

.sec01 .wrapper ul li {
    position: relative;
    display: block;
}

.sec01 .wrapper ul li:nth-child(1) {
    width: 46%;
    height: auto;
    margin-left: auto;
    top: 0;
}

.sec01 .wrapper ul li:nth-child(2) {
    position: absolute;
    width: 50%;
    height: auto;
    left: 0;
    top: 11%;
}

.sec01 .wrapper ul li:nth-child(3) {
    width: 39%;
    height: auto;
    margin-left: auto;
    top: 3.5rem;
}

.sec01 .wrapper ul li:nth-child(4) {
    position: absolute;
    width: 58%;
    height: auto;
    left: 0;
    top: 30.8%;
}

.sec01 .wrapper ul li:nth-child(5) {
    width: 40%;
    height: auto;
    margin-left: auto;
    margin-right: -5%;
    top: 7rem;
}

.sec01 .wrapper ul li:nth-child(6) {
    width: 11%;
    height: auto;
    left: 52%;
    margin-top: -47%;
}

.sec01 .wrapper ul li:nth-child(7) {
    width: 57%;
    height: auto;
    left: -7%;
    position: absolute;
    top: 64%;
}

.sec01 .wrapper ul li:nth-child(8) {
    width: 69%;
    height: auto;
    top: 1.5rem;
    left: -7%;
}

.sec01 .btn {
    display: block;
    width: 100%;
    color: #fff;
    font-size: clamp(14px, 3.5vw, 30px);
    padding: 2.5% 2%;
    text-align: center;
    font-weight: 600;
    box-shadow: 5px 5px 0px 0px #7f7f7f;
}

.sec02 {
    background: #ffffff;
    padding: 10rem 0 3rem;
    position: relative;
    bottom: 10rem;
    z-index: 0;
}

.sec02 .flex {
    margin-bottom: 10%;
    gap: 1rem;
}

.sec02 .grid small {
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sec02 .grid {
    width: 70%;
    gap: 4rem 2rem;
    max-width: 800px;
}

.sec02 .grid dl {
    color: #6ca1cf;
    padding: 5%;
    border-radius: 20px;
    background-color: #fff;
    position: relative;
    border: 5px solid #6ca1cf;
}

.sec02 .grid dl dt {
    border-bottom: 2px dashed;
    padding: 3px 10px;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
    font-size: 110%;
    font-family: "Zen Maru Gothic", serif;
}

.sec02 .grid dl dd {
    margin: 2rem 1rem 1rem;
}

.sec02 .grid dl dd li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.sec02 .grid dl dd li::before {
    position: absolute;
    content: "✓";
    font-size: 1.5rem;
    top: 0;
    left: 0;
    line-height: 1.2;
}

.sec02 .grid dl:nth-child(1)::after {
    position: absolute;
    content: "";
    background: url(img/field_01.jpg) no-repeat;
    background-size: cover;
    width: 120px;
    height: 120px;
    right: 2%;
    bottom: 4%;
    z-index: 10;
    background-position: center;
    mix-blend-mode: multiply;
}

.sec02 .grid dl:nth-child(2) {
    color: #428cb1;
    border-color: #428cb1;
}

.sec02 .grid dl:nth-child(3) {
    color: #7682d7;
    border-color: #7682d7;
}

.sec02 .grid dl:nth-child(3)::after {
    position: absolute;
    content: "";
    background: url(img/field_03.jpg) no-repeat;
    background-size: contain;
    width: 190px;
    height: 120px;
    right: -5%;
    bottom: -6%;
    z-index: 10;
    background-position: center;
    mix-blend-mode: multiply;
}

.sec02 .grid dl:nth-child(4) {
    color: #1e915d;
    border-color: #1e915d;
}

.sec02 .grid dl:nth-child(4)::after {
    position: absolute;
    content: "";
    background: url(img/field_04.jpg) no-repeat;
    background-size: contain;
    width: 160px;
    height: 120px;
    right: -3%;
    bottom: 2%;
    z-index: 10;
    background-position: center;
    mix-blend-mode: multiply;
}

.sec02 .grid dl:nth-child(5) {
    color: #45b376;
    border-color: #45b376;
}

.sec02 .grid dl:nth-child(6) {
    color: #e9ba08;
    border-color: #e9ba08;
}

.sec02 .grid dl:nth-child(6)::after {
    position: absolute;
    content: "";
    background: url(img/field_06.jpg) no-repeat;
    background-size: contain;
    width: 160px;
    height: 120px;
    right: 5%;
    bottom: 1%;
    z-index: 10;
    background-position: center;
    mix-blend-mode: multiply;
}

.sec02 .grid dl:nth-child(7) {
    color: #f783a7;
    border-color: #f783a7;
}

.sec02 .grid dl:nth-child(7)::after {
    position: absolute;
    content: "";
    background: url(img/field_07.png) no-repeat;
    background-size: contain;
    width: 110px;
    height: 110px;
    right: 0%;
    bottom: 2%;
    z-index: 10;
    background-position: center;
    mix-blend-mode: multiply;
}

.sec02 p {
    text-align: center;
}

.sec02 dl p {
    text-align: left;
}

.sec03 {
    margin-top: -5rem;
}

.sec03 .info p {
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.sec03 .info p strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 150%;
    color: #007ed9;
    font-family: "Zen Maru Gothic", serif;
}

.sec03 .info table {
    max-width: max-content;
    margin: 5% auto 10%;
}

.sec03 .info table th {
    white-space: nowrap;
    padding: 10px 15px 10px 10px;
    border-bottom: 2px solid #eb890a;
    min-width: 150px;
}

.sec03 .info table tr:first-child th {
    border-top: 2px solid #eb890a;
}

.sec03 .info table tr:first-child td {
    border-top: 2px solid #474747;
}

.sec03 .info table td {
    font-size: 1.1rem;
    border-bottom: 2px solid #474747;
    padding: 20px 20px 20px 20px;
}

.sec03 .schedule {
    max-width: 1400px;
}

.sec03 .schedule h2 {
    text-align: center;
}

.sec03 .schedule div {
    overflow-x: auto;
}

.sec03 .schedule table {
    border-collapse: separate;
    margin: 2rem auto;
    min-width: 800px;
}

.sec03 .schedule table th {
    background: #eb890a;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px;
    white-space: nowrap;
    text-align: center;
    color: #fff;
}

.sec03 .schedule table td {
    background: #fff;
    font-size: 1.0rem;
    padding: 10px;
}

.sec03 .schedule table tr:nth-child(even) td {
    background: #fffbf2;
}

.sec04 {
    background: #fff;
    padding-top: 4rem;
    border-radius: 100px 100px 0 0;
    margin-top: 5rem;
}

.sec04 .cont {
    max-width: 950px;
}

.sec04 h2 {
    text-align: center;
}

details:open {
    background: #fff;
}

.sec04 .grid {
    margin: 10% 0;
}

.sec04 summary {
    background: #5cc2cf;
    color: #fff;
    padding: 4% 5%;
    font-size: clamp(14px, 3.8vw, 24px);
    font-weight: 500;
    cursor: pointer;
}

.sec04 .detail {
    padding: 1rem 0;
}

details table th {
    font-weight: 500;
    text-align: left;
    font-size: 1rem;
    white-space: nowrap;
    padding: 10px 15px 10px 10px;
    border-bottom: 2px solid #ebba46;
}

details table td {
    font-size: 1rem;
    border-bottom: 2px solid #d5d5d5;
    padding: 5px 15px 5px 10px;
    word-break: break-all;
    white-space: initial;
}

details table td a {
    font-size: 110%;
    word-break: break-all;
    white-space: initial;
}

/*==================================================
フッター
===================================*/
footer {
    background: #fff;
    padding-bottom: 100px;
}

footer .cont {
    max-width: 1400px;
    background: #f4e6dc;
    padding: 3rem 2rem;
    border-radius: 20px;
}

.footer_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: auto;
}

.footer_inner .address {
    width: 55%;
    font-size: clamp(18px, 1.6vw, 24px);
}

.footer_inner .title {
    font-weight: 600;
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: "Zen Maru Gothic", serif;
}

.footer_inner .title span {
    display: block;
    font-size: clamp(14px, 1.2vw, 18px);
}

.footer_inner .address span {
    display: block;
    font-size: 1rem;
}

.footer_inner .line {
    width: 40%;
}

#page-top {
    position: fixed;
    left: 15px;
    bottom: 120px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
}

#page-top a {
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    color: #fff;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
    width: 65px;
    height: 65px;
}

#page-top a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    background: #7e7f81;
    width: 65px;
    height: 65px;
}

#page-top a::after {
    position: absolute;
    top: 5px;
    bottom: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    left: 22px;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
}

.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================================
SP
===================================*/
@media screen and (max-width:760px) {
    body {
        font-size: 16px;
    }

    header {
        flex-direction: column;
        height: auto;
        top: auto;
        bottom: 0;
    }

    h1 {
        /* padding: 10px; */
        width: 100%;
        background: #fff;
        padding: 15px 10px 15px 50px;
    }

    h1::before {
        top: 12px;
        width: 40px;
        left: 5px;
    }

    header ul {
        width: 100%;
        position: static;
    }

    header ul li {
        width: 25%;
    }

    header ul li a {
        width: 100%;
        height: 55px;
        font-size: 11px;
        gap: 3px;
    }

    header ul li a img {
        height: 24px;
    }

    main {
        margin-top: 0;
    }

    .wrapper {
        padding: 2rem 0;
    }

    .sec01 .wrapper .cont {
        border-radius: 20px;
    }

    .sec01 .wrapper ul li {
        position: static !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .sec01 .wrapper ul li:nth-child(6) {
        max-width: 120px;
    }

    .sec01 .btn {
        padding: 5% 3%;
        margin: 1rem auto;
    }

    .flex {
        flex-direction: column;
    }

    .sec02 .grid {
        width: 100%;
        gap: 1rem;
        grid-template-columns: repeat(1, 1fr);
    }

    .sec02 .grid dl {
        padding: 2%;
    }

    .sec02 .grid dl dd li {
        font-size: 1.0rem;
    }

    .sec03 {
        margin-top: -8rem;
    }

    .sec03 .info p {
        font-size: 1.3rem;
    }

    .sec03 .info p strong {
        font-size: 120%;
    }

    .sec03 .info table th {
        font-weight: 600;
        border-bottom: 2px solid #eb890a;
        border-top: none !important;
        display: block;
        width: 100%;
        padding: 5px;
    }

    .sec03 .info table td {
        font-size: 0.9rem;
        border: none !important;
        display: block;
        width: 100%;
        padding: 0.5rem 0rem 1rem 0;
    }

    .sec03 .schedule table {
        display: block;
    }

    .sec03 .schedule table th {
        font-size: 0.9rem;
    }

    .sec03 .schedule table td {
        font-size: 0.8rem;
    }

    .sec04 {
        border-radius: 50px 50px 0 0;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .sec04 .grid {
        gap: 1rem;
        grid-template-columns: repeat(1, 1fr);
    }

    details table th {
        font-weight: 600;
        border-bottom: 2px solid #eb890a;
        border-top: none !important;
        display: block;
        width: 100%;
        font-size: 0.9rem;
        padding: 0 5px;
    }

    details table td {
        font-size: 0.9rem;
        border: none !important;
        display: block;
        width: 100%;
        font-size: 0.8rem;
        padding: 0.5rem 0rem 1rem 0;
    }

    footer .cont {
        padding: 2rem 1rem;
    }

    .footer_inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer_inner .address {
        width: 100%;
    }

    .footer_inner .address span {
        font-size: 0.8rem;
    }

    .footer_inner .line {
        width: 100%;
    }

    .sp {
        display: block;
    }

    .pc {
        display: none !important;
    }
}