@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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






/*タイトルと日付を非表示*/
.page .entry-title {
  display: none;
}

.page .date-tags {
display: none;
}


.site-name-text{
  display: none;
}

.archive-title {
 display: none;
 }

.page .entry-title{
margin-top: 0;
}

.logo.logo-header.logo-text {
    display: none;
}

.main {
    background: transparent;
    padding-bottom: 0;
}

main#main {
    padding-top: 0;
    padding-bottom: 0;
}

footer#footer {
    display: none;
}

.content {
    margin-top: 0;
}

div#header-container {
    margin-bottom: -80px;
}


/* body {
  background: radial-gradient(circle, #fff 0%, #e1e880 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
} */

body {
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #fff 0%, #e1e880 100%);
  z-index: -9999; /* bodyの内容物の背面に配置 */
}











/*表リセット*/
table:not(.has-border-color) :where(th, td) {
    border: 0;
}

table th {
    background-color: transparent;
}

table tr:nth-of-type(2n+1) {
    background-color: transparent;
}

table tr:nth-of-type(2n+1) {
    background-color: transparent;
}

@media screen and (min-width:769px){
    .sp{
        display: none !important;
    }
}

@media screen and (max-width:768px){
    .pc{
        display: none !important;
    }
}






@media screen and (min-width: 960px){
.sp-br {
display:none;
}}

@media screen and (max-width: 959px){
.sp-br {
display:inline;
}}



@media screen and (min-width: 410px){
.sp-br2 {
display:none;
}}

@media screen and (max-width: 409px){
.sp-br2 {
display:inline;
}}































/*下層　タイトル*/

@media screen and (min-width: 769px){
h1.random-text {
    font-size: clamp(5rem, 3.571rem + 2.98vw, 6.25rem); /*80,100*/
   }
   }
   
@media screen and (max-width: 768px){
h1.random-text {
    font-size: clamp(2.875rem, 1.357rem + 7.59vw, 5rem); /*46,80*/
   }
   }

h1.random-text {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    text-align: center;
    margin-bottom: 0;
}



@media screen and (min-width: 769px){
p.title-1-font-2 {
    font-size: clamp(1.313rem, 1.098rem + 0.45vw, 1.5rem); /*21,24*/
}
}

@media screen and (max-width: 768px){
p.title-1-font-2 {
    font-size: clamp(0.938rem, 0.67rem + 1.34vw, 1.313rem); /*15,21*/
}
}

p.title-1-font-2 {
    text-align: center;
    letter-spacing: 3px;
    margin-top: -5px;
    font-weight: 500;
}


































/*コンタクトフォーム*/

