@charset "UTF-8";
/*
    Template: swell
    Theme Name: KYC_theme
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.heading-9 {
    position: relative;
    padding: .5em .7em;
    border-radius: 10px;
    background-color: #2589d0;
    color: #fff;
}

.heading-9::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 30px;
    width: 0;
    height: 0;
    border: 11px solid transparent;
    border-top: 11px solid #2589d0;
}
.item_top{border-radius:50%;}
.a_h2{
	font-size:clamp(20px,10vw,80px)!important;
}
.a_p{
	font-size:clamp(16px,3vw,40px)!important;
	color: linear-gradient(135deg, #1e90ff, #4facfe);

}

:root { --page-bg: #ffffff; }
body { background-color: var(--page-bg); transition: background-color 600ms ease; }

/* パネルは透明（背景を描かない）にして body を見せる */
.js-bg-panel { 
  background: transparent !important;
}

/* 画像フェード用（将来Bを使うならこのままでOK） */
.bgfx { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.bgfx__layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 800ms ease; }
.bgfx__layer.is-active { opacity: 1; }

.top_bnr span{
	font-size:clamp(20px,5vw,40px)!important;

}


@media (max-width: 600px){
	.top_bnr span{
		display:block;
		text-align:center;
		margin:3em auto 0 auto;
	}
	.top_bnr img{
		width:300px!important;
		height:300px!important;
	}
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝▼5つの事業▼＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.service-orbit{
  position: relative;
  width:clamp(80%,20vw,100%);
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  --core-size: clamp(150px,2vw,200px);
  --item-size: clamp(160px,15vw,220px);
  --pop-duration: .9s;
  --slide-duration: .7s;
  --stagger: 85ms;
  --orbit-radius: clamp(120px,18vw,200px); /* 中心からの距離をここで調整 */

}


.service-orbit .orbit-core{
	overflow: hidden;  
	width: var(--core-size);
  height: var(--core-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e9e9ee;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  opacity: 0;
  transform: scale(.8);
  animation: orbit-core-pop var(--pop-duration) forwards;
  animation-delay: .1s;
	z-index:10;
}
.service-orbit .orbit-core img{

  object-fit: cover; /* ← ロゴを正方形でトリミングして円形に収める */
}

.service-orbit .orbit-item{
  position: absolute;
  left: 50%; top: 50%;
  width: var(--item-size);
  height: var(--item-size);
  transform: translate(-50%,-50%) scale(.6);
  opacity: 0;
  transition:
    transform var(--slide-duration) cubic-bezier(.2,.8,.2,1),
    opacity .4s ease;
}

.service-orbit .orbit-pill{
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: clamp(1rem,1vw,1.5rem);
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: .5rem;
  background: linear-gradient(135deg, #1e90ff, #4facfe);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
	transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.6s ease;
}

.service-orbit .orbit-item:hover .orbit-pill{
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.service-orbit.is-inview .orbit-item{
  opacity: 1;
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1);
}

@keyframes orbit-core-pop{
  to{ opacity: 1; transform: scale(1); }
}

@media (max-width: 781px) {
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
		margin-top:4em!important;
	}
	
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝▲5つの事業▲＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
