@charset "utf-8";
/* CSS Document */

html {
    font-size: 16px;
    margin: 0;
    padding: 0;
}
body {
    font-family:-apple-system,BlinkMacSystemFont,"游ゴシック",YuGothic,"Hiragino Kaku Gothic ProN",Segoe UI,メイリオ,Meiryo,sans-serif;
    margin: 0;
    padding:30px;
    background-color: #f5f5dc;
}
body * {
    box-sizing: border-box;
}
.txt_red {
    color: #FF0000;
    margin: 0 5px;
}
.form-error{
    line-height: 2;
    color: #c00;
}
a[href^="tel:"]{
  color: inherit;
  text-decoration: none;
  pointer-events: none; /* クリック無効 */
  cursor: default;
}
h1 {
    background: #165F25;
    color: #FFFFFF;
    padding: 10px;
    font-size: 20px;
    border-radius: 5px;
    margin: 0 0 15px;
}
h2 {
    background: #EBF8E6;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    margin:0 0 15px;
    position: relative;
}
h2::before,
h3::before {
    content: "";
    display: block;
    width: 4px;
    height: calc(100% - 26px);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #165F25;
}
h3 {
    position: relative;
    color: #165F25;
    font-size: 18px;
    padding: 8px 14px 8px;
}
ul { list-style:none; padding-left:0; }
li { margin-bottom:8px; }
a { color:#0078d7; text-decoration:none; font-size:16px; }
a:hover { text-decoration:underline; }
p { margin: 0; }
table,
table th,
table td {
    font-size: 14px;
    border: 1px solid #CBCBCB;
    border-collapse: collapse;
}
table {
    width: 100%;
    table-layout: fixed;
    margin: 0 0 24px;
}
table th,
table td {
    word-break: auto-phrase;
    line-height: 1.4;
}
table th {
    padding: 10px;
    background-color: #EBF8E6;
    text-align: left;
}
table th .txt_red + .txt_red {
    display: none;
}
table td {
    padding: 5px 10px;
}
table.select_table tr:has(input[type="radio"]:checked) td {
    background-color: #ffe6ca;
}
table td br:last-child,
table td br:last-of-type {
    display: none;
}
input[type="text"] {
    padding: 5px 10px;
    font-size: 16px;
}
input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

select {
    padding: 5px;
    font-size: 16px;
}
textarea {
    padding: 5px 8px;
    font-size: 16px;
}

button {
    cursor: pointer;
}
button[type="submit"] {
    border: none;
    color: #FFFFFF;
    background: #1E7A33;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 24px 10px;
    border-radius: 8px;
    margin: 18px 0 0;
    line-height: 1.4;
}
button[type="submit"].copy_btn {
    background: #FFFFFF;
    color: #1E7A33;
    border: 2px solid #1E7A33;
}
button[type="reset"],
button[type="submit"].return_btn,
button[type="button"].return_btn {
    display: inline-block;
    border: none;
    color: #222222;
    background: #E2E2E2;
    font-size: 14px;
    font-weight: bold;
    padding: 11px 24px;
    border-radius: 8px;
    margin: 18px 0 0;
    line-height: 1.4;
}
.reverse_btn {
    display: inline-block;
    color: #1E7A33;
    background: #EBF8E6;
    border: 1px solid #1E7A33;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 8px;
    margin: 18px 0 0;
}
.return_btn,
button#btn_close {
    display: inline-block;
    border: none;
    color: #1E7A33;
    background: #EBF8E6;
    border: 1px solid #1E7A33;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 8px;
    margin: 18px 0 0;
}
.return_btn:hover {
    text-decoration: none;
    opacity: 0.6;
}
.txt_center { text-align: center; }
.txt_right {
    text-align: right;
    margin: 0 0 10px;
}
.txt_right .return_btn {margin: 0;}
.w60 { width: 60px;}
.w100 { width: 100px;}
.w120 { width: 120px;}
.w140 { width: 140px;}
.w250 { width: 250px;}
.w25p { width: 25%; }
.w100p { width: 100%; }
.box { background:#fff; padding:20px; border-radius:8px; max-width:1240px; margin:auto;
}
.flex_box {
    display: flex;
    align-items: center;
    gap: 10px;
}
label {
    display: flex;
    align-items: center;
    gap: 5px;
    word-break: break-all;
}

