
/*
Theme Name: My Theme
Theme URI: https://example.com
Author: architeriorHP
Author URI: https://example.com
Description: A custom WordPress theme.
Version: 1.0
*/

/* opening */
/* オープニング全体 */
body.is-opening {
  overflow: hidden;
}

#opening {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  visibility: visible;
}

/* フェードアウト用 */
#opening.fadeout {
  opacity: 0;
  transition: opacity 1s ease;
}

/* ロゴの初期位置とアニメーション */
#opening img {
  width: 300px;
  position: relative;
  left: -20px; /* 左からスタート */
  opacity: 0;    /* 透明スタート */
  transition: left 1s ease-out, opacity 1s ease-out; /* スライド＋フェード */
}

/* ロゴが中央に来る状態 */
#opening img.active {
  left: 0;      /* 中央 */
  opacity: 1;   /* フェードイン */
}


/* フェードイン下から */
.fade-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* フェードイン上から */
.slide-in-top {
  opacity: 0;
  transform: translateY(-50px); /* 上から50px移動 */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-in-top.visible {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻す */
}

/* フェードイン右から */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px); /* 右から50px移動 */
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s; /* 0.2秒の遅延 */
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0); /* 元の位置に戻す */
}

/* フェードイン左から */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px); /* 左から50px移動 */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0); /* 元の位置に戻す */
}

/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
	overflow-x: clip;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h2{
  font-size: 40px;
}
p{
  font-size: 16px;
}
header{
  height: 120px; /* 必要な高さを指定 */
  width: 100%;
}
#logo,
#logo_ctt{
  max-width:100%;
  display:block;
  margin: 0;
  background-image:url(img/SVG/topmenu_logo.svg);
  background-size:initial;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  cursor: pointer;
}  
#logo a,
#logo_ctt a{
  max-width:100%;
  display:block;
  margin: 0;
  height: 100%;
  cursor: pointer;
}  
.drawer{
  width: 340px;
  height: 100px;
  margin: 0 auto;
 }
  header::after{
    display:none;
  } 
  
  
nav {
    display: flex;
    height: 120px;
    width: 100%;
    background-color: #fff;
    align-items: center;
    margin: 0px auto;
    left: 0;
    right: 0;
    padding: 0 2.5%;
   position: fixed;
   top: 0;
   z-index: 999;
}

.Toggle{
 display: none;
}
.menu{
 width: 100%;
 
}

.menu li:nth-child(5) {
  width: 200px; /* 円の直径 */
  height: auto; /* 円の直径 */
  background-color: #153549; /* 円の背景色 */
  border: #FFD150 solid 3px;
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  border-radius: 200px;
}

.menu li:nth-child(5) a {
  color: #FFD150;
  text-align: center; /* テキストを中央揃え */
  margin: 0; /* マージンをリセット */
}
.menu li:nth-child(5):hover {
  width: 200px; /* 円の直径 */
  height: auto; /* 円の直径 */
  border: #ffffff solid 3px;
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  border-radius: 200px;
}

.menu li:nth-child(5) a:hover{
  color: #ffffff;
  text-align: center; /* テキストを中央揃え */
  margin: 0; /* マージンをリセット */
}


.menu ul{
 height:  120px;
 display: flex;
 flex-wrap: wrap;
 justify-content: flex-end;
 align-items: center;
 list-style: none;
}
.menu ul li a{
  color: black;
  border-bottom: none;
  text-decoration: none;

}
.menu ul li{
  padding: 15px;
}
  
  .menu ul li a:hover
{
  background-color:transparent;
}
 main{
  padding: 0;
flex:1;
 }

.hiro{
  display: block;
  background-image:url(img/top_hiro_1@2x-100.jpg);
  background-size: cover;
  height: calc(100vh - 175px);
  width: 95%;
  margin: 0 auto;
}
#container {
  width: 100%;
  height:100%;
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}
#top_hiro_1{
flex: 1;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh; /* 親要素の高さを指定 */
}

.tophiro_animate1 {
  position: absolute;
  transform: translate(-50%, -50%) translateX(-100%);
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.tophiro_animate1_big{
  position: absolute;
  top: 120px;
  left: 290px;
  width: 60%;
  z-index: 1;
  max-width: 550px;
}
.tophiro_fade-in {
  width: 40%;
  opacity: 0; /* 初期は透明 */
  transition: opacity 0.9s ease-in-out; /* アニメーションの設定 */
  top: 110px;
  left: 270px;
  position: absolute;
  z-index: 2;
  max-width: 350px;
}
.tophiro_animate1_small{
  position: absolute;
  top: 130px;
  left: 200px;
  width: 35%;
  max-width: 370px;
}
#top_hiro_text{
  position: relative;
  z-index: 2;
  width: 100%;
}
#top_hiro_text p,#top_hiro_text_sp p {
	font-family: "adobe-arabic", sans-serif;
