@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
    display: block !important;
}

.pcc {
    display: flex !important;
}

.sp {
    display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 959px) {
    .pc {
        display: none !important;
    }

    .pcc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

/* css変数でそれぞれのカラーを定義 ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
:root {
    --main-color: #00675d;
    --sab-color: #ea3d5c;
    --accent-color: #EAF6FD;
    --text-color: #333;
    --background-color: #231815;
    --text-white: #fff;
    --subheading-color: #c21d1d;
}

body {
    font-family: "Noto Sans JP", sans-serif;
}

/* margin,paddingリセットcss ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
h1, h2, h3, h4, h5, h6, dd, p, ul {
    margin: 0;
}

p,
ol,
dd,
dl,
figure {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul,
li {
    list-style: none;
    padding: 0;
}

/* ヘッダー ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.fixed-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header {
    background: var(--background-color);
    border-top: 4px solid var(--sab-color);
    border-bottom: 4px solid var(--sab-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 43px;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .nav_list,
footer .nav_list {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

header .nav_list li a,
footer .nav_list li a {
    color: var(--text-white);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    transition: 0.3s;
}
.nav_list a img {
    margin-left: 0.1rem;
    width: 8px;
    height: auto;
}

.nav_list a span img:nth-child(2) {
    margin: 0;
}
/* Responsive styles */
@media (max-width: 959px) {
    main .information p {
        margin: -10px 0 0 0 !important;
    }

    main div dl {
        display: flex;
        flex-direction: column;
        align-items: baseline !important;
    }

    header .nav_list {
        display: none;
        flex-direction: column;
        background: var(--background-color, #333);
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 1rem;
        border-top: 1px solid var(--sab-color, #ff6600);
    }

    header .nav_list.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* メインコンテンツ ■■■■■■■■■■■■■■■■■■■■■■■■■■ */
main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 100px 0 0 0;

}

.subheading {
    margin: 2rem auto 0 auto;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid var(--subheading-color);
    color: var(--subheading-color);
    width: fit-content;
}

.application .subheading {
    color: var(--text-color);
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 2rem;
}

main .top_banner {
    /* margin-top: 35px; */
    background: var(--main-color);
    color: var(--text-white);
    border-top: 40px solid var(--accent-color);
    text-align: center;
}

main .top_banner div:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 30px 10%;
}

main .top_banner .pc {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-bottom: 20px solid var(--main-color);
    padding: 10px 0;
    font-weight: bold;
    font-size: 2rem;
}

main .top_banner .pc span {
    color: var(--sab-color);
}

main .information {
    padding: 1rem 10% 2rem 10%;
    display: grid;
    gap: 2rem;
    justify-content: center;
}

main div dl {
    display: flex;
    align-items: center;
}

main div dl dd:nth-child(1),
#top .label {
    height: fit-content;
    background: var(--sab-color);
    padding: 0 2%;
    color: var(--text-white);
    text-align: center;
    letter-spacing: .2rem;
    margin-right: 1.5rem;
    width: 120px;
}

main .information dl dd:nth-child(2) {
    font-weight: bold;
    font-size: 1.3rem;
}

main .information dl:nth-child(1) dd:nth-child(2) span {
    font-size: 2.5rem;
}

main .information p {
    margin-left: 140px;
    margin-top: -30px;
}

#top .news h1 {
    color: var(--subheading-color);
    margin-bottom: 10px;
    font-size: 24px;
    border-bottom: 1px solid var(--subheading-color);
}

.news {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 10% 0 10%;
}

.news-content {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    padding: 5px;
}

.news-content p {
    display: grid;
    grid-template-columns: 1fr 6fr;
    align-items: baseline;
    border-bottom: 1px dashed var(--text-color);
    padding: 0.8rem;
}

.news-content p .date {
    font-size: 0.9rem;
    color: #0870A6;
    margin-right: 0.7rem;
}

