
/* CSS Document */

/*==================================================

contents
=================================================*/

/* About */

.about .top-image .photo {
    background-image: url("../../about/images/topimg.jpg");
}
.about #contents > section {
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 40px;
    background-color: #FFF;
    background-image: url("../../images/cover_l.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 10%;
    margin: 0 auto 80px;
    padding: 4% 4%;
}
.about #contents > section:nth-last-of-type(1) {
    margin: 0 auto;
}
.about #contents > section:nth-of-type(odd) {
    background-image: url("../../images/cover_r.png");
    background-position: right bottom;
}
.about #contents > section dl {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.about #contents > section:nth-of-type(odd) dl {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.about #contents > section dl dt {
    width: 35.5%;
    max-width: 380px;
}
.about #contents > section dl dd {
    width: 60%;
}
.about #contents > section h2 {
    color: #dc0032;
    margin-bottom: .8em;
}
.about #contents > section p strong {
    color: #dc0032;
    font-weight: 400;
}
.about #contents > section .photo {
    width: 100%;
    max-width: 986px;
    margin: 5% auto 0;
}
.about #contents > section img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

/* Message */

.message .top-image .photo {
    background-image: url("../../message/images/topimg.jpg");
    background-position: left top;
}
.message #contents {
    background: linear-gradient(0deg, #e5f1f9, #b9d7eb);
    padding: 80px 0 500px;
}
.message #contents section {
    width: 90%;
	max-width: 1200px;
    text-align: center;
    border: 5px solid #FFF;
    border-radius: 40px;
    margin: 0 auto;
    padding: 6% 5%;
}
.message #contents section h1 {
    color: #dc0032;
    margin-bottom: 1em;
}
.message #contents section p {
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 3em;
}
.message #contents .txt {
    position: relative;
    z-index: 2;
}
.message #contents .photo {
    width: 1026px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.message #contents img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

/* Job */

.job .top-image .photo {
    background-image: url("../../job/images/topimg.jpg");
    background-position: center top;
}
.job #contents section:nth-of-type(2) {
    background-color: #b9d7eb;
    padding-top: 80px;
}
.job #contents section > div {
    width: 90%;
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    
    margin: 0 auto;
    padding-bottom: 80px;
}
.job #contents section > div h2 {
    width: 280px;
    color: #FFF;
    text-align: center;
    background-color: #dc0032;
    border-radius: 20px;
    padding: 110px 1em;
}
.job #contents section > div ul {
    flex: 1;
    padding-left: 5%;
}
.job #contents section > div ul li {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; 
    border-radius: 20px;
    background-color: #eaf3f9;
    
    margin-bottom: 20px;
    padding: 1em;
}
.job #contents section:nth-of-type(2) > div ul li {
    background-color: #FFF;
}
.job #contents section > div ul li:nth-last-of-type(1) {
    margin-bottom: 0;
}
.job #contents section > div ul li h3 {
    width: 25%;
    font-size: clamp(1.6rem, 1.8vw, 1.8rem);
    text-align: center;
    font-weight: 600;
    padding: 1em 1em;
}
.job #contents section > div ul li p {
    flex: 1;
    padding: 1em 1em;
}

/* Number */

.number .top-image .photo {
    background-image: url("../../number/images/topimg.jpg");
    background-position: center center;
}
.number #contents section ul {
    width: 90%;
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    margin: 0 auto;
}
.number #contents section ul li {
    width: 48.5%;
    position: relative;
    background-color: #FFF;
    margin: 20px 0 70px;
    padding: 40px 3%;
}
.number #contents section ul li:nth-last-of-type(1) {
    margin: 20px 0 0;
}
.number #contents section ul li .pict {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.number #contents section ul li.medium {
    width: 31.6%;
    max-width: 380px;
}
.number #contents section ul li.medium .pict {
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
}
.number #contents section ul li.large {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.number #contents section ul li.large .pict {
    width: 33.33%;
    max-width: 360px;
    margin-top: 20px;
}