font-weight: 400;
font-style: normal;
  text-shadow: 3px 10px 10px rgba(0, 0, 0, 5);
  font-size: 9vw;
  color: #fff;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  opacity: 0; /* 初期状態は透明 */
  animation: fadeIn 4s forwards; /* 2秒でフェードイン */
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  
}

@keyframes fadeIn {
  from {
      opacity: 0; /* フェードインの開始 */
  }
  to {
      opacity: 1; /* フェードインの終了 */
  }
}

#top_hiro_2{
  width: 100%;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 親要素の高さを指定 */
  }
  
  .tophiro_animate2 {
    transform: translate(50%, 50%) translateX(100%);
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    
  }
  .tophiro_animate2_big{
    position: absolute;
    width: 60%;
    bottom: 10px; 
    right: -20px;
    height: 90%;
  }
  .tophiro_animate2_small{
    position: absolute;
    width: 40%;
    bottom: -30px; 
    right: 20px;
  }
  .top_hiro2_txt {
    position: absolute;
    color: #fff;
    width: 50%;
    right: 0;
    font-size: 24px;
    height: auto;
}
.top_hiro2_txt-btn {
  position: absolute;
  right: 3%;
  background-color:#FFD150;
  border: 3px solid #153549; /* 丸の線と色 */
  color: #153549;
  text-decoration: none;
  border-radius: 200px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 18px;
  width:150px;
  height: 55px;
  display: flex; /* Flexboxを使用 */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
}
.top_hiro2_txt-btn a{
  background-color:#FFD150;
}

.top_hiro2_txt-btn:hover{
  background-color: #00abfb; /* ホバー時の背景色 */
}
.top_hiro2_txt-btn_fade-in {
  opacity: 0; /* 初期は透明 */
  transition: opacity 0.9s ease-in-out; /* アニメーションの設定 */
  transition-delay: 2s; /* 2秒遅らせてからフェードイン開始 */
}
.tophiro2_fade-in {
  opacity: 0; /* 初期は透明 */
  transition: opacity 0.9s ease-in-out; /* アニメーションの設定 */
  transition-delay: 1.5s; /* 2秒遅らせてからフェードイン開始 */
}


/* NEWS */

.news-section,
.services-item{
  width: 95%;
  margin: 50px auto 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 3px;
}
.news-title h2,
.news-title h1, 
.servic-title h2,
.archive-title h1
{
  width:  auto;
	margin: 0 15px 0 0; 
  font-size: x-large;
}
.news-title h2::before, 
.news-title h1::before, 
.servic-title h2::before,
.archive-title h1::before{
  content: "";
  display: inline-block;
  width: 12px;    /* 丸の直径 */
  height: 12px;   /* 丸の直径 */
  border: 5px solid #00abfb; /* 丸の線と色 */
  border-radius: 50%; /* 丸にする */
  margin-right: 10px; /* テキストとの間にスペースを追加 */
  vertical-align: middle; /* テキストの垂直方向の中央揃え */
}

.news-title p,
.servic-title p{
  width: 100px;
}
.news-title,
.servic-title{
  display: flex;
    align-items: center; /* ボタンとの垂直方向の中央揃え */
    margin-bottom: 15px;
}

.ellipse-button {
  background-color:  #FFD150;
  border: 3px solid #153549; /* 丸の線と色 */
  color: #153549;
  text-decoration: none;
  border-radius: 200px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 25px;
  width: 150px;
  height: 55px;
  display: flex; /* Flexboxを使用 */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
}

.ellipse-button:hover {
  background-color: #00abfb; /* ホバー時の背景色 */
}

.news-list {
  list-style-type: none;
  padding: 0;
  color: #153549;
  width: 98%;
  margin: 0 auto;
}
.news-list a{
  list-style-type: none;
  text-decoration: none;
  padding: 0;
  color: #153549;
}
.news-item {
  margin-bottom: 15px;
  border-bottom: 2px solid #153549;
  padding-bottom: 10px;
}
.news-item h3 {
    font-size: large;
    color: #00abfb;
}
.news-item p {
}
.news-date {
  font-size: 0.9em;
  color: #666;
}

/* company */

