/*
Theme Name: Food Voice News
Theme URI: https://example.com/food-voice-news
Description: A WordPress theme for Food Voice News website
Version: 1.0
Author: Food Voice Team
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*画像 */
img.alignright {
	display: block;
	margin: 0 0 0 auto;
}

img.alignleft {
	display: block;
	margin: 0 auto 0 0;
}

img.aligncenter {
	display: block;
	margin: 0 auto;
}

img.float-left {
	float: left;
}

img.float-right {
	float: right;
}

.wp-caption {
	text-align: center;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 500px) {
		.sponly{
				display:none !important;
		}
		.alignleft {
				float: left;
				font-size: 1.5em;
		}

		.alignright {
				float: right;
				font-size: 1.5em;
		}

		.search-form {
				font-size:18px;
		}

		.gtranslate_wrapper span{
				font-size:18px !important;
		}

		.menu-item-has-children{
				position: relative;
				display: inline-block;
		}

		.sub-menu{
				display: none;
				position: absolute;
				background-color: #f9f9f9;
				min-width: 200px;
				box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
				padding: 12px 10px;
				z-index: 1;
		}

		.menu-item-has-children:hover .sub-menu{
				display: block;
		}
}

@media (max-width: 500px) {
    .pctab{
				display:none;
    }
    .sponly{
				display:block;
    }
    .st-pagelink .page-numbers {
				padding:5px 6px;
    }

		img.alignright {
				margin-left: auto;
				margin-right: auto;
				font-size: 1.5em;
		}
		img.alignleft {
				margin-left: auto;
				margin-right: auto;
				font-size: 1.5em;
		}

		.sp_search {
				text-align: center;
		}

		.search-form {
				margin: auto;
				margin-bottom: 15px;
		}
		
		.gtranslate_wrapper {
				margin-bottom: 15px;
		}

		.totop2 a {
				color: #000;
				text-decoration: none;
				font-size: 15px;
				padding: 0 10px;
				transition: color 0.3s;
		}

		.totop2 a:hover {
				color: #0066cc;
		}

}

@media (min-width: 781px) {
		.smanone {
				display: block;
		}

		.pcnone {
				display: none;
		}
}

@media (max-width: 781px) {
		.smanone {
				display: none;
		}

		.pcnone {
				display: block;
		}
}


body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
		max-width: 1200px;
		margin: 0 auto;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: #fff;
/*    border-bottom: 1px solid #ddd; */
}

.header-top {
    padding: 10px 0;
		margin-bottom: -23px;
/*    border-bottom: 1px solid #eee; */
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 500px) {
		.header-right {
				display: flex;
				justify-content: center;
				gap: 10px;
		}

		.gtranslate_wrapper {
				margin-top: 5px;
		}
}

.date-time {
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s;
}

.since {
		color: #333;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s;
}

.header-main {
    padding: 20px 0;
    text-align: center;
}

.site-title {
    font-size: min(13vw, 156px) !important;
    font-weight: bold;
		font-family: "Impact", "Anton" ;
    margin-bottom: 5px;
		border-top: 12px solid #000000;
		border-bottom: 12px solid #000000;
}

.site-title2 {
    font-size: min(8vw, 100px) !important;
    font-weight: 500;
		font-family: "ふみゴシック", "Fumi Gothic", "M PLUS 1p", sans-serif;
    margin-bottom: 5px;
		border-top: 12px solid #000000;
		border-bottom: 12px solid #000000;
}

.title-free {
    font-size: min(4vw, 50px) !important;
}

.site-title a {
    color: #000;
    text-decoration: none;
}

.site-title2 a {
    color: #000;
    text-decoration: none;
}

.site-description {
    font-size: 25px;
    color: #000;
}

.search-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
/*		margin-right: 80px; */
}

.search-form {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 5px 15px;
    max-width: 300px;
}

.search-field {
    border: none;
    background: none;
    padding: 5px;
    width: 250px;
    outline: none;
}

.search-submit {
    border: none;
    background: none;
    cursor: pointer;
}