.wp-block-contact-form-7-contact-form-selector {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

label.label-font-1 {
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 500;
}


.privacy-1 {
    border: 1px solid #333;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 2em;
}

p.privacy-1-title {
    margin-bottom: 0.5em;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

@media screen and (min-width: 769px){
p.privacy-1-sen {
    font-size: clamp(0.875rem, 0.732rem + 0.3vw, 1rem); /*14,16*/
}
}

@media screen and (max-width: 768px){
p.privacy-1-sen {
    font-size: clamp(0.75rem, 0.661rem + 0.45vw, 0.875rem); /*12,14*/
}
}


@media screen and (min-width: 769px){
span.wpcf7-list-item-label {
    font-size: 16px;
}
}

@media screen and (max-width: 768px){
span.wpcf7-list-item-label {
    font-size: 14px;
}
}




input[type=submit] {
    -webkit-appearance: none;
    border: 1px solid #000;
    background-color: transparent;
    color: #333;
    width: 80%;
    max-width: 260px;
    margin: 0 auto;
    display: block;
    /* font-size: 19px; */
    letter-spacing: 3px;
    border-radius: 50%;
    padding: 15px 0;
}

input[type=submit]:hover {
background-color :#12d2db;
transition: width 0.3s;
}

@media screen and (min-width: 769px){
input[type=submit] {
    font-size: 18px;
}
}

@media screen and (max-width: 768px){
input[type=submit] {
    font-size: 16px;
}
}





























/*サービス内容*/




.business {
    position: relative;
    /* margin-left: 50px; */
    padding-left: 30px;
}

.business-line {
    position: absolute;
    top: 0;
    left: 6px;
    width: 3px;
    background: black;
    border-radius: 2px;
    height: 0;
    transition: height 0.1s linear;
    z-index: 1;
}

 /* 各項目の丸印 */
 .business-in {
   position: relative;
   margin-bottom: 5em;
 }

.business-in::before {
    content: '';
    position: absolute;
    left: -30px;
/*     top: 20px; */
    width: 15px;
    height: 15px;
    background: black;
    border-radius: 50%;
    z-index: 2;
}

@media screen and (min-width: 769px){
.business-in::before {
    top: 20px;
}
}

@media screen and (max-width: 768px){
.business-in::before {
    top: 15px;
}
}

 /* 以下、テキストや画像のスタイル (変更なし) */
 .business-in-font-1 {
   font-weight: bold;
   margin-bottom: 10px;
   font-size: 1.2rem;
 }

 .business-in-font-2 {
   line-height: 1.5;
 }










@media screen and (min-width: 769px){
p.business-in-font-1 {
    margin-bottom: 1em;
    font-size: 26px;
}
}


@media screen and (max-width: 768px){
p.business-in-font-1 {
    margin-bottom: 1em;
    font-size: 21px;
}
}

p.business-in-font-2 {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 0;
    letter-spacing: 1px;
}

@media screen and (min-width: 769px){
p.business-in-font-2 {
    font-size: 16px;
}
}

@media screen and (max-width: 768px){
p.business-in-font-2 {
    font-size: clamp(0.75rem, 0.661rem + 0.45vw, 0.875rem); /*12,14*/
}
}



































/*下層コンタクトエリア*/

.contact-area {
    background: #fff;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: calc(50vw - 50%);
    padding-top: 5em;
    padding-bottom: 5em;
    margin-bottom: 0;
}

p.contact-area-in-frex-left-font-2 {
    margin-bottom: 0;
}

a.contact-area-in-frex-right-btn-1 {
    -webkit-appearance: none;
    border: 1px solid #000;
    background-color: transparent;
    color: #333;
    width: 85%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    /* font-size: 19px; */
    letter-spacing: 3px;
    border-radius: 50%;
    padding: 20px 0;
    text-align: center;
    text-decoration: none;
}


@media screen and (min-width: 769px){
.contact-area-in-frex {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        max-width: 1000px;
        margin: 0 auto;
    }

  .contact-area-in-frex-right {
    width: 50%;
}

a.contact-area-in-frex-right-btn-1 {
    font-size: 18px;
}
}

@media screen and (max-width: 768px){
.contact-area-in-frex-right {
    margin-top: 3em;
}	
	
a.contact-area-in-frex-right-btn-1 {
    font-size: 16px;
}
	
p.contact-area-in-frex-left-font-2 {
    margin-bottom: 0;
    text-align: center;
    font-size: clamp(0.875rem, 0.786rem + 0.45vw, 1rem); /*14,16*/
}	
}



































/* フッター全体 */
@media screen and (min-width: 769px){
.footer-1 {
    background-color: transparent;
    padding: 40px 80px 40px 20px;
}
}

@media screen and (max-width: 768px){
.footer-1 {
    background-color: transparent;
    padding: 40px 20px;
}
}


/* フッターのコンテンツを囲むコンテナ */
@media screen and (min-width: 769px){
.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 768px){
.footer-container {
}
	
.footer-logo {
    margin-bottom: 2em;
}	
}

/* ロゴ */
@media screen and (min-width: 769px){
.footer-logo a img {
    width: 60%;
    max-width: 190px;
    margin: 0 auto;
    display: block;
}
}

@media screen and (max-width: 768px){
.footer-logo a img {
    width: 45%;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}
}

/* ナビゲーション全体 */
@media screen and (min-width: 769px){
.footer-nav {
    display: flex;
    gap: 40px;
}
}

@media screen and (max-width: 768px){
.footer-nav {
    display: flex;
    gap: 40px;
    justify-content: center;
}
	
ul {
    padding-left: 0px;
}	
}

/* 各メニューグループ（列） */
.footer-menu-group li {
    margin-bottom: 15px;
    list-style: none;
}

ul.footer-menu-group li a {
    color: #333;
    text-decoration: none;
}

.footer-menu-group a {
    font-size: 16px;
    transition: color 0.3s; /* ホバー時の色の変化を滑らかに */
}

.footer-menu-group a:hover {
    color: #12d2db; /* ホバー時の色 */
}

/* Instagramアイコンのスタイル */
.footer-menu-group .fa-instagram {
    font-size: 20px; /* アイコンのサイズ */
    vertical-align: middle; /* テキストとの垂直位置を調整 */
    margin-right: 5px; /* アイコンとテキストの間の隙間 */
}



































/*会社概要*/
/*会社概要*/

@media screen and (min-width: 769px){
.about-in-flex-1 {
    display: flex;
    max-width: 880px;
    margin: 0 auto;
}

.about-in-flex-1-left {
    width: calc(100% / 2 - 2em);
    margin: 0 auto;
}

.about-in-flex-1-right {
    width: calc(100% / 2 - 2em);
    padding: 1em;
    position: relative;
	    margin: 0 auto;
}
	
.about-in-flex-1-right-in {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}	
	
.about-in-flex-2 {
    display: flex;
    justify-content: flex-start;
    background: #fff;
    margin: 1em auto;
    padding: 2em 1em;
    border-radius: 20px;
    max-width: 850px;
    align-items: center;
}	
	
.about-in-flex-2-left {
    flex: 0 0 270px;
}	
	
}

@media screen and (max-width: 768px){

.about-in-flex-1-right {
        margin: 1em auto 2em auto;
        padding: 5em 1em;
        text-align: center;
        max-width: 650px;
        width: 95%;
    }	
	
img.about-in-flex-1-left-img-1 {
    margin: 0 auto;
    display: block;
    width: 95%;
    max-width: 650px;
}	
	
.about-in-flex-2 {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    margin: 1em auto;
    padding: 3em 1em;
    border-radius: 20px;
    max-width: 650px;
    width: 95%;
    align-items: center;
}	
	
p.about-in-flex-2-right-font-1 {
    line-height: 1.4em;
    font-size: 14px;
    margin-top: 10px;
}	
	
	
}



/* 共通：左から右 + フェードイン */
.about-in-flex-3-left,
.about-in-flex-3-right,
.about-in-flex-2-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 1s ease-out;
}

/* visible クラスを付けたら表示 */
.about-in-flex-3-left.visible,
.about-in-flex-3-right.visible,
.about-in-flex-2-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 遅延させたい場合は transition-delay を調整可能 */
.about-in-flex-3-left.visible { transition-delay: 0.2s; }
.about-in-flex-3-right.visible { transition-delay: 0.4s; }
.about-in-flex-2-right.visible { transition-delay: 0.6s; }











img.about-in-flex-1-left-img-1 {
    border-radius: 20px;
}

.about-in-flex-1-right {
    background: #fff;
    border-radius: 20px;
}


p.about-in-flex-1-right-font-1 {
    margin-bottom: 0em;
}

p.about-in-flex-1-right-font-2 {
    font-family: 'Noto Serif JP';
    font-size: 43px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5em;
}

p.about-in-flex-1-right-font-3 {
    margin-bottom: 0;
    font-size: 15px;
}


.about-in-flex-3 {
    display: flex;
    align-items: center;
}

img.about-in-flex-3-left-img-1 {
    max-height: 25px;
    margin-right: 5px;
    margin-top: -3px;
}

p.about-in-flex-3-right-font-1 {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 22px;
}

@media screen and (min-width: 769px){
p.about-in-flex-2-right-font-1 {
    margin-bottom: 0;
    font-size: 16px;
}
}

@media screen and (max-width: 768px){
p.about-in-flex-2-right-font-1 {
    margin-bottom: 0;
    font-size: 14px;
}
}



/*代表挨拶*/

.message {
    background: #fff;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: calc(50vw - 50%);
    padding-top: 4em;
    padding-bottom: 4em;
    margin-top: -1em;
}

.message-in {
    max-width: 95%;
    width: 600px;
    margin: 0 auto;
    font-family: 'Noto Serif JP';
    font-weight: 600;
}

.message {
  opacity: 0;
  transform: translateY(50px); /* 下に50px隠れておく */
  transition: all 0.5s ease-out;
}

.message.show {
  opacity: 1;
  transform: translateY(0);
}

.message-2 {
    background: #fff;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: calc(50vw - 50%);
    padding-top: 4em;
    padding-bottom: 4em;
    margin-top: -1em;
}



@media screen and (min-width: 769px){
p.message-in-font-1 {
    font-size: 16px;
}
}

@media screen and (max-width: 768px){
p.message-in-font-1 {
    font-size: 14px;
}
}

@media screen and (min-width: 769px){
    p.message-in-font-2 {
        font-size: 16px;
        text-align: right;
        font-weight: 500;
    }
}

@media screen and (max-width: 768px){
p.message-in-font-2 {
    font-size: 14px;
	        text-align: right;
        font-weight: 500;
}
}


/* .campany {
    margin-top: -10em;
} */






.company-in {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

ul.hyou {
    padding-left: 0;
    margin-bottom: 0;
}

table.company-in-hyou-1 tr {
    border-bottom: 0.5px solid #333;
}


table.company-in-hyou-1 th {
    width: 25%;
    position: relative;
    padding: 1.5em 0.5em;
}

@media screen and (min-width: 769px){
table th {
    position: relative;
    padding: 1.5em 0.5em;
}
	
table td {
    position: relative;
    padding: 1.5em 0.5em 1.5em 3.5em;
}	
}

@media screen and (max-width: 768px){
table.company-in-hyou-1 th {
    width: 25%;
    position: relative;
    padding: 1.5em 0.5em;
}
	
table td {
    position: relative;
    padding: 1.5em 0.5em 1.5em 0.5em;
}	
}




































/*スライドショー自動*/

.article ul li, .article ol li {
    margin: 0.4em;
}

.slideshow1 {
    display: flex;
    margin: 1em auto;
    width: 100%;
    /* height: 375px; */
    overflow: hidden;
}

.slideshow1 ul {
  display: flex;
  padding: 0;
  margin: 0;
}

.slideshow1 li {
    width: 270px;
    list-style: none;
}

.slideshow1 li img {
    border-radius: 20px;
}

.slideshow1 ul:first-child {
  animation: slideshow1 150s -75s linear infinite;
}

.slideshow1 ul:last-child {
  animation: slideshow2 150s linear infinite;
}

@keyframes slideshow1 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slideshow2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-200%);
  }
}



































