/* リキッドレイアウト対応 */

body {
	font-family: "";
}

.u-desktop {
	display: none;
}

html {
	margin-left: auto;
	margin-right: auto;
	max-width: 1440px;
}

html {
	font-size: 16px;
}

/* pcの電話番号発信対応 */

/* ホバー */

a {
	-webkit-text-decoration: none;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default padding */

ul,
ol {
	padding: 0;
}

/* Remove default margin */

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

/* Set core root defaults */

html {
	scroll-behavior: smooth;
}

/* Set core body defaults */

body {
	line-height: 1.5;
	min-height: 100vh;
	text-rendering: optimizeSpeed;
}

/* Remove list styles on ul, ol elements with a class attribute */

ul,
ol {
	list-style: none;
}

/* A elements that don't have a class get default styles */

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */

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

/* Natural flow and rhythm in articles by default */

article > * + * {
	margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */

input,
button,
textarea,
select {
	font: inherit;
}

/* Blur images when they have no alt attribute */

img:not([alt]) {
	filter: blur(10px);
}

/* フォームリセット */

input,
button,
select,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	font: inherit;
	outline: none;
}

textarea {
	resize: vertical;
}

input[type=checkbox],
input[type=radio] {
	display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
	cursor: pointer;
}

select::-ms-expand {
	display: none;
}

picture {
	display: block;
}

button {
	display: block;
	padding: 0;
	width: 100%;
}

.c-btn {
	background-color: black;
	color: yellow;
	padding: 0.625rem 2.5rem;
}

.l-about {
	margin-top: -3.125rem;
}

.l-footer {
	margin-top: -1px;
}

.l-inner {
	height: inherit;
	margin: 0 auto;
	max-width: 33.75rem;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}

.l-web {
	margin-top: -9.3333333333vw;
}

.p-about__img1 {
	position: relative;
	z-index: 2;
}

.p-about__img2 {
	background-color: #fff;
	margin-top: -4.375rem;
	position: relative;
	z-index: 1;
}

.p-about__img3 {
	background-color: #fef5f9;
	margin-top: -4.6875rem;
	padding-bottom: 3.875rem;
	padding-top: 6.25rem;
	position: relative;
}

.p-about__img3::before {
	background-color: #fff;
	border-radius: 50%;
	content: "";
	height: 5.9375rem;
	position: absolute;
	top: -3rem;
	width: 100%;
}

.p-about__img3 img {
	margin: 0 auto;
	max-width: 20.625rem;
}

.p-about_btn {
	margin-left: auto;
	margin-right: auto;
	margin-top: -1.875rem;
	max-width: 21.875rem;
	position: relative;
	z-index: 1;
}

.p-company {
	background-color: #fef7fa;
	padding-bottom: 5rem;
	padding-top: 3.125rem;
}

.p-company__wrap {
	margin-top: 0.75rem;
}

.p-company__text {
	margin-top: 0.9375rem;
}

.p-faq {
	padding-bottom: 5rem;
	padding-top: 5rem;
}

.p-faq__blocks {
	margin-top: 1.25rem;
}

.p-faq__block + .p-faq__block {
	margin-top: 1.25rem;
}

.p-footer {
	background-color: #232323;
	color: #fff;
	font-family: Arial, sans-serif;
	padding-bottom: 1.25rem;
	padding-top: 3.75rem;
}

.p-footer__logo {
	margin-left: auto;
	margin-right: auto;
	max-width: 12.1875rem;
}

.p-footer__logo svg {
	width: 100%;
}

.p-footer__logo path {
	fill: #fff;
}

.p-footer__sns {
	align-items: center;
	display: flex;
	gap: 1.25rem;
	justify-content: center;
	margin-top: 2.1875rem;
}

.p-footer__sns li {
	width: 1.3125rem;
}

.p-footer__privacy {
	font-size: 1rem;
	margin-top: 2.1875rem;
	text-align: right;
}

.p-footer__copy {
	font-size: 0.875rem;
	line-height: 1.5;
	margin-top: 2.1875rem;
	text-align: center;
}

.p-mv {
	position: relative;
}

.p-mv__btn {
	bottom: 2.1875rem;
	left: 50%;
	max-width: 21.875rem;
	position: absolute;
	transform: translateX(-50%);
	width: 100%;
}

.slick-track {
  height: calc((var(--vw, 1vw) * 100) * (1740 / 2880));
  @media(min-width: 1440px) {
    height: calc((1440px) * (1740 / 2880));
  }
  @media(max-width: 768px) {
    height: auto;
  }
}

.p-slide {
	overflow: hidden;
	position: relative;
	z-index: 3;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.p-slide img,
.p-slide source {
  aspect-ratio: 2880 / 1740;
}

@media(max-width: 768px) {
  .p-slide img,
  .p-slide source {
    aspect-ratio: 1561 / 2444;
  }
}

.p-slide__slider .slide-arrow {
	background: url(../../images/amapiyo/arrow.png) center center/contain no-repeat;
	cursor: pointer;
	font-size: 30px;
	height: 3.75rem;
	position: absolute;
	top: 43%;
	transform: translateY(-50%);
	width: 3.75rem;
	z-index: 1;
}

.p-slide__slider .prev-arrow {
	left: -1.25rem;
}

.p-slide__slider .next-arrow {
	right: -1.25rem;
	transform: translateY(-50%) rotate(180deg);
}

.p-slide__slider .slider-dots {
	display: flex;
	gap: 0.9375rem;
	justify-content: center;
	margin: 0 auto;
	margin-top: 0.625rem;
}

.p-slide__slider .slider-dots li {
	background-color: #fad9e7;
	border-radius: 50%;
	height: 1.25rem;
	list-style: none;
	transition: all 0.3s;
	width: 1.25rem;
}

.p-slide__slider .slider-dots li.slick-active {
	background-color: #d80c18;
}

.p-slide__slider .slider-dots button {
	display: none;
}

.p-test {
	margin-left: calc(50% - min(3.125rem, 50px));
}

.p-web {
	background: url(../../images/amapiyo/bg_web.png) center top/100% 100% no-repeat;
	padding-bottom: 3.75rem;
	padding-top: 4.6875rem;
}

.p-web__inner {
	max-width: calc(13.4375rem + 20px + 20px);
}

.p-web__links {
	grid-gap: 1.25rem;
	display: grid;
	gap: 1.25rem;
	margin-top: 1.5625rem;
}

@media screen and (min-width: 768px) {

.u-desktop {
	display: block;
}

.u-mobile {
	display: none;
}

html {
	font-size: 1.1428571429vw;
}

a[href^="tel:"] {
	pointer-events: none;
}

a:hover {
	opacity: 0.8;
}

a.cursor-default:hover {
  opacity: 1;
  cursor: default;
}

.l-inner {
	max-width: 1130px;
	padding-left: 25px;
	padding-right: 25px;
}

.l-web {
	margin-top: -3.4722222222vw;
}

.p-about__img2 {
	background: none;
	margin-left: -0.7638888889vw;
	margin-top: -50.4166666667vw;
}

.p-about__img3 {
	background: url(../../images/amapiyo/bg_img3.png) center top/100% no-repeat;
	margin-top: -31.25rem;
	padding-top: 26.875rem;
}

.p-about__img3::before {
	display: none;
	height: 37.5rem;
	top: -18.75rem;
}

.p-about__img3 img {
	max-width: 67.5rem;
}

.p-about_btn {
	margin-top: -2.8125rem;
	max-width: 32.8125rem;
}

.p-company {
	padding-bottom: 11.25rem;
	padding-top: 5rem;
}

.p-company__title {
	margin-left: auto;
	margin-right: auto;
	max-width: 36.25rem;
}

.p-company__wrap {
	grid-gap: 1.25rem;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 1.5625rem;
}

.p-company__text {
	margin-top: 0;
}

.p-faq {
	padding-bottom: 6.25rem;
	padding-top: 6.25rem;
}

.p-faq_title {
	margin-left: auto;
	margin-right: auto;
	max-width: 30.9375rem;
}

.p-faq__blocks {
	margin-top: 2.5rem;
}

.p-faq__block + .p-faq__block {
	margin-top: 2.5rem;
}

.p-mv__btn {
	bottom: min(8.75vw, 7.875rem);
	left: auto;
	left: initial;
	max-width: min(36.4583333333vw, 32.8125rem);
	right: calc(50% - min(37.5vw, 33.75rem));
	transform: translateX(0);
}

.p-slide__slider .slide-arrow {
	height: 5.625rem;
	top: 50%;
	width: 5.625rem;
}

.p-web {
	background: url(../../images/amapiyo/bg_web_pc.png) center top/100% 100% no-repeat;
	padding-bottom: 6.875rem;
	padding-top: 9.0625rem;
}

.p-web__title {
	margin-left: auto;
	margin-right: auto;
	max-width: 18.125rem;
}

.p-web__links {
	grid-template-columns: repeat(3, 1fr);
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.875rem;
	width: -moz-fit-content;
	width: fit-content;
}

.p-web__link {
	width: 13.4375rem;
}

}

@media (min-width: 1401px) {

html {
	font-size: 16px;
}

}

@media (max-width: 375px) {

html {
	font-size: 4.2666666667vw;
}

}
