/*
Theme Name: アトランタ日本人コミュニティ
Theme URI: https://example.com/
Author: futada
Author URI: https://example.com/
Description: アトランタ在住の日本人向け情報コミュニティ
Version: 1.0
*/

body{
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
    background-color: #fefefe;
}

.sh_only{
  display: none;
}
@font-face {
  font-family: 'KouzanBrushFont';
  src: url('font/衡山毛筆フォント.ttf') format('woff2'),
        url('font/衡山毛筆フォント.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
}
#top_wrapper{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 30px;
    background-image: url(img/backimg_top.png);
    background-repeat: no-repeat;
    background-size: cover;
}
a{
  color: #000;
  text-decoration: none;
}
a:visited{
    color: #0000;
}
li{
  text-decoration: none;
}
/*免責文*/
.notes{
  margin: 10px auto;
  color: red;
  width: fit-content;
}

/*ロゴの配置*/
.logo{
    position: absolute;
    top: 20px;
    left: 120px;
    padding: 10px;
}
.logo h1{
    margin: 0;
    font-size: 24px;
    color: #333;
}
/*メインメニュー*/
.vertical_menu {
  position: absolute;
  top: 35px;
  right: 5%;
  opacity: .8;
  writing-mode: vertical-rl;
  text-orientation: upright;
  background: #f8f4e6;
  border: 2px solid #bfa46f;
  padding: 20px 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}
.vertical_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vertical_menu li {
  margin-bottom: 20px;
  font-size: 2em;
  padding: 25px;
  transition: background-color 0.3s;
  cursor: pointer;
}
.vertical_menu li:hover {
  background-color: #eae0c8;
}
.bottom_area{
  position: absolute;
  top: 87vh;
  width: 100%;
}
.sub_menu{
  position: absolute;
  width: 100%;
  height: fit-content;
  background-color: #f8f4e6;
  border-top: 2px solid #bfa46f;
  padding: 10px 0;
}
.sub_menu ul{
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}
.sub_menu li{
  flex: 1;
  text-align: center;
  font-size: 1.5em;
  padding: 10px 0;
  border-right: 1px solid #bfa46f;
  cursor: pointer;
  transition: background-color 0.3s;
}
.sub_menu li:last-child{
  border-right: none;
}
.sub_menu li:hover{
  background-color: #e0e0e0;
}

/*ニュースエリア*/
#news_wrapper{
  width: 100%;
  margin-bottom: 100px;
  padding-top: 30px;
}
.news_area{
  width: 80%;
  min-height: 200px;
  background-color: #f8f4e6;
  margin: 0 auto 100px auto;
  padding-bottom: 20px;
}
.news_area h2{
  padding: 20px 0 0 20px;
}
.news_list{
  list-style: none;
  padding: 10px 20px;
  margin: 0;
}
.news_list li{
  padding: 10px 0;
  border-bottom: 1px dashed #d6c8a6;
  font-size: 1em;
  line-height: 1.8;
}
.news_list li:last-child{
  border-bottom: none;
}
.news_label{
  display: inline-block;
  background: linear-gradient(135deg, #d4a574 0%, #a67c52 100%);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
  margin-right: 12px;
  box-shadow: 0 3px 8px rgba(166, 124, 82, 0.4);
  border: 2px solid #f8f4e6;
  letter-spacing: 0.5px;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

.news_label_column{
  background: linear-gradient(135deg, #7ba8b8 0%, #527a8d 100%);
  box-shadow: 0 3px 8px rgba(82, 122, 141, 0.4);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(166, 124, 82, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(166, 124, 82, 0.6);
  }
}

.news_date{
  color: #666;
  font-size: 0.9em;
  margin-right: 10px;
}
.news_list li a{
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}
.news_list li a:hover{
  color: #8b5e3c;
  text-decoration: underline;
}
.slogan{
  font-family: 'KouzanBrushFont', 'Yu Mincho', serif;
  src: url(font/衡山毛筆フォント.ttf)format('truetype');
  width: max-content;
  margin: 0 auto;
  font-size: 2vw;
}

/*コンセプトエリア*/
#aboutUs_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 5%;
  background-color: #f8f4e6;
  border-top: 1px solid #d6c8a6;
  border-bottom: 1px solid #d6c8a6;
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  margin-bottom: 100px;
}

.about_left_area {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 40px;
}

.about_left_area img {
  width: 100%;
  height: auto;
  max-width: 300px;
  border: 2px solid #c7b186;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.about_right_area {
  flex: 7;
}

.about_writing p {
  font-size: 1.1em;
  line-height: 2;
  color: #4a3b28;
  background-color: #fefaf0;
  padding: 25px;
  border-left: 6px solid #bfa46f;
  border-radius: 8px;
}

/*フッター*/
.site_footer {
    background-color: #f8f4e6;
    border-top: 2px solid #bfa46f;
    font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
    color: #4a3f2b;
    padding-top: 30px;
    padding-bottom: 10px;
}

.footer_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer_logo h2 {
    margin: 0;
    font-size: 20px;
    color: #3b2f1c;
}
.footer_logo p {
    margin-top: 5px;
    font-size: 14px;
}

.footer_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_nav a {
    text-decoration: none;
    color: #4a3f2b;
    font-size: 14px;
}

.footer_nav a:hover {
    color: #8b6f47;
    text-decoration: underline;
}

.footer_bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
    color: #8b8066;
}

/*ログインコンテンツ*/
.um:not(.um-admin) {
  opacity: 1 !important;
  visibility: visible !important;
}

#stock_qty {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
}

