#mainVisual {
    height: 100vh;


    background: url(/hashima/src/mainVisual.jpg)0 no-repeat;
    background-size: cover;


    margin-bottom: 90px;
    position: relative;
}

a {
    text-decoration: none;
}

a:link {
    color: black;
    text-decoration: underline;
}

a:visited {
    color: black;
}

a:hover {
    color: black;
    text-decoration: underline;
}

a:active {
    color: dimgray;
}

.address a:link {
    color: dimgray;
    text-decoration: underline;
}

.address a:visited {
    color: dimgray;
}

.address a:hover {
    color: dimgray;
    text-decoration: underline;
}

a:active {
    color: black;
}



footer a:link {
    color: white;
    text-decoration: none;
}

footer a:visited {
    color: white;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

a:active {
    color: black;
}

/*top画像切り替え*/
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {

    #mainVisual {
        background: url("/hashima/src/mainVisual@2x.jpg")0 no-repeat;
        background-size: cover;

    }

}

/*共通CSS*/
body {
    font-family: "Noto Sans Japanese";

}

footer {
    font-family: "Noto Sans Japanese";

}



#mainTitle {


    position: absolute;
    left: 0;
    top: 40%;

    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);



}



/*デスクトップ用共通CSS*/


h2 {
    font-size: 1.8rem;
    line-height: 2.3rem;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;

    margin: 0;
}

p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.4rem;
    margin-top: 5px;
    margin-bottom: 0;

}

#catchLogo {
    font-size: 1.1rem;
    font-weight: 300;
}

.box {
    position: relative;
}

.alignBottom {
    position: absolute;
    bottom: 0;
}

.credit {
    font-weight: 300;
    font-size: 0.7rem;
    margin-top: 5px;
    text-align: right;

}

.creditL {
    font-weight: 300;
    font-size: 0.7rem;
    margin-top: 5px;
}

.sectionLine {
    border-top: thin dotted black;
    margin-bottom: 80px;
    margin-top: 80px;
}

.contents {
    margin-bottom: 70px;
}


#worksTitle {
    margin-bottom: 45px;
}


.worksCaption h3 {
    font-size: 1rem;
}

.worksCaption h4 {
    color: dimgray;
    font-size: 0.7rem;
    font-weight: 300;

    margin-bottom: 35px;
}

#hashimaPlan {
    margin-bottom: 45px;
}

.teacherPhoto {
    padding: 0;
    padding-right: 10px;

}

.teacherName {
    margin-top: 0;
    font-size: 1.1rem;
}

.teacherCV {
    color: dimgray;
    position: absolute;
    bottom: 0;
}



#teacherTitle {
    position: absolute;
    left: 35%;
    top: 0;
}

#date {
    margin-bottom: 20px;
}

.tourItem {
    font-size: 0.9rem;
}

#tourList {}


#time01 {
    position: relative;
    display: inline-block;
    height: 50px;
}

#time01::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 1px;
    height: 27px;
    margin: auto;
    background-color: black;
}

#time02 {
    position: relative;
    display: inline-block;
    height: 30px;
    margin-top: 0;
}

#time02::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    right: 0;
    width: 1px;
    height: 15px;
    margin: auto;
    background-color: black;

}

#lunch {
    margin-top: 20px;
}

#time03 {
    position: relative;
    display: inline-block;
    height: 91px;
}

#time03::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    width: 1px;
    height: 72px;
    margin: auto;
    background-color: black;

}

#afternoon {
    margin-top: 11px;
}

#time04 {
    position: relative;
    display: inline-block;
    height: 71px;
}

#time04::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    width: 1px;
    height: 53px;
    margin: auto;
    background-color: black;

}


#cost {
    margin-top: 50px;
}

#attention {
    margin-top: 50px;
}

#tour {
    border: dotted thin black;
    padding-top: 50px;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 120px;
}

#tourHeader {
    position: absolute;
    right: 4vw;
    top: 40px;
}

.ggmap {
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 56.25%;
    padding-top: 40px;
    height: 0;
    overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#attendHeader {
    position: relative;
    top: 5px;
    left: 7vw;

    margin-bottom: 20px;
}

.itemName {
    margin-top: 4px;
    margin-bottom: 0;
}

label {
    font-size: 0.9rem;
}


form {
    margin-top: 50px;
}

.form-group {
    margin-bottom: 30px;
}

#formAttention p {
    font-size: 1.0rem;
    margin-top: 0;
}

