/*
Theme Name:  Machiawase
Theme URI: https://cafe-machiawase.jp/
Description: 2026.02.05-
Version: 1.0
Author: Chiffote
Author URI: https://chiffote.jp/
*/


body {
	font-family: "Zen Kaku Gothic New", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color: #3b2517;
	font-size: 16px;
	line-height:1.75;
	letter-spacing:0.03em;
	text-align:justify;
  	font-weight: 400;
  	font-style: normal;
	background: #476b4b;
}
a {
	color: #3b2517;
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color:#d3914b;
}

::selection{background-color:#476b4b; color: #FFF;}
::-moz-selection{background-color:#476b4b; color: #FFF;}

body , header , footer{
	min-width: 1300px;
	max-width: 1920px;
	margin: auto;
}

@media screen and (max-width:640px) {
	body{font-size: 15px; line-height:1.8;}
	body,header,footer{min-width: 400px;}
}



/*============================================================================

	モーション　＊　文字が１文字ずつ出る

============================================================================*/
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 2s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}



/*============================================================================

	モーション　＊　wowオリジナル　fadeInUpMin

============================================================================*/
.fadeInUpMin {
    animation-name: fadeInUpMin;
}
@keyframes fadeInUpMin {
    from { opacity: 0; transform: translate3d(0, 10%, 0);}
    to { opacity: 1; transform: none;}
}



#loftloader-wrapper {
	min-width: 400px !important;
}
#loftloader-wrapper .loader-section.section-fade {
	min-width: 400px !important;
}




/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
	background: url("images/mv.jpg") center;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
#mainvisual::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: url("images/bg_01.png") repeat , rgba(0,0,0,.4);
    background-size: 4px 4px;
    z-index: 2; 
    pointer-events: none;
}
#main_title {
	position: relative;
	padding: 30px 8% 0;
	background: #e6e2de;
	border-radius: 40px 40px 0 0;
	text-align: center;
	z-index: 2;
}
#main_title h2 {
	font-size: 36px;
}
#main_title span {
	letter-spacing: 3px;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
	color: #d3914b;
}
#main_title::before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: -40px;
    background: url("images/bg_03.png") no-repeat;
    background-size: 41px 41px;
    width: 41px;
    height: 41px;
}
#main_title::after {
    position: absolute;
    content: "";
    bottom: -1px;
    right: -40px;
    background: url("images/bg_03.png") no-repeat;
    background-size: 41px 41px;
    width: 41px;
    height: 41px;
	transform: scaleX(-1);
}
@media screen and (max-width: 640px) {
    #mainvisual {
        height: 250px;
		background-size: cover;
    }
    #main_title {
		width: 85%;
        padding: 20px 0 0;
        border-radius: 20px 20px 0 0;
		position: relative;
        bottom: -1px;
        z-index: 10;
    }
    #main_title h2 {
        font-size: 22px;
		line-height: 1.7;
    }
    #main_title span {
        font-size: 12px;
		line-height: 1;
    }
    #main_title::before,#main_title::after {
        background-size: 20px 20px;
        width: 20px;
        height: 20px;
        bottom: 0px;
    }
    #main_title::before {
        left: -19px;
    }
    #main_title::after {
        right: -19px;
    }
}





/*==================================================================

	main

==================================================================*/
main {
	position: relative;
	background: #e6e2de;
	margin-top: -1px; 
    z-index: 5;
}
main #wrapper {
	width: 90%;
	max-width: 1200px;
	margin: auto;
	padding: 100px 0 120px;
}
main::before {
	position: absolute;
	content: "";
	background: url("images/wave_02.png") no-repeat right;
	bottom: 0;
	right: 0;
	background-size: 790px 150px;
	width: 790px; height: 150px;
	pointer-events: none;
}
@media screen and (max-width: 640px) {
	main {
		margin-top: -2px; 
	}
	main #wrapper {
		padding: 60px 0 60px;
	}
    main::before {
        background-size: contain;
        width: 100%;
        height: 80px;
    }
}





/*==================================================================

	 タイトル

==================================================================*/
h3 {
	position: relative;
	margin-bottom: 40px;
	padding-left: 100px;
	font-weight: 500;
	letter-spacing: 2px;
	display: flex;
	align-items: flex-end;
}
h3 p {
	font-size: 30px;
}
h3 em {
	position: relative;
	top: -3px;
	padding-left: 40px;
	font-size: 15px;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
	color: #d3914b;
}
h3::before {
	position: absolute;
	content: "";
	top: 3px;
	left: 0;
	background: url("images/h3.png") no-repeat;
	background-size: 72px 48px;
	width: 72px; height: 48px;
}
@media screen and (max-width: 640px) {
    h3 {
        padding-left: 70px;
        display: block;
		letter-spacing: 1px;
    }
    h3 p {
        font-size: 22px;
        display: inline-block;
    }
    h3 em {
        padding-left: 30px;
        font-size: 13px; 
        top: 0;
    }
    h3::before {
        background-size: 50px 33px;
        width: 50px;
        height: 33px;
        top: 5px;
    }
}