/* ログインボタン */
.auth-links .btn.login:hover {
    background-color: #a1724c;
    transform: translateY(-2px);
}

/* 新規登録ボタン */
.auth-links .btn.register {
    background-color: #f8f5f2; /* 和紙ベージュ */
    color: #5a3b1e;
    border: 2px solid #8b5e3c;
}

.auth-links .btn.register:hover {
    background-color: #f1e7df;
    border-color: #a1724c;
    transform: translateY(-2px);
}

/* 📱 スマホ対応 */
@media (max-width: 768px) {
    .auth-links {
        flex-direction: column;
        gap: 0.8em;
    }
    .auth-links .btn.login {
    background-color: #8b5e3c; /* 焦げ茶ベース */
    color: #fff;
}
    .auth-links .btn.register{
      display: inline !important;
    }

    .auth-links .btn {
        width: 80%;
        text-align: center;
        padding: .5em 1em;
        font-size: 1.1rem;
        border-radius: 40% 100%;
    }
    .news_area{
      width: 90%;
      margin-top: 90px;
    }
}


/*コラム一覧ページ*/
/* ▼ 全体レイアウト */
.wp-wafuu-tabs {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  max-width: 900px;
  margin: 100px auto 0 auto;
}

/* ▼ タブボタン */
.wp-wafuu-tabs .tab-buttons {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  border-bottom: 3px solid #8B4513; /* 濃茶ライン */
}

.wp-wafuu-tabs .tab-btn {
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  background: #f5f0e6; /* 和紙風ベージュ */
  margin: 0 0.2rem;
  border-radius: 6px 6px 0 0;
  border: 1px solid #8B4513;
  border-bottom: none;
  font-weight: bold;
  color: #5c4033;
  transition: 0.3s;
}

.wp-wafuu-tabs .tab-btn.active {
  background: #fff;
  border-bottom: 3px solid #fff;
  color: #000;
}

/* ▼ コンテンツ */
.wp-wafuu-tabs .tab-content {
  display: none;
  background: #fff;
  border: 1px solid #8B4513;
  border-top: none;
  padding: 1.5rem;
}

.wp-wafuu-tabs .tab-content.active {
  display: block;
}

/* ▼ 記事リスト */
.wp-wafuu-tabs .post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-wafuu-tabs .post-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dotted #c8b7a6;
  font-size: 1rem;
}

.wp-wafuu-tabs .post-list li a {
  text-decoration: none;
  color: #333;
  margin-left: 0.5rem;
}

.wp-wafuu-tabs .post-list li a:hover {
  color: #8B4513; /* 茶色でホバー */
}

.wp-wafuu-tabs .post-date {
  font-size: 0.85rem;
  color: #666;
}

/*商品一覧ページ*/
#sidebar{
  display: none !important;
}

