@charset "utf-8";
/* ==========================================================================
   AZLINX 2026 — 自社アプリの紹介カード(トップページ・アプリ開発事業ページで共通)
   青い面の上に置く前提(白文字)
   ========================================================================== */

/* 自社アプリ(青の上のガラスカード) */
.t-apps {
	/* 事業内容(白いカード)から章が変わることを示す、ひとまわり明るい面 */
	margin-top: clamp(80px, 9vw, 136px);
	padding: clamp(32px, 4vw, 64px);
	border-radius: clamp(24px, 3vw, 44px);
	background: linear-gradient(170deg, rgba(80, 170, 255, .14) 0%, rgba(110, 195, 255, .3) 45%, rgba(130, 205, 255, .36) 100%); /* 見出しの載る上部は控えめ、下へ向かって明るく */
}
.t-apps__ttl {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: clamp(4px, 1vw, 12px);
	font-family: var(--f-disp);
	font-size: clamp(26px, 2.8vw, 40px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: .05em;
	color: #fff;
}
.t-apps__ttl .c-ttl__en { color: #fff; }
.t-apps__ttl .c-ttl__en::before { background: #fff; }
.t-apps__feature {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 24px);
	margin-top: clamp(28px, 3vw, 44px);
}
.t-feat__link {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 2.4vw, 36px);
	height: 100%;
	padding: clamp(24px, 2.6vw, 40px);
	overflow: hidden;
	border-radius: 28px;
	background: rgba(2, 30, 110, .32);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 24px 48px -28px rgba(0, 20, 90, .6);
	transition: background-color .4s ease;
}
@media (hover: hover) {
	.t-feat__link:hover { background: rgba(2, 22, 86, .4); }
	.t-feat__link:hover .t-feat__screens img:first-child { transform: translate3d(0, -8px, 0) rotate(-2deg); }
	.t-feat__link:hover .t-feat__screens img:last-child { transform: translate3d(0, -4px, 0) rotate(3deg); }
	.t-feat__link:hover .c-arrow { transform: translateX(3px); }
}
/* 実際のアプリ画面を2枚、少し重ねて */
.t-feat__screens {
	/* 画面2枚が列の幅に収まるよう、幅を基準に大きさを決める */
	position: relative;
	display: block;
	aspect-ratio: 1 / 1.42;
}
.t-feat__screens img {
	position: absolute;
	top: 0;
	width: 58%;
	height: auto;
	aspect-ratio: 360 / 782;
	border-radius: clamp(18px, 1.8vw, 26px);
	border: 4px solid #fff;
	background: #fff;
	box-shadow: 0 24px 40px -18px rgba(0, 20, 90, .55);
	transition: transform .7s var(--ease);
}
.t-feat__screens img:first-child { left: 0; z-index: 1; transform: rotate(-4deg); }
.t-feat__screens img:last-child { right: 2%; top: 9%; transform: rotate(5deg); }
.t-feat__body { display: flex; flex-direction: column; align-items: flex-start; }
.t-feat__body .t-app__txt { margin-bottom: 24px; }
.t-apps__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 24px);
	margin-top: clamp(28px, 3vw, 44px);
}
.t-app__link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: clamp(22px, 2.2vw, 32px);
	border-radius: 24px;
	background: rgba(2, 30, 110, .32);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 40px -28px rgba(0, 20, 90, .6);
	transition: background-color .4s ease;
}
@media (hover: hover) { a.t-app__link:hover { background: rgba(2, 22, 86, .4); } }
.t-app__icon {
	width: clamp(64px, 6vw, 88px);
	height: clamp(64px, 6vw, 88px);
	border-radius: 23%;
	box-shadow: 0 14px 28px -12px rgba(0, 20, 90, .6);
}
.t-app.is-in .t-app__icon { animation: t-pop 1s var(--ease) calc(var(--d, 0s) + .2s) both; }
@keyframes t-pop {
	from { opacity: 0; transform: scale(0); }
	60%  { opacity: 1; transform: scale(1.15); }
	to   { opacity: 1; transform: scale(1); }
}
.t-app__name { margin-top: 20px; font-family: var(--f-disp); font-size: 19px; font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.t-app__os { margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(2, 22, 86, .4); font-size: 11px; font-weight: 700; line-height: 1.7; }
.t-app__txt .kw { display: inline; } /* カタカナ語の囲みが「アプリ｜です。」のような区切りを作らないように(文節の区切りは <wbr> で指定済み) */
.t-app__txt { word-break: keep-all; overflow-wrap: anywhere; margin: 14px 0 20px; /* <wbr> の位置(文節)でだけ改行 */ font-size: 13px; line-height: 1.9; letter-spacing: .04em; color: #fff; }
.t-app__more, .t-app__soon { margin-top: auto; }
/* 準備中の2件:アイコン+名前・OSを横に、説明はその下(全画面幅共通) */
.t-apps__list .t-app__link { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon os" "txt txt" "soon soon"; column-gap: 18px; row-gap: 4px; align-items: center; }
.t-apps__list .t-app__icon { grid-area: icon; width: 64px; height: 64px; }
.t-apps__list .t-app__name { grid-area: name; align-self: end; margin-top: 0; }
.t-apps__list .t-app__os { grid-area: os; align-self: start; justify-self: start; margin-top: 2px; }
.t-apps__list .t-app__txt { grid-area: txt; margin: 16px 0 12px; }
.t-apps__list .t-app__soon { grid-area: soon; }
.t-app__more { font-size: 14px; color: #fff; }
.t-app__more .c-arrow { width: 32px; height: 32px; background: #fff; color: var(--c-blue); }
.t-app__soon { font-size: 12px; font-weight: 700; color: #fff; }

@media (max-width: 1023px) {
	.t-apps__feature { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.t-apps__list { grid-template-columns: 1fr; }
	.t-feat__link { grid-template-columns: 1fr; }
	.t-feat__screens { width: min(100%, 300px); margin-inline: auto; }
	.t-feat__screens { order: 2; margin-top: 8px; width: min(86%, 260px); }
	.t-apps__list .t-app__icon { width: 56px; height: 56px; }
	.t-feat__body { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon os" "txt txt" "more more"; column-gap: 16px; row-gap: 4px; align-items: center; }
	.t-feat__body .t-app__icon { grid-area: icon; width: 56px; height: 56px; }
	.t-feat__body .t-app__name { grid-area: name; align-self: end; margin-top: 0; }
	.t-feat__body .t-app__os { grid-area: os; align-self: start; justify-self: start; margin-top: 2px; }
	.t-feat__body .t-app__txt { grid-area: txt; margin: 14px 0 12px; }
	.t-feat__body .t-app__more { grid-area: more; }
	.t-apps { margin-inline: calc(var(--gutter) * -1); margin-bottom: 0; padding: 48px var(--gutter) 56px; border-radius: 0 0 clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px); box-shadow: none; background: linear-gradient(180deg, rgba(80, 170, 255, .14) 0%, rgba(120, 200, 255, .3) 100%); }
	.t-feat__body .t-app__txt { margin-bottom: 16px; }
}
@media (max-width: 374px) {
	.t-app__name { font-size: 16px; }
	.t-apps__ttl { font-size: 24px; }
}