/*==================================================================

	text

==================================================================*/
.text {
	position:relative;
	margin-bottom:50px;
	line-height: 2.1;
}
.text p {
	margin-bottom:1em;
}
.text:last-child{
	margin-bottom:0;
}
.text a {
	color: #d3914b;
	text-decoration-line: underline;
  	text-underline-offset: 8px;
}
.text a:hover {
	color: #476b4b;
}





/*==================================================================

	btn

==================================================================*/
.btn {
	text-align: center;
}
.btn a {
	position: relative;
	display: inline-block;
	border: 1px solid #332312;
	padding: 15px 60px;
	border-radius: 30px;
	transition: 0.3s ease-out;
}
.btn a:hover {
	color: #FFF;
	border: 1px solid #332312;
	background: #332312;
}






/*==================================================================

		$ボードゲーム一覧

==================================================================*/

/*------------------------------検索エリア------------------------------*/
.game-search-area {
  	margin-bottom: 60px;
  	padding: 40px 60px;
  	border-radius: 15px;
  	background: #f4f2f1;
}
.search-form {
  	display: flex;
  	flex-direction: column;
  	gap: 20px;
}
@media screen and (max-width: 640px) {
    .game-search-area {
        margin-bottom: 40px;
        padding: 25px 20px;
        border-radius: 10px;
    }
}


/*---------- キーワード入力欄 ----------*/
.search-box {
  	display: flex;
  	gap: 10px;
}
.search-box input {
  	flex-grow: 1;
  	padding: 15px 20px;
  	border: 2px solid #f4f2f1;
  	border-radius: 5px;
}
.search-box button {
	width: 200px;
  	padding: 0 30px;
  	background: #333;
  	color: #fff;
  	border: none;
  	border-radius: 10px;
  	cursor: pointer;
  	font-weight: 700;
	font-size: 16px;
	font-family: "Zen Kaku Gothic New"
}
@media screen and (max-width: 640px) {
    .search-box {
        flex-direction: column;
    }
    .search-box input {
        padding: 12px 15px;
    }
    .search-box button {
        width: 100%;
        padding: 13px 0;
        border-radius: 8px;
    }
}


/*---------- セレクトボックス ----------*/
.filter-group {
  	display: flex;
  	gap: 20px;
}
.filter-item {
  	flex: 1;
  	display: flex;
  	flex-direction: column;
  	gap: 8px;
}
.filter-item label {
	margin-bottom: 0;
  	font-weight: 500;
}
.filter-item select {
  	padding: 15px;
  	border: 2px solid #f4f2f1;
  	border-radius: 5px;
  	background-color: #fff;
  	cursor: pointer;
	font-family: "Zen Kaku Gothic New"
}
@media screen and (max-width: 640px) {
    .filter-group {
        flex-direction: column;
        gap: 15px;
    }
    .filter-item select {
        padding: 12px; /* セレクトボックスも高さを調整 */
        font-size: 16px; /* iOSの自動ズーム防止 */
    }
}


/*---------- セレクトボックスと入力欄のクリック ----------*/
.game-search-area input:focus,
.game-search-area select:focus {
  	outline: none;
  	border-color: #a3a3a3;
  	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}
.search-form input[type="text"],
.search-form select {
    font-size: 16px;
}
.search-form input[type="text"]::placeholder {
    font-size: 16px;
    color: #aaa;
}
@media screen and (max-width: 640px) {
}

.search-form select {
    color: #333;
    -webkit-appearance: none;
    appearance: none;
}
.search-form select:focus {/* iOS Safari対策 */
    color: #333;
}
.search-form select option {/* 選択肢の色も指定 */
    color: #333;
}


/*------------------------------ゲーム一覧------------------------------*/
.games #top_gamelist {
	padding-top: 0;
	background: none;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 70px 0; 
    width: 100%;
	justify-content: space-between;
}
.games #top_gamelist::after {
    content: "";
    display: block;
    width: 31%;
    height: 0;
}
.games .article-item {
    position: relative;
    width: 31%;
    background: #f4f2f1;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
    display: block; 
  	margin: 0;
	padding-top: 0;
}
.games .article-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
@media screen and (max-width: 640px) {
    .games #top_gamelist {
        gap: 20px 0;
    }
    .games #top_gamelist::after {
        width: 48.5%; 
    }
    .games .article-item {
        width: 48.5%;
        border-radius: 5px;
    }
}


