@media screen and (max-width: 1200px) {
	.hdr__navi-menu li a {
		padding: 5px 12px;
	}
}

@media screen and (max-width: 1024px) {	
	.hdr__logo {
		margin: 0 auto;
	}
	
	.hdr__navi {
		margin: 0 auto;
	}

	.hdr__layout {
		padding: 10px;
	}
	
	.instagram-container-item .am-col3 img {
		height: 150px;
	}
	
	#instagram .exthermo-title {
		margin: 0 0 50px;
	}
	
	.corporate-philosophy-item__subtitle {
        height: 20vw;
        width: 20vw;
		line-height: 32px;
    }
	
	.slider__ov {
		left: 50px;
		width: calc(100% - 100px);
		top: 120px;
	}
	
	.slider__ov-sub-title {
		font-size: 40px;
	}
	
	.slider__ov-sub-title {
		font-size: 40px;
	}
	
	#greetings, #philosophy, #information, #overview, #business, #job, #contact {
		padding: 40px 10px;
	}
	
	.greetings-button {
		max-width: calc(800px - 20px);
	}
	
	.greetings-button a {
		width: 100%;
		max-width: 250px;
		margin: 0 10px 15px;
	}
}

@media screen and (max-width: 768px) {	
	.philosophy-box .am-col6 {
		padding: 40px 10px;
	}			
}