/*********************************************交流掲示板***********************/
.wpf-post-head-top{
  display: none !important;
}
.wpf-author-nicename{
  display: none !important;
}
i.fas.fa-star{
  display: none !important;
}
.author-joined{
  display: none !important;
}
#mceu_25{
  display: none !important;
}
#mceu_31-0{
  display: none !important;
}
.wpf-topic-tags{
  display: none !important;
}
.wpf-topic-sbs{
  display: none !important;
}
.fa-pen-alt{
  display: none !important;
}
.wpf-head-bar{
  border-left: 0px !important;
}
i.fas.fa-circle.wpfsx.wpfcl-0{
  display: none !important;
}
.author-title{
  display: none !important;
}
.author-rating-full-stars{
  display: none !important;
}
.wpf-main-fields{
  display: none !important;
}
.wpf-field.wpf-field-type-text.wpf-field-name-title.wpf-field-required{
  display: none !important;
}
.author-posts-count{
  display: none !important;
}
.wpforo-action-buttons-wrap{
  display: none !important;
}
#wpforo #wpforo-wrap .wpforo-post-head .wpf-post-head-bottom{
  display: none;
}
#wpforo #wpforo-wrap .wpf-button, .wpf-button{
  border: 0px !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom{
  display: none !important;
}
.wpfcl-5{
  display: none !important;
}
#approvetext5{
  display: none;
}
.bright{
  display: none !important;
}
.wpforo-feed{
  display: none !important;
}
.wpf-post-head-bottom{
  display: none !important;
}
#wpforo #wpforo-wrap #wpforo-footer{
  display: none;
}
#wpforo #wpforo-wrap .wpforo-topic-footer{
  display: none;
}
#wpforo #wpforo-wrap #wpforo-menu{
  display: none !important;
}
#wpforo #wpforo-wrap .wpf-sbtn{
  display: none !important;
}
#wpforo #wpforo-wrap #wpforo-stat-body .wpf-last-info.wpf-footer-box{
  display: none;
}
#wpforo #wpforo-wrap .wpf-action-link{
  display: none;
}
#wpforo #wpforo-wrap .wpf-admincp{
  display: none !important;
}
#wpforo #wpforo-wrap .wpf-head-bar .wpf-head-bar-right{
  float: none !important;
}
#wpforo #wpforo-wrap .wpf-head-bar-right{
  display: block !important;
}
.author-posts-count{
  display: none !important;
}
.wpf-post-starter{
  display: none !important;
}

/*レスポンシブ対応トップページ*/
body{
  position: absolute;
}
@media(max-width: 768px){
  main{
    margin-top: 100px;
  }

  #main-content{
    width: 90vw;
    margin: 100px auto 0 auto;
  }
  .pc_only{
    display: none;
  }
  .sh_only{
    display: block;
  }
  #top_wrapper{
    height: 90vh;
  }
  .right-area-mobil{
    width: 100%;
    height: 80px;
    position: absolute;
    border-radius: 0 0 50px 50px;
    background-color: #f8f4e6;
    z-index: 999;
  }
  .menu-trigger {  position: absolute;   /* ヘッダー内で位置を固定 */
    top: .5rem;
    right: 1rem;
    z-index: 1001;
    background: #b59a6f; /* 和風ブラウン */
    color: #fff;
    border: 2px solid #b59a6f;
    border-radius: 30px;
    padding: 0.3rem 0.5rem;
    font-size: 1.4rem;
  }

/*スマホ用グローバルメニュー*/
header{
  width:100vw;
  height:80px;
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  background:#000;
  box-shadow: 0 0 10px #000;
  overflow:hidden;
  backface-visibility: hidden;
  transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1); 
  transition-delay: 400ms;
}

.menu-overlay li a{
  color: white;
}
.menu-overlay li a:visited{
  color: white;
}

/*let your hair down and show the goods*/
header.shownav{
  width:320px;
  height: 500px;
  z-index: 100;
  transition: height 0.4s ease;
}
header.shownav.submenu-open {
  height: 1000px;
}

nav{
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.2);
  
}

.dc-menu-trigger {
  position: absolute;
  top: 15px;
  left: 15px;
  display: block;
  width: 28px;
  height: 50px;
  cursor: pointer;
  z-index: 30;
  transition: all 0.5s cubic-bezier(0.7, 0, 0.36, 0.63);
  transition-delay: 600ms;
}

.dc-menu-trigger span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  margin-top: -2px;
  background-color: #fff;
  font-size: 0px;
  user-select: none;
  transition: background-color 0.5s;
}

body.dc-menu-open .dc-menu-trigger span {
  background-color: transparent;
}

body.dc-menu-open .dc-menu-trigger {
  left:88%; 
  transition: all 0.4s cubic-bezier(0.7, 0, 0.36, 0.63);
}

.dc-menu-trigger span:before,
.dc-menu-trigger span:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  content: '';
  transition: all 0.5s cubic-bezier(0.7, 0, 0.36, 0.63);
}

.dc-menu-trigger span:before {
  transform: translateY(-250%);
}

.dc-menu-trigger span:after {
  transform: translateY(250%);
}

