/* ==================================================

 202602.トップページ改修用スタイル

================================================== */

/* serif */
.serif {
  font-family: serif;
}

.lh1{
  line-height: 1 !important;
}



/* ========================================
   Header
   ======================================== */

.l-header .c-hamburger-btn__bar {
    background-color: #333333;
}

.c-hamburger-btn__label {
    color: #333;
}

/* ========================================
   Page Header
   ======================================== */

   .c-page-header{
      animation: curtainReveal 0.4s ease-out 0.1s both;
      clip-path: inset(0 100% 0 0);
   }

   @keyframes curtainReveal {
      from {
         clip-path: inset(0 100% 0 0);
      }
      to {
         clip-path: inset(0 0 0 0);
      }
   }


/* .c-page-header {
    background-image: url(/cms/wp-content/uploads/2026/04/bg_h1.png);
    min-height: 180px;
    background-size: cover;
    background-position: bottom;
} */

 .l-contents__body{
  position: relative;
 }

 .l-contents__body::before{
  content: "";
  position: absolute;
  background-image: url(/cms/wp-content/uploads/2026/04/bg_ashirai_h1.png);
  background-repeat: no-repeat;
  top: -255px;
  width: 100%;
  height: 100%;
  z-index: -1;
  right: -60%;
 }

 @media (max-width: 768px) {
  .l-contents__body::before {
    top: -155px;
    width: 60%;
    height: 60%;
    right: 0;
  }
 }

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* 背景画像（ゆっくり拡大ループ） */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* Canvas（光パーティクル） */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
}

/* テキストコンテンツ */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 15%;
  margin-left: 15%;
  /* max-width: 1200px;
  width: 100%; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: serif;
}

/* AI + サブタイトル + 見出し を Grid で配置 */
.hero-main {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  text-align: left;
}

.hero-ai {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  color: #FFD700;
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  margin-right: 0.05em;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.5s forwards;
}

.hero-subtitle {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  color: #fff;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: 0.08em;
  padding-left: 0.1em;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.3s forwards;
}

.hero-heading {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  color: #fff;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
  margin: 0;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}

.hero-divider {
  display: none;
}

.hero-description {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 1.2s forwards;
  margin: 0 auto;
}

.hero-tag {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: bold;
  letter-spacing: 0.15em;
}

.hero-service {
  color: #fff;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* アニメーション */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    width: 0;
  }

  to {
    opacity: 1;
    width: min(500px, 80%);
  }
}

/* レスポンシブ：タブレット */
@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    max-height: 700px;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding: 0;
    padding-top: 0;
    padding-left: 0;
    align-items: center;
    margin-top: 0;
    margin-left: 0;
  }

  .hero-main {
    justify-content: center;
  }

  .hero-description {
    gap: 0.6em;
  }
}

/* レスポンシブ：スマートフォン */
@media (max-width: 480px) {
  .hero-section {
    min-height: 400px;
    max-height: 600px;
  }

  .hero-ai {
    font-size: 60px;
  }

  .hero-heading {
    font-size: 33px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-main {
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .hero-description {
    gap: 0.5em;
  }
}

.wp-block-snow-monkey-blocks-section.smb-section.smb-section--fit.section_top_mv_about {
    z-index: 2;
}

.wp-block-snow-monkey-blocks-box.smb-box.box_top_mv_about-text {
    position: relative;
    margin-right: 10vw !important;
}

@media screen and (max-width:640px){
  .wp-block-snow-monkey-blocks-box.smb-box.box_top_mv_about-text {
      padding: 16px !important;
      margin-right: 0 !important;
  }
}

@media screen and (max-width:640px){
  .smb-box.box_top_mv_about-text .p_mv_about_copy {
    font-size: 16px !important;
}

}

figure.wp-block-image.alignright.size-full.is-resized.box_top_mv_about-box.sme-hidden-md.sme-hidden-sm
 {
    position: absolute;
    top: -40%;
    right: 0;
    margin: 0;
}

.l-header__content .p-global-nav .c-navbar__item+.c-navbar__item {
    border-left: none;
}


li.button_nav_contact {
    background-color: #00000050;
    border-radius: 50px;
}

.l-header__content .p-global-nav .c-navbar__item>a {
    line-height: 2 !important;
}

@media print,
screen and (min-width: 1024px) {
  .l-header .l-1row-header__branding {
    padding-bottom: var(--_padding-2);
  }
}

.l-header__content .p-global-nav {
    margin-bottom: var(--_padding-2);
}

.home .smb-section__title:after {
display: none;
}

h2.smb-section__title {
    font-family: serif;
    color: #005b84;
    line-height: 1;
}

.home .smb-section__subtitle {
    line-height: 0;
}

@media screen and (max-width:640px){
  .home .smb-section__subtitle span{
    font-size: 2rem !important;
  }
}

.dr30{
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.1));
}

