﻿/****************************************************
 共通
*****************************************************/
body {
    background-color: #e0ffff;
    font-family: Arial, sans-serif;
}

/*form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}*/

.tourokuForm {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 960px;
    margin: 20px auto;
}

.msgForm {
    /*background-color: white;*/
    padding: 20px;
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    max-width: 900px;
    margin: 20px auto;
    /*font-weight: bold;*/
}

.personalInformationForm {
    background: #efeeeb;
    padding: .875rem;
    overflow-y: auto;
    height: 10rem;
    font-size: medium;
}

h1 {
    color: #339900;
    text-align: center;
}

h2 {
    color: #339900;
    text-align: center;
}

h3 {
    color: #339900;
    text-align: center;
}

button[type="submit"], button[type="reset"] {
    background-color: #d32f2f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

button[type="submit"]:hover, button[type="reset"]:hover {
    background-color: #b71c1c
}

/* div */
.field-center {
    text-align: center;
}

/* ラベル　*/
label {
    display: block;
    margin-bottom: 8px;
    /*font-weight: bold;*/
    font-size: medium;
}

.label-medium {
    display: block;
    margin-bottom: 8px;
    /*font-weight: bold;*/
    font-size: medium;
}

.label-large {
    display: block;
    margin-bottom: 8px;
    /*font-weight: bold;*/
    font-size: large;
}

.label-larger {
    display: block;
    margin-bottom: 8px;
    /*font-weight: bold;*/
    font-size: larger;
}

.redLabel {
    color: #ff0000;
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: medium;
}

.label-title {
    color: #0070C0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.label-itemname {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: large;
}

.label-itemname-red {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: large;
    color: red;
}

.label-itemmsg {
    display: block;
    margin-bottom: 8px;
    /*font-weight: bold;*/
    font-size: medium;
}

.label-itemmsg-red {
    display: block;
    margin-bottom: 8px;
    /*font-weight: bold;*/
    font-size: medium;
    color: red;
}


/* ドロップダウンリスト*/

.ddlDefault {
    width: 100%;
}

.ddl-short {
    width: 150px;
}

.ddl-medium {
    width: 500px;
}

.selectbox {
    width: 100%;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox::after {
    /*position: absolute;*/
    position: relative;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

/* ラジオボタン */
.rbl-medium{
    display:flex;
}
input[type="radio"] {
    margin-right: 10px;
}

/* 四角 */
.radio-square label {
    cursor: pointer;
    padding-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
}

.radio-square label::before,
.radio-square label::after {
    content: "";
    /*display: block;*/
    position: absolute;
}

.radio-square label::before {
    background-color: #fff;
    border-radius: 0%;
    border: 1px solid #000;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

.radio-square label::after {
    border-bottom: 2px solid #000;
    border-left: 2px solid #000;
    opacity: 0;
    height: 5px;
    width: 10px;
    transform: rotate(-45deg);
    /*top: 50%;*/
    left: 10px;
    transform: translateY(-50%) rotate(-45deg);
}

.radio-square input:checked + label::after {
    opacity: 1;
}

.radio-square input {
    display: none;
}

/* 円 */
.radio-circle label {
    position: relative;
    cursor: pointer;
    padding-left: 30px;
}

.radio-circle label::before,
.radio-circle label::after {
    content: "";
    display: block;
    border-radius: 50%;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.radio-circle label::before {
    background-color: #fff;
    border: 1px solid #666666;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    left: 4px;
}

.radio-circle label::after {
    background-color: #666666;
    border-radius: 50%;
    opacity: 0;
    width: 16px;
    height: 16px;
    left: 7px
}

.radio-circle input:checked + label::after {
    opacity: 1;
}


.radio-circle input {
    position: absolute;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
}



/* テキストボックス */

input[type="text"], input[type="email"], input[type="tel"], textarea {
    /*width: 100%;*/
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.0em;
}

.textbox-20 {
    width: 20%;
}

.textbox-30 {
    width: 30%;
}

.textbox-40 {
    width: 40%;
}

.textbox-50 {
    width: 50%;
}

.textbox-w90 {
    width: 90%;
}

.textbox-w90h200px {
    width: 90%;
    height: 200px;
    font-size: 1.2em;
}

.text-area {
    width: 100%;
}

.textbox-default {
    width: 90%;
    font-size: 16px;
}

.textbox-short {
    width: 150px;
}

.textbox-medium {
    width: 250px;
}

/* チェックボックス */

input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox label {
    cursor: pointer;
    padding-left: 50px;
    position: relative;
    display: flex;
    align-items: center;
}


.checkbox label::before,
.checkbox label::after {
    content: "";
    display: block;
    position: absolute;
}

.checkbox label::before {
    background-color: #fff;
    border-radius: 0%;
    border: 2px solid #666666;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    top: 50%;
    left: 5px;
}

.checkbox label::after {
    border-bottom: 2px solid #000;
    border-left: 2px solid #000;
    opacity: 0;
    height: 5px;
    width: 10px;
    transform: rotate(-45deg);
    /*top: 50%;*/
    left: 11px;
}

.checkbox input:checked + label::after {
    opacity: 1;
}

.checkbox input {
    display: none;
}

.checkbox-blue {
    border: none;
}

.checkbox-blue label {
display: flex;
align-items: center;
gap: 0 .5em;
position: relative;
max-width: 300px;
margin-bottom: .4em;
padding: .5em .7em;
border: 1px solid #2589d0;
border-radius: 3px;
background-color: #2589d026;
cursor: pointer;
}

.checkbox-blue label:has(:checked) {
    background-color: #2589d0;
    color: #fff;
}

.checkbox-blue label::before {
    width: 14px;
    height: 14px;
    border-radius: 1px;
    background-color: #fff;
    content: '';
}

.checkbox-blue label:has(:checked)::after {
    position: absolute;
    top: 16px;
    left: 16px;
    transform: rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #2589d0;
    border-width: 0 2px 2px 0;
    content: '';
}

.checkbox-blue input {
display: none;
}


.checkboxList label {
    display: inline-block;
}

.checkboxListBox {
    list-style-type: none;
    padding: 0;
    height: 300px;
    width: 90%;
    overflow-y: scroll;
    border: 2px solid #666666;
}

.checkboxListBox li {
    display: flex;
    align-items: center;
}

.checkboxListBox label {
    font-size: large;
}

.checkbox-personalInfomation:not {
    display: block;
    margin: 8px 0;
    position: relative;
}

/* ボタン */
.buttonStyle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18rem;
    margin: 0 auto;
    padding: .9em 2em;
    border: 1px solid #2589d0;
    border-radius: 5px;
    background-color: #fff;
    color: #2589d0;
    font-size: 1em;
}

.buttonStyleSearch {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    width: 120px;
    margin: 0 auto;
    padding: .8em 2em;
    border: 1px solid #2589d0;
    border-radius: 5px;
    background-color: #fff;
    color: #2589d0;
    font-size: 0.7em;
    vertical-align: middle;
}

/* border */
.gray-box {
    background-color: #F7F7F7;
    padding-left: 1em;
    padding-top: 1em;
}

/** cookie */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 5em;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-popup p {
    margin: 0;
    padding: 0 10px;
    display: inline-block;
}

.cookie-popup a {
    color: #4caf50;
    text-decoration: underline;
}

.cookie-popup button {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-left: 15px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-popup button:hover {
    background-color: #45a049;
}

.cookie-popup input[type="submit"] {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-left: 15px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-popup input[type="submit"]:hover {
    background-color: #45a049;
}

/****************************************************
contents
*****************************************************/
/* 見出し */
.midashi {
    margin-top: 10px;
    margin-left: 20px;
    font-size: 150%;
}

.midashi2 {
    margin-top: 20px;
    text-align: center;
}

.midashi3 {
    color: #ff0000;
    padding-left: 40px;
}

.midashi span {
    color: #000000;
    font-weight: bold;
}

.midashi2 span {
    color: #339900;
    font-size: 200%;
    font-weight: bold;
}

.box {
    font-size: 14px;
    width: 720px;
    margin-top: 2px;
    margin-left: 40px;
    margin-bottom: 2px;
    line-height: 20px;
}

.box2 {
    font-size: 14px;
    width: 720px;
    margin-top: 2px;
    margin-left: 100px;
    margin-bottom: 2px;
    line-height: 20px;
}

table {
    width: 100%;
    line-height: 25px;
    font-size: 16px;
    border: none;
    margin: 0;
    padding: 0;
}

table th {
    background-color: #ffffff;
    font-weight: normal;
    text-align: left;
    margin: 0;
    padding: 0;
}

table tr {
    margin: 0;
    padding: 0;
}

table td, th {
    vertical-align: top;
    margin: 0;
    padding: 0;
}

table td {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.left {
    float: left;
    display: inline;
    width: 120px;
    margin-left: 10px;
    line-height: 20px;
}

.right {
    float: left;
    display: inline;
    width: 350px;
    line-height: 20px;
}

/* お申し込み・お問い合わせ先 */
.buttonArea {
    margin-top: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.contact {
    width: 420px;
    margin: 20px 110px 0px;
    text-align: center;
}

    .contact div {
        text-align: center;
    }

    .contact p {
        width: 95%;
        margin: 10px auto 10px;
        line-height: 20px;
        font-size: 12px;
        text-align: left;
    }

/* ボーダー */
.border {
    width: 770px;
    height: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 25px;
    margin-left: 25px;
    border-top: 2px solid #339900;
    font-size: 0px;
}

.border2 {
    width: 770px;
    margin-top: 10px;
    border-top: 1px solid #339900;
}


.border3 {
    width: 770px;
    margin-right: 25px;
    margin-left: 25px;
    margin-top: 10px;
    border-top: 20px solid #339900;
}

.txtTitle {
    width: 100px;
}

/* 注意書き */
.noticeMsg {
    text-align: left;
    font-weight: bold;
    color: #ff0000;
    line-height: 20px;
    margin: 15px, 15px, 15px, 15px;
    background-color: #FFEDFF;
}

/* 注意書きエリア */
.noticeArea {
    background-color: #FFEDFF;
}

/* 必須マーク */
.hissuMark {
    color: #ff0000;
}

/* 入力例等 */
.nyuryokuRei {
    color: #000000;
    font-size: small;
}

/* 段落分け */
P {
    text-indent: 1em;
    margin: 0;
}

/* 参加区分 */
.rblSankaKbn input {
    margin-left: 1rem;
}

/* 同意チェック */
.acceptMsg {
    width: 850px;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 25px;
    margin-left: 25px;
    line-height: 40px;
    font-size: 130%;
    color: #ffffff;
    text-align: center;
    background-color: #00b050;
    display: block;
}

.acceptFont {
    font-size: 150%;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

.consentPersonalInformation {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

/* 車椅子人数 */
#ddlWheelchairUser {
    appearance: none;
    min-width: 170px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.linkStyle {
    color: #2854c0;
    text-decoration: underline;
}

.rblAttendance::after {
    content: "\A";
    white-space: pre;
}

.rblAttendance label {
    margin-right: 40px;
}

.rblDefault label {
}

/****************************************************
リンク
*****************************************************/
a:link {
    color: #003366;
}

a:visited {
    color: #C91B8C;
}

/****************************************************
その他
*****************************************************/
/*  リンク画像の枠線消し */
img {
    border: none;
}

/* レイアウト左右ズレの回避設定 */
html {
    overflow: auto;
}


.midashifont {
    width: 150px;
    font-size: 16px;
    font-weight: bold;
    vertical-align: middle;
}

.midashifont_top {
    width: 150px;
    font-size: 16px;
    font-weight: bold;
    vertical-align: top;
}

.programfont {
    width: 300px;
    font-size: 16px;
    /*font-weight: bold;*/
}

.thHead {
    width: 350px;
    vertical-align: middle;
    text-align: left;
}

.thHeadShort {
    width: 100px;
    vertical-align: middle;
}

.tdCol {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.tdCol1 {
    width: 10rem;
    border-bottom: 1px dotted #339900;
    padding-top: 5px;
    padding-bottom: 5px;
}

.tdCol2 {
    width: 5rem;
    border-bottom: 1px dotted #339900;
    padding-top: 5px;
    padding-bottom: 5px;
}

.tdCol3 {
    border-bottom: 1px dotted #339900;
    padding-top: 5px;
    padding-bottom: 5px;
}

.txtShort {
    width: 150px;
}

.txtLong {
    width: 450px;
}

.txtMultiLine {
    width: 450px;
    height: 5rem;
}

.txtName {
    width: 100px;
}

.chkDefault {
}

.red {
    color: #ff0000;
    font-weight: bold;
}
.blue {
    color: #0000ff;
    font-weight: bold;
}
.green {
    color: #339900;
    font-weight: bold;
}
.darkRed {
    color: #b81414;
    font-weight: bold;
}}


.smallScreen {
    display: none;
}

/* Tablet */
@media screen and (max-width: 960px) and (min-width: 521px) {

    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 0.9em;
    }

    .textbox-medium {
        width: 90%;
        font-size: 0.9em;
    }
}

/* iPhone */
/*@media screen and (max-width: 100px) {*/
@media screen and (max-width: 520px) {

    .tourokuForm {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-width: 600px;
        margin: 20px auto;
    }

    .msgForm {
        padding: 20px;
        max-width: 600px;
        margin: 20px auto;
    }

    .programfont {
        font-size: 0.9rem;
        /*font-weight: bold;*/
    }

    .personalInformationForm {
        height: 12rem;
        font-size: smaller;
    }

    /* ドロップダウンリスト */
    .ddl-short {
        width: 80%;
    }

    .ddl-medium {
        width: 80%;
    }

    /* テキストボックス */
    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 0.9em;
    }

    .text-area {
        width: 100%;
    }

    .textbox-default {
        width: 90%;
        font-size: 1.0em;
    }

    .textbox-short {
        width: 90%;
        font-size: 1.0em;
    }

    .textbox-medium {
        width: 90%;
        font-size: 1.0em;
    }

    /* ラジオボタン */
    input[type="radio"] {
        margin-right: 10px;
    }

    .radio label {
        cursor: pointer;
        padding-left: 30px;
        position: relative;
        display: flex;
        align-items: center;
    }


        .radio label::before,
        .radio label::after {
            content: "";
            display: block;
            position: absolute;
        }

        .radio label::before {
            background-color: #fff;
            border-radius: 0%;
            border: 1px solid #000;
            width: 20px;
            height: 20px;
            transform: translateY(-50%);
            top: 50%;
            left: 5px;
        }

        .radio label::after {
            border-bottom: 2px solid #000;
            border-left: 2px solid #000;
            opacity: 0;
            height: 5px;
            width: 10px;
            transform: rotate(-45deg);
            /*top: 7px;*/
            left: 10px;
            transform: translateY(-50%) rotate(-45deg);
        }

    .radio input:checked + label::after {
        opacity: 1;
    }

    .radio input {
        display: none;
    }

    /* ボタン */
    .buttonStyle {
        width: 19em;
        height: 60px;
    }

    /* チェックリストボックス */
    .checkboxListBox label {
        font-size: small;
    }

    /* ラベル */
    label {
        font-size: small;
    }

    .label-title {
        font-size: 1em;
        font-weight: bold;
    }

    .label-itemname {
        font-size: medium;
    }

    .label-itemname-red {
        font-size: medium;
    }

    .label-itemmsg {
        font-size: small;
    }

    .redLabel {
        font-size: small;
    }

    .selectbox select {
        font-size: 0.8em;
    }

    table th, td {
        display: inline-block;
        width: 100%;
        float: left;
    }

    .textbox-w90h200px {
        width: 90%;
        height: 200px;
        font-size: 1.0em;
    }
}

@media screen and (max-width: 400px) {

    .label-title {
        font-size: medium;
        font-weight: bold;
    }

    .label-itemname {
        font-size: smaller;
    }

    .label-itemname-red {
        font-size: smaller;
    }
}