/*TOP*/

.top-about {
    max-width: 880px;
    margin: 3em auto 2em auto;
    text-align: center;
}

.top-about-font-1 p {
    font-weight: 600;
}

.top-about-font-2 p {
    font-size: 16px;
    line-height: 1.7em;
}



a.top-about-btn {
  -webkit-appearance: none;
  border: 1px solid #000;
  background-color: transparent;
  color: #333;
  width: 80%;
  max-width: 260px;
  margin: 0 auto;
  letter-spacing: 1px;
  border-radius: 50%; /* 楕円形 */
  padding: 15px 0;
  text-decoration: none;
  text-align: center;
  outline: none;
  position: relative;
  transition: color 0.5s ease;
  overflow: hidden; /* 背景はみ出し防止 */
  display: block;
  z-index: 0; /* 基準 */
}

a.top-about-btn:hover {
  color: #fff;
}

a.top-about-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #12d2db;
  border-radius: 50%; /* 背景も楕円にフィット */
  transition: width 0.5s ease;
  z-index: -1; /* ← テキストより後ろにするのがポイント！ */
}

a.top-about-btn:hover::before {
  width: 100%;
}

span.top-about-btn-text {
  position: relative;
  z-index: 1; /* テキストを前面に */
}



@media screen and (min-width: 769px){
a.top-about-btn {
    font-size: 18px;
}
}

