@charset "UTF-8";

/*-----------------------------------------------

   会社情報

------------------------------------------------*/

/*========== 扉ページ ==========*/
.page_title {
    background-image: url('../../images/company/title_bg.jpg');
    background-position: center;
}
.com_top_block_inner {
    margin: auto;
    width: 100%;
    max-width: var(--basic-width);
}
.com_top_contents_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.com_top_contents_item a {
    display: flex;
    flex-direction: column;
}
.com_top_contents_heading {
    order: 2;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color);
    padding: 1em 0;
    text-transform: uppercase;
}
.com_top_contents_detail {
    order: 3;
    line-height: 2;
}
.com_top_contents_pic {
    order: 1;
    overflow: hidden;
    border-bottom-left-radius: 30px;
}
a .com_top_contents_pic img {
    transform: scale(1.1);
    transition: all 0.8s ease;
}
a:hover .com_top_contents_pic img {
    transform: scale(1.0);
}

@media screen and (min-width: 768px) {
    .com_top_contents_list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 60px 20px;
    }
    .com_top_contents_item {
        width: calc(50% - 10px);
    }
    .com_top_contents_pic {
        border-bottom-left-radius: 45px;
    }
    .com_top_contents_heading {
        font-size: 1.8rem;
    }
    .com_top_contents_detail {
        font-size: 1.4rem;
    }
    .com_top_contents_detail .only_pc {
        display: none;
    }
}

