@charset "utf-8";

/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *
 * responsive / common
 *
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

img {
	max-width: 100%;
	height: auto;
}

.job-tag-wrap {
	height: auto;
	min-height: 18px;
}

.modal-contents.long {
	max-height: calc(100vh - 150px);
	max-height: calc(100dvh - 150px);
}

/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *
 * tablet / 1040px以下
 *
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (max-width: 1040px) {

	.section-inner1000,
	.footer-content,
	.copyright-inner {
		width: calc(100% - 40px);
	}

	.section-main-visual {
		position: relative;
		height: 70%;
        padding: 50px 0;
	}

	.main-visual-contents-left {
		padding: 20px 0;
	}

	.main-visual-title img {
		width: 85%;
	}

	.main-visual-contents-left .sns {
		height: auto;
	}

	.section-top {
		margin-top: 0;
	}

	.h2-section-top {
		font-size: 32px;
	}

	.h2-section-top span {
		font-size: 24px;
	}

	.experience {
		width: 32%;
	}

	.experience-content {
		padding: 20px;
	}

	.job {
		width: 100%;
	}

	.job-content {
		table-layout: fixed;
	}

	.job-pic {
		width: 30%;
	}

	.job-pic-inner {
		width: 100%;
	}

	.prefecture-mark.absolute {
		left: calc(30% + 20px);
	}

	.job-tags {
		left: 90px;
		height: auto;
		line-height: 24px;
	}

	.footer-content {
		flex-direction: column;
	}

	.footer-logo,
	.footer-desc {
		width: 100%;
		height: auto;
		margin-bottom: 24px;
		text-align: center;
	}

	.sns a {
		margin-left: 20px;
	}

	.sns.sns-footer {
		width: 100%;
		height: auto;
		margin-bottom: 30px;
		text-align: center;
	}

	.modal,
	.modal.max {
		width: calc(100% - 40px);
	}
}

/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *
 * smartphone / 767px以下
 *
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (max-width: 767px) {

    .sp-disp-none {
        display: none;
    }

	.section-main-visual {
		position: relative;
		height: auto;
        padding: 0;
		padding-top: 90px;
	}

	.main-visual-head-logo {
		left: 16px;
		padding: 12px 16px;
	}

	.main-visual-head-logo img {
		width: 130px;
	}

	.main-visual-contents {
		flex-direction: column;
	}

	.main-visual-contents-left,
	.main-visual-contents-right {
		width: 100%;
	}

	.main-visual-contents-left {
		padding: 10px 20px 30px;
	}

	.main-visual-title img {
		width: 90%;
		max-width: 400px;
	}

	.main-visual-contents-right img {
		display: block;
		border-radius: 0;
	}

	.section-white,
	.section-gray {
		padding: 40px 0;
	}

	.section-top-eng {
		font-size: 100px;
	}

	.h2 {
        display: block;
		margin-bottom: 25px;
		padding: 8px 8px;
        line-height: 1;
		font-size: 14px;
	}

	.h2 font {
        display: block;
		margin: 0 0 5px;
		font-size: 28px;
	}

	.h2-section-top {
		font-size: 20px;
	}

	.h2-section-top span {
		font-size: 16px;
	}

	.description {
		line-height: 1.8;
		font-size: 14px;
	}
    
    .paren-list > li {
        margin-bottom: 10px;
        line-height: 1.3;
    }

	.experiences {
		flex-direction: column;
	}

	.experience {
		width: 100%;
		margin-bottom: 24px;
	}

	.experience:last-child {
		margin-bottom: 0;
	}

	.event-link {
		width: 100%;
		max-width: 360px;
		padding: 22px 15px;
		line-height: 1.5;
		font-size: 18px;
	}

	.job-content,
	.job-pic,
	.job-title {
		display: block;
		width: 100%;
	}

	.job-pic {
		padding-top: 61.8333%;
	}

	.job-pic-inner {
		border-radius: 3px 3px 0 0;
	}

	.prefecture-mark.absolute {
		left: 16px;
	}

	.job-title {
		padding: 20px;
	}

	.job-title-link a,
	.job-title-link a:hover {
		line-height: 1.5;
		font-size: 18px;
	}

	.job-tags {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		margin-top: 15px;
		text-align: left;
	}

	footer {
		padding-top: 30px;
	}

	.footer-content {
		flex-direction: column;
	}

	.footer-logo,
	.footer-desc {
		width: 100%;
		height: auto;
		margin-bottom: 24px;
		text-align: center;
	}

    .sns {
        transform: scale(80%);
    }
    
    .sns.sns-footer {
        margin-bottom: 0;
    }

	.sns a {
		margin-left: 20px;
	}

	.copyright-inner {
		display: block;
		height: auto;
		line-height: 1.8;
	}

	.copyright small {
		font-size: 10px;
	}

	.modal,
	.modal.max {
		top: 16px;
		bottom: 16px;
		width: calc(100% - 24px);
	}

	.modal-contents.long {
		max-height: calc(100vh - 82px);
		max-height: calc(100dvh - 82px);
		padding: 24px 0 40px;
	}

	.modal-close-btn {
		top: 0;
		right: 0;
		width: 50px;
		height: 50px;
		line-height: 50px;
	}

	.kyugaku-interview-wrap {
		margin: 0 20px;
	}

	.kyugaku-interview-title {
		font-size: 22px;
	}

	.kyugaku-interview-wrap p.heading {
		margin-top: 30px;
		font-size: 20px;
	}

	.attention {
		padding: 20px;
	}
    
    .kyugaku-prof {
        display: block;
        width: 100%;
    }

    .kyugaku-prof-pic {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .kyugaku-prof-pic img {
        width: 50%;
    }

    .kyugaku-prof-text {
        width: 100%;
        padding-left: 0;
    }
    
    .kyugaku-h4 {
        font-size: 18px;
    }
}