#formAttention {
    font-size: 0.8rem;
}

#thxMessage h3 {
    font-size: 1.0rem;
}

#thxMessage {
    height: 200px;
    margin-left: 15px;
    margin-top: 10px;

    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;

    border-width: thin;
    border-color: black;
    border-style: solid;
}

footer {

    height: 490px;
    padding-top: 100px;
    color: white;
    background-color: #4D4D4D;
}

.footerTitle {
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footerP {
    font-weight: 200;
    margin-bottom: 40px;
    font-size: 0.8rem;
    margin-top: 0;

}

#mail {
    margin-top: 5px;
}

.footerBorder {
    height: 1px;
    width: 30px;
    border-top: solid thin white;
    margin-bottom: 10px;
}

#copyright {
    width: 100vw;
    text-align: center;

}

#copyright p {
    font-size: 1rem;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

/* Large desktops and laptops -xl- */
@media (min-width: 1400px) {
    .container-fluid {
        margin-left: calc(50vw - 600px);
        margin-right: calc(50vw - 600px);
    }
}

/* Landscape tablets and medium desktops -lg- */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container-fluid {
        margin-left: 6vw;
        margin-right: 6vw;
    }
}

/* Landscape tablets and medium desktops -lg- */
@media (min-width: 992px) and (max-width: 1199px) {
    .container-fluid {
        margin-left: 6vw;
        margin-right: 6vw;
    }
}

/* Portrait tablets and small desktops -md- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container-fluid {
        margin-left: 4vw;
        margin-right: 4vw;
    }
}

/* Landscape phones and portrait tablets -sm- */
@media (min-width: 576px) and (max-width: 767.98px) {

    .container-fluid {
        margin-left: 4vw;
        margin-right: 4vw;
    }

    .worksCaptionSM h3 {
        font-size: 1rem;
    }

    .worksCaptionSM h4 {
        color: dimgray;
        font-size: 0.7rem;
        font-weight: 300;

    }

    #application p {
        margin-top: 0;
    }



    .creditSM {
        float: right;
        font-size: 0.6em;
    }


    #matsukuma {
        margin-bottom: 50px;
    }

    #schedule {
        margin-bottom: 40px;
    }

    #tour {
        border: dotted thin black;
        padding-top: 50px;
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 120px;
    }


    input {
        margin-left: 15px;
    }

    .form-check {
        margin-left: 15px;
    }

    textarea {
        margin-left: 15px;
    }

    .itemName {
        margin-bottom: 10px;
    }

    button {
        margin-left: 15px;
    }

    #iamasLogo {
        width: 400px;
        margin-bottom: 50px;
    }

    footer {
        height: 600px;
    }



}

/* Portrait phones and smaller -xs- */
@media (max-width: 575.98px) {
    #iamasLogo {
        width: 400px;
        margin-bottom: 50px;
    }



    .container-fluid {
        margin-left: 2vw;

    }

    #mainTitle {
        width: 100vw;



    }

    .worksCaptionSM h3 {
        font-size: 1rem;
    }

    .worksCaptionSM h4 {
        color: dimgray;
        font-size: 0.7rem;
        font-weight: 300;

    }



    .creditSM {
        float: right;
        font-size: 0.6em;
    }


    #matsukuma {
        margin-top: 30px;
        margin-bottom: 50px;
    }

    #teacher4SM {
        margin-top: 30px;
    }

    #schedule {
        margin-bottom: 40px;
    }


    input {
        margin-left: 15px;
    }

    .form-check {
        margin-left: 15px;
    }

    textarea {
        margin-left: 15px;
    }

    .itemName {
        margin-bottom: 10px;
    }

    button {
        margin-left: 15px;
    }

    #iamasLogo {
        width: 400px;
    }

    footer {
        height: 600px;
    }


    #mainVisual {
        margin-bottom: 50px;
    }

    .marginClear {
        margin-bottom: 0;
    }



    #matsukuma {
        margin-bottom: 50px;
    }

    #tourHeader {
        font-size: 1.5rem;
        position: absolute;
        right: 4vw;
        top: 10px;
    }

    #tour {
        border: dotted thin black;
        padding-top: 30px;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 120px;
    }

    #copyright p {
        font-size: 0.7rem;
    }

    #attendHeader {

        position: relative;
        top: 5px;
        left: 0vw;

        margin-bottom: 20px;
    }

}