.google-translate {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.page-header {
		max-width:1200px;
		width:100%;
		position:absolute;
		display: flex;
		justify-content: center;
		align-items: center;  
}

/* Navigation */
@media (min-width: 500px) {
		.main-navigation {
				background-color: #ffffff;
				/* border-bottom: 1px solid #ddd; */
		}

		.search-box-right {
				display: flex;
				justify-content: right;
				margin-right: 22px;
		}

		.nav-menu {
				display: flex;
				list-style: none;
				justify-content: center;
				padding: 15px 0;
		}

		.nav-menu li {
				margin: 0 15px;
				list-style: none;
		}

		.nav-menu a {
				color: #333;
				text-decoration: none;
				font-weight: 500;
				padding: 5px 10px;
				transition: color 0.3s;
		}

		.nav-menu a:hover {
				color: #0066cc;
		}

		.nav-menu-fu {
				font-size:22px;
		}
}

.search-box {
		display: flex;
		justify-content: space-between;
		margin-top: -10px;
		margin-bottom: 10px;
}
		
.search-box-left {
		display: flex;
		justify-content: left;
		margin-left: 13px;
}

.totop a {
		color: #333;
		text-decoration: none;
		font-size: 18px;
		padding: 0 10px;
		transition: color 0.3s;
}

.totop a:hover {
		color: #0066cc;
}
		
/* Main Content */
.site-main {
    padding: 0px 0;
}

.content-area {
    display: flex;
    gap: 30px;
}

.news-articles {
    flex: 2;
		margin-top:0px;
}

.sidebar {
    flex: 1;
}

/* Article Styles */
.news-article {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.article-content {
    display: flex;
    gap: 20px;
}

.article-image {
    flex: 0 0 150px;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.article-text {
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 15px;
}

.category_name {
    color: #0066cc;
    font-weight: bold;
}

.category_name a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

.date {
    color: #666;
}

.article-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
		font-weight: bold;
}

.article-title a {
    color: #000;
    text-decoration: none;
}

.article-title a:hover {
    color: #0066cc;
}

.article-excerpt {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}

.article-body {
		width: 100%;
}

/* Pagination */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination-links a,
.pagination-links span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
}

.pagination-links a:hover,
.pagination-links .current {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* Sidebar */
.sidebar-widget {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 5px;
}

.widget-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 5px solid #000000;
    padding-bottom: 5px;
}

.weekly-topics {
    list-style: none;
}

.weekly-topics li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.weekly-topics li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
}

.weekly-topics a {
    color: #333;
    text-decoration: none;
}

.weekly-topics a:hover {
    color: #0066cc;
}

.featured-image img,
.izakaya-sign img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.site-footer2 {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.company-profile h3 {
    margin-bottom: 10px;
}

.company-profile p {
    margin-bottom: 5px;
}

.company-profile a {
		color: #fff;
		text-decoration: none;
}

.company-profile a:hover {
		color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-area {
        flex-direction: column;
    }
    
    .article-content {
        flex-direction: column;
    }
    
    .article-image {
        flex: none;
        max-width: 200px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 5px 10px;
    }
    
    .search-area {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .news-article {
        padding: 15px 0;
    }
}

.topics_container {
  display: flex; /* これで横並び */
  justify-content: center; /* 中央寄せ（任意） */
  gap: 10px; /* 画像の間の余白（任意） */
}
.topics_container img {
  width: 33.3%; /* レスポンシブ対応 */
  height: auto;
}

/* スマートフォン版メニュー */


#nav-drawer {
  position: relative;
  margin-left: 18px;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display: none;0
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #000;/*線の色*/
  display: block;
  content: '';
  cursor: pointer;
}

#nav-open span:before {
  bottom: -8px;
}

#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 330px;/*最大幅（調整してください）*/
  height: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}


/*チェックが入ったらもろもろ表示*/
#nav-input:checked~#nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked~#nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
  z-index: 9998;
}

/*ハンバーガーメニューの中身もろもろ*/
.hamburger-top {
  position: relative;
  background-color: #000000;
  text-align: center;
  padding: 15px 15px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 5px;
  color: #fff;
}

.humburger-top .cancel{
    display: inline-block;
    padding: 10px 3px;
}

.cancel {
  display: inline-block;
  position: absolute;
  cursor: pointer;
  top: 15px;
  right: 20px;
  width: 5px;
  height: 30px;
  background: #fff;
  transform: rotate(45deg);
  z-index: 99;
}

.cancel:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 31px;
  height: 5px;
  margin-top: -3px;
  background: #fff;
}

/*中身次第で工夫してください　ここから*/
.top-info{
  padding: 10px 15px;
}
/*中身次第で工夫してください　ここまで*/

.cate-title {
  background-color: #000000;
  font-size: 22px;
  padding: 7px 10px;
  color: #fff;
  font-weight: bold;
}

.menu-container{
  padding: 5px 10px;
}
.menu-container li {
  float: none;
  font-size: 15px;
  padding: 10px 15px 10px 15px;
  list-style: none;
  text-align: left;
  border-bottom: dashed 1px #999;
}

.menu-container li:last-child {
  border: none;
}

.menu-container li a {
  text-decoration: none;
  color: #000;
}

.menu-container a:before {
  font-family: "Font Awesome 5 Free";
  content: "\f07b";
  font-weight: 900;
  color: #58a9ef;/*アイコン色*/
  margin-right: 5px;
}

.menu-container .child a:before{
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  font-weight: 900;
  color: #58a9ef;
  margin-right: 5px;
  margin-left: 15px;
}

/* スマートフォン版メニューここまで */

/* 入力フォーム */
input,textarea{
	box-sizing:border-box;
	max-width:100%;
	padding:5px;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {

}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.acpwd-submit {
		margin-left:10px;
		height:33px;
		padding-top:2px;
}

/* 入力フォームここまで */

