/* 基本スタイル */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    margin-top: 1.5625%;
    margin-left: 1.5625%;
    margin-right: 1.5625%;
    padding: 0;
    box-sizing: border-box;
}

h5 {
    position: relative;
    color: #158b2b;
    font-size: 20px;
    padding: 10px 0;
    text-align: center;
    margin: 1.5em 0;
  }
  h5:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 150px;
    height: 58px;
    border-radius: 50%;
    border: 5px solid #a6ddb0;
    border-left-color: transparent;
    border-right-color: transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

a {
    color: #3FB034;
    text-decoration: none;
}

a:hover {
    color: #3FB034;
}

/* スティッキーヘッダー 
#masthead {
    position: fixed;
    width: 100%;
    z-index: 1000; /* 他の要素の上に表示されるようにする */
    /* 必要に応じて背景色やボックスシャドウを追加 */

/* 固定ヘッダーにより隠れないように本文のマージンを調整 */
.site-content {
    width: 100%;
    margin-top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: start;

    border-bottom: 0.5px solid rgb(209, 209, 209); /* 下線の太さ、スタイル、色を指定 */
}

.header-logo {
    margin-right: 3.125%; /* ロゴとナビゲーション間のスペース */
}
.header-logo img {
    max-height: 50px;
}

.header-navigation {
    /* 必要に応じて追加のスタイリング */
    width: 100%;
    

}

.header-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0; /* リストのデフォルトのマージンを取り除く */
    display: flex; /* メニュー項目を横並びにする */
}

.header-navigation ul li {
    margin-right: 3.125%; /* メニュー項目間のスペース */
}

/* コンテンツエリア */
.content-area {
    width: 100%;
}
.content-form {
    width: 100%;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 10.18%;
    text-align: center;
}
.hoge img{
    width: 100%;
    height: auto;
}

.content{
    margin-top: 10.18%;
}
.h2_mission{
    text-align: center;
    color: #3FB034;
}
.mission_single{
    color: #3FB034;
}
.p_mission{
    text-align: center;
    
}
.image-container {
    text-align: center; /* テキストの中央揃えを適用 */
    
}

.image-container img {
    width: 75%;
    display: inline; /* 画像をインライン要素として扱う */
    /* 必要に応じて他のスタイルを追加 */
}
.image-container img:hover {
    opacity:0.8;
	transition:0.3s;
}

.image-logo {
    text-align: center; /* テキストの中央揃えを適用 */
}

.image-logo img {
    display: inline; /* 画像をインライン要素として扱う */
    /* 必要に応じて他のスタイルを追加 */
}

.image-content {
    display: flex; /* フレックスボックスとして扱う */
    margin-top: 10.18%;
    gap: 1.5625%; /* フレックスアイテム間にスペースを追加 */

}
.image-content1 {
    width: auto;
}
.image-content img {
    flex: 1; /* ２つの画像が等しいスペースを占めるようにする */
    width: 100%; /* 画像の幅を50%に設定 */
    height: 100%;
    object-fit: cover; /* 画像がコンテナに収まるように調整 */
}

.image-content img:hover {
    opacity:0.8;
	transition:0.3s;
}




/* スマートフォンなど小さな画面向けのスタイル */
@media screen and (max-width: 768px) {
    .footer-logo img {
        width: 100%; /* 小さい画面での幅を100%にする */
    }
}

