@charset "utf-8";


/*Base Style
--------------------------------------------- */
body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: rgb(227, 241, 255, 0.55);
    color: #333;
    /*background-image: url(../img/whole-bg.jpg);*/
}
p, h1, h2, div, ul, tr, th, td, button {
    margin: 0;
    padding: 0;
}
button {
    cursor: pointer;
}

/*Common Style
--------------------------------------------- */
.container {
    width: 75%;
    margin: auto;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 15px;
}
.section {
    padding: 15px 20px;
}
h2 {
    margin: 10px 0;
    padding-left: 12px;
    border-left: 4px solid rgb(20, 150, 255);
}
h2::first-letter {
    color: rgb(20, 150, 255);
}
h2 ~ p {
    margin: 0 20px;
}
.fontbold {
    font-weight: bold;
    text-decoration: underline;
}

/*Header
--------------------------------------------- */
.header {
    margin: 30px 0 40px;
    text-align: center;
}

/*About
--------------------------------------------- */
.grid {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.grid-items {
    list-style-type: none;
}
.block-img {
    text-align: center;
}
.block-img + p {
    padding: 0 25px;
}

/*Information
--------------------------------------------- */
.table-window {
    width: 70%;
    min-width: 300px;
    height: 300px;
    margin: 20px auto 10px;
    overflow: auto;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
table tr {
    border-bottom: 1.5px solid rgba(20, 150, 255, 0.3);
    height: 100px;
}
table tr:last-child {
    border-bottom: none; 
}
table th {
    width: 30%;
    margin: auto;
    vertical-align: top;
    padding-top: 10px;
}
table td {
    width: 70%;
    vertical-align: top;
    padding: 10px 0;
}

/*Contact
--------------------------------------------- */
input, textarea{
    font-family: inherit;
}
.section-input {
    margin: 10px 0;
    text-align: center;
}/*
.section-input::before {
    content: attr(alt);
    color: #333;
    font-weight: bold;
    display: block;
    position: absolute;
}*/
.input, .textarea {
    width: 60%;
    min-width: 300px;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ccc; 
}
.input:focus, .textarea:focus {
    outline: none;
    border: solid rgb(20, 150, 255);
}
.section-button {
    text-align: center;
    margin-top: 20px;
}
.button {
    /*display: inline-block;
    margin: auto;*/
    padding: 8px 25px;
    border: solid #000;
    border-radius: 5px;
    background-color: #333;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 5px 0 #bbb;
}
.button:hover {
    transform: translateY(5px);
    box-shadow: 0 0 0 #bbb;
}


/*animation
--------------------------------------------- */
.grid-items {
    animation: Slidin 2s 1 forwards;
    opacity: 0;
}
.item01 {
    animation-delay: 0s;
}
.item02 {
    animation-delay: .25s;
}
.item03 {
    animation-delay: .5s;
}
@keyframes Slidin {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/*mediaquery
--------------------------------------------- */
@media screen and (max-width: 600px) {
    
    .container {
        width: 98%;
    }
    .section {
        padding: 10px 15px;
    }
    
    h2 ~ p {
        margin: 0 10px;
    }
    .grid {
        display: block;
    }
    .grid-items {
        margin-bottom: 5px;
    }
    .block-img + p {
        padding: 0 calc((100% - 250px) / 2);
    }
}