.company-section{
  width: 100%;
  margin: 50px auto 0 auto;
  display: flex;
  height:auto;
  background-color:#153549 ;
}
.company-section_left{
  width: 45%;
}
.company-section_left h2 {
  width: 90%;
  height: 60px;
  background-image: url(img/logo_01@2x-8.png);
  background-size: 75%;
  background-position:left 15px center;
  background-repeat: no-repeat;
  display: flex; /* Flexboxを使用 */
  align-items: center; /* 垂直方向に中央揃え */
  padding: 50px 15px;
  margin-top: 50px;
  font-size: 16px;
}

.company-section_left .title {
  color: #fff;
  margin-right: -210px;
  position: relative;
  top: -45px;
}

.company-section_left .circle {
  display: inline-block;
  width: 21px;    /* 丸の直径 */
  height: 21px;   /* 丸の直径 */
  border: 5px solid #00abfb; /* 丸の線と色 */
  border-radius: 50%; /* 丸にする */
  margin-right: 10px; /* テキストとの間にスペースを追加 */
  vertical-align: middle; /* テキストの垂直方向の中央揃え */
}

.company-section_left h3{
  font-size: xx-large;
 background-color: #00abfb;
  display: flex; /* Flexboxを使用 */
  align-items: center; /* 垂直方向に中央揃え */
  padding: 15px;
  color: #fff;
}
.company-section_left p{
  font-size: large;
  display: block;
  display: flex; /* Flexboxを使用 */
  align-items: center; /* 垂直方向に中央揃え */
  padding: 10px;
  margin: 20px auto;
  color: #fff;
}

.company-section_right{
  flex: 1;
  background-image: url(img/work-section_right.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position:center;
  margin: 30px;
}

/* WORK */

.services-item h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 5px solid #00abfb;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.work-section{
width: 95%;
margin: 50px auto;
padding: 20px;
background-color: #f9f9f9;
}
.work-title h2{
width: auto;
	margin:  0 15px 0 0;
	font-size: x-large;
}
.work-title h2::before {
content: "";
display: inline-block;
width: 12px;    /* 丸の直径 */
height: 12px;   /* 丸の直径 */
border: 5px solid #00abfb; /* 丸の線と色 */
border-radius: 50%; /* 丸にする */
margin-right: 10px; /* テキストとの間にスペースを追加 */
vertical-align: middle; /* テキストの垂直方向の中央揃え */
}

.work-title p{
width: auto;
}
.work-title{
display: flex;
  align-items: center; /* ボタンとの垂直方向の中央揃え */
  margin-bottom: 15px;
}
.ellipse-button {
background-color:  #FFD150;
border: 3px solid #153549; /* 丸の線と色 */
color: #153549;
text-decoration: none;
border-radius: 200px;
margin-left: 10px;
cursor: pointer;
font-size: 25px;
width: 150px;
height: 55px;
display: flex; /* Flexboxを使用 */
  justify-content: center; /* 水平方向に中央揃え */
  align-items: center; /* 垂直方向に中央揃え */
}

.ellipse-button:hover {
background-color: #00abfb; /* ホバー時の背景色 */
}
.work-item-container {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin: 10px auto;
	width: 95%;
}

.item {
  padding: 10px;
  font-weight: 600;
  opacity: 0; /* 初期状態は透明 */
    transform: translateY(20px); /* 下に少し移動 */
    transition: opacity 1.6s ease-out, transform 1.6s ease-out; /* アニメーションの設定 */
text-decoration: none;
  }
.item.visible {
  opacity: 1; /* 表示時は不透明 */
  transform: translateY(0); /* 元の位置に戻る */
}
.work-item-container a{
  color: #555;
}

.item img {
  width: 100%;              /* 幅を100%にして、親要素の幅に合わせる */
  height: 220px;            /* 高さを指定 */
  object-fit: cover;        /* 画像が親要素のサイズに合わせて、クロップされる */
  margin: 0 auto;
  text-align: center;
  display: block;
}


.item h3 {
  margin: 10px 0 5px;
  font-size: large;
  border-bottom:#153549 2px solid ;
  color: #00abfb;
}

.item p {
  margin: 5px 0;
  color: #555;
  font-size: 12px;
}


.works-category-nav {
    padding: 15px;
    width: 90%;
    border: 2px solid;
    color: #00abfb;
    margin: 21px auto;
}

.works-category-nav a {
    color: #00abfb;
    margin: 0 10px;
    /* padding-bottom: 10px; */
    /* text-decoration: overline; */
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #00abfb;
    text-decoration-thickness: 1px;
}
.works-category-nav .work-title p {
    color: #153549;
    font-weight: 600;
    font-size: 1.2rem;
}


