/* Adjustment Styles */

.icon:before, .icon:after,
.more:before, .more:after { top:-.075em; }

.hero .fp-hero-headline { font-size: 65px; }
.hero .fp-hero-headline > span { margin-right: -.2em; }
.promo-airpods .typography-section-headline > span { margin-right: -.4em; }
.promo-accessories .typography-section-headline > span { margin-right: -.2em; }
.section-applepay .typography-section-headline { text-indent: .2em; }
.section-iphone-trade-up-tabs .typography-section-headline > span { margin-right: -.6em; }
.section-compare .typography-section-headline > span { margin-right: -.2em; }

@media only screen and (max-width: 1068px) {
    .hero .fp-hero-headline { font-size: 64px; }
}

@media only screen and (max-width: 735px) {
    .hero .fp-hero-headline { font-size: 52px; }

}

/* Added JP Unique Section - Apple Pay */

.page-home .section-applepay {
    background-color: transparent;
}
.page-home .section-applepay .section-panel {
    padding-bottom: 0;
}
.page-home .section-applepay .section-panel .row {
    width: 980px;
    margin-right: auto;
    margin-left: auto;
}
.page-home .section-applepay .section-panel .row .fp-section-copy {
    margin-top: 190px;
}
.section-applepay .fp-applepay-logo {
    width: 84px;
    height: 41px;
    background-size: 84px 41px;
    background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_logo_large.png");
}
.section-applepay .image-applepay {
    position: static;
    left: auto;
    bottom: auto;
    width: 325px;
    height: 650px;
    margin-top: 0;
    margin-left: 45px;
    background-size: 325px 650px;
    background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .section-applepay .fp-applepay-logo {
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_logo_large_2x.png")
    }
    .section-applepay .image-applepay {
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_large_2x.png")
    }
}
@media only screen and (max-width: 1068px) {
    .page-home .section-applepay .section-panel .row {
        width: auto;
    }
    .page-home .section-applepay .section-panel .row .fp-section-copy {
        margin-top: 90px;
    }
    .section-applepay .fp-applepay-logo {
        width: 60px;
        height: 29px;
        background-size: 60px 29px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_logo_medium.png")
    }
    .section-applepay .image-applepay {
        width: 185px;
        height: 358px;
        margin-left: 80px;
        background-size: 185px 358px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_medium.png")
    }
}
@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) {
    .section-applepay .fp-applepay-logo {
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_logo_medium_2x.png")
    }
    .section-applepay .image-applepay {
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_medium_2x.png")
    }
}
@media only screen and (max-width: 735px) {
	.page-home .section-applepay .section-panel {
		padding-top: 87px;
	}
    .page-home .section-applepay .section-panel .row .fp-section-copy {
        margin-top: 0;
    }
    .section-applepay .fp-applepay-logo {
        width: 85px;
        height: 41px;
        background-size: 85px 41px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_logo_small.png")
    }
    .section-applepay .image-applepay {
        width: 233px;
        height: 300px;
        margin-top: 36px;
        margin-right: auto;
        margin-left: auto;
        background-size: 233px 300px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_small.png")
    }
}
@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi) {
    .section-applepay .fp-applepay-logo {
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_logo_small_2x.png")
    }
    .section-applepay .image-applepay {
        background-image: url("http://images.apple.com/jp/iphone/home/images/apple_pay_small_2x.png")
    }
}

/* Added JP Unique Section - Trade Up */

