/* ribbon */
.ribbon .ribbon-content-wrapper {
	padding: 13px 0;
}

.ribbon .ribbon-content-wrapper .typography-caption {
	font-size: 14px;
}

@media only screen and (max-width: 440px) {
	.ribbon .ribbon-content {
		max-width: 350px;
	}
}

html:not(.mobile-devices) .button {
	padding-block: calc(
			var(--sk-button-padding-vertical) - var(--sk-button-border-width) +
				1px
		)
		calc(
			var(--sk-button-padding-vertical) - var(--sk-button-border-width) -
				1px
		);
}

/* Chevron */
.icon-wrapper .icon-after:after, .icon-wrapper .icon-before:before, .icon-wrapper .more:not(.icon-before):after {
	position: relative;
	top: -0.075em;
}
html:not([dir="rtl"]) .more:after, html:not([dir="rtl"]) .more:before {
	position: relative;
	top: -0.075em;
}

body {
	line-break: strict;
}

.section-select .product-tile-plus {
	font-size: 14px;
}

.section-select .product-tile-stat {
	font-size: 14px;
}

/* Compare */
@media only screen and (min-width: 735px) {
	.section-select .product-tile .product-tile-padding {
		width: 100%;
		box-sizing: border-box;
	}
	.select-gallery-container .toggle-gallery-wrapper li .tabnav-button.active {
		padding-top: 11px;
		padding-bottom: 9px;
	}
}

/* ------------------------------ tile-gakusei ------------------------------ */
@media only screen and (min-width: 1069px) {
	span.jp-headline-adjust.large-reject {
		margin-right: 0;
	}
}

@media only screen and (max-width: 734px) {
	span.jp-headline-adjust.small-reject {
		margin-right: 0;
	}
}

.tile-gakusei {
	background-color: #fafafa;
	padding-top: 34px;
	padding-bottom: 34px;
	border-bottom-left-radius: 28px;
	border-bottom-right-radius: 28px;
	border-top-left-radius: 28px;
	border-top-right-radius: 28px;
}

@media only screen and (max-width: 1068px) {
	.tile-gakusei {
		padding-top: 36px;
		padding-bottom: 40px;
	}
}

@media only screen and (max-width: 734px) {
	.tile-gakusei {
		padding-top: 44px;
		padding-bottom: 70px;
		text-align: center;
	}
}

.section-btm .full-width-tile-wrapper {
	text-align: center;
}

.tile-gakusei .content-wrapper {
	padding: 0 30px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

@media only screen and (max-width: 734px) {
	.tile-gakusei .content-wrapper {
		padding: 0;
		display: block;
		text-align: center;
	}
}

.tile-gakusei .copy-wrapper {
	flex-basis: 50%;
	max-width: 50%;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 50%;
}

@media only screen and (max-width: 1068px) {
	.tile-gakusei .copy-wrapper {
		max-width: 500px;
		height: auto;
	}
}

@media only screen and (max-width: 734px) {
	.tile-gakusei .copy-wrapper {
		max-width: auto;
		height: auto;
		margin: 0 auto;
		text-align: center;
	}
}

.tile-gakusei .logo-gakusei {
	width: 99px;
	height: 17px;
	margin: 0 auto 7px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(/jp/mac/home/images/overview/gakusei-2024/logo_large.png);
	position: relative;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
	.tile-gakusei .logo-gakusei {
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/logo_large_2x.png);
	}
}

@media only screen and (max-width: 1068px) {
	.tile-gakusei .logo-gakusei {
		width: 88px;
		height: 16px;
		margin: 0 auto 7px;
		background-size: 100%;
		background-repeat: no-repeat;
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/logo_medium.png);
		position: relative;
		top: 0px;
		left: 0px;
		background-position-y: 50%;
	}
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi) {
	.tile-gakusei .logo-gakusei {
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/logo_medium_2x.png);
	}
}

@media only screen and (max-width: 734px) {
	.tile-gakusei .logo-gakusei {
		max-width: 74px;
		height: 13px;
		margin: 0 auto 6px;
		background-size: 100%;
		background-repeat: no-repeat;
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/logo_small.png);
		position: relative;
	}
}

@media only screen and (max-width: 734px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 734px) and (min-resolution: 1.5dppx), only screen and (max-width: 734px) and (min-resolution: 144dpi) {
	.tile-gakusei .logo-gakusei {
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/logo_small_2x.png);
	}
}

.tile-gakusei .tile-copy {
	margin-top: 12px;
}

.tile-gakusei .tile-cta {
	margin-top: 0.8em;
}

.tile-gakusei .image-wrapper {
	flex-basis: 50%;
	max-width: 50%;
	margin: 0 auto;
	overflow: hidden;
}

@media only screen and (max-width: 734px) {
	.tile-gakusei .image-wrapper {
		flex-basis: 100%;
		max-width: 100%;
		margin: 0 auto;
		overflow: hidden;
		padding-top: 60px;
	}
}

.tile-gakusei .image-wrapper .image-gakusei {
	width: 100%;
	height: 370px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(/jp/mac/home/images/overview/gakusei-2024/mac-gakusei_large.jpg);
	position: relative;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
	.tile-gakusei .image-wrapper .image-gakusei {
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/mac-gakusei_large_2x.jpg);
	}
}