.news-content p .sentence {
    margin: 5px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-sizing: border-box;
    /* -webkit-line-clamp: 1; */
    overflow: hidden;
    color: var(--text-color);
}

/* youtubeゾーン ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.youtube_grid {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.youtube_item {
    margin-top: 1rem;
    position: relative;
    width: 320px;
    height: 180px;
    background-color: #000;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube_position {
    display: grid;
    align-items: center;
    justify-content: center;
}

.youtube_title {
    text-align: center;
    font-weight: bold;
}

.youtube_thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.play_button {
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.play_button:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* 参加費 */
#top .snkh {
    display: flex;
}

#top .simple-table {
    margin: 0;
}

/* バナー一覧ゾーン ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.banner-ichiran {
    padding: 2rem 10% 2rem 10%;
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}
.banner-ichiran a {
    max-width: 400px;
}
.banner-ichiran a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
}


footer {
    background: var(--background-color);
    color: var(--text-white);
    padding: 2rem;
}

footer div:nth-child(1) img {
    width: 300px;
    height: auto;
}

footer div:nth-child(1) {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer div:nth-child(2) {
    margin-left: 1rem;
    text-align: left;
}

footer .header-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--text-white);
    margin-top: 0.9rem;
}


/* 概要ページ ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.sec01 h2,
.sec02 h2,
.sec03 h2,
.sec04 h2,
#past_program h2 {
    padding-left: 2rem;
    color: var(--text-white);
    background: var(--main-color);
    margin-top: 2rem;
}
.sec03 h2 {
    margin-top: 4rem;
}
.sec04 h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2%;
    margin-top: 4rem;
}
.sec04 h2 span {
    font-size: 0.9rem;
}
.sec01 p,
.sec02 .feature,
.sec03 p,
.sec04 .kanji {
    margin-top: 1rem;
    padding-left: 3%;
}

.sec01 figure {
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
}

/* ものづくり総合大会の特徴ページ ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.sec02 h2 {
    margin-top: 5rem;
}

.sec02 .feature {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    padding-right: 3%;
    /* [disabled]padding-bottom: 2rem; */
}

.sec02 p {
    padding-left: 2.5%;
}

#application .sec02 p {
    padding: 0;
}

.sec02 h3 span {
    background: var(--sab-color);
    padding: 0 5px;
    margin-right: 0.5rem;
    color: var(--text-white);
    font-weight: normal;
}

/* コーディネータページ ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.kanji {
    display: none;
    /*	display: grid;*/
    grid-template-columns: 120px auto;
    align-items: center;
    padding-right: 3%;
    padding-bottom: 2rem;
}
.kanji div:nth-child(2) {
    text-align: left;
    margin-right: 20px;
    font-size: 1.2em;
}
.kanji .rectangular {
    text-align: left;
    width: 100px;
    height: 100px;
    background-color: rgba(201,201,202,1.00);
}


/* プログラムページ ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* #program .day1 {
    margin-top: 0.5rem;
    border: 1.5px solid var(--main-color);
}

#program .day2 {
    margin-top: 3rem;
    border: 1.5px solid var(--main-color);
}

#program .sec01 {
    margin-top: 2rem;
}

#program .sec01 h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2%;
    margin-top: 0;
}

#program .sec01 h2 span {
    font-size: 0.9rem;
}

#program .bla_ore {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--text-white);
}

#program .bla_ore div:nth-child(1) {
    padding: 1rem 2%;
    background: var(--background-color);
    width: 50%;
}

#program .bla_ore div:nth-child(2) {
    position: relative;
    padding: 1rem 2%;
    background: var(--sab-color);
    width: 50%;
    text-align: center;
}

#program .bla_ore div:nth-child(2)::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 64px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 51px solid var(--sab-color);
}

#program .bla_ore span {
    padding: 0 0.5rem;
    margin-right: 0.5rem;
    background: var(--text-white);
    color: var(--text-color);
} */