.number #contents section ul li h2 {
    width: 80%;
    max-width: 480px;
    position: absolute;
    color: #FFF;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    text-align: center;
    background-color: #5b5b5b;
    border-radius: 40px;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%);
    padding: .5em 1em;
}
.number #contents section ul li img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

/* Welfare */

.welfare .top-image .photo {
    background-image: url("../../welfare/images/topimg.jpg");
    background-position: center top;
}
.welfare #contents section ul {
    width: 90%;
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    margin: 0 auto;
}
.welfare #contents section ul li {
    width: 48%;
    border-radius: 20px;
    background-color: #eaf3f9;
    margin-bottom: 40px;
    padding: 2.5em 2em;
}
.welfare #contents section ul li h2 {
    color: #dc0032;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    text-align: center;
    background-image: url("../../images/border.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

/* Recommended */

.recommended .top-image .photo {
    background-image: url("../../recommended/images/topimg.jpg");
    background-position: center top;
}
.recommended #contents section {
    position: relative;
    background-color: #b9d7eb;
    padding-bottom: 80px;
}
.recommended #contents section:nth-of-type(n+2) {
    margin-top: 100px;
}
.recommended #contents section::before {
    content: " ";
	display: block;
    position: absolute;
    width: 100%;
    height: 6em;
    background-color: #FFF;
    top: 0;
    left: 0;
    z-index: 1;
}
.recommended #contents section .inner {
    width: 90%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    z-index: 2;
}
.recommended #contents section .inner img {
    width: 100%;
	max-width: 100%;
	height: auto;
}
.recommended #contents section .inner h1 {
    width: 100%;
    position: relative;
    color: #FFF;
    background-color: #dc0032;
    margin-bottom: 80px;
    padding: 1.5em;
}
.recommended #contents section .inner dl {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    margin-bottom: 60px;
}
.recommended #contents section .inner dl dt {
    width: 45.8%;
    max-width: 550px;
}
.recommended #contents section .inner dl dd {
    width: 50%;
}
.recommended #contents section .inner .s-title {
    width: 100%;
    max-width: 600px;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    color: #dc0032;
    background-color: #FFF;
    border-radius: 60px;
    padding: 1em 2em;
}
.recommended #contents section .inner .s-title span {
    display: inline-block;
    font-size: 60%;
    color: #000;
    margin-left: 1em;
}
.recommended #contents section .inner h3 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 160%;
    margin: 1.5em 0;
}
.recommended #contents section .inner table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    margin-top: 40px;
}
.recommended #contents section .inner table th {
    color: #FFF;
    text-align: center;
    font-weight: normal;
    background-color: #5b5b5b;
    padding: 1em 1em;
}
.recommended #contents section .inner table th:nth-of-type(1) {
    width: 25%;
    background-color: #b9d7eb;
}
.recommended #contents section .inner table tr {
    background-color: #FFF;
}

.recommended #contents section .inner table td {
    text-align: center;
    padding: 1em 1em;
}
.recommended #contents section .inner table td:nth-of-type(1) {
    color: #FFF;
    background-color: #dc0032;
}
.recommended #contents section .inner small {
    display: block;
    text-align: right;
    margin-top: 1em;
}
.recommended #contents section .inner ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.recommended #contents section .inner ul li {
    width: 23%;
    text-align: center;
    margin-top: 40px;
}
.recommended #contents section .inner ul li h4 {
    font-size: clamp(1.4rem, 1.6vw, 1.6rem);
    margin: 1em 0;
}
.recommended #contents section .inner ul li p {
    font-size: clamp(1.2rem, 1.4vw, 1.4rem);
    line-height: 160%;
}
.recommended #contents section .inner ul li p span {
    display: inline-block;
}
.recommended #contents section .inner p.strong {
    width: 100%;
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #dc0032;
    line-height: 160%;
    font-weight: 400;
    background-color: #FFF;
    border-radius: 10px;
    border: 3px solid #dc0032;
    margin: 40px 0 60px;
    padding: .8em 1em;
}