@media screen and (max-width: 768px){
a.top-about-btn {
    font-size: 16px;
}
}





/*トップ　タイトル*/

@media screen and (min-width: 769px){
h1.random-text-top {
    font-size: clamp(5rem, 3.571rem + 2.98vw, 6.25rem); /*80,100*/
   }
   }
   
@media screen and (max-width: 768px){
h1.random-text-top {
        font-size: clamp(3.25rem, 2rem + 6.25vw, 5rem); /*52,80*/
    }

   }

h1.random-text-top {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    /* text-align: center; */
    margin-bottom: 0;
    line-height: 0.6em;
}






/*TOP サービス*/

.top-servis {
    margin: 5em 0;
}

.top-service-in {
    margin: 4em 0;
}

.top-service-in-flex {
    display: flex;
    flex-wrap: wrap;
}

p.top-service-in-flex-font-1 {
    margin-bottom: 0.3em;
    font-weight: 700;
    font-size: 21px;
}

img.top-service-in-flex-img-1 {
    margin: 0 auto;
    display: block;
}


@media screen and (min-width: 769px){	

.top-service-in-flex-in {
    width: calc(100% / 2 - 2em);
    margin: 1em;
}
	
    p.top-service-in-flex-font-2 {
        font-size: 15px;
        margin-top: 5px;
        line-height: 1.6em;
    }	

}