/* 過去のプログラムページ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
#past_program h2 {
    margin-bottom: 2rem;
}

.past_program_box {
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin: 0 auto 5rem auto;
}

.past_program_box a {
    width: fit-content;
    height: fit-content;
    text-align: center;
    display: grid;
}

.past_program_box a span {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: 1rem;
}

.past_program_box a span:hover {
    border-bottom: 1px solid #333;
}


.past_program_box a span img {
    margin-left: 0.5rem;
    width: 15px;
    height: auto;
}

.past_program_box a span img:nth-child(2) {
    margin: 0;
}

.past_program_box a:hover {
    opacity: 0.7;
}

/* 企業名等入力欄 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
/* #program .sec01 p {
    margin: 0;
}

.multiple {
    display: grid;
    width: 100%;
}

.input,
.input1 {
    display: grid;
    grid-template-columns: 80% 116px;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.input div:nth-child(1),
.input1 div:nth-child(1) {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.input div:nth-child(1) p,
.input1 div:nth-child(1) p {
    font-size: 1.3rem;
}

.input div:nth-child(1) p:nth-child(2),
.input1 div:nth-child(1) p:nth-child(2) {
    color: var(--sab-color);
    font-weight: bold;
}

.input div:nth-child(1) p:nth-child(2) span,
.input1 div:nth-child(1) p:nth-child(2) span {
    margin: 0 40%;
}

.input div:nth-child(1) p:nth-child(3),
.input1 div:nth-child(1) p:nth-child(3) {
    position: absolute;
    bottom: 1rem;
    right: 130px;
}

.input .rectangular,
.input1 .rectangular {
    background: #C9C9CA;
    border-radius: 15px;
    width: 100px;
    height: 100px;
    margin: 1rem 1rem 1rem auto;
}

.session4 {
    display: flex;
    border-bottom: 2px solid var(--main-color);
}

.day2 .input {
    border-bottom: 4px dotted var(--main-color);
    width: 100%;
    height: auto;
}

.day2 .input1 {
    width: 100%;
    height: auto;
}

.day2 .input:last-child {
    border-bottom: 0px;
}

.day2 label {
    text-align: center;
    writing-mode: vertical-rl;
    letter-spacing: 0.5em;
    background: #E7E8F3;
}

.day2 {
    margin-bottom: 2rem;
} */

/* お申込み ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
#application .sec01 p {
    font-size: 1.3rem;
}

#application.sec02 {
    margin-top: 3rem;
}

#application.sec02 h2 {
    /* width: 400px; */
    /* text-align: center; */
    margin-top: 1rem;
}

#application.sec02 .meeting_place {
    display: flex;
    gap: 2rem;
}

.meeting_place img {
    width: 400px;
    height: auto;
}

@media(max-width:959px) {
    #application.sec02 .meeting_place {
        display: flex;
        flex-direction: column;
    }

    #application.sec02 .meeting_place h3 {
        font-size: 1.3rem !important;
    }

    .meeting_place img {
        width: 100%;
    }

    .sec02 p {
        padding: 0;
    }
}

#application .cansel {
    /* [disabled]display: grid; */
    grid-template-columns: 70% 30%;
    align-items: center;
}

#application .simple-table thead tr th {
    background: #fbfddf;
    color: #333;
}

#application .simple-table tr td {
    background: #fff;
}

.contact {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background-color: #ff7d00;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    margin-top: 3rem;
}

.contact:hover {
    opacity: 0.8;
}

.contact p {
    width: 100%;
    padding: 0.5rem 0;
    color: var(--text-white);
    border: 1px solid var(--text-white);
    border-radius: 10px;
}

/* テーブル */
.simple-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    padding: 0 3%;
    font-size: 1rem;
    text-align: center;
}

.simple-table thead tr th:first-child {
    background: var(--main-color);
    color: var(--text-white);
}

.simple-table th, .simple-table td {
    border: 1px solid #5a5a5a;
    padding: 8px;
}