/*------------------------------写真＊正方形------------------------------*/
.games .article-item figure {
    position: relative;
    width: 100%;
	height: auto;
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
	border-radius: 0;
	border: none;
}
.games .article-item figure img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 640px) {
}



/*------------------------------コンテンツエリア------------------------------*/
.games .content-body {
    padding: 5px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0; 
}
.games .content-body dl {
    margin: 0 0 12px;
    min-width: 0;
	height: 130px;
}
.games .content-body dt {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.games .content-body dd {
    font-size: 13px;
}
@media screen and (max-width: 640px) {
    .games .content-body {
        padding: 5px 12px 15px;
    }
    .games .content-body dl {
        height: 125px; 
        margin-bottom: 10px;
    }
    .games .content-body dt {
        font-size: 14px;
    }
    .games .content-body dd {
        font-size: 11px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }
}


/*------------------------------カテゴリーリスト------------------------------*/
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}
.category-list span {
    font-size: 11px;
    color: #666;
    background: #e8e6e5;
    padding: 2px 6px;
    border-radius: 3px;
}
@media screen and (max-width: 640px) {
    .category-list {
        margin-bottom: 10px;
    }
    .category-list span {
        font-size: 10px;
        padding: 1px 4px;
    }
}


/*------------------------------プレイ人数タグ------------------------------*/
.player-info {
    margin-top: auto;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.player-info .label {
    font-size: 11px;
    font-weight: 500;
}
.player-info span:not(.label) {
    font-size: 10px;
    padding: 2px 5px;
    border: 1px solid #ddd;
    color: #ccc;
    border-radius: 3px;
}
.player-info span.active {
    color: #ed8f2c;
    border-color: #ed8f2c;
    font-weight: 700;
}
@media screen and (max-width: 640px) {
    .player-info {
        padding-top: 8px;
        gap: 4px;
    }
    .player-info .label {
        font-size: 9px;
        width: 100%; 
        margin-bottom: 2px;
    }
    .player-info span:not(.label) {
        font-size: 9px;
        padding: 1px 2px 1px 2px;
    }
}






/*==================================================================

		$news　＊　ゲームお知らせページ

==================================================================*/


/*------------------------------タイトル・画像------------------------------*/
/*news-headerとnews-imageは下部*/

.game-detail #news-image img {
  	width: 60%;
	min-width: 320px;
}
@media screen and (max-width: 640px) {
    .game-detail #news-image img {
        width: 100%;
        min-width: auto;
		max-width: 260px;
    }
}


/*------------------------------スペックエリア------------------------------*/
.game-spec {
    max-width: 100%;
    margin: 40px auto 40px;
    padding: 30px;
    background: rgba(255,255,255,.7);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.spec-label {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    width: 60px;
    letter-spacing: 1px;
	flex-shrink: 0;
	margin-top: 6px;
}
@media screen and (max-width: 640px) {
    .game-spec {
        padding: 20px 15px;
        margin: 30px auto;
    }
    .spec-item {
        flex-direction: column;
        gap: 10px;
		text-align: left;
    }
	.spec-item:nth-of-type(2) {
		border-top: 1px solid #ddd;
		padding-top: 20px;
	}
    .spec-label {
        width: 100%;
        margin-top: 0;
        font-size: 13px;
    }
}


/*------------------------------カテゴリーリスト------------------------------*/
.game-spec .category-list {
    margin-bottom: 0;
}
.game-spec .category-list span {
    background: #f4f2f1;
    font-size: 12px;
    padding: 5px 12px;
}
.game-spec .player-info span {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
}
@media screen and (max-width: 640px) {
    .game-spec .category-list span {
        font-size: 11px;
        padding: 4px 10px;
    }
}


/*------------------------------プレイ人数タグ------------------------------*/
.game-spec .player-info {
    border-top: none;
    padding-top: 0;
}
@media screen and (max-width: 640px) {
}






/*==================================================================

		$news　＊　お知らせページ

==================================================================*/
.news #top_news {
	padding: 0;
	background: none;
}
.news #top_news .inner {
	width: 100%;
}
.news #top_news ul {
	margin-bottom: 0;
	gap: 70px 0;
}
@media screen and (max-width:640px) {
}




/*------------------------------ ページネーション ------------------------------*/
.pagenum {
}

.pagenum ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagenum li {
    margin: 0;
}

.pagenum li a,
.pagenum li span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ホバー時 */
.pagenum li a:hover {
    background: #f4f2f1;
    border-color: #ccc;
}

