<html style="max-height: 100%;"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><style id="basic-style">body,#svg-section{font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue','游ゴシック Medium',YuGothic,YuGothicM,'Hiragino Kaku Gothic ProN',メイリオ,Meiryo,sans-serif;}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body,svg{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}</style><style id="root-style">:root{--pic-image-data:none;}</style><style id="out-style">.carousel {
overflow: auto;
scroll-snap-type: y mandatory;
height: 100vh;
}
.text-section {
display: grid;
place-content: center;
height: 100%;
scroll-snap-align: start;
text-align: center;
line-height: 1.5;
background: #efefef;
}
.text-section:nth-child(odd) {
background-color: #ffffff;
}
h2 {
font-size: 3rem;
font-weight: bold;
margin-bottom: 1rem;
}
.under-line {
position: relative;
display: inline-block;
}
.under-line::after {
content: '';
position: absolute;
left: 0;
bottom: 10px;
width: 0%;
height: 8px;
background: linear-gradient(to right, #87CEEB, #E0F6FF, #87CEEB);
border-radius: 4px;
opacity: 0.8;
}
.airplane-trail {
position: absolute;
right: 100%;
bottom: -5px;
width: 30px;
height: 30px;
opacity: 0;
z-index: 10;
}
.airplane-trail::before {
content: '';
display: block;
width: 24px;
height: 24px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23333' d='M482.3 192c34.2 0 93.7 29 93.7 64c0 36-59.5 64-93.7 64l-116.6 0L265.2 495.9c-5.7 10-16.3 16.1-27.8 16.1l-56.2 0c-10.6 0-18.3-10.2-15.4-20.4l49-171.6L112 320 68.8 377.6c-3 4-7.8 6.4-12.8 6.4l-42 0c-7.8 0-14-6.3-14-14c0-1.3 .2-2.6 .5-3.9L32 256 .5 145.9c-.4-1.3-.5-2.6-.5-3.9c0-7.8 6.3-14 14-14l42 0c5 0 9.8 2.4 12.8 6.4L112 192l102.9 0-49-171.6C162.9 10.2 170.6 0 181.2 0l56.2 0c11.5 0 22.1 6.2 27.8 16.1L365.7 192l116.6 0z'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
@keyframes flyPlane {
0% {
right: 100%;
opacity: 1;
}
70% {
opacity: 1;
}
100% {
right: -30px;
opacity: 0;
}
}
@keyframes trailExpand {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
.under-line-visible::after {
animation: trailExpand 2s ease 0.1s forwards;
}
.under-line-visible .airplane-trail {
animation: flyPlane 2s ease 0s forwards;
}
</style><style id="pic-style"></style><style id="body-style">body,#svg-section {font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue','游ゴシック Medium',YuGothic,YuGothicM,'Hiragino Kaku Gothic ProN',メイリオ,Meiryo,sans-serif;}</style><link href="chrome-extension://nffaoalbilbmmfgbnbgppjihopabppdk/inject.css" type="text/css" rel="stylesheet"></head><body id="svg-section" style="width: 600px; height: 337.5px; transform-origin: left top; transform: scale(1); overflow: auto; margin: 0px; padding: 0px;" class="vsc-initialized"><div class="carousel">
<section class="text-section">
<h2 class="under-line">
タイトルが入ります
<div class="airplane-trail"></div>
</h2>
<p>ここに概要が入ります。ここに概要が入ります。</p>
</section>
<section class="text-section">
<h2 class="under-line">
タイトルが入ります
<div class="airplane-trail"></div>
</h2>
<p>ここに概要が入ります。ここに概要が入ります。</p>
</section>
<section class="text-section">
<h2 class="under-line">
タイトルが入ります
<div class="airplane-trail"></div>
</h2>
<p>ここに概要が入ります。ここに概要が入ります。</p>
</section>
<section class="text-section">
<h2 class="under-line">
タイトルが入ります
<div class="airplane-trail"></div>
</h2>
<p>ここに概要が入ります。ここに概要が入ります。</p>
</section>
</div>
<script id="js-section">document.addEventListener('DOMContentLoaded', function() {
// IntersectionObserverを作成し、各要素のビューポート内での位置を監視する
const observer = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
// 要素がビューポートに入っているかどうかをチェック
if (entry.isIntersecting) {
entry.target.classList.add('under-line-visible');
}
});
}, {
threshold: 0.5
});
const elements = document.querySelectorAll('.text-section h2');
// 各要素に対して、上記で作成したIntersectionObserverを適用
elements.forEach(function(el) {
observer.observe(el);
});
});
</script></body></html>