/*Just bust a move*/
.dc-menu-open .dc-menu-trigger span:before {
  transform: translateY(0) rotate(45deg);
}

.dc-menu-open .dc-menu-trigger span:after {
  transform: translateY(0) rotate(-45deg);
}


.dc-menu-close .dc-menu-trigger:before {
  animation: plusVertical 0.3s ease forwards;
}

.dc-menu-close .dc-menu-trigger:after {
  animation: plusHorizontal 0.3s ease forwards;
}

.menu-overlay {
  z-index: 10;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  background: none;
}

.menu-overlay.open {
  background:#000;
  height: 100%;
}

.menu-overlay ul {
  position: absolute;
  visibility: hidden;
  list-style-type:none;
  top: -40%;
  left: 0;
  width: 100%;
  padding: 0;
  opacity: 0;
  display: table-cell;
  vertical-align: middle;
  transition: all 0.6s cubic-bezier(0.7, 0, 0.36, 0.63);
  transform: perspective(600px) rotateX(20deg) rotateY(-20deg);
}

.menu-overlay ul li{
  text-align:center;
  font-size:1rem;
  font-weight:100;
  margin:30px 0;
  text-transform:uppercase;
  letter-spacing:5px;
  position: relative;
}

.menu-overlay ul li:after {
  content:"";
  display:block;
  width:30px;
  height:1px;
  background:#333;
  margin:10px auto 0 auto;
}

.menu-overlay ul li:hover {
  color:#eee;
  cursor:pointer;
}

.menu-overlay.open ul {
  top: 40px;
  left:0;
  visibility: visible;
  opacity: 1;
  margin-top: 0;
  transform: perspective(600px) rotateX(0deg) rotateY(0deg);
  transition: all 0.6s cubic-bezier(0.7, 0, 0.36, 0.63);
  transition-delay: 400ms;
}


/*
  Content
*/
div#content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px;
  overflow: scroll;
  background: #fcfeff;
  border-radius: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-box-shadow: -3px 0 6px #4a5562;
  -webkit-box-shadow: -3px 0 6px #4a5562;
  box-shadow: -3px 0 6px #4a5562;
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  transition: all 300ms;
}
div#content div.menu-trigger {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  background: #dfe5eb;
  cursor: pointer;
  border-radius: 5px;
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  transition: all 300ms;
}
div#content div.menu-trigger:before {
  content: '\e801';
  display: inline-block;
  width: 36px;
  height: 36px;
  color: black;
  font-family: "ico";
  font-style: normal;
  font-size: 1.2em;
  font-weight: normal;
  font-variant: normal;
  text-align: center;
  text-transform: none;
  line-height: 36px;
}
div#content div.menu-trigger:hover {
  background: #556270;
}
div#content div.menu-trigger:hover:before {
  color: #fcfeff;
}

body.menu-active div#content {
  left: 284px;
  border-radius: 7px 0 0 7px;
}

body.menu-active div#content .menu-trigger {
  left: 294px;
  transition: max-height 2s ease
}  

/* サブメニュー共通スタイル */
/* === サブメニュー初期状態 === */
.menu-overlay ul li ul.sub-menu {     /* サブメニューの配置 */
  visibility: visible;   /* 親ulのvisibilityの影響を受けない */
  opacity: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;         /* ← 初期状態は閉じる */
  overflow: hidden;      /* ← これがないと max-height が効かない */
  transition: max-height 0.4s ease;
}

/* === 開いた状態 === */
.menu-item-has-childr.open > .sub-menu {
  max-height: 500px;
  position: static;
}

/* === 見た目調整 === */
.sub-menu li a {
  display: block;
  padding: 0.5em 1em;
  background: rgba(255,255,255,0.05);
  color: #fff;
}