/* footer */
footer{
  margin: 0px;
  background-color: #153549; /* ホバー時の背景色 */
	
  
  }
  .footer_top{
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 全体は上揃えに */
  border-bottom: 2px solid #ffffff;
  width: 95%;
  margin: 0 auto;
  padding: 30px 0 0 0 ;
   color: #fff;
  }
  .footer_top img{
    width: 15%;

  }
  .footer_top h2{
    margin: 0; /* h2 のデフォルトマージンを削除 */
    align-self: flex-end; /* h2 だけを下揃えに */
    color: #fff;
    font-size: 12px;
  }
  .footer_bottm{
    align-items: flex-start; /* 全体は上揃えに */
  width: 95%;
  margin: 0 auto;
  padding: 10px 0 ;
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  }
  .footer_bottm ul{
     display: flex;
    list-style-type: none; /* ドットを非表示に */
    padding: 0;
    margin: 0;
    
  }
  .footer_bottm ul li{
    position: relative;
    margin-right: 20px; /* 各リスト項目の間にスペースを追加 */
    padding-left: 25px; /* 四角形のスペースを確保 */
    color: #fff;
  }
  .footer_bottm ul li a {
    text-decoration: none;
    color: #fff;
    position: relative;
}
  .footer_bottm ul li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #fff; /* 四角形の色 */
}
.copy{
  text-align: center;
  color: #ffffff;
}
/* about us アーキテリアとは*/
.aboutus-section{
  width: 100%;
  height:100%;
  background-color:#ffffff ;
  margin: 0 auto;
}
.aboutus-section_top{
  width: 95%;
  display: flex;
  height:65vh;
  margin: 0 auto;
  border-bottom: #153549 2px solid;
  border-top: #153549 2px solid;
}
.aboutus-section_left{
 width: 60%;
 height: auto;
  position: relative; /* 親要素を相対位置に */
  opacity: 0; /* 初期状態は透明 */
  transition: opacity 1.5s ease-in-out; /* フェードインの時間と効果 */
}
.aboutus-section_left img {
  position: absolute; /* 絶対位置指定で画像の上に配置 */
  top: 50%;  /* 親要素の高さの50%の位置 */
  left: 50%; /* 親要素の幅の50%の位置 */
  transform: translate(-50%, -50%); /* 中央に揃える */
  display: block; /* デフォルトの隙間をなくすために block に設定 */
  width: 85%;
}

.aboutus-section_left h2 {
  position: absolute; /* 絶対位置指定で画像の上に配置 */
  top: 50%;  /* 親要素の高さの50%の位置 */
  left: 50%; /* 親要素の幅の50%の位置 */
  transform: translate(-50%, -50%); /* 中央に揃える */
  color: rgb(255, 255, 255); /* テキストの色を白に設定 */
  text-align: center; /* テキストを中央揃え */
  z-index: 1; /* 画像より前面に配置 */
  width: 100%;
  font-size: 36px;
  font-family: "vdl-pengentle", sans-serif;
font-weight: 700;
font-style: normal;
line-height: 1.5; /* 行間を設定 */
}

.aboutus-section_right{
  width: 40%;
  height: auto;
  background-image: url(img/menu_logo.png);
  background-size:60%;
  background-repeat: no-repeat;
  background-position:center;
  opacity: 0; /* 初期状態は透明 */
  transition: opacity 1.5s ease-in-out; /* フェードインの時間と効果 */
  transition-delay: 0.5s; /* 2秒遅らせてからフェードインを開始 */
}

.aboutus-section_right.fade-in,.aboutus-section_left.fade-in{
  opacity: 1; /* フェードイン後は完全に表示 */
}

.aboutus-txt_section{
  width: 95%;
  margin: 50px auto;
  color:#153549;
}
.aboutus-txt_section p{
  line-height: 2; /* 行間を調整 */
	    padding: 15px;
}