/* 現在のページ */
.pagenum li span.current {
    background: #332312;
    border-color: #332312;
    color: #fff;
}

/* 前へ・次へ */
.pagenum li a.prev,
.pagenum li a.next {
    font-weight: bold;
}

/* ドット（...） */
.pagenum li span.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 5px;
}

/* スマホ用 */
@media screen and (max-width: 640px) {
    .pagenum {
        margin-top: 40px;
    }
    
    .pagenum li a,
    .pagenum li span {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }
    
    .pagenum ul {
        gap: 5px;
    }
}





/*==================================================================

		$お知らせ　＊　投稿ページ(single.php)

==================================================================*/
article {
  	max-width: 1000px;
	margin: auto;
  	padding: 80px 80px;
	box-sizing: border-box;
  	background: #f4f2f1;
  	border-radius: 50px;
  	/*min-height: 100vh;*/
}
@media screen and (max-width: 640px) {
    article {
        padding: 40px 20px;
        border-radius: 25px;
    }
}


/*------------------------------日付・タイトル------------------------------*/
#news-header {
  	margin-bottom: 40px;
  	text-align: center;
}

#news-header .date {
	font-size: 17px;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
	font-weight: 400;
	color: rgba(25,66,30,.9);
	letter-spacing: 2px;
}
#news-header h1 {
  	font-size: 28px;
  	margin: 15px 0;
  	line-height: 1.6;
	font-weight: 500;
}
@media screen and (max-width: 640px) {
    #news-header {
        margin-bottom: 30px;
    }
    #news-header .date {
        font-size: 14px;
    }
    #news-header h1 {
        font-size: 19px; 
        margin: 10px 0;
    }
}


/*------------------------------画像------------------------------*/
#news-image {
  margin-bottom: 40px;
}
#news-image img {
	display: block;
  	max-width: 80%;
  	height: auto;
	margin: auto;
}
@media screen and (max-width: 640px) {
    #news-image {
        margin-bottom: 30px;
    }
    #news-image img {
        max-width: 100%;
    }
}


/*------------------------------本文のデザイン------------------------------*/
article .text h1 { /*シンプル*/
  	margin: 60px 0 20px;
  	font-size: 28px;
	letter-spacing: 1px;    
	line-height: 1.6;
    font-weight: 500;
}
article .text h2 { /*シンプル*/
  	margin: 60px 0 20px;
  	font-size: 24px;
	letter-spacing: 1px;  
	line-height: 1.6;
    font-weight: 500;
}
article .text h4 { /*シンプル*/
  	margin: 60px 0 15px;
  	font-size: 20px;
	letter-spacing: 1px;  
	line-height: 1.6;
    font-weight: 500;
}
article .text h5 { /*シンプル*/
  	margin: 60px 0 15px;
  	font-size: 20px;
	letter-spacing: 1px;  
	line-height: 1.6;
    font-weight: 500;
	color: #173B1B;
}
@media screen and (max-width: 640px) {
    article .text h1 {
        margin: 40px 0 20px; 
        font-size: 22px;
        line-height: 1.5;
    }
    article .text h2 {
        margin: 40px 0 20px;
        font-size: 20px; 
        line-height: 1.5;
    }
    article .text h4 {
        margin: 30px 0 15px;
        font-size: 16px;
        line-height: 1.6;
    }
    article .text h5 {
        margin: 30px 0 15px;
        font-size: 16px; 
        line-height: 1.6;
    }
}



article .text h3 { /*もぐらさん*/
	padding-left: 80px;
  	margin: 60px 0 20px;
  	font-size: 22px;
	letter-spacing: 1px;
}
article .text h3::before {
	position: absolute;
	content: "";
	top: 4px;
	background: url("images/h3.png") no-repeat;
	background-size: 60px auto;
	width: 60px; height: 42px;
}
@media screen and (max-width: 640px) {
    article .text h3 {
        padding-left: 55px;
        margin: 40px 0 20px;
        font-size: 17px;
		line-height: 1.8;
    }
    article .text h3::before {
        background-size: 45px auto;
        width: 45px;
        height: 32px;
        top: 1px;
    }
}


/* テーブルの基本設定 */
article .text table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse; /* 枠線を1本にまとめる */
    border-spacing: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
article .text table th, article .text table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: middle;
}
article .text table tr td:first-child {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}
article .text table tr:nth-child(even) {
    background-color: #fdfdfd;
}

@media screen and (max-width: 600px) {
    article .text table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}