.simple-table th {
    background-color: #cbbddf;
    font-weight: bold;
    width: 200px;
}

.simple-table tr td:first-child {
    background: #b1b1b1;
}

.simple-table tr td:nth-child(2),
.simple-table tr td:nth-child(3),
.simple-table tr td:nth-child(4) {
    font-size: 1.5rem;
}

.simple-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.simple-table tr:hover {
    background-color: #f1f1f1;
}


/* レスポンシブ対応 指定（959px以下） */
@media (max-width:959px) {
    #top {
        padding: 100px 0 40px 0;
    }

    main .information dl:nth-child(1) dd:nth-child(2) span {
        font-size: 2rem;
    }

    main div dl dd:nth-child(1), #top .label {
        width: 90px;
        margin-bottom: 1rem;
    }

    #top .snkh {
        display: flex;
        flex-direction: column;
    }

    #application.sec02 h2 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }

    .contact p {
        font-size: 0.9rem;
    }

    .simple-table tr td:first-child,
    .simple-table thead tr th:first-child,
    .simple-table th {
        font-size: 0.6rem;
    }

    .simple-table tr td:nth-child(2), .simple-table tr td:nth-child(3), .simple-table tr td:nth-child(4),
    main .information dl dd:nth-child(2) {
        font-size: 1rem;
    }

    /* #program .sec01 h2 {
        font-size: 1rem;
    }

    #program .bla_ore {
        flex-direction: column;
    } */

    #application .cansel {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    /* #program .bla_ore div:nth-child(1),
    #program .bla_ore div:nth-child(2) {
        width: 100%;
    }

    .sec01 h2, .sec02 h2,
    #past_program h2 {
        padding-left: 1rem;
    } */

    main {
        padding: 100px 7% 40px 7%;
    }

    .sec01 p, .sec02 .feature, .sec03 p, .sec04 .kanji {
        padding: 0;
    }

    main .information,
    .news {
        padding: 2rem 7%;
    }

    .news-content p {
        grid-template-columns: repeat(1, 1fr);
        align-items: flex-start;
    }

    main .top_banner .sp {
        background-color: var(--accent-color);
        color: var(--text-color);
        border-bottom: 20px solid var(--main-color);
        padding: 10px 0;
        font-weight: bold;
        font-size: 1.6rem;
        text-align: center;
    }

    main .top_banner .sp span {
        color: var(--sab-color);
    }

    .sec01 figure {
        flex-direction: column;
        gap: 2rem;
    }

    .sec01 figure img {
        width: 100%;
        height: auto;
    }

    #application .sec02 .meeting_place {
        display: flex;
        flex-direction: column;
    }

    footer .header-menu {
        justify-content: center;
    }

    footer .nav_list li a {
        font-size: 0.5rem;
    }

    footer div:nth-child(1) {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer div:nth-child(2) {
        margin-left: 0rem;
        text-align: center;
    }

    .past_program_box a {
        display: grid;
    }

    .past_program_box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    /*    #program .bla_ore div:nth-child(2)::before {
        display: none;
    }

    .input div:nth-child(1), .input1 div:nth-child(1) {
        padding-left: 2%;
    }

    .input, .input1 {
        display: block;
    }

    .input div:nth-child(1) p:nth-child(3), .input1 div:nth-child(1) p:nth-child(3) {
        left: 1rem;
        bottom: 0;
    }

    .session4 .input div:nth-child(1) p:nth-child(3), .session4 .input1 div:nth-child(1) p:nth-child(3) {
        bottom: 1rem;
    }

    .input .rectangular, .input1 .rectangular {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    } */

    header {
        top: 35px;
    }

    .youtube_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding: 0 7%;
    }
.kanji {
    grid-template-columns: 70px auto;
}
.kanji div:nth-child(2) {
    font-size: 17px;
}
.kanji .rectangular {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.kanji .rectangular img {
    width: 60px;
}
}

@media (max-width:540px) {
    .past_program_box {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}
