@charset "UTF-8";
/* CSS Document */
.page_img {
	background-image: url("../img/company/bg_head_sections.jpg");
    width: 57.2%;
}
.page_ttl {
    width: 42.8%;
}
section {
    margin-bottom: 120px;
    position: relative;
}
.sosiki_btn {
    margin-bottom: 90px;
}
.btn .link{
    color: #fff;
    text-align: center;
    background: #b22222;
    display: block;
    width: 100%;
    padding: 1.2em 1em;
    padding-left: 60px;
    border-radius: 5px;
    border: 1px solid #b22222;
    position: relative;
    box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.3);
    margin-left: auto;
    max-width: 446px;
	
}
.btn .link:hover{
	background: #ffffff;
	color: #b22222;
}
.sosiki_btn .link::before {
    content: "";
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}
.btn .link::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(-45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
}
.btn .link:hover::after{
	border-color: #b22222;
}

.ttl_flex {
    background: #de6a6f;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 520px;
    height: 90px;
    padding: 0 50px;
    border-radius: 10px;
    box-shadow: 10px 10px 0 0 rgba(180,180,180,0.5);
    position: absolute;
    top: -50px;
	left: 0;
}
section:nth-of-type(2) .ttl_flex{
    background: #d9a140;
}
section:nth-of-type(3) .ttl_flex{
    background: #8dc11f;
}
section:nth-of-type(4) .ttl_flex{
    background: #2ea5de;
}
section:nth-of-type(5) .ttl_flex{
    background: #f19600;
}
section:nth-of-type(6) .ttl_flex{
    background: #b08047;
}

.ttl_flex.longver {
    max-width: 640px;
}
.sections_ttl {
    letter-spacing: 1.5px;
    font-size: 1.8em;
    color: #ffffff;
    width: 6em;
}
.longver .sections_ttl {
    width: 12em;
    letter-spacing: 3.5px;
}
.sections_ttl .mini {
    font-weight: normal;
    font-size: 60%;
}
.slash_border {
    width: 2px;
    height: 70%;
    background: #ffffff;
    transform: rotate(25deg);
    margin: 0 35px 0 10px;
}
.eng_ttl {
    color: #fff;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    line-height: 140%;
    border-bottom: dotted 1px #ffffff;
    padding-bottom: 4px;
}

.container {
    margin: 50px 0 0 40px;
	background: #fff3f1;
	border: 3px solid #de6a6f;
	border-radius: 10px;
    padding: 90px 35px 50px;
    line-height: 195%;
}
section:nth-of-type(2) .container{
	background: #fef9dc;
	border-color:#d9a140;
}
section:nth-of-type(3) .container{
	background: #eef7e8;
	border-color:#8dc11f;
}
section:nth-of-type(4) .container{
	background: #eefbfc;
	border-color:#2ea5de;
}
section:nth-of-type(5) .container{
	background: #fef5e3;
	border-color:#f19600;
}
section:nth-of-type(6) .container{
	background: #f7f1e8;
	border-color:#b08047;
}

.flex .photo {
    width: 38%;
    max-width: 330px;
	margin-bottom: 20px;
}
.flex .txt {
    width: 57%;
}
.container .btn .link {
    padding-left: 0;
    padding-right: 0;
    margin-top: 2em;
}
.container .flex {
    display: flex;
    justify-content: space-around;
    justify-content: space-between;
    flex-wrap: wrap;
}
section:nth-of-type(4) .container .flex {
    flex-direction: row-reverse;
}

.top_message_wrap{
	max-width: 896px;
	margin-left: auto;
	margin-right: auto;
}
.top_message {
    background: url(../img/company/topphoto_bg.jpg) no-repeat center / cover;
    padding: 0 2%;
    margin-bottom: 2em;
}
.top_message .flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.top_message .flex .photo{
	width: 38%;
    max-width: 320px;
}
.main_message {
    width: 52.085%;
}
.main_message .ttl {
    max-width: 390px;
    margin: 30px 0 20px;
}
.main_message .txt {
    text-align: right;
}
.main_message .txt img {
    max-width: 250px;
}

.container_list li:not(:last-child) {
    margin-bottom: 53px;
}
.container_list .name {
    color: #40220f;
    font-size: 1.6em;
    line-height: 100%;
    padding: 0 0 18px 10px;
    background: url(../img/company/dotted.png) repeat-x left bottom;
    margin-bottom: 25px;
    font-weight: bold;
}


@media screen and (max-width:840px) {
	.flex .photo, .flex .txt {
    width: 100%;
}
	.flex .photo {
    margin-left: auto;
    margin-right: auto;
}
	.container {
    margin-left: 0;
    padding-left: 4%;
    padding-right: 4%;
}
}
@media screen and (max-width:600px) {
section {
    margin-bottom: 90px;
}
.ttl_flex {
    padding: 1em 1.5em;
    padding-right: 1.5em;
    display: block;
    height: auto;
}
.sections_ttl {
    margin-bottom: 5px;
}
.slash_border {
    display: none;
}
.eng_ttl br {
    display: none;
}
.container {
    margin-left: 0;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 70px;
    padding-bottom: 30px;
}
.container_list .name {
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-left: 0;
    padding-bottom: 10px;
    background-size: auto 3px;
}
.longver .sections_ttl {
    letter-spacing: 1.5px;
}
.container_list li:not(:last-child) {
    margin-bottom: 30px;
}
}