/* 会社概要 */
.profile-section{
width: 100%;
}
.profile-section_hiro{
  display: block;
  background-image:url(img/company_hiro\ @2x-100.jpg);
  background-size: cover;
  height: 300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.profile-section_hiro h2{
  position: absolute;
  top: 50%;  /* 親要素の高さの50%の位置 */
  left: 50%; /* 親要素の幅の50%の位置 */
  transform: translate(-50%, -50%); /* 中央に揃える */
  color: rgb(255, 255, 255); /* テキストの色を白に設定 */
  text-shadow: 5px 2px 5px rgba(0, 0, 0, 0.5); /* シャドウを追加 */
}
.profile-section_hiro p {
  position: absolute;
  top: 40%;  /* 親要素の高さの50%の位置 */
  left: 50%; /* 親要素の幅の50%の位置 */
  transform: translate(-50%, -50%); /* 中央に揃える */
  color: rgb(255, 255, 255); /* テキストの色を白に設定 */
  margin-bottom: 10px; /* h2との間に余白を追加 */
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); /* シャドウを追加 */
}
.profile-tb{
  width: 95%;
  margin:  50px auto;
}
.profile-tb h2{
  width: 100%;
font-size:x-large;
}
.profile-tb h2::before {
  content: "";
  display: inline-block;
  width: 12px;    /* 丸の直径 */
  height: 12px;   /* 丸の直径 */
  border: 5px solid #00abfb; /* 丸の線と色 */
  border-radius: 50%; /* 丸にする */
  margin-right: 10px; /* テキストとの間にスペースを追加 */
  vertical-align: middle; /* テキストの垂直方向の中央揃え */
}
table{
  width: 100%;
  border-collapse: collapse; /* セルのボーダーを重ねる */
  border-spacing: 0; /* セル間のスペースをゼロに設定 */
  margin: 15px auto;
}
th,td{
  border: #153549 2px solid;
  margin: 0;
  padding: 20px;
}
.profile-tb th{
    background-color: #00abfb;
    color: #fff;
    font-size: 1.2rem;
    border: #153549 2px solid;
	width: 30%;
}

/* お問い合わせ */
.contact-section {
  width: 100%;
  margin: 0 auto;
  padding:20px;
  overflow: hidden;  /* これも効く */
	background-color: #effaff;
}

  .contact-section_hiro{
    text-align: center;
    width: 250px;
    margin: 0 auto;
  }
/* 全幅指定 */

/* pタグの余白を削除 */
.wpcf7-form p {
  margin-bottom: 0;
}
/* 背景色（お好きな色に） */
section.contact {
  background-color: #EDF7EF;
}
/*  フォームの幅（自由に変えてOK） */
.contactForm {
  max-width: 680px;
  margin: 0 auto;   /* ← 中だけ中央 */
  width: 100%;
  padding: 0 20px;
}
/* 各項目の下部余白 */
.contact_item {
  margin-bottom:auto;
	text-align: center;
}
/* 項目名 */
.label {
  display: block;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
/* 必須タグと任意タグ共通のスタイル */
.label_tag {
  font-size: small;
  color: #ffffff;
  border-radius: .3rem;
  margin-right: 1rem;
  padding: 5px 10px;
	font-weight: 700;
}
/* 必須タグ */
.label_must {
  background-color: #ec155d;
}
/* 任意タグ */
.label_option {
  background-color: #5cae9f;
}
/* 名前やメールアドレスなどユーザーが入力する箇所 */
.inputs {
  width: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
input[type="text"],input[type="email"] {
  border: solid 1px #707070;
  padding: .5rem;
	    width: 95%;
    margin: 0 auto;
}
/* お問い合わせ内容を入力する箇所 */
textarea.form-control {
    display: block;
    width: 95%;
    max-width: 600px;   /* 任意 */
    margin-left: auto;
    margin-right: auto;
    border: solid 1px #ec155d;
    padding: .5rem;
    height: auto;
	align-self: center;
}
.wpcf7 textarea.form-control {
    display: block;
    width: 90%;
    margin: 0 auto;
}

/* ボタン */
.btnArea {
  text-align: center;
}
input[type="submit"] {
    background: #153549;
    width: 220px;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: .5em;
    text-indent: .5em;
    font-weight: bold;
    padding: 1rem 0;
    margin-top: 2rem;
    cursor: pointer;
    border-radius: .3rem;
    transition: all .3s;
    margin: 1rem auto;
    display: block;
  
}
/* ボタンにホバーした時 */
input[type="submit"]:hover {
  color: #00abfb;
  background-color: #ffffff;
}
/* ローダー */
.wpcf7 .ajax-loader {
  display: block;
  margin: 0 auto;
}
/* ラジオボタン修正 */
.radio_group input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
  width: auto !important;
  height: auto !important;
}

/* 業務実績 */
.services-section{
  width: 100%;
  margin: 0 auto;
  }
  .services-section_hiro{
    display: block;
    background-image:url(img/work_hiro@2x-100.jpg);
    background-size: cover;
    height: 300px;
    width: 100% !important;
    margin: 0 auto;
    position: relative;
  }
  .services-section_hiro h2{
 position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    text-shadow: 5px 2px 5px rgba(0, 0, 0, 0.5);
}
  .services-section_hiro p {
    position: absolute;
    top: 40%;  /* 親要素の高さの50%の位置 */
    left: 50%; /* 親要素の幅の50%の位置 */
    transform: translate(-50%, -50%); /* 中央に揃える */
    color: rgb(255, 255, 255); /* テキストの色を白に設定 */
    margin-bottom: 10px; /* h2との間に余白を追加 */
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); /* シャドウを追加 */
  }
  .services-item{
    margin: 50px auto;
  }

  /* single*/
  .work_sigle_txt{
    padding: 2.5%;
    margin: 20px auto;
}
.work_sigle_txt h1{
    font-size: 40px;
    border-bottom: #153549 solid 2px;
    color: #00abfb;
    font-weight: 600;
}
.before_txt,
.after_txt{
    width: 50%;
    text-align: center;
    margin: 20px auto;
    font-size: 24px;
    border-bottom: #153549 solid 2px;
    color: #153549;
}
.completed{
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.completed img{
    width: 65vw;
    margin: 0 auto 50px auto;
    display: block;
}

/* スライダー */
.work-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center; /* 横方向センター */
  align-items: center;    /* 縦方向センター */
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.work-slide {
  flex: 0 0 100%;
  text-align: center;
}

.work-slider .work-image {
  width: auto; /* 画像を70%サイズに変更 */
  height: 350px;
  margin: 0 auto; /* 中央揃え */
  display: block;
}
.work-details{
  margin-bottom: 80px;
}

/* サムネイル */
.thumbnail-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  margin: 20px auto;
  width: 100%;
  overflow: overlay;
}