/* Contact */

.contact .top-image .photo {
    background-image: url("../../contact/images/topimg.jpg");
    background-position: left top;
}
.contact #contents section {
    width: 90%;
	max-width: 1000px;
    margin: 0 auto;
}
.privacy h2 {
    color: #dc0032;
    font-size: clamp(1.6rem, 2vw, 2rem);
    border-bottom: 3px solid #dc0032;
    padding-bottom: .5em;
}
.privacy h2:nth-of-type(n+2) {
    margin-top: 40px;
}
.privacy h2::before {
    content: "-";
	display: inline-block;
    color: #dc0032;
    margin-right: .5em;
}
.privacy p {
    margin-top: 1em;
}
.privacy ol {
    list-style-type: decimal;
    padding-left: 1em;
}
.privacy .tel-no {
    display: inline-block;
    font-size: clamp(1.4rem, 2vw, 2rem);
    background-color: #b9d7eb;
    border-radius: 10px;
    margin-top: 3%;
    padding: .8em 1.5em;
}


@media only screen and (min-width:1px) and (max-width: 768px) {
	
    /* About */
    
    .about #contents > section {
        width: 90%;
        max-width: 1200px;
        overflow: hidden;
        border-radius: 15px;
        background-color: #FFF;
        background-image: url("../../images/cover_r.png");
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: 18%;
        margin: 0 auto 8%;
        padding: 5%;
    }
	.about #contents > section dl {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .about #contents > section:nth-of-type(odd) dl {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .about #contents > section dl dt {
        width: 100%;
        max-width: 380px;
        margin: 5% auto 0;
    }
    .about #contents > section dl dd {
        width: 100%;
    }
    
    /* Message */
    
    .message .top-image .photo {
        background-image: url("../../message/images/topimg.jpg");
        background-position: left -10px top;
    }
    .message #contents {
        background: linear-gradient(0deg, #e5f1f9, #b9d7eb);
        padding: 8% 0 35%;
    }
    .message #contents section {
        width: 90%;
        max-width: 1200px;
        text-align: center;
        border: none;
        border-radius: 20px;
        margin: 0 auto;
        padding: 0;
    }
    .message #contents section h1 {
        color: #dc0032;
        margin-bottom: 1em;
    }
    .message #contents section p {
        text-align: left;
        font-size: clamp(1.6rem, 2vw, 2rem);
        line-height: 2.4em;
    }
    .message #contents .txt {
        position: relative;
        z-index: 2;
    }
    .message #contents .photo {
        width: 80%;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    
    /* job */

    .job .top-image .photo {
        background-image: url("../../job/images/topimg.jpg");
        background-position: left -40px top;
    }
    .job #contents section:nth-of-type(2) {
        padding-top: 8%;
    }
    .job #contents section > div {
        display: block;
        margin: 0 auto;
        padding-bottom: 8%;
    }
    .job #contents section > div h2 {
        width: 100%;
        color: #FFF;
        border-radius: 10px;
        margin-bottom: 5%;
        padding: .5em 1em;
    }
    .job #contents section > div ul {
        width: 100%;
        padding-left: 0;
    }
    .job #contents section > div ul li {
        width: 100%;
        display: block;

        margin-bottom: 3%;
        padding: .5em .5em 1em;
    }
    .job #contents section > div ul li h3 {
        width: 100%;
        font-size: clamp(1.6rem, 1.8vw, 1.8rem);
        text-align: center;
        font-weight: 600;
        padding: 1em 1em 0;
    }
    .job #contents section > div ul li p {
        width: 100%;
        padding: 1em 1em;
    }
    
    /* Number */
    
    .number #contents section ul {
        width: 90%;
        max-width: 1200px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;


        margin: 0 auto;
    }
    .number #contents section ul li {
        width: 100%;
        max-width: 580px;
        position: relative;
        background-color: #FFF;
        margin: 20px 0 8%;
        padding: 6% 3% 6%;
    }
    .number #contents section ul li:nth-last-of-type(1) {
        margin: 20px 0 0;
    }
    .number #contents section ul li .pict {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .number #contents section ul li.medium {
        width: 100%;
        max-width: 580px;
    }
    .number #contents section ul li.medium .pict {
        width: 100%;
        max-width: 335px;
        margin: 0 auto;
    }
    .number #contents section ul li.large {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-top: 10%;
    }
    .number #contents section ul li.large .pict {
        width: 80%;
        max-width: 360px;
        margin-top: 0;
    }

    .number #contents section ul li h2 {
        width: 80%;
        max-width: 480px;
        position: absolute;
        color: #FFF;
        font-size: clamp(1.8rem, 2.4vw, 2.4rem);
        text-align: center;
        background-color: #5b5b5b;
        border-radius: 40px;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
        padding: .5em 1em;
    }
    
    /* Welfare */

    .welfare .top-image .photo {
        background-image: url("../../welfare/images/topimg.jpg");
        background-position: center top;
    }
    .welfare #contents section ul {
        display: block;
    }
    .welfare #contents section ul li {
        width: 100%;
        border-radius: 10px;
        background-color: #eaf3f9;
        margin-bottom: 6%;
        padding: 2em 2em 3em;
    }
    .welfare #contents section ul li:nth-last-of-type(1) {
        margin-bottom: 0;
    }
    .welfare #contents section ul li h2 {
        color: #dc0032;
        margin-bottom: 5%;
        padding-bottom: 20px;
    }
    
    /* Recommended */
    
    .recommended .top-image .photo {
        background-position: center top;
    }
    .recommended #contents section {
        padding-bottom: 10%;
    }
    .recommended #contents section:nth-of-type(n+2) {
        margin-top: 10%;
    }
    .recommended #contents section::before {
        content: " ";
        display: block;
        position: absolute;
        width: 100%;
        height: 9.5vw;
        background-color: #FFF;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .recommended #contents section .inner h1 {
        margin-bottom: 8%;
    }
    .recommended #contents section .inner dl {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;

        margin-bottom: 6%;
    }
    .recommended #contents section .inner dl dt {
        width: 100%;
        max-width: 550px;
        margin: 6% auto 0;
    }
    .recommended #contents section .inner dl dd {
        width: 100%;
    }
    .recommended #contents section .inner .s-title {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .recommended #contents section .inner .s-title span {
        display: block;
    }
    .recommended #contents section .inner table {
        margin-top: 5%;
    }
    .recommended #contents section .inner table th {
        color: #FFF;
        text-align: center;
        font-weight: normal;
        background-color: #5b5b5b;
        padding: 1em 1em;
    }
    
    .recommended #contents section .inner ul li {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 5% auto 0;
    }
    .recommended #contents section .inner ul li h4 {
        font-size: clamp(1.4rem, 1.6vw, 1.6rem);
        margin: 1em 0 .5em;
    }
    .recommended #contents section .inner ul li p {
        font-size: clamp(1.2rem, 1.4vw, 1.4rem);
        line-height: 160%;
    }
    .recommended #contents section .inner ul li p span {
        display: inline-block;
    }
    .recommended #contents section .inner p.strong {
        margin: 5% 0 6%;
        padding: .8em 1em;
    }
    
    /* Contact */
    
    .privacy h2 {
        padding-bottom: .8em;
    }
    .privacy h2:nth-of-type(n+2) {
        margin-top: 5%;
    }
    .privacy p {
        margin-top: .8em;
    }
    
}

@media only screen and (min-width:1px) and (max-width: 568px) {
	

}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