/*------------------------------戻るボタン------------------------------*/
.back-to-list {
  margin-top: 60px;
  text-align: center;
}
@media screen and (max-width: 640px) {
    .back-to-list {
        margin-top: 40px;
    }
}






/*==================================================================

		$お問い合わせページ　＊　Contact Form 7カスタマイズ

==================================================================*/
.mail-form {
	max-width: 800px;
  	margin: 0 auto;
	padding: 50px 80px;
	background: #f4f2f1;
	border-radius: 40px;
}
.form-group {
  	margin-bottom: 30px;
}
label {
  	display: flex;
  	align-items: center;
  	font-size: 17px;
  	margin-bottom: 12px;
}
@media screen and (max-width: 640px) {
    .mail-form {
        padding: 40px 20px;
        border-radius: 25px;
    }
    label {
        font-size: 15px;
        flex-wrap: wrap;
        gap: 5px;
    }
}



.wpcf7 br {
  display: none;
}
::placeholder {
  font-family: "Zen Kaku Gothic New";
  color: #aaa;
  font-weight: normal;
  opacity: 1;
}


/*------------------------------ 入力エリア ------------------------------*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 select, 
.wpcf7 textarea {
  width: 100%;
  padding: 16px 30px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #fff;
  box-sizing: border-box;
  font-size: 16px; 
  color: #333;
  -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #a3a3a3;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}
@media screen and (max-width: 640px) {
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
	.wpcf7 input[type="date"],
    .wpcf7 select, 
    .wpcf7 textarea {
        padding: 14px 15px;
        font-size: 16px;
    }
}



/*------------------------------ セレクトボックス ------------------------------*/
select {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #fff;
  appearance: none; /* デフォルトの矢印を消す */
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  cursor: pointer;
}
select option {
  font-size: 16px;
}


/*------------------------------ ラジオボタンをカード風にする ------------------------------*/
.radio-group .wpcf7-radio {
    display: flex;
    gap: 10px;
}
.radio-group .wpcf7-list-item {
    margin: 0;
}
.radio-group .wpcf7-list-item label {
    display: block;
    width: 150px;
    padding: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}
.radio-group .wpcf7-list-item input[type="radio"] {
    display: none;
}
.radio-group .wpcf7-list-item input[type="radio"]:checked + span,
.radio-group .wpcf7-list-item label:has(input:checked) {
    background: #6c9571;
    color: #fff;
    border-color: #6c9571;
}
@media screen and (max-width: 640px) {
    .radio-group .wpcf7-radio {
        display: flex;
        gap: 10px;
    }
    .radio-group .wpcf7-list-item {
        flex: 1; 
    }    
    .radio-group .wpcf7-list-item label {
        width: 100%;
        font-size: 15px;
        padding: 15px 5px;
        box-sizing: border-box;
    }
}

/*------------------------------ 日付フィールド対策 ------------------------------*/
.wpcf7 input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    color: #333;
    min-height: 50px;
    padding-right: 45px;
}

.wpcf7 input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

/* デフォルトのカレンダーアイコンを透明にして、タップは有効のまま */
.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

@media screen and (max-width: 640px) {
    .wpcf7 input[type="date"] {
        min-height: 50px;
        padding-right: 45px;
    }
}


/*------------------------------ 必須 ------------------------------*/
.haveto {
	position: relative;
	top: 1px;
	margin-right: 15px;
	padding: 3px 15px 3px;
	background: #476b4b;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
}
@media screen and (max-width: 640px) {    
	.haveto {
        margin-right: 8px;
        padding: 2px 10px;
    }
}

/*------------------------------ 任意 ------------------------------*/
.any {
	position: relative;
	top: 1px;
	margin-right: 15px;
	padding: 3px 15px 3px;
	background: #d3914b;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
}
@media screen and (max-width: 640px) {    
	.any {
        margin-right: 8px;
        padding: 2px 10px;
    }
}

/*------------------------------ 送信ボタン ------------------------------*/
.wpcf7 input[type="submit"] {
  display: block;
  width: 400px;
  margin: 20px auto 0;
  padding: 15px 0;
  border: none;  /* ←追加：デフォルトのborderを消す */
  border-radius: 20px;
  background-color: #332312;
  font-family: "Zen Kaku Gothic New";
  font-size: 16px;
  color: #FFF;
  cursor: pointer;
  transition: 0.3s ease-out;
}
.wpcf7 input[type="submit"]:hover {
  background-color: #000;
  border-radius: 40px;
  transform: translateY(-2px);
}

/* スマホ用も変更 */
@media screen and (max-width: 640px) {
    .wpcf7 input[type="submit"] {
        width: 100%; 
        padding: 18px 0;
        font-size: 17px;
    }
}