/* ボタン本体のスタイル */
.button_more .smb-btn {
  /* サイズとレイアウト */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px !important;
  height: 70px !important;
  box-sizing: border-box;
  padding: 0 !important; /* デフォルトの余白をリセット */
  
  /* テキストとカラー */
  font-size: 20px !important;
  color: #0091ff !important;
  background-color: #ffffff !important;
  text-decoration: none;
  font-weight: normal;
  font-family: serif;
  
  /* 枠線と角丸のリセット */
  border: 2px solid #0091ff !important;
  border-radius: 0 !important; 
  
  /* 右下の三角形を配置するための基準 */
  position: relative;
  overflow: visible !important; /* ::afterが見切れないようにする */
}

/* 右下の青い三角形 */
.button_more .smb-btn::after {
  content: "";
  position: absolute;
  
  /* 枠線（2px）の上に被さるようにマイナス指定で配置 */
  right: -2px;
  bottom: -2px;
  
  /* CSSのborderを利用して直角三角形を作成 */
  width: 0;
  height: 0;
  border-bottom: 35px solid #0091ff;
  border-left: 35px solid transparent;
  
  /* デフォルトスタイルのリセット */
  background: transparent !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* ホバー時の動き */
.button_more .smb-btn:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.p-drop-nav {
  color: #000;
}

@media print, screen and (min-width: 1024px) {
    .l-header .p-global-nav .c-navbar__item>a {
       padding: var(--_padding-1);
    }
}

.p-drop-nav li.button_nav_contact {
    background-color: transparent;
    border-radius: 0;
}

.section_top_service{
  margin-top: -200px;
  z-index:2;
}

.section_top_reason{
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
  z-index: 3;
}

.br24 .smb-items__banner{
  border-radius: 24px;
}

.section_top_news h2.smb-section__title {
    font-family: sanserif;
}
@media screen and (max-width:640px){
  .section_top_news h2.smb-section__title span {
    font-size: 2rem !important;
  }
}


/* ========================================
   Service page
   ======================================== */

.section_service_service{
    clip-path: polygon(0 10vw, 100% 0, 100% 100%, 0 100%);
}


.service .smb-section__title:after {
display: none;
}

.service h2.smb-section__title {
    font-family: serif;
    color: #005b84;
    line-height: 1;
}

.service .smb-section__subtitle {
    line-height: 1;
}

@media (max-width: 768px) {
  .service .smb-section__subtitle span{
    font-size: 34px !important;
  }
}


.column_service_circle .wp-block-column{
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 100%;
    position: relative;
}

.column_service_circle .wp-block-column:not(:last-child)::after{
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    translate: 100% -50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 30px;
    border-color: transparent transparent transparent #B7C5C5;
}

@media screen and (max-width:640px){
    .column_service_circle .wp-block-column:not(:last-child)::after{
        right: auto;
        top: auto;
        bottom: -10px;
        left: 50%;
        translate: -50% 100%;
        border-width: 30px 10px 0 10px;
        border-color: #B7C5C5 transparent transparent transparent;
    }
    .column_service_circle{
      gap: 3rem !important;
    }
}


.section_service_copy .img_service{
  margin-bottom: -350px;
  z-index: 1;
}