@media only screen and (max-width: 1068px) {
	.tile-gakusei .image-wrapper .image-gakusei {
		width: 100%;
		height: 277px;
		background-size: 100%;
		background-repeat: no-repeat;
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/mac-gakusei_medium.jpg);
		position: relative;
		top: 0px;
		left: 0px;
		background-position-y: 50%;
	}
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi) {
	.tile-gakusei .image-wrapper .image-gakusei {
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/mac-gakusei_medium_2x.jpg);
	}
}

@media only screen and (max-width: 734px) {
	.tile-gakusei .image-wrapper .image-gakusei {
		max-width: 289px;
		height: 193px;
		margin: 0 auto;
		background-size: 100%;
		background-repeat: no-repeat;
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/mac-gakusei_small.jpg);
		position: relative;
	}
}

@media only screen and (max-width: 734px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 734px) and (min-resolution: 1.5dppx), only screen and (max-width: 734px) and (min-resolution: 144dpi) {
	.tile-gakusei .image-wrapper .image-gakusei {
		background-image: url(/jp/mac/home/images/overview/gakusei-2024/mac-gakusei_small_2x.jpg);
	}
}

.tile-gakusei .image-bottom-small, .tile-gakusei .image-top-small {
	display: none;
	z-index: 1;
}

@media only screen and (max-width: 734px) {
	.tile-gakusei .image-bottom-small, .tile-gakusei .image-top-small {
		display: block;
	}
}

html.text-zoom .tile-gakusei {
	height: auto;
}

.tile-gakusei .icon-wrapper .icon-after:after, .tile-gakusei .icon-wrapper .icon-before:before, .tile-gakusei .icon-wrapper .more:not(.icon-before):after {
	position: relative;
	top: -0.1em;
}

/* bts-ribbon */
.ribbon.ribbon-blue-to-default.bts-ribbon a {
	text-decoration: none;
}

.ribbon.ribbon-blue-to-default.bts-ribbon a:hover {
	text-decoration: underline;
}

.section-select .select-gallery-container .scroll-container .item-container .product-tile-positioning.product-tile-padding {
	padding-left: 0;
	padding-right: 0;
}

.section-select .gallery-gallery-1 .product-tile-product-mbp1416 .product-tile-plus-copy {
	max-width: inherit;
}

.section-select .select-gallery-container .product-tile-set .product-tile-plus {
	margin-top: 0;
}

.section-select .product-tile .product-tile-plus-cell, .section-select .product-tile .product-tile-plus-cell figure {
	width: 100%;
}
.section-select .product-tile-plus-cell.product-tile-plus-2 picture {
	max-height: 56px;
}

#ac-globalfooter .footnote-space {
	display: block;
	padding-top: 4px;
}
#icon-card-personal-setup .card-modifier.has-trigger-button {
	padding-inline-end: 45px;
}
@media only screen and (max-width: 734px) {
	#icon-card-personal-setup .card-modifier.has-trigger-button {
		padding-inline-end: 20px;
	}
}
#icon-card-shopping-experience .card .card-modifier.has-trigger-button {
	padding-inline-end: 45px;
}
@media only screen and (max-width: 734px) {
	#icon-card-shopping-experience .card .card-modifier.has-trigger-button {
		padding-inline-end: 20px;
	}
}
/* essentials */

.section-essentials .essential-card-text-container {
	width: 100%;
}

@media only screen and (min-width: 1069px) {
	.essential-card-content .essential-card-text-container {
		max-width: none;
	}
}

/* gakusei */
.section-gakusei {
	padding-bottom: 0;
}
.section-gakusei .banner-card.banner-card-text-row-placement-top .banner-card-copy-column {
	margin-bottom: 0;
}
.section-gakusei .banner-card-image-logo, .section-gakusei .banner-card-headline {
	margin-bottom: 0;
	filter: drop-shadow(0 0 5px rgba(52, 39, 29, 1));
	color: #f5f5f7;
}

.section-gakusei .banner-card-copy {
	margin-bottom: 0;
	filter: drop-shadow(0 0 5px rgba(20, 20, 20, 1))
		drop-shadow(0 0 3px rgba(20, 20, 20, 0.6));
}
@media only screen and (max-width: 1068px) {
	.section-gakusei .banner-card-image-logo, .section-gakusei .banner-card-headline {
		margin-bottom: 0;
		filter: drop-shadow(0 0 5px rgba(52, 39, 29, 0.75));
	}

	.section-gakusei .banner-card-copy {
		margin-bottom: 0;
		filter: drop-shadow(0 0 5px rgba(20, 20, 20, 1));
	}
}
.section-gakusei .banner-card-headline {
	margin-top: 4px;
}
@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.section-gakusei .banner-card {
		max-height: 574px;
		min-height: 574px;
	}
}
@media only screen and (max-width: 734px) {
	.section-gakusei .banner-card {
		max-height: 500px;
		min-height: 500px;
	}
}
@media only screen and (max-width: 1068px) {
	.section-gakusei .banner-card.banner-card-text-row-placement-top .banner-card-copy-column {
		max-width: 100%;
		width: 100%;
		text-align: left;
	}
}

html.not-small-desktop .section-gakusei .button {
	padding-top: 12px;
	padding-bottom: 10px;
}
.section-gakusei .theme-dark .button-neutral {
	--sk-button-background: rgb(245, 245, 247);
	--sk-button-background-hover: rgb(255, 255, 255);
	--sk-button-background-active: #ededf2;
	--sk-button-color: rgb(0, 0, 0);
}
