@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.lordback{
	
	position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #38a1db;
  z-index: 9999;
  display: flex;
  flex-direction: column; /* ← これが重要！ */
  justify-content: center;
  align-items: center;
}
.lordop{
	height: 1em;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ぐるぐる回る部分 */
.spinner {
  width: 50px;
  height: 50px;
  border-style: solid;
  border-width: 5px;
  border-color: #fff;
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 回転アニメーション */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/************************************
** 非表示
************************************/
/* トップページだけヘッダー＆ナビ非表示 */
.home .header,
.home .navi,
.home .header-in {
  display: none !important;
}
body .content {
    margin-top: 0px;
}
.footer {
    margin-top: 0px;
}
#header-container{
	    background-image: url("https://office-d-dan.com/wp-content/uploads/2025/06/名称未設定のデザイン-11.png");
}
#header-container .site-name-text {
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
#content,#content h2,#content h3{
	background-color: transparent;
	border: white;
}
.logo-text {
    text-align: left;
}
.navi {
    background-color: transparent;
}
.navi-in a {
	  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.lo
/* 動画を全画面に表示 */
.hero-video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}
/* 左上にタイトルを表示 */
.hero-title {
  position: absolute;
  top: 50px;
  left: 50px;
  color: white;
  font-size: 3rem;
  z-index: 1;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/*
 *１文字ずつ表示
*/
.burst-char {
  display: inline-block;
  opacity: 0;
  transform: scale(0.3);
}

.burst-char.animate {
  animation: burstIn 0.6s ease-out forwards;
}

@keyframes burstIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  70% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 10s ease-in-out;
}

.slide.active img {
  transform: scale(1.1); /* ズームイン */
}