.company-container {
    width: 80%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.field {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.label {
    font-weight: bold;
    display: block;
}

.company-content {
    padding-left: 20px;
}


/* 投稿とページ */
.post, .page {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.post h1, .page h1 {
    font-size: 28px;
}

/* 404ページ */
.error-404 {
    text-align: center;
}

.error-404 .page-title {
    margin-top: 10.18%;
    font-size: 36px;
    margin-bottom: 20px;
}

.error-404 .page-content p {
    font-size: 16px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-navigation {
        text-align: left;
    }

    .content-area {
        width: 100%;
    }
}

/* フッター全体のスタイリング */
#site-footer {
    background-color: #308128; /* 背景色 */
    color: #ffffff;
    width: calc(100% + 3.125%); /* bodyのマージン分を足す */
    margin-left: -1.5625%; /* bodyのマージン分を相殺 */
    margin-right: -1.5625%; /* bodyのマージン分を相殺 */
    box-sizing: border-box;
    padding-top: 3.125%;
    margin-top: 10.18%;

    
}

/* フッターコンテナ */
.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* リンクのスタイリング */
.site-footer a {
    color: #007bff; /* リンク色 */
    text-decoration: none; /* 下線を無くす */
    
    
}

.site-footer a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

/* 著作権表示のスタイリング */
.footer-copyright {
    color: #fff;
    text-align: center; /* テキストを中央揃えにする */
    padding-top: 1.5625%;
    font-size: 0.8em; /* フォントサイズ */
}

.footer-logo {
    margin-right: 3.125%; /* ロゴとナビゲーション間のスペース */
    width: 100%;
    text-align: center; /* テキストの中央揃えを適用 */
}
.footer-logo1 {
    margin-right: 3.125%; /* ロゴとナビゲーション間のスペース */
    width: 50%;
    text-align: center; /* テキストの中央揃えを適用 */
}
.footer-logo img {
    width: auto; /* 元のサイズを維持 */
    max-width: 100%; /* 最大幅を画面幅に合わせる */
    height: auto; /* 高さを自動調整 */
    vertical-align: middle; /* 垂直方向の位置調整 */
    align-self: center; /* Flexコンテナ内での位置調整 */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;    
}

.footer-nav li {
    font-size: 1em;
    margin-right: 1em;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #dddddd;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav li {
        margin-bottom: 10px;
    }

    .footer-nav li:last-child {
        margin-bottom: 0;
    }
    .footer-copy {
        margin-top: 40px;
    }
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
  }
  
  .mySlides {
    display: none;
  }
  .mySlides.slide-in {
    display: block;
    animation: none;
  }

  
  @keyframes fade {
    0%,100% { opacity: 0; }
    20%, 80% { opacity: 1; }
  }
  
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  .dot-container {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
  }
  
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .dot.active, .dot:hover {
    background-color: #717171;
  }

  @keyframes slideInFromRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .mySlides.slide-in {
    animation: slideInFromRight 1s ease-out forwards;
  }


  .home-page-button {
    display: inline-block;
    background-color: #3FB034; /* ボタンの背景色 */
    color: #ffffff; /* テキスト色 */
    padding: 10px 20px; /* パディング */
    border-radius: 50px; /* 丸みを帯びたボーダー */
    text-decoration: none; /* 下線を消す */
    font-weight: bold; /* フォントの太さ */
    transition: background-color 0.3s; /* 背景色の変化を滑らかに */
    margin-top: 3.125%;
}

.home-page-button:hover {
    background-color: #308128; /* ホバー時の背景色 */
    color: #fff;
}

/************************************
** お問い合わせフォームの入力
************************************/
/* 全体のフォームのスタイル */
.wpcf7 {
    background-color: #e8f5e9; /* 薄い緑色の背景 */
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

/* ラベルのスタイリング */
.wpcf7 label {
    display: block;
    margin-bottom: 10px;
    color: #2e7d32; /* 濃い緑色 */
}

/* 入力フィールドのスタイリング */
.wpcf7 input, .wpcf7 textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #4caf50; /* 緑色の境界線 */
    border-radius: 4px;
}

/* ボタンのスタイリング */
.wpcf7 input[type="submit"] {
    background-color: #4caf50; /* 明るい緑色 */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* ボタンホバー時のスタイリング */
.wpcf7 input[type="submit"]:hover {
    background-color: #388e3c; /* より濃い緑色 */
}
/* 全体のレスポンシブ設定 */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 15px;
        font-size: 14px;
    }

    /* 入力フィールドのサイズ調整 */
    .wpcf7 input, .wpcf7 textarea {
        font-size: 16px; /* スマートフォンでのフォーム入力を容易にするため大きめに */
    }

    /* ボタンのサイズ調整 */
    .wpcf7 input[type="submit"] {
        padding: 12px 24px;
    }
}

/* さらに小さな画面での調整 */
@media (max-width: 480px) {
    .wpcf7 {
        font-size: 12px;
    }
}

/* 入力フィールドとボタンの幅調整 */
.wpcf7 input, .wpcf7 textarea, .wpcf7 input[type="submit"] {
    width: 100%; /* 全ての入力フィールドとボタンを親要素の100%の幅に */
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
}

/* フォーム全体のスタイリング */
.wpcf7 {
    background-color: #e8f5e9; /* 薄い緑色の背景 */
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    padding-left: 15px; /* 内側の左パディングを追加 */
    padding-right: 15px; /* 内側の右パディングを追加 */
}

/* ラベルのスタイリング */
.wpcf7 label {
    display: block;
    margin-bottom: 10px;
    color: #2e7d32; /* 濃い緑色 */
}

/* ボタンのスタイリング */
.wpcf7 input[type="submit"] {
    background-color: #4caf50; /* 明るい緑色 */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px; /* ボタンの上マージンを追加 */
}

/* ボタンホバー時のスタイリング */
.wpcf7 input[type="submit"]:hover {
    background-color: #388e3c; /* より濃い緑色 */
}

.wp-block-image img{
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    width: 100%;
}

.single-content{
    width: 65%;
    margin: 0 auto; /* 上下のマージンを0にし、左右のマージンを自動に設定して中央揃え */
    
}

.person img {
    width: 100px; /* 画像のサイズ指定 */
    height: 100px;
    border-radius: 50%; /* 円形にする */
    /* その他のスタイル */
  }