@media screen and (max-width: 768px){	

p.top-service-in-flex-font-2 {
        font-size: 14px;
        margin-top: 5px;
        line-height: 1.5em;
    }
	
.top-service-in-flex-in {
    max-width: 600px;
    margin: 1em auto;
}	
	
}





























/*TOP NEWS*/

@media screen and (min-width: 769px){
.top-news {
    display: flex;
    align-items: center;
}

.top-news-title {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin-right: 5em;
}


.top-news-flex-right {
    flex: 1;
}
}

@media screen and (max-width: 768px){
}









/* .custom-new-post-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 0;
} */

.custom-new-post-date {
  margin-right: 20px;
  text-align: center;
}

.custom-new-post-date .day {
  font-size: 64px;
  font-weight: 700;
  -webkit-text-stroke: 1px #000;
  color: transparent;
  line-height: 1;
  display: block;
}

.custom-new-post-date .year-month {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  display: block;
}

.custom-new-post-title {
  font-size: 18px;
  font-weight: 600;
}

.custom-new-post-title a {
  color: #000;
  text-decoration: none;
}

.custom-new-post-title a:hover {
  color: #12d2db;
}

.custom-new-posts hr {
  border: none;
  border-top: 1px solid #000;
  margin: 10px 0;
}

.custom-new-post-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 0;
  text-decoration: none;
  color: inherit;
}

.custom-new-post-item:hover {
  background: #f7f7f7;
  color: #12d2db;
  transition: 0.3s;
}




@media screen and (min-width: 769px){
.custom-new-posts {
  margin: 20px 0;
}
}

@media screen and (max-width: 768px){
.custom-new-posts {
    margin: 3em 0;
}
}






/*TOP ブログ ボタン*/

a.top-blog-btn {
  -webkit-appearance: none;
  border: 1px solid #000;
  background-color: transparent;
  color: #333;
  width: 80%;
  max-width: 260px;
  letter-spacing: 1px;
  border-radius: 50%; /* 楕円形 */
  padding: 15px 0;
  text-decoration: none;
  text-align: center;
  outline: none;
  position: relative;
  transition: color 0.5s ease;
  overflow: hidden; /* 背景はみ出し防止 */
  display: block;
  z-index: 0; /* 基準 */
}

a.top-blog-btn:hover {
  color: #fff;
}

a.top-blog-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #12d2db;
  border-radius: 50%; /* 背景も楕円にフィット */
  transition: width 0.5s ease;
  z-index: -1; /* ← テキストより後ろにするのがポイント！ */
}

a.top-blog-btn:hover::before {
  width: 100%;
}

span.a.top-blog-btn-text {
  position: relative;
  z-index: 1; /* テキストを前面に */
}


@media screen and (min-width: 769px){
a.top-blog-btn {
    font-size: 18px;
}

a.top-blog-btn {
    margin: 2em 0 0 auto;
}
}

@media screen and (max-width: 768px){
a.top-blog-btn {
    font-size: 16px;
}

a.top-blog-btn {
    margin: 2em auto 0 auto;
}
}


































/* 共通 */

.header {
  width: 100%;
  background: transparent; /* 背景透明 */
  position: relative;
  z-index: 1000;
  }

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.header-logo img {
  height: 50px;
}

/* グローバルナビ */
.global-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
    text-decoration: none;
    color: #333;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 17px;
}

.global-nav a:hover {
    color: #12d2db;
    transition: 0.3s;
}

.btn-contact {
  display: inline-block;
  padding: 8px 20px;
  background: #00c9e0;
  color: #fff !important;
  border-radius: 9999px;
  font-weight: bold;
  transition: 0.3s;
}
a.btn-contact:hover {
    opacity: 0.6;
    transition: 0.3s;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1101; /* ナビより上 */
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: #000;
  margin: 3px 0;
  transition: 0.4s ease;
  transform-origin: center;
}
.hamburger p {
  font-size: 12px;
  margin: 2px 0 0;
  color: #000;
  transition: 0.3s;
}