.apply-notice {
    background:#ffebe6;
    border:4px solid #ff4f17;
    padding:15px 25px;
    margin-bottom:25px;
    line-height:1.6;
    font-size: 18px;
    font-weight: bold;
}

.subbox { border:1px solid #ccc; padding:15px; margin:15px 0; background:#fefefe; }
#flow_list {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    list-style: none;
}
#flow_list li {
    margin: 0;
    padding: 10px 32px;
    color: #8d8d8d;
    border: 2px solid #ffb565;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    position: relative;
}
#flow_list li.active {
    font-weight: bold;
    color: #222222;
    background: #ffb565;
}
#flow_list li.over {
    border-color: #CCCCCC;
    background-color: #CCCCCC;
    color: #FFFFFF;
}
#flow_list li::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: #caedff;
    position: absolute;
    right: -25px;
    top: 0;
    bottom: 0;
    margin: auto;
    clip-path: polygon(0 33%, 60% 32%, 60% 0%, 100% 50%, 60% 100%, 60% 66%, 0 66%);
}
#flow_list li:last-child::after {
    display: none;
}
.facility_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px calc(4% / 3);
}
.facility_list li {
    width: 24%;
    margin: 0;
}
.facility_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: inherit;
    color: #1E7A33;
    background-color: #EBF8E6;
    border: 1px solid #1E7A33;
    text-align: center;
}
.facility_list:hover {
    text-decoration: none;
    opacity: 0.6;
}
.name_table {
    display: flex;
    align-items: center;
    gap: 5px;
    word-break: keep-all;
}
.name_table input[type="text"] {
    width: 50%;
}
.box_txt {
    border: 2px solid #165F25;
    padding: 15px 25px;
    margin: 0 0 25px;
}
.tel-split {
    display: flex;
    align-items: center;
    gap: 6px;
}
.attention {
    margin-top: 24px;
    text-align: center;
}
.list {
    max-width: 940px;
    margin: 1em auto
}
.list li {
    padding-left: 15px;
    margin-bottom: 0;
    position: relative;
}
.list li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 12px;
    background-color: #165F25;
    position: absolute;
    left: 0;
    top: 0.55em;
}
@media screen and (max-width:667px){
    body{
        padding: 15px;
    }
    h1 {
        font-size: 18px;
    }
    table:not(.select_table),
    table:not(.select_table) tbody,
    table:not(.select_table) tr,
    table:not(.select_table) th,
    table:not(.select_table) td {
        display: block;
        width: 100% !important;
    }
    table:not(.select_table) {
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    table:not(.select_table) th,
    table:not(.select_table) td {
        border-top: none;
    }
    .box {
        padding: 10px;
    }
    .facility_list {
        flex-direction: column;
    }
    .facility_list li {
            width: 100%;
    }
    #flow_list {
        flex-direction: column;
        gap: 15px;
        width: 240px;
        margin: 20px auto;
        text-align: center;
    }
    #flow_list li {
        padding: 5px 10px;
        font-size: 14px;
    }
    #flow_list li::after {
        top: auto;
        left: 0;
        right: 0;
        bottom: -15px;
        margin: auto;
        transform: rotate(90deg);
        width: 10px;
        height: 10px;
    }
    .return_btn {
        font-size: 14px;
    }
    .course-info {
        padding: 0;
    }
    .tel-split .w100 {
        width: calc((100% - 36px)/3);
    }
    .name_table {
        font-size: 14px;
        justify-content: space-around;
        gap: 0;
    }
    .name_table input[type="text"] {
        width: 32.5%;
    }
}