.page-home .section-iphone-trade-up-tabs {
}
.page-home .section-iphone-trade-up-tabs .section-panel {
    padding-bottom: 0;
    background-color: #fafafa;
}
.page-home .section-iphone-trade-up-tabs .section-panel .row {
    width: 980px;
    margin-right: auto;
    margin-left: auto;
}
.page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy {
    width: 450px;
    margin-top: 15px;
}
.page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy .typography-section-headline {
    margin-bottom: 10px;
}
.page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy .fp-product-subheadline {
    font-size: 24px;
}
.page-home .section-iphone-trade-up-tabs .section-panel .row .trade-in-iphone {
    width: 392px;
    height: 331px;
    margin-left: 61px;
    background-size: 392px 331px;
    background-repeat: no-repeat;
    background-image: url("http://images.apple.com/jp/iphone/home/images/tradeup_large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .page-home .section-iphone-trade-up-tabs .section-panel .row .trade-in-iphone {
        background-image: url("http://images.apple.com/jp/iphone/home/images/tradeup_large_2x.png")
    }
}
@media only screen and (max-width: 1068px) {
    .page-home .section-iphone-trade-up-tabs .section-panel .row {
        width: auto;
    }
    .page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy {
        width: 436px;
        margin-top: 40px;
        margin-left: 12px;
    }
    .page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy .fp-product-subheadline {
        font-size: 22px;
    }
    .page-home .section-iphone-trade-up-tabs .section-panel .row .trade-in-iphone {
        width: 289px;
        height: 339px;
        margin-left: 0px;
        background-size: 289px 339px;
        background-repeat: no-repeat;
        background-image: url("http://images.apple.com/jp/iphone/home/images/tradeup_medium.png")
    }
}
@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) {
    .page-home .section-iphone-trade-up-tabs .section-panel .row .trade-in-iphone {
        background-image: url("http://images.apple.com/jp/iphone/home/images/tradeup_medium_2x.png")
    }
}
@media only screen and (max-width: 735px) {
    .page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy {
        width: auto;
        margin-top: 0;
        margin-left: 0;
    }
    .page-home .section-iphone-trade-up-tabs .section-panel .row .fp-section-copy .fp-product-subheadline {
        font-size: 20px;
    }
    .page-home .section-iphone-trade-up-tabs .section-panel .row .trade-in-iphone {
        width: 269px;
        height: 217px;
        margin-top: 36px;
        margin-right: auto;
        margin-left: auto;
        background-size: 269px 217px;
        background-repeat: no-repeat;
        background-image: url("http://images.apple.com/jp/iphone/home/images/tradeup_small.png")
    }
}
@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi) {
    .page-home .section-iphone-trade-up-tabs .section-panel .row .trade-in-iphone {
        background-image: url("http://images.apple.com/jp/iphone/home/images/tradeup_small_2x.png")
    }
}

/* Swap Images */

.section-ways-and-switch {
    background-size: 1350px 720px;
    background-image: url("http://images.apple.com/jp/iphone/home/images/switch_large.jpg");
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .section-ways-and-switch {
        background-image: url("http://images.apple.com/jp/iphone/home/images/switch_large_2x.jpg")
    }
}

@media only screen and (max-width: 1068px) {
    .section-ways-and-switch {
        background-size: 768px 512px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/switch_medium.jpg")
    }
}

@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) {
    .section-ways-and-switch {
        background-image: url("http://images.apple.com/jp/iphone/home/images/switch_medium_2x.jpg")
    }
}

@media only screen and (max-width: 735px) {
    .section-ways-and-switch {
        background-size: 736px 821px;
        background-repeat: no-repeat;
        background-image: url("http://images.apple.com/jp/iphone/home/images/switch_small.jpg")
    }
}

@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi) {
    .section-ways-and-switch {
        background-image: url("http://images.apple.com/jp/iphone/home/images/switch_small_2x.jpg")
    }
}
.section-business {
    background-size: 2560px 506px;
    background-image: url("http://images.apple.com/jp/iphone/home/images/business_large.jpg");
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .section-business {
        background-image: url("http://images.apple.com/jp/iphone/home/images/business_large_2x.jpg")
    }
}

@media only screen and (max-width: 1068px) {
    .section-business {
        background-size: 1068px 360px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/business_medium.jpg")
    }
}

@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) {
    .section-business {
        background-image: url("http://images.apple.com/jp/iphone/home/images/business_medium_2x.jpg")
    }
}

@media only screen and (max-width: 735px) {
    .section-business {
        background-size: 736px 360px;
        background-image: url("http://images.apple.com/jp/iphone/home/images/business_small.jpg")
    }
}

@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi) {
    .section-business {
        background-image: url("http://images.apple.com/jp/iphone/home/images/business_small_2x.jpg")
    }
}
