/*
Theme Name: kyouei 
Theme URI: 
Author: kyouei
Description: Original theme for sunflower animation
Version: 1.0
*/

.img1 {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: filter 5s ease, opacity 5s ease;
}

.img1.fadeout {
  filter: brightness(3) blur(3px);
  opacity: 0; 
  pointer-events: none;
}

.img2 {
  position: absolute;
  width: 40%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 3s ease, transform 3s ease;
}

.img2.showlogo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* メニュー背景 */

.hero {
  width: 100%;
  height: 320px;
  background-image: url('/wp-content/themes/kyouei-HP-theme/img/image3.png');
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-logo {
  position: absolute;
  left: 30px;   
  top: 180px;   
  display: block;
}

.hero-logo img {
  width: 230px; 
  height: auto;
}

.hero-img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.content-menu {
  width: 100%;
  background: linear-gradient(to right, #2fa85c, #3ab66a);
  overflow: visible;
  padding: 0px 0; 
  margin: 0;
}

.content-menu ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-menu a {
  color: #fff;
  font-size: 20px; 
  text-decoration: none;
  line-height: 1.2;
  padding: 4px 6px; 
}

/* ドロップダウン */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 50%;             
  transform: translateX(-50%); 
  background: #fff;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  white-space: nowrap;
  min-width: 200px;
  z-index: 9999;
}

.dropdown.open .dropdown-menu {
  display: block;
}
.content-menu .dropdown-menu a {
  color: #333 !important;
  display: block;
  padding: 10px 15px;
  font-size: 16px;
  text-decoration: none;
}

.content-menu .dropdown-menu a:hover {
  background: #f0f0f0;
}

/*スマホ表示板画像の調整*/
@media (max-width: 600px) {
  .content-menu a {
    font-size: 14px;
  } 
}
@media (max-width: 600px) {
  .content-menu a {
    font-size: 14px;
  }
}
/*規約テンプレート*/

.terms-wrapper {
  background: #fff;
  padding: 40px 0;
}

.terms-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.terms-inner h1 {
  font-size: 20px;
  margin-bottom: 20px;
}

.terms-inner h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.terms-inner p,
.terms-inner li {
  font-size: 16px;
  line-height: 1.7;
}

.terms-update {
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.7;
}

/* 規約ページの上部メニュー */
.content-menu {
  width: 100%;
  background: #0a7a3a;
  padding: 6px 0;
  margin: 0;
}

.content-menu ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-menu a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.content-menu a:hover {
  text-decoration: underline;
}

/*各種ポリシーメニュー*/
.policy-wrapper {
  background: #fff;
  padding: 40px 0;
}

.policy-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.policy-inner h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.policy-list li {
  margin-bottom: 15px;
}

.policy-list a {
  font-size: 18px;
  color: #0a7a3a;
  text-decoration: none;
}

.policy-list a:hover {
  text-decoration: underline;
}

/*ハラスメント防止宣言ページ*/
.harassment-wrapper {
  background: #fff;
  padding: 40px 0;
}

.harassment-subtitle {
  text-align: right;      
  font-size: 10px;       
  line-height: 1.6;       
  margin-bottom: 20px;     
  color: #333;              
}

.harassment-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.harassment-inner h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.harassment-inner h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.harassment-inner h3,
.harassment-inner h4,
.harassment-inner h5,
.harassment-inner h6 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.harassment-inner p,
.harassment-inner li {
  font-size: 16px;
  line-height: 1.7;
}

.harassment-inner ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.harassment-inner p {
  margin-bottom: 20px;
}

/* 著作権ページのレイアウト */
.copyright-wrapper {
  background: #fff;
  padding: 40px 0;
}

.copyright-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright-inner h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.copyright-inner h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.copyright-inner h3 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.copyright-inner p,
.copyright-inner li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/*プライバシー、ポリシー*/
.privacy-wrapper {
  background: #fff;
  padding: 40px 0;
}

.privacy-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-inner h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.privacy-inner h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.privacy-inner h3 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.privacy-inner p,
.privacy-inner li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/*営業メールへの宣言*/
.salesmail-wrapper {
  background: #fff;
  padding: 40px 0;
}

.salesmail-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.salesmail-inner h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.salesmail-inner h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.salesmail-inner p,
.salesmail-inner li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.salesmail-inner ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* ウェルカムページ　背景 */
.home-hero-bg {
  background-image: url('<?php echo get_template_directory_uri(); ?>/img/1.1.png');
  background-size: 35%;       
  background-repeat: no-repeat;
  background-position: right 60%;
  filter: brightness(1.05) saturate(0.30);
  padding: 80px 0;
}

/* 白い幕＋文章 */
.home-hero-content {
  max-width: 1150px;      
  margin: 0 auto;         
  background: rgba(255, 255, 255, 0.85); 
  padding: 40px 60px;      
  border-radius: 0;        
}


/* 見出し */
.home-catch {
  font-size: 32px;
  font-weight: bold;
  color: #444;
  margin-bottom: 20px;
}

/* 本文 */
.home-text {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
}



/* フッター全体 */
.site-footer {
  background: #0a7a3a;
  color: #fff;
  padding: 6px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px; 
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 4px; 
}

.footer-company {
  position: absolute;
  left: 0;
  font-size: 13px;
  margin: 0;
  line-height: 1.2; 
}

.footer-menu {
  display: flex;
  gap: 10px; 
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 12px; 
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2px;
  text-align: left;
}

.footer-copy {
  font-size: 11px;
  opacity: 0.8;
  margin: 0;
  line-height: 1.2;
}