@media screen and (max-width: 767px) {
	.af-topgap {
		height: 110px;
	}
	
	.hdr__menu-btn {
		display: block;
		top: 50px;
	}
	
	header {
		position: fixed;
		z-index: 5;
		width: 100%;
		top: 0;
		left: 0;
		height: 100px;
		overflow: hidden;
		transition: height 0.5s ease;
	}
	
	header .am-container {
		width: 100%;
	}

	.hdr__logo > a {
		display: block;
		position: absolute;
		top: 50px;
		width: fit-content;
		text-align: left;
		transform: translateY(-50%);
		padding: 0 0 0 10px;
		font-size: 20px;
	}
	
	.am-col-auto.hdr__logo img {
		width: 50px;
		margin: 0 5px 0 0;
	}
	
	.hdr__logo>a>img {
		width: 200px;
	}

	.hdr__logo img {
		width: auto;
		height: 50px;
	}

	.hdr__layout {
		display: block;
		height: auto;
		width: 100%;
		padding: 0;
		position: relative;
	}

	.hdr__logo {
		text-align: center;
		height: 100px;
		width: unset;
		position: relative;
	}
	
	.hdr__navi {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s ease;
		flex-wrap: wrap;
	}

	.hdr__navi-cont {
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: space-between;
		min-height: max(710px, calc(100vh - 125px));
	}

	.hdr__navi-menu {
		position: relative;
		margin: 0;
		width: calc(100% - 1px);
	}

	.hdr__navi-menu-bg {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
	}

	.hdr__navi-menu {
		display: block;
		position: relative;
		z-index: 2;
	}

	.hdr__navi-menu li,
	.hdr__navi-menu li:last-child {
		border: solid #000;
		border-width: 1px 0 0;
	}
	
	.hdr__navi-menu li:last-child {
		border: solid #000;
		border-width: 1px 0;
	}

	.hdr__navi-menu li a,
	.hdr__navi-menu li:last-child a {
		padding: 30px 0;
		color: #000;
		font-weight: 200;
		width: 100%;
		text-align: center;
		font-size: 20px;
	}

	.hdr__navi-btn-cont .hdr__navi-btn:last-child,
	.hdr__navi-btn-cont .hdr__navi-btn:first-child {
		border-radius: 25px;
		display: block;
		margin: 50px auto 10px;
		font-size: 16px;
	}
	
	.hdr__navi-lang {
		position: absolute;
		top: 50px;
		transform: translateY(-50%);
		left: unset;
		right: 75px;
		width: auto;
	}

	.hdr__navi-lang img {
		margin: 0 2px 0 0;
	}
	
	.hdr__tel {
        font-size: 16px;
    }

	.hdr__navi-btn-cont .hdr__navi-btn:last-child {
		margin: 0 auto;
	}
	
	.hdr__navi-lang a {
		display: inline-block;
		margin: 0 0 -5px;
	}
	
	.hdr__navi-lang {
        display: block;     
    }

	.hdr__navi-btn-cont {
		text-align: center;
	}
	
	.hdr__menu--show .hdr__menu-btn-icon>span {
		opacity: 0;
	}

	.hdr__menu--show .hdr__menu-btn-icon::before {
		transform: translateY(10px) rotate(225deg);
	}

	.hdr__menu--show .hdr__menu-btn-icon::after {
		transform: translateY(-10px) rotate(-225deg);
	}

	.hdr__menu--show .hdr__navi {
		max-height: 1000px;
	}
	
	header .ftr__cont {
		display: block;
	}
	
	.hdr__ftr.ftr__cont {
		padding: 30px 0 0;
		min-height: calc(100vh - 461px);
		display: flex;
		flex-direction: column;
	}

	.hdr__ftr .ftr__socmed {
		padding: 0 10px;
	}

	.hdr__ftr .ftr__addr {
		margin: auto 20px 30px;
		text-align: center;
	}
	
	.hdr__ftr .ftr__socmed-link {
		text-align: center;
		width: calc(50% - 25px);
		margin: 0 10px 20px;
		padding: 5px 0;
	}
	
	.hdr__ftr .ftr__cpright {
		margin: auto 0 0;
	}
	
	.hdr__ftr.ftr__cont {
		display: none;
	}
	
	.slider__email a {
		font-size: 14px;
	}
	
	img.slider__image {
		height: 450px;
		object-fit: cover;
		width: 100%;
	}
	
	.slider__ov {
        top: 10px;
        left: 50%;
        padding: 18px 10px 18px;
		width: calc(100% - 30px);
		transform: translateX(-50%);
	}

	.slider__ov-sub-title {
		font-size: 16px;
	}

	.slider__ov-main-title {
		font-size: 20px;
	}

	.slider__ov-btn {
		font-size: 3vw;
		padding: 10px;
		margin: 20px 0 0;
	}
	
	span.slider__time {
		display: block;
		margin: 0 0 15px;
	}
	
    #sect-slider {
        margin-top: 98px;
    }
	
	.contact-form-desc {
		margin: 0 0 30px 15px;
	}

	.contact-form-subcontainer .am-flex {
		display: block;
	}

	.contact-form-fields {
		margin: 0 15px;
		width: calc(100% - 30px);
	}

	.contact-form-input {
		display: block;
	}

	#contact-form .am-col6 {
		width: calc(100% - 30px);
	}

	.contact-form-fields-right {
		margin: 0 0 0 15px;
		width: 100%;
	}

	.contact-form-fields-input {
		width: 100%;
	}

	.contact-form-fields-name > p, .contact-form-fields-input > p {
		width: 100%;
	}
	
	.contact-us-banner {
		width: 100%;
		height: auto;
	}
	
	.slider__item video {
		height: auto;
		object-fit: contain;
	}
	
	.business-content a {
		overflow-wrap: break-word;
	}

	.greetings-button a {
		display: block;
		margin: 0 0 20px;
	}
	
	.philosophy-box .am-col6 {
        max-width: unset;
        width: calc(100% - 20px);
    }
	
	.information-content {
		font-size: 16px;
	}
	
	p.information-date {
		margin: 0 20px 0 0;
	}
	
	.information-date {
		width: 120px;
	}
	
	.overview-table table tr td:first-child {
		width: 85px;
	}
	
	.info-maps iframe {
		height: 200px;
	}
	
	.banner-img {
		margin: 0 0 15px;
		height: 150px;
		object-fit: cover;
	}
	
	.job-table table tr td:first-child {
		width: 100px;
	}
	
	#contact .am-col6 {
		width: calc(100% - 30px);
	}
	
	.contact-form-desc {
		font-size: 18px;
	}
	
	.business-content {
		margin: 10px 0 0 0;
	}
	
	.philosophy-box.am-flex {
		display: block;
	}
	
	.philosophy-box .am-col6 {
		margin: 30px 30px 0 0;
	}
	
	.philosophy-box .am-col6:last-child {
		margin: 30px 0 0 0;
	}
	
	.title-en {
		font-size: 40px;
	}
	
	.hdr__menu-contact {
		margin: 0 10px;
		font-size: 15px;
	}
	
	.information-content {
		margin: 30px auto 20px auto;
	}
	
	.information-map iframe {
		height: 300px;
	}
		
	#business .banner-img {
		margin: 20px 0;
	}
	
	#job .banner-img {
		margin: 20px 0;
	}
	
	p.job-desc {
		margin: 0 0 20px;
	}
}