.thumbnail {
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnail:hover {
  border-color: #153549;
}

.thumbnail.active {
  border-color: #153549; /* 選択中のサムネイルの見た目 */
}

.thumbnail-image {
  width: auto;
  height: 80px;
  object-fit: cover;
}


/* コントロールボタン */
.slider-controls {
  text-align: center;
  margin-top: 10px;
}

.slider-controls button {
  padding: 10px 20px;
  background-color: #153549;
  color: #FFD150;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.slider-controls button:hover {
  background-color: #153549;
  color: #FFF;
}



/* archive */

.archive-work,
.archive-news{
width: 95%;
margin: 0 auto;
}



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

    #logo {
        max-width: 40%;
        display: block;
        margin: 0 auto;
        background-image: url(img/menu_logo.png);
        background-size: 60px;
        background-position: center;
        position: relative;
        top: 20px;
        background-repeat: no-repeat;
        padding: 0px;
        width: 130px;
        height: 130px;
        background-color: #fff;
        border-radius: 50%;
        z-index: 1;
    }
#logo_ctt {
  max-width: 50%;
  display: block;
  margin: 0 auto;
  background-image: url(img/menu_logo.png);
  background-size: 90px;
  background-position: center;
  position: relative;
  top: 20px;
  background-repeat: no-repeat;
  padding: 0px;
  width: 140px;
  height: 140px;
  background-color: #ffffff00;
  border-radius: 50%;
  z-index: 1;
}
#logo a,#logo_ctt a{
  background: none;
}

  nav{
   width: 100%;
   height: 70px;
   position: relative;
   background: #ffffff;
   display: block;
   border: none;
 
  }
  .drawer{
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: space-between;
   position: relative;
   height: 90px;
   padding: 0 1em;
   width: 100%;
  }
  
  /*ナビゲーション部分*/
  .menu ul {
    height: auto;
    display: block;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    top: 30%;
    margin: 0 auto;
}
  
  .menu ul li a {
color: black;
  padding: 0 1em;
  border-bottom: none;
  text-decoration: none;
  }
  
  .menu{
    text-align:center;
    background-color:rgb(255, 255, 255);
    transition: .8s ease;/*滑らかに表示*/
    -webkit-transform: translateY(-120%);
    transform: translateY(-120%);/*左に隠しておく*/
    position: absolute;
    left: 0;
    height: 100vh;
  }
  
  
  /*OPEN時の動き*/
  .menu.open {
   -webkit-transform: translateX(0%);
   transform: translateX(0%);/*中身を表示（右へスライド）*/
  position: fixed;
  top: 0;
  }

  /*トグルボタンのスタイルを指定*/
  .Toggle {
	  top:12px;
    display: block;
    position: fixed;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 3;
    right: 30px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 50px;
    transition: background-color 0.3s; /* スムーズな色の変化 */
}

  .Toggle span {
      display: block;
      position: absolute;
      width: 40px;
      border-bottom: solid 4px #333;
      -webkit-transition: .35s ease-in-out; /*変化の速度を指定*/
      -moz-transition: .35s ease-in-out;    /*変化の速度を指定*/
      transition: .35s ease-in-out;     /*変化の速度を指定*/
  }
   
  .Toggle span:nth-child(1) {
      top:14px;
      right: 10px;
      border-bottom: solid 4px #00abfb;
  }
   
  .Toggle span:nth-child(2) {
      top: 28px;
      right: 10px;
  }
   
  .Toggle span:nth-child(3) {
      top: 41px;
      right: 10px;
  }
   
  
  
  .Toggle.active span:nth-child(1) {
      top: 28px;
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      transform: rotate(-45deg);
      border-bottom: solid 4px #00abfb;
   
  }
   
  /* 2番目と3番目のspanを45度に */
  .Toggle.active span:nth-child(2),
  .Toggle.active span:nth-child(3) {
      top: 28px;
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      transform: rotate(45deg);

  }
  main{
    margin-top: 0;
   }
   .menu li:nth-child(5) {
    width: 200px; /* 円の直径 */
    margin: 0 auto;
    height: 85px; /* 円の直径 */
    background-color: #153549; /* 円の背景色 */
    border: #FFD150 solid 3px;
    display: flex;
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
  }
  
  .menu li:nth-child(5) a {
    color: #FFD150;
    text-align: center; /* テキストを中央揃え */
    margin: 0; /* マージンをリセット */
  }



 /* TOPページ */
 header {
  height: 70px;
  width: 100%;
}
.hiro {
  display: block;
  background-image: url(img/top_hiro_1@2x-100.jpg);
  background-size: cover;
  height: calc(100vh - 90px);
  width: 100%;
  margin: 0 auto;
}
	.tophiro_animate1_big {
    position: absolute;
            top: 190px;
        left: 240px;
    width: 70%;
    z-index: 1;
    max-width: 550px;
}
	.tophiro_animate1_small {
    position: absolute;
    top: 150px;
    left: 180px;
    width: 45%;
    max-width: 370px;
}
	.tophiro_fade-in {
    width: 40%;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    top: 180px;
    left: 230px;
    position: absolute;
    z-index: 2;
    max-width: 350px;
}
 #top_hiro_1{
 }
 #top_hiro_text p {
  font-size: 15vw;
  overflow: hidden;
  color: #153549;
  line-height: 1;
  text-shadow: 3px 10px 10px #ffffff;
  font-weight: 600;
	 position: absolute;
        top: 0px;
}
 #top_hiro_text {
        flex: 1;
        justify-content: center;
        align-items: center;
        display: flex;
    }