@media screen and (min-width: 901px) {
    .com_top_contents_detail {
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 1161px) {
    .com_top_contents_list {
        gap: 60px 44px;
    }
    .com_top_contents_item {
        width: calc(50% - 22px);
    }
    .com_top_contents_pic {
        border-bottom-left-radius: 60px;
    }
    .com_top_contents_heading {
        padding: 0.5em 0;
        font-size: 2.4rem;
        margin-top: 20px;
    }
    .com_top_contents_detail {
        padding-right: 40px;
    }
    .com_top_contents_detail .only_pc {
        display: block;
    }
    .com_top_block_inner {
        margin-bottom: 80px;
    }
}

/*========== 社長ご挨拶 ==========*/
.company_greeting_block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.company_greeting_name {
    font-weight: 700;
}
.company_greeting_message_intro {
    font-family: "Noto Serif JP", serif;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 1.5em;
    line-height: 1.8;
}
.company_greeting_message_detail p {
    line-height: 1.8;
    margin-bottom: 1.75em;
}
.company_greeting_message_detail p:last-of-type {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .company_greeting_photo {
        position: relative;
    }
    .company_greeting_name {
        position: absolute;
        right: 20px;
        bottom: 20px;
        color: #fff;
        text-align: right;
    }
    .company_greeting_name span {
        display: block;
        font-size: 2.4rem;
    }
}

@media screen and (min-width: 768px) {
    .company_greeting_block {
        flex-direction: row;
        gap: 20px;
    }
    .company_greeting_photo {
        width: 240px;
    }
    .company_greeting_message {
        width: calc(100% - 260px);
    }
    .company_greeting_name {
        text-align: center;
        margin-top: 30px;
    }
    .company_greeting_name span {
        margin-left: 1em;
        font-size: 2rem;
    }
    .company_greeting_message_intro {
        font-size: 2rem;
    }
}

@media screen and (min-width: 1161px) {
    .company_greeting_block {
        gap: 30px;
    }
    .company_greeting_photo {
        width: 320px;
    }
    .company_greeting_message {
        width: calc(100% - 350px);
    }
    .company_greeting_name {
        font-size: 1.6rem;
    }
    .company_greeting_name span, 
    .company_greeting_message_intro {
        font-size: 2.8rem;
    }
    .company_greeting_message_detail p {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 1201px) {
    .company_greeting_block {
        margin-right: -30px;
    }
    .company_greeting_block {
        gap: 70px;
    }
    .company_greeting_photo {
        width: 420px;
    }
    .company_greeting_message {
        width: calc(100% - 490px);
    }
    .company_greeting_name span, 
    .company_greeting_message_intro {
        font-size: 3.2rem;
    }
}

@media screen and (min-width: 1301px) {
    .company_greeting_block {
        margin-right: -40px;
    }
}

@media screen and (min-width: 1401px) {
    .company_greeting_block {
        margin-right: -70px;
    }
}

@media screen and (min-width: 1561px) {
    .company_greeting_block {
        margin-right: -100px;
    }
}

/*========== 拠点・アクセス ==========*/
.company_access_heading {
    font-weight: 700;
    font-size: 1.6rem;
    background-color: #f5f5f5;
    border-left: 5px solid var(--primary-color);
    padding: 1em 1.5em;
    margin-bottom: 20px;
}
.company_access_unit {
    margin-bottom: 50px;
}
.company_access_unit:last-of-type {
    margin-bottom: 0;
}
.company_access_vr-btn {
    margin: 1em 0;
}
.company_access_vr-btn a {
    margin: auto;
    display: block;
    position: relative;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary-color);
    padding: 1em 2em;
    max-width: 260px;
    border-radius: 100px;
}
.company_access_vr-btn a::before, 
.company_access_vr-btn a::after {
    content: '';
    position: absolute;
    top: 50%;
}
.company_access_vr-btn a::before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    right: 1.5em;
    transform: translateY(-50%);
}
.company_access_vr-btn a::after {
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    right: calc(6px + 1.5em);
    transform: translateY(-50%) rotate(45deg);
}
.company_access_traffic_list_item {
    line-height: 1.8em;
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 1em;
}
.company_access_traffic_list_item:last-of-type {
    margin-bottom: 0;
}
.company_access_traffic_list_item::before {
    content: '●';
    color: var(--primary-color);
}
.company_access_traffic_list_item span {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
}
.company_access_pic {
    margin: 20px 0;
}
.company_access_map iframe {
    width: 100%;
    height: 100%;
}
.google_link {
    text-align: right;
}
.google_link a {
    display: inline-block;
    font-size: 1.4rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #0099ff;
    margin-top: 0.5em;
    position: relative;
    padding-left: calc(12px + 0.25em);
}
.google_link a::before {
    content: '';
    background-image: url(../../images/common/marker.svg);
    background-repeat: no-repeat;
    background-size: 12px 15px;
    width: 12px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.main.common .main_inner.main_inner_lower {
    border-top-left-radius: 0;
    border-top-right-radius: 60px;
}
.main.common .main_inner.main_inner_lower::before {
	border-top-left-radius: 0;
    border-top-right-radius: 60px;
    left: auto;
    right: 0;
    background-color: #f8fdff;
}
.main_inner_lower .company_access_block {
    margin: auto;
    margin-left: 0;
    width: var(--basic-sp-width);
}
.associated_company_detail {
    margin-bottom: 20px;
}
.associated_company_detail.associated_company_btm {
    margin-bottom: 60px;
}
.associated_company_detail .google_link {
    margin-top: 1em;
}

@media screen and (max-width: 1160px) {
    .company_access_map {
        aspect-ratio: 4 / 3;
    }
    .company_access_lower {
        margin-top: 20px;
    }
}

@media screen and (min-width: 768px) {
    .company_access_upper {
        display: flex;
    }
    .company_access_adress {
        width: calc(100% - 260px);
    }
    .company_access_vr-btn {
        width: 260px;
        margin: 0;
    }
    .company_access_lower {
        margin-top: 20px;
    }
	.main.common .main_inner.main_inner_lower {
		margin-top: 90px;
		padding-top: 90px;
		border-top-right-radius: 90px;
	}
	.main.common .main_inner.main_inner_lower::before {
		border-top-right-radius: 90px;
	}
    .associated_company_detail {
        display: flex;
        justify-content: space-between;
        margin-left: 20px;
        margin-right: 40px;
    }
    .associated_company_detail .google_link {
        margin-top: 0;
    }
}

@media screen and (min-width: 1161px) {
    .company_access_heading {
        font-size: 1.8rem;
        border-left: 10px solid var(--primary-color);
        margin-bottom: 30px;
    }
    .company_access_unit {
        margin-bottom: 80px;
    }
    .company_access_split {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    .company_access_detail {
        width: 64%;
    }
    .company_access_pic {
        margin: 0;
        flex-grow: 1;
    }
    .company_access_map {
        width: calc(36% - 20px);
    }
    .company_access_lower {
        margin-bottom: 20px;
    }
    .main.common .main_inner.main_inner_lower {
		margin-top: 140px;
		padding-top: 140px;
		border-top-right-radius: 120px;
	}
	.main.common .main_inner.main_inner_lower::before {
		border-top-right-radius: 120px;
	}
    .associated_company_detail {
        margin-left: 40px;
        margin-right: 100px;
    }
}

@media screen and (min-width: 1201px) {
    .company_access_heading {
        margin-bottom: 40px;
    }
    .company_access_block {
        margin-right: 0;
    }
    .main_inner_lower .company_access_block {
        margin-right: auto;

    }
    .company_access_split {
        gap: 40px;
    }
    .company_access_detail {
        width: calc(100% - 520px);
    }
    .company_access_map {
        width: 480px;
    }
    .company_access_upper, 
    .company_access_lower {
        margin-left: 20px;
    }
}

@media screen and (min-width: 1301px) {
    .company_access_block {
        margin-right: -40px;
    }
    .associated_company_detail {
        margin-right: 200px;
    }
}

@media screen and (min-width: 1401px) {
    .company_access_block {
        margin-right: -100px;
    }
}

@media screen and (min-width: 1561px) {
    .company_access_block {
        margin-right: -190px;
    }
    .company_access_detail {
        width: calc(100% - 580px);
    }
    .company_access_map {
        width: 540px;
    }
    .company_access_upper, 
    .company_access_lower {
        margin-left: 40px;
    }
}

/*========== イチカワの歴史 ==========*/
.main.common.history .main_inner::before {
    background-color: #f8fdff;
}
.history_wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.common_content {
    max-width: 1270px;
}
.history_year {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--primary-color);
    position: relative;
}
.history_year::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #c6dfee;
    position: absolute;
    top: 3%;
    left: 3%;
    z-index: -1;
}
.history_year span {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
}
.history_event {
    margin-top: 20px;
    margin-bottom: 20px;
}
.continue {
    margin-top: 60px;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

@media screen and (min-width: 768px) {
    .history_unit {
        display: flex;
        gap: 40px;
    }
    .history_year {
        width: 100px;
        height: 100px;
    }
    .history_year::before {
        width: 100px;
        height: 100px;
    }
    .history_year::after {
        content: '';
        width: 1px;
        height: 800%;
        border-left: 1px solid var(--primary-color);
        position: absolute;
        top: 100%;
        left: 50%;
        z-index: -2;
    }
    .history_year_blank {
        width: 100px;
        height: 100px;
        position: relative;
    }
    .history_year_blank::after {
        content: '';
        width: 1px;
        height: 300%;
        border-left: 1px solid var(--primary-color);
        position: absolute;
        top: 18%;
        left: 50%;
        z-index: -2;
    }
    .history_year span {
        font-size: 2.6rem;
    }
    .history_detail {
        width: calc(100% - 140px);
    }
    .history_event {
        margin-top: 0;
    }
    .history_unit:last-of-type .history_year::after {
        height: 50%;
    }
    .continue {
        margin-top: 20px;
        font-size: 2.4rem;
    }
}

@media screen and (min-width: 1161px) {
    .history_wrap {
        gap: 80px;
    }
    .history_unit {
        display: flex;
        align-items: center;
    }
    .history_year {
        width: 160px;
        height: 160px;
    }
    .history_year::before {
        width: 160px;
        height: 160px;
    }
    .history_year::after {
        height: 300px;
        border-left: 1px dashed var(--primary-color);
    }
    .history_year span {
        font-size: 4.8rem;
    }
    .history_year_blank {
        width: 160px;
        height: 160px;
    }
    .history_year_blank::after {
        border-left: 1px dashed var(--primary-color);
    }
    .history_detail {
        width: calc(100% - 200px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    .history_event {
        width: calc(100% - 510px);
    }
    .history_image {
        width: 480px;
    }
    .continue {
        font-size: 3.2rem;
    }
}

@media screen and (min-width: 1271px) {
    .history_detail {
        gap: 50px;
    }
    .history_event {
        width: calc(100% - 650px);
    }
    .history_image {
        width: 600px;
    }
}
