@charset "UTF-8";
/* =========================================================
   renewal-about.css  ファイブスターについて（/about5star/）
   prefix: .r-about-*
   ========================================================= */

.r-renewal--about {
	color: #673a1b;
}

/* -----------------------------------------------------------------
   イントロ
------------------------------------------------------------------ */
.r-renewal--about .r-about-intro {
	margin: 0;
	padding: 30px 0 40px;
	background-color: #fff;
  overflow-x:hidden;
}

.r-lower-ttl {
  padding: 75px 0 1.0em;
}

.r-renewal--about .r-about-intro__inner {
	position: relative;
	max-width: 850px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.r-renewal--about .r-about-intro__body {
	position: relative;
	z-index: 1;
	flex: 0 0 calc(60% - 24px);
	min-width: 0;
}

.r-renewal--about .r-about-intro__watermark {
	position: absolute;
	right: -270px;
	bottom: -40px;
	z-index: 0;
	width: 480px;
	max-width: 70%;
	pointer-events: none;
}

.r-renewal--about .r-about-intro__watermark img {
	display: block;
	width: 100%;
	height: auto;
}

.r-renewal--about .r-about-intro__logo {
	margin: 6px 0 19px;
}

.r-renewal--about .r-about-intro__logo img {
	display: block;
	width: 189px;
	max-width: 100%;
	height: auto;
}

.r-renewal--about .r-about-intro__text {
  margin: 0 0 1.2em;
  color: #673a1b;
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

.r-renewal--about .r-about-intro__text:last-child {
	margin-bottom: 0;
}

.r-renewal--about .r-about-intro__figs {
	position: relative;
	z-index: 1;
	flex: 0 0 calc(45% - 24px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: calc(45% - 24px);
}

.r-renewal--about .r-about-intro__figs figure {
	margin: 0;
}

.r-renewal--about .r-about-intro__figs img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

/* -----------------------------------------------------------------
   5-STARが選ばれる「5つの安心」
------------------------------------------------------------------ */
.r-renewal--about .r-about-reasons {
	margin: 0;
	padding: 34px 0 50px;
	background-color: #f2eadd;
}

.r-renewal--about .r-about-reasons__box {
	box-sizing: border-box;
	max-width: 880px;
	margin: 0 auto;
	padding: 43px 60px 56px;
	background-color: #fff;
	border: 1px solid #6b3a05;
	border-radius: 10px;
}

.r-renewal--about .r-about-reasons__title {
	margin: 0 auto;
	text-align: center;
}

.r-renewal--about .r-about-reasons__title img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
}

.r-renewal--about .r-about-reasons__lead {
	margin: 0 0 45px;
	color: #673a1b;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	letter-spacing: 0;
}

.r-renewal--about .r-about-reasons__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.r-renewal--about .r-about-reason {
	overflow: hidden;
	padding: 0 20px 20px;
	border: 1px solid #6b3a05;
	border-radius: 0 16px 0 16px;
  background-color: #fff;
}

.r-renewal--about .r-about-reason:not(:last-child) {
	margin-bottom: 30px;
}

.r-renewal--about .r-about-reason__bar {
	margin: 0 -20px 16px;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.r-renewal--about .r-about-reason__bar img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.r-renewal--about .r-about-reason__text {
	margin: 0;
	padding: 0 7px;
	color: #673a1b;
	font-size: 1.1em;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}

/* -----------------------------------------------------------------
   代表メッセージ
------------------------------------------------------------------ */
.r-renewal--about .r-about-message {
	margin: 0;
	padding: 96px 0;
	background-color: #f7f4ee;
	background-image: var(--bg-pc);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	text-align: center;
}

.r-renewal--about .r-about-message__title {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 30px;
	margin: 0 0 49px;
	color: #673a1b;
	font-size: 2.4em;
	font-weight: 700;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.r-renewal--about .r-about-message__title::before,
.r-renewal--about .r-about-message__title::after {
	content: "";
	flex: 0 1 145px;
	width: 145px;
	max-width: 145px;
	min-width: 0;
	height: 1.5px;
	background-color: #673a1b;
}

.r-renewal--about .r-about-message__catch {
	color: #673a1b;
	font-size: 1.4em;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.06em;
  margin: 0 0 3px;
}

.r-renewal--about .r-about-message__text {
	margin: 0;
	color: #673a1b;
	font-size: 1.25em;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0;
}

/* SP専用改行（PCでは非表示） */
.r-renewal--about br.r-about-br--sp {
	display: none;
}

/* PC専用改行（SPでは非表示） */
.r-renewal--about br.r-about-br--pc {
	display: inline;
}

/* -----------------------------------------------------------------
   SP
------------------------------------------------------------------ */
@media screen and (max-width: 798px) {
	/* SP：H1タイトル帯の上下余白 */
	body.r-renewal-lower.about5star .r-lower-ttl {
		padding: 20px 0;
	}

	.r-renewal--about .r-about-intro {
		padding: 40px 0 44px;
	}

	.r-renewal--about .r-about-intro__inner {
		flex-direction: column;
		gap: 28px;
		max-width: none;
		width: 100%;
	}

	.r-renewal--about .r-about-intro__body {
		flex: none;
		width: 100%;
	}

	.r-renewal--about .r-about-intro__logo {
		margin: 0px 0 24px;
	}

	.r-renewal--about .r-about-intro__logo img {
		width: 160px;
	}

	.r-renewal--about .r-about-intro__text {
		font-size: 16px;
		line-height: 1.9;
	}

	.r-renewal--about .r-about-intro__figs {
		flex: none;
		flex-direction: column;
		gap: 14px;
		width: 100%;
		max-width: 100%;
	}

	.r-renewal--about .r-about-intro__watermark {
		display: none;
	}

	.r-renewal--about .r-about-reasons {
		padding: 44px 0;
	}

	/* SP：ボックス枠・背景なし。カードは左右20pxまで広げる */
	.r-renewal--about .r-about-reasons__box {
		max-width: none;
		width: 100%;
		margin: 0;
		padding: 0;
		background-color: transparent;
		border: none;
		border-radius: 0;
	}

	.r-renewal--about .r-about-reasons__lead {
		margin: 0 0 28px;
		font-size: 16px;
		text-align: center;
	}

	.r-renewal--about .r-about-reason {
		width: 100%;
		box-sizing: border-box;
    padding: 0 10px 10px;
	}

	.r-renewal--about .r-about-reason:not(:last-child) {
		margin-bottom: 28px;
	}

	.r-renewal--about .r-about-reason__bar {
		margin: 0 -10px 6px;
	}

	.r-renewal--about .r-about-reason__text {
		padding: 0;
		font-size: 16px;
		line-height: 1.8;
	}

	.r-renewal--about .r-about-message {
		padding: 48px 0 56px;
		background-image: var(--bg-sp);
	}

	.r-renewal--about .r-about-message__title {
		gap: 14px;
		margin: 0 0 20px;
		font-size: 1.5em;
		flex-wrap: nowrap;
		white-space: nowrap;
	}

	.r-renewal--about .r-about-message__title::before,
	.r-renewal--about .r-about-message__title::after {
		flex: 0 1 120px;
		width: 120px;
		max-width: 120px;
		min-width: 0;
	}

	.r-renewal--about .r-about-message__catch {
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.7;
	}

	.r-renewal--about .r-about-message__text {
		font-size: 0.98em;
		line-height: 1.5;
		text-align: center;
	}

	.r-renewal--about br.r-about-br--sp {
		display: inline;
	}

	.r-renewal--about br.r-about-br--pc {
		display: none;
	}

  .r-renewal--about .r-about-reasons__title {
    margin: 0 auto 20px;
  }
}

/* =========================================================
   スクロールインアニメーション（全媒体共通）
   発火は body.is-loaded（ローダー後）＋セクションの is-inview
   ========================================================= */

/* --- 1セクション目：イントロ（左＝Fade left / 右＝Fade right・0.2s間隔） --- */
.r-renewal--about .r-about-intro[data-r-animate] .r-about-intro__logo,
.r-renewal--about .r-about-intro[data-r-animate] .r-about-intro__body .r-about-intro__text {
	opacity: 0;
	transform: translateX(-30px);
}

.r-renewal--about .r-about-intro[data-r-animate] .r-about-intro__figs figure {
	opacity: 0;
	transform: translateX(30px);
}

body.is-loaded .r-renewal--about .r-about-intro[data-r-animate].is-inview .r-about-intro__logo {
	animation: r-anim-fade-left 0.8s ease 0s forwards;
}

body.is-loaded .r-renewal--about .r-about-intro[data-r-animate].is-inview .r-about-intro__body .r-about-intro__text {
	animation: r-anim-fade-left 0.8s ease 0.2s forwards;
}

body.is-loaded .r-renewal--about .r-about-intro[data-r-animate].is-inview .r-about-intro__figs figure:nth-of-type(1) {
	animation: r-anim-fade-right 0.8s ease 0.4s forwards;
}

body.is-loaded .r-renewal--about .r-about-intro[data-r-animate].is-inview .r-about-intro__figs figure:nth-of-type(2) {
	animation: r-anim-fade-right 0.8s ease 0.6s forwards;
}

/* --- 2セクション目：5つの安心（画像＝RotateY / 本文・ボックス＝Fade up） --- */
.r-renewal--about .r-about-reasons[data-r-animate] .r-about-reasons__title {
	opacity: 0;
	transform: rotateY(-75deg);
	transform-origin: center center;
	backface-visibility: hidden;
}

.r-renewal--about .r-about-reasons[data-r-animate] .r-about-reasons__lead,
.r-renewal--about .r-about-reasons[data-r-animate] .r-about-reason {
	opacity: 0;
	transform: translateY(30px);
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reasons__title {
	animation: r-anim-rotate-y 0.8s ease 0s forwards;
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reasons__lead {
	animation: r-anim-fade-up 0.8s ease 0.2s forwards;
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reason:nth-of-type(1) {
	animation: r-anim-fade-up 0.8s ease 0.4s forwards;
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reason:nth-of-type(2) {
	animation: r-anim-fade-up 0.8s ease 0.6s forwards;
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reason:nth-of-type(3) {
	animation: r-anim-fade-up 0.8s ease 0.8s forwards;
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reason:nth-of-type(4) {
	animation: r-anim-fade-up 0.8s ease 1s forwards;
}

body.is-loaded .r-renewal--about .r-about-reasons[data-r-animate].is-inview .r-about-reason:nth-of-type(5) {
	animation: r-anim-fade-up 0.8s ease 1.2s forwards;
}

/* --- 3セクション目：代表メッセージ（タイトル＋本文 丸ごと RotateY） --- */
.r-renewal--about .r-about-message[data-r-animate] .r-container {
	opacity: 0;
	transform: rotateY(-75deg);
	transform-origin: center center;
	backface-visibility: hidden;
}

body.is-loaded .r-renewal--about .r-about-message[data-r-animate].is-inview .r-container {
	animation: r-anim-rotate-y 0.8s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
	.r-renewal--about .r-about-intro[data-r-animate] .r-about-intro__logo,
	.r-renewal--about .r-about-intro[data-r-animate] .r-about-intro__body .r-about-intro__text,
	.r-renewal--about .r-about-intro[data-r-animate] .r-about-intro__figs figure,
	.r-renewal--about .r-about-reasons[data-r-animate] .r-about-reasons__title,
	.r-renewal--about .r-about-reasons[data-r-animate] .r-about-reasons__lead,
	.r-renewal--about .r-about-reasons[data-r-animate] .r-about-reason,
	.r-renewal--about .r-about-message[data-r-animate] .r-container {
		opacity: 1;
		transform: none;
		animation: none;
	}
}