.tophiro_animate2_big {
	position: absolute;
        width: 80%;
        height: 85%;
        top: -50px;
        bottom: inherit;
        right: inherit;
        /* margin: 0 auto; */
        /* display: block; */
    }
.tophiro_animate2_small {
  position: absolute;
  width: 70%;
  bottom: 10%;
  right: 20px;
  height: 75%;
}
.top_hiro2_txt {
  position: absolute;
  color: #fff;
  width: 100%;
  right: initial;
  height: auto;
  text-align: center;
  list-style: none;
	top: 0;
}
.top_hiro2_txt-btn {
  right: initial;
}
.news-title h2,
.servic-title h2,
.work-title h2,
.archive-title h1, 
.news-title h1{
  width: auto;
}
.news-title {
  margin: 20px 0 30px 0;
}
.company-section {
  display: block;
  height: auto;
  padding: 20px 0;
}
.company-section_left {
  width: 95%;
  margin: 0 auto;
}
.company-section_right {
  background-size: contain;
  height: 650px;
  background-image: url('img/work-section_right_sp.png');
}
	.company-section_left .title {
    color: #fff;
    margin-right: -210px;
    position: relative;
    top: -40px;
}
.work-item-container {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0px;
  margin: 20px auto 0 auto;
}
.footer_top {
  display: block;
  width: 95%;
}
.footer_top img {
  width: 40%;
  margin: 0 auto;
  display: block;
}
.footer_top h2 {
  margin: 20px 0 10px 0;
  text-align: center;
}
.footer_bottm {
  justify-content: center;
}
.copy{
  font-size: 9px;
  padding: 10px 0;
}





  /* single */
  .work_sigle_txt {
    padding: 2.5%;
    margin: 60px auto 40px auto;
}
.work_sigle_txt h1 {
  font-size: 32px;
  border-bottom: #153549 solid 2px;
  color: #00abfb;
  font-weight: 600;
}
.completed img {
  width: 94vw;
  margin: 0 auto 50px auto;
  display: block;
}
.work-slider .work-image {
  width: auto;
  height: 250px;
  margin: 0 auto;
  display: block;
}
	.contact-section {
    width: 100%;
    margin: 50px auto 0 auto;
    padding: 20px;
    overflow: hidden;
}
	input[type="submit"] {
    background: #153549;
    width: 170px;
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: .5em;
    text-indent: .5em;
    font-weight: bold;
    padding: 1rem 0;
    margin-top: 2rem;
    cursor: pointer;
    border-radius: .3rem;
    transition: all .3s;
    margin: 1.1rem auto;
    display: block;
}
	/* archive */