/* アニメーション（open時に×へ変形） */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* PC用 */
@media screen and (min-width: 769px) {
  .global-nav {
    display: block;
    background: transparent;
  }
}

/* スマホ用 */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .global-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out; /* 柔らかい動き */
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: transparent; /* 初期は透明 */
  }

  .global-nav ul {
    flex-direction: column;
    margin: 0;
    padding: 20px 0;
    background: #fff; /* 中身に背景 */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* 影を足すと浮く感じ */
/*     border-radius: 0 0 12px 12px; */
  }

  .global-nav li {
    text-align: center;
    padding: 15px 0;
  }

  .global-nav a {
    display: block;
    width: 100%;
  }

  .btn-contact {
    margin: 10px auto;
  }

  /* 開いた状態 */
  .global-nav.open {
    max-height: 500px; /* 実際の高さより少し大きめ */
  }
}

  /* ヘッダーも白に */
  .header-inner.open {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
}





























.fiarst-vew-in {
  animation: none !important;
  transition: none !important;
}


.fiarst-vew-in {
  width: 100vw;
  height: 100vh;
  position: relative; /* 子要素を絶対配置できるようにする */
}

/* 疑似要素を背景に配置 */
.fiarst-vew-in::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #fff 0%, #e1e880 100%);
  opacity: 0;
  animation: bg-fade 3s ease-in-out forwards; /* ← 3秒でフェード */
  z-index: 0; /* 背景にする */
}

/* 画像は常に前面 */
.fiarst-vew-in svg {
  width: 60%;
  max-width: 350px;
  position: absolute;
  top: 50%; /* 最初は中央に */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: top 1.5s ease; /* スムーズに上に移動 */
}

.fiarst-vew-in svg.move-up {
  top: 30%; /* アニメーション後は上へ */
}


@keyframes bg-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



.letter {
  fill: #000;
  animation: colorChange 3s forwards;
  opacity: 1;
}

/* 順番に遅延させて1文字ずつ色変化 */
.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.3s; }
.letter:nth-child(3) { animation-delay: 0.6s; }
.letter:nth-child(4) { animation-delay: 0.9s; }
.letter:nth-child(5) { animation-delay: 1.2s; }

/* 色変化の流れ（1回だけ） */
@keyframes colorChange {
  0%   { fill: #000; }
  30%  { fill: #12d2db; }
  60%  { fill: #0071bc; }
  100% { fill: #000; }
}






.fiarst-vew-in-2 {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    text-align: center;
    transition: opacity 1.5s ease, transform 1.5s ease;
    z-index: 1;
    width: 100%;
}


@media screen and (min-width: 769px){
.fiarst-vew-in-2 {
    top: 54%;
}
}

@media screen and (max-width: 768px){
.fiarst-vew-in-2 {
    top: 50%;
}
}

.fiarst-vew-in-2.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media screen and (min-width: 769px){
.fiarst-vew-img1 {
    width: 90%;
    max-width: 1000px;
    display: block;
    margin: 0 auto 15px;
}
	
.fiarst-vew-font1 {
    font-size: 1.6rem;
    font-weight: 800;
}	
}

@media screen and (max-width: 768px){
.fiarst-vew-img1 {
    width: 80%;
    max-width: 500px;
    display: block;
    margin: 0 auto 15px;
}
	
.fiarst-vew-font1 {
    font-size: clamp(1.125rem, 0.679rem + 2.23vw, 1.75rem); /*18,28*/
    font-weight: 800;
}	
}





























/* スクロールダウンのスタイル */
.scroll {
  border: 1px solid #000;
  border-radius: 50%;
  display: inline-block;
  height: 50px;
  margin-top: 50px;
  position: relative;
  width: 50px;
}
/* 矢印 */
.scroll span {
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  height: 10px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 33%;
  transform: rotate(-45deg);
  width: 10px;
}
/* アニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(18, 210, 219, .5);
  content: "";
  height: 50px;
  left: 0;
  margin: auto;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
}
/* アニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 20px rgba(18, 210, 219, .5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}



















/*投稿ページ*/

header.article-header.entry-header {
    margin-top: 5em;
}

figure.eye-catch {
    max-width: 900px;
    margin: 0em auto;
}