/* メインメニューの上マージン */
.menu {
  margin-top: 70px;
}

  #aboutUs_wrapper{
    display: block;
  }
  .about_left_area{
    padding-right: 0;
  }
  .about_writing p{
    border-top: 6px solid #bfa46f;
    border-left: 0;
  }
  .slogan{
    font-size: 5vw;
  }

  @media screen and (max-width: 768px) {
    .menu-toggle {
      display: block;
      background: #b59a6f;
      color: #fff;
    }
    #wpforo #wpforo-wrap .wpf-button, .wpf-button{
      width: fit-content;
    }
    .wpforo-post-content{
      display: contents;
    }
  }

    .wp-wafuu-tabs .tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #fdf6e3; /* 和紙っぽい */
    border-top: 2px solid #b59a6f;
    border-bottom: 2px solid #b59a6f;
  }

  .wp-wafuu-tabs .tab-btn {
    flex: 1 1 45%; /* スマホでは2列並び */
    text-align: center;
    padding: 0.6rem 0.4rem;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #d9c7a7;
    border-radius: 6px;
    font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
    color: #3b2f2f;
    transition: background 0.3s;
  }

  .wp-wafuu-tabs .tab-btn.active,
  .wp-wafuu-tabs .tab-btn:hover {
    background: #e4d7b7;
    border-color: #b59a6f;
  }

  .wp-wafuu-tabs .tab-content {
    padding: 1rem;
    border: 1px solid #d9c7a7;
    border-top: none;
    background: #fff;
  }
  .wp-wafuu-tabs .tab-btn {
  border-bottom: 3px solid transparent;
  }
  .wp-wafuu-tabs .tab-btn.active {
    border-bottom: 3px solid #6b4226; /* 濃い茶色で強調 */
  }

  /*プロフィールページ*/
  #data-personal-li{
    display: none;
  }
  .bp-personal-sub-tab{
    display: none;
  }
  #profile-personal-li{
    display: none;
  }
  .bp-personal-sub-tab{
    display: none;
  }
  .withdraw{
    display: none;
  }
  .settings{
    display: none;
  }

  /*会員登録ページ*/
  #submit{
    color: #32373c;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    margin-bottom: 40px;
    font-size: 1.125em;
  }
  .bp-heading{
    display: none;
  }
  aside.bp-feedback.bp-messages.info{
    display: none;
  }
}

/* ====================================
   Contact Form 7 和風スタイル
   ==================================== */

/* フォーム全体のコンテナ */
.wpcf7 {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: linear-gradient(to bottom, #fefefe 0%, #f8f4e6 100%);
  border: 2px solid #d4a574;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(166, 124, 82, 0.15);
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
}

/* ラベル */
.wpcf7 label {
  display: block;
  margin-bottom: 8px;
  color: #5a4a3a;
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 1px;
}

/* 必須マーク */
.wpcf7 .wpcf7-form-control-wrap::before {
  content: '※';
  color: #d4a574;
  margin-right: 4px;
  font-weight: bold;
}

/* 入力フィールド共通スタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 24px;
  border: 2px solid #d4a574;
  border-radius: 4px;
  background-color: #ffffff;
  font-size: 1em;
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* フォーカス時のスタイル */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #a67c52;
  background-color: #fffef8;
  box-shadow: 0 0 8px rgba(212, 165, 116, 0.3);
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.8;
}

/* プレースホルダー */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #b0a090;
  font-style: italic;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 30px auto 0;
  padding: 16px 40px;
  background: linear-gradient(135deg, #d4a574 0%, #a67c52 100%);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 2px;
  border: 2px solid #f8f4e6;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
}

.wpcf7 input[type="submit"]:hover {
  background: linear-gradient(135deg, #a67c52 0%, #d4a574 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 124, 82, 0.4);
}

.wpcf7 input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(166, 124, 82, 0.3);
}

/* チェックボックスとラジオボタン */
.wpcf7 .wpcf7-list-item {
  margin: 8px 0;
  display: block;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  width: auto;
  margin-right: 8px;
  accent-color: #d4a574;
}

.wpcf7 .wpcf7-list-item-label {
  color: #5a4a3a;
  font-size: 0.95em;
  cursor: pointer;
}

/* 検証エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #c44569;
  font-size: 0.9em;
  margin-top: -20px;
  margin-bottom: 16px;
  display: block;
  padding: 8px 12px;
  background-color: #ffe8e8;
  border-left: 3px solid #c44569;
  border-radius: 3px;
}

/* 送信成功・エラーメッセージ */
.wpcf7-response-output {
  margin: 20px 0 0;
  padding: 16px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
}

.wpcf7-mail-sent-ok {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 2px solid #81c784;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background-color: #ffe8e8;
  color: #c44569;
  border: 2px solid #ef9a9a;
}

/* スピナー（送信中アイコン） */
.wpcf7 .ajax-loader {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
  border: 3px solid #f8f4e6;
  border-top: 3px solid #d4a574;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 承認チェックボックス */
.wpcf7-acceptance .wpcf7-list-item {
  background-color: #fff9f0;
  padding: 12px;
  border: 1px solid #d4a574;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 24px 16px;
    margin: 20px 16px;
  }
  
  .wpcf7 input[type="submit"] {
    max-width: 100%;
    font-size: 1em;
    padding: 14px 32px;
  }
}