.archive-work,
.archive-news{
width: 95%;
margin: 100px auto;
}
	
	.aboutus-section_left h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    text-align: center;
    z-index: 1;
    width: 100%;
    font-size: 25px;
    font-family: "vdl-pengentle", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.5;
}
	.aboutus-section_left {
    width: 100%;
    height: auto;
    position: relative;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

	.aboutus-section_right {
   display: none;
}
	.aboutus-section_top {
    width: 95%;
    display: flex;
    height: 40vh;
    margin: 0 auto;
    border-bottom: #153549 2px solid;
    border-top: #153549 2px solid;
}
}


@media screen and (max-width: 430px) {
	
	
	#opening img {
  width: 150px;
  position: relative;
  left: -20px; /* 左からスタート */
  opacity: 0;    /* 透明スタート */
  transition: left 1s ease-out, opacity 1s ease-out; /* スライド＋フェード */
}
  #logo {
    background-image:url(img/menu_logo.png);
    background-size:40px;
    background-position: center;
    padding: 50px;
    width: 30px; /* 円の直径 */
    height: 30px; /* 円の直径 */
    background-color: #fff; /* 円の背景色 */
    border-radius: 50%; /* 50%で円形にする */
    z-index: 1;
    position: relative;
    top: 20px;
  }  

  
  /*トグルボタンのスタイルを指定*/
  .Toggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    width:50px;
    height: 50px;
    cursor: pointer;
    z-index: 3;
  right:15px;
}
     
  .Toggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 4px #333;
    -webkit-transition: .35s ease-in-out; /*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;    /*変化の速度を指定*/
    transition: .35s ease-in-out;     /*変化の速度を指定*/
 
}
 
.Toggle span:nth-child(1) {
    top:14px;
}
 
.Toggle span:nth-child(2) {
    top: 24px;
}
 
.Toggle span:nth-child(3) {
    top: 33px;
}

/* ======================
   TOP HERO 全体構造
====================== */

#container {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 90px);
}

/* 3等分 */
#top_hiro_1,
#top_hiro_text,
#top_hiro_2 {
  flex: 1;
  position: relative;   /* ← absoluteの基準にする */
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ======================
   背景
====================== */

.hiro {
  background-image: url(img/top_hiro_1@2x-100.jpg);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}


/* ======================
   文字中央
====================== */

#top_hiro_text p {
  font-size: 15vw;
  white-space: pre-line;
  margin: 0;
  text-align: center;
}


/* ======================
   上段 画像
====================== */

.tophiro_animate1_big {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 550px;
  z-index: 1;
}

.tophiro_animate1_small {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translateX(-50%);
  width: 55%;
  max-width: 370px;
}

 .tophiro_fade-in {
        position: absolute;
        top: 47%;
        left: 40%;
        transform: translateX(-50%);
        width: 60%;
        max-width: 350px;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.9s ease-in-out;
	
}


/* ======================
   下段 画像
====================== */

.tophiro_animate2_big {
  position: absolute;
  width: 90%;
  max-width: 600px;
  left: 5%;
  top: 0%;
  transform: translate(-50%, -50%);
}

.tophiro_animate2_small {
  position: absolute;
  width: 100%;
  max-width: 500px;
  left: 0%;
  bottom: 15%;
  transform: translateX(-50%);
}


/* ======================
   テキスト
====================== */

.top_hiro2_txt {
  position: relative;
  z-index: 2;
  font-size: 16px;
  text-align: center;
}

.top_hiro2_txt-btn {
  position: relative;
  z-index: 2;
  margin-top: 20px;

}
.company-section_left .title {
    color: #fff;
    margin-right: -210px;
    position: relative;
    top: -30px;
}


  /* about us */

    .aboutus-section_left h2 {
        font-size: 20px; /* フォントサイズを調整 */
    }



    .work-item-container {
      position: relative;
      top: 20px;
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 0px;
  }
  .news-title h2,
.news-title h1, 
.servic-title h2,
.work-title h2,
.archive-title h1 {
  width: 60%;
  font-size: x-large;
}
.news-title p,
.servic-title p,
.work-title p {
display: none;
}
	.archive-work,
.archive-news{
width: 95%;
margin: 50px auto;
}


  /* single */

.work-slider .work-image {
  width: auto;
  height: 200px;
  margin: 0 auto;
  display: block;
}
	  /* 会社概要*/
	.profile-tb th{
    background-color: #00abfb;
    color: #fff;
    font-size: 1rem;
    border: #153549 2px solid;
	width: 40%;
}
	.footer_bottm ul {
    display: block;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
	    .footer_bottm {
        justify-content: left;
    }
}