/*
Theme Name: たこ風船
Theme URI: https://www.takofusen.jp
Author: Bingo Tukemono Co.
Description: たこ風船公式サイト WordPress テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: takofusen
*/

/* --------------------------------------------------- global */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-style: normal;
	list-style: none;
}

body {
	font-size: 17px;
	line-height: 1.8em;
	color: #000;
	text-align: center;
	-webkit-text-size-adjust: 100%;
	font-family: sans-serif;
	background: #5F0000;
}

h1, h2, h3, h4, h5 {
	font-weight: bold;
	font-size: 15px;
}

a {
	color: #5F0000;
	text-decoration: none;
	transition: color .1s;
}

a:hover {
	text-decoration: underline;
}

img {
	border: none;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

table {
	text-align: left;
	font-size: 15px;
}

table {
	border-collapse: collapse;
}

th,
td,
.wp-block-table th,
.wp-block-table td {
	text-align: left;
	line-height: 1.7em;
	border: 1px solid #E6D7CB;
	padding: 12px 16px;
}

th,
.wp-block-table th {
	color: #724923;
	background: #F8EEDF;
	text-align: left;
}

/* --------------------------------------------------- parts */
.sp {
	display: none;
}

br.sp-only {
	display: none;
}

.content {
	width: 960px;
	margin: auto;
}

.clear {
	clear: both;
}

.card {
	background: #FFF;
	background: rgba(255,255,255,0.6);
	border: 1px solid #FFF;
}

.button {
	transition: opacity 0.2s;
	font-weight: bold;
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	color: #FFF;
	line-height: 28px;
	padding: 0 10px;
	appearance: none;
	background: #560000;
}

.button img {
	width: 7px;
	padding-right: 3px;
}

.button:hover {
	text-decoration: none;
	opacity: 0.8;
}

/* --------------------------------------------------- common */
#wrapper {
	text-align: left;
	overflow: hidden;
	background: url(assets/images/skin/bg.gif);
	background-size: 200px;
}

/* --------------------------------------------------- header */
#header {
	z-index: 1;
	position: relative;
	margin-bottom: 10px;
	overflow: hidden;
	text-align: center;
}

#header .content {
	position: relative;
}

/* ロゴ（h1 / p 共通） */
#header .site-logo {
	width: 165px;
	padding: 20px;
	background: #D70000;
	float: left;
	margin: 0;
}

#header .site-logo a {
	display: block;
}

#header .site-logo img {
	width: 125px;
	display: block;
}

/* サイトキャッチコピー */
#header .site-tagline {
	float: left;
	margin: 40px 20px;
	font-size: 16px;
	font-weight: bold;
}

#header .header-chara {
	position: absolute;
	top: -40px;
	z-index: 0;
	width: 270px;
	right: 0;
}

#header .border {
	position: absolute;
	width: 100%;
	height: 3px;
	background: #D70000;
	top: 0;
	z-index: 1;
}

/* ナビゲーション */
#header #nav {
	background: #5F0000;
	position: relative;
	z-index: 1;
	clear: both;
}

#header #nav ul {
	width: 960px;
	margin: auto;
	list-style: none;
	padding: 0;
	display: flex;
}

#header #nav ul li {
	flex: 1;
	display: flex;
}

#header #nav a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFF;
	border-right: 1px dotted #FFF;
	padding: 15px 0;
}

#header #nav .contact a {
	border-right: none;
}

#header #nav a img {
	height: 17px;
	display: block;
}

#header #nav li:hover {
	background: #4D0000;
}

#header #nav li.current-menu-item,
#header #nav li.current-page-ancestor,
#header #nav li.current-menu-parent {
	background: #460000;
}

/* --------------------------------------------------- footer */
#footer {
	clear: both;
	background: #5F0000;
	position: relative;
	margin-top: 40px;
}

#footer .page-top {
	padding: 5px 10px;
	background: #5F0000;
	position: absolute;
	top: -30px;
	right: 20px;
	color: #FFF;
	font-size: 14px;
	font-weight: bold;
}

#footer .page-top img {
	width: 12px;
	margin-right: 4px;
}

#footer .page-top:hover {
	text-decoration: none;
	opacity: 0.7;
}

#footer em {
	color: #AF7F4A;
	font-size: 13px;
	text-align: center;
	display: block;
	padding: 20px;
}

/* --------------------------------------------------- top page */
#top .banner {
	overflow: hidden;
	position: relative;
	width: 960px;
	margin: auto;
}

#top .banner .slides {
	border: 5px solid #000;
	overflow: hidden;
	position: relative;
}

#top .banner .slides li {
	display: none;
}

#top .banner .slides img {
	display: block;
	width: 100%;
}

#top .banner .flex-direction-nav a {
	display: block;
	text-indent: -9999px;
	background-color: #5F0000;
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
	width: 50px;
	height: 50px;
	position: absolute;
}

#top .banner .flex-direction-nav {
	position: absolute;
	top: 50%;
	margin-top: -50px;
	width: 100%;
}

#top .banner .flex-direction-nav li {
	position: absolute;
	width: 100%;
}

#top .banner .flex-direction-nav a.flex-prev {
	background-image: url(assets/images/skin/slider-prev.png);
	left: 5px;
}

#top .banner .flex-direction-nav a.flex-next {
	background-image: url(assets/images/skin/slider-next.png);
	right: 5px;
}

#top .banner ol {
	overflow: hidden;
	float: right;
	margin: 15px 0;
}

#top .banner ol li {
	margin-left: 5px;
	float: left;
}

#top .banner ol a {
	text-indent: -9999px;
	background: rgba(95,0,0,0.2);
	width: 20px;
	height: 20px;
	display: block;
	cursor: pointer;
}

#top .banner ol a.flex-active {
	background: rgba(95,0,0,1.0);
}

#top .section {
	float: left;
	width: 33.3%;
	margin-bottom: 15px;
}

#top .card {
	width: auto;
	padding: 20px;
	margin: 5px;
	overflow: hidden;
	position: relative;
}

#top .section .header {
	overflow: hidden;
	padding-bottom: 10px;
	border-bottom: 2px solid #7F2613;
}

#top .section .header h2 {
	height: 17px;
	float: left;
	font-size: 15px;
}

#top .section .header h2 img {
	max-height: 100%;
}

#top .section .header a {
	line-height: 1em;
	float: right;
	padding-top: 4px;
	font-size: 14px;
	font-weight: bold;
	display: block;
	min-width: 115px;
	text-align: right;
}

#top .section .header a img {
	width: 12px;
	vertical-align: middle;
	padding-right: 3px;
}

#top .section .content {
	width: 100%;
	border-top: 1px solid #7F2613;
	padding-top: 15px;
	margin-top: 1px;
	margin-bottom: -10px;
}

#top .news .content ul {
	max-height: 260px;
	overflow-y: auto;
}

#top .news li {
	padding: 10px 0;
	border-bottom: 1px dotted #C9BDA2;
}

#top .news li span {
	display: block;
	font-size: 14px;
	color: #888;
}

#top .news li em a {
	display: block;
	font-weight: bold;
}

#top .shop .image {
	border: 3px solid #000;
	box-sizing: border-box;
	width: 100%;
}

#top .shop .content {
	position: relative;
}

#top .shop strong {
	text-align: center;
	display: block;
	padding: 30px 0;
	font-size: 17px;
	color: #760000;
}

#top .shop .background {
	width: 110px;
	position: absolute;
	top: 200px;
	left: 50%;
	margin-left: -80px;
}

#top .footer {
	margin-top: 10px;
	overflow: hidden;
}

#top .footer a {
	float: right;
	display: block;
	min-width: 100px;
}

/* --------------------------------------------------- inner page */
#main {
	max-width: 950px;
	margin: 0 auto;
	overflow: hidden;
}

.category-image {
	display: none;
}

#submenu {
	float: left;
	width: 220px;
}

#submenu .menu {
	display: none;
}

#submenu .content {
	width: auto;
	margin: 30px 10px;
}

#submenu h3 {
	text-align: center;
	color: #750000;
	padding-bottom: 5px;
	margin-bottom: 15px;
	border-bottom: 1px solid #B48B8B;
	font-size: 18px;
	font-family: serif;
}

#submenu li {
	margin-bottom: 5px;
}

#submenu li a {
	font-weight: bold;
	opacity: 0.8;
}

#submenu li a.current,
#submenu li a[aria-current="page"] {
	text-decoration: none;
	opacity: 1.0;
}

#main .main-content {
	width: 100%;
	padding: 10px 0;
	min-height: 110px;
	margin: 20px 0;
}

/* ページタイトル（SEO: h1使用） */
h1.page-title {
	border-bottom: 1px solid #7F2613;
	font-size: 22px;
	font-family: serif;
	font-weight: bold;
}

h1.page-title span {
	display: block;
	border-bottom: 2px solid #7F2613;
	margin-bottom: 1px;
	padding-bottom: 5px;
	color: #7F2613;
}

/* ブロックエディタ内 h2（セクション見出し） */
.entry-text h2,
.wp-block-group h2 {
	border-bottom: 2px solid #7F2613;
	margin: 15px 0 20px;
	padding-bottom: 10px;
	font-size: 22px;
	font-family: serif;
	font-weight: bold;
}

.entry-text h2 span,
.wp-block-group h2 span {
	font-size: 18px;
	color: #5F0000;
	font-weight: bold;
	border-bottom: 2px solid #7F2613;
	margin-bottom: 1px;
	padding-bottom: 1px;
	display: block;
}

.entry-text h3 {
	font-size: 20px;
	color: #760000;
	font-weight: bold;
	border-bottom: 1px dotted #7F2613;
	padding-bottom: 6px;
	margin: 15px 0 10px;
}

.entry-text {
	margin: 15px 0;
	padding: 25px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid #FFF;
}

/* 投稿日時 */
.post-date {
	color: #632000;
	font-size: 14px;
}

/* --------------------------------------------------- news list / blog */
#info li {
	padding: 15px 0;
	border-bottom: 1px dotted #C9BDA2;
}

#info li .post-date {
	font-size: 15px;
	padding-right: 15px;
}

#info li em a {
	font-weight: bold;
}

/* --------------------------------------------------- product */
#product .item {
	width: 33.3%;
	float: left;
	margin-bottom: 10px;
}

#product .item table {
	margin: 5px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #760000;
}

#product .item table,
#product .item table tr {
	table-layout: fixed;
}

#product .item table td {
	min-width: 220px;
}

#product .item img {
	border: 1px solid #8D4311;
	width: 220px;
	max-width: 100%;
}

#product .item th {
	font-weight: bold;
	font-size: 18px;
	color: #760000;
	text-align: left;
	padding: 10px 0 5px;
	border-bottom: 1px dotted #E5C1B3;
}

#product .item td.text {
	font-size: 15px;
	padding: 10px 0;
	vertical-align: top;
}

#product .item td.price {
	color: #C50000;
	text-align: right;
	font-size: 15px;
	font-weight: bold;
}

#product .item td.price span {
	background: #281013;
	display: inline-block;
	padding: 1px 5px;
	color: #FFF;
	font-size: 14px;
	vertical-align: 1px;
	margin-right: 5px;
}

#product .source {
	clear: both;
	padding-top: 30px;
}

#product .source h3 {
	margin-bottom: 20px;
}

#product .source table {
	border: 1px solid #E6D7CB;
	border-bottom: none;
	width: 100%;
}

#product .source tr {
	background: #F8EEDF;
}

#product .source th {
	width: 15em;
	color: #724923;
	padding: 10px;
	border-bottom: 1px solid #E6D7CB;
}

#product .source td {
	background: #FFF;
	padding: 10px;
	border-bottom: 1px solid #E6D7CB;
}

#product .tax {
	font-weight: bold;
	text-align: right;
	color: #A33C14;
	clear: both;
	padding-top: 5px;
}

/* --------------------------------------------------- shop */
#shop h3 {
	margin-top: 0;
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 4px;
}

.shop-list-box {
	padding: 20px 0;
	margin-bottom: 20px;
	border-bottom: 1px dashed #760000;
}

.shop-list-box span {
	color: #7F2613;
	font-weight: bold;
}

.shop-list-box .chizu {
	background-color: #7F2613;
	color: #fff;
	text-decoration: none;
	padding: 0 4px;
}

#shop ul {
	margin-bottom: 20px;
}

#shop li {
	padding: 20px 10px;
	border-bottom: 1px dashed #760000;
	clear: both;
	overflow: hidden;
}

#shop ul li:last-child {
	border-bottom: none;
}

#shop li th {
	font-size: 18px;
	padding-bottom: 3px;
}

#shop li .tell {
	color: #560000;
	font-weight: bold;
	padding-top: 5px;
}

#shop img {
	width: 100%;
	border: 3px solid #FFF;
	float: left;
	display: block;
}

#shop table table {
	margin-left: 120px;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* --------------------------------------------------- company */
#company .about,
#company .idea {
	padding: 30px 0;
	border-bottom: 1px dashed #760000;
}

#company dt {
	margin-bottom: 10px;
}

#company .about dt {
	width: 170px;
}

#company .idea dt {
	width: 245px;
}

#company .company-data {
	padding: 10px 0;
}

#company .company-data h4 {
	padding: 10px 0 0;
	font-size: 16px;
}

#company table {
	width: 100%;
	border: 1px solid #E6D7CB;
	margin-bottom: 20px;
	margin-top: 10px;
}

#company table th,
#company table td {
	padding: 10px;
	border-bottom: 1px solid #E6D7CB;
}

#company table th {
	width: 90px;
	background: #F8EEDF;
	color: #724923;
}

#company .profile .link {
	border: 3px solid #000;
	position: relative;
	display: block;
}

#company .profile .link img {
	display: block;
}

#company .profile .link:hover {
	opacity: 0.8;
}

#company .profile .link span {
	display: inline-block;
	padding: 3px 10px;
	background: #000;
	color: #FFF;
	font-weight: bold;
	position: absolute;
	bottom: -1px;
	right: 0;
}

#company .profile .link span img {
	width: 7px;
	padding-right: 5px;
	display: inline;
}

/* --------------------------------------------------- policy (こだわり) */
#policy .section {
	clear: both;
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 10px;
}

#policy .section h3 {
	margin-bottom: 20px;
}

#policy .section h3 span {
	font-size: 19px;
}

#policy .section .image {
	width: 200px;
	display: block;
	float: left;
	border: 3px solid #FFF;
}

#policy .section .text {
	margin-left: 220px;
}

#policy .section .text li {
	margin-left: 20px;
	list-style-image: url(assets/images/skin/list-disc.png);
}

#policy .section:nth-child(even) .image {
	float: right;
}

#policy .section:nth-child(even) .text {
	margin-right: 220px;
	margin-left: 0;
}

/* --------------------------------------------------- concept (こだわり) */
.page-concept .entry-text img {
	border: 3px solid #FFF;
}

.form-title p {
	margin-bottom: 0 !important;
}

.form-title span {
	color: #C40000;
}

.form-input {
	margin-bottom: 15px;
}

/* --------------------------------------------------- contact (CF7) */
.wpcf7 {
	max-width: 600px;
}

.wpcf7 label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #5F5F5F;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	max-width: 500px;
	padding: 6px 8px;
	border: 1px solid #D3D3D3;
	font-size: 15px;
	line-height: 1.5;
	appearance: none;
	border-radius: 0;
}

.wpcf7 textarea {
	height: 150px;
}

.wpcf7 .wpcf7-submit {
	width: auto;
	margin: 10px 0 5px;
	cursor: pointer;
	color: #FFF;
	font-weight: bold;
	line-height: 30px;
	padding: 5px 30px;
	border: 1px solid #500;
	background: #5F0000;
	font-size: 16px;
	border-radius: 0;
	appearance: none;
	transition: opacity 0.2s;
}

.wpcf7 .wpcf7-submit:hover {
	opacity: 0.8;
}

.wpcf7-form p {
	margin-bottom: 15px;
}

.wpcf7 .required-mark {
	color: #C40000;
	font-size: 13px;
	margin-left: 5px;
}

/* --------------------------------------------------- content links */
.entry-text a {
	text-decoration: underline;
}

.entry-text a:hover {
	text-decoration: none;
}

/* --------------------------------------------------- Gutenberg block overrides */
.wp-block-image img {
	height: auto;
}

.wp-block-columns {
	gap: 1.5em;
}

.entry-text p,
.main-content .wp-block-group p,
.main-content .wp-block-paragraph {
	margin-bottom: 1em;
}

/* --------------------------------------------------- responsive */
@media screen and (max-width: 800px) {

body {
	min-width: 100%;
}

.content {
	width: 95%;
}

#header {
	margin-bottom: 0;
	border-bottom: 1px solid #CAB99A;
}

#header .header-chara {
	display: none;
}

#header #nav {
	display: none;
}

br.sp-only {
	display: block;
}

#header .sp.menu {
	display: block;
	background: #5F0000;
	padding: 10px;
	float: right;
	margin: 30px 20px;
	cursor: pointer;
}

#header .sp.menu img {
	width: 21px;
}

#header #nav ul {
	width: 100%;
	flex-wrap: wrap;
}

#header #nav ul li {
	flex: none;
	width: 25%;
}

#header #nav a {
	padding: 15px;
	border: 1px solid #360000;
}

#header #nav .contact a {
	border: 1px solid #360000;
}

#top .banner {
	width: 100%;
}

#top .section {
	float: none;
	width: 100%;
	margin-bottom: 10px;
}

#top .section .content {
	height: auto !important;
}

#top .banner .flex-direction-nav {
	position: absolute;
	top: 50%;
	margin-top: -50px;
	width: 100%;
}

#submenu {
	float: none;
	width: 100%;
}

#main .main-content {
	float: none;
	width: 95%;
	margin: 10px auto;
}

#submenu h3 {
	display: none;
}

#submenu .content {
	margin: 10px 0 0;
}

#submenu .menu {
	display: block;
	background: #5F0000;
	color: #FFF;
	text-align: left;
	padding: 5px 10px;
	position: relative;
	cursor: pointer;
	margin: 0;
	font-size: 16px;
	font-weight: bold;
}

#submenu .menu img {
	display: block;
	position: absolute;
	top: 9px;
	right: 9px;
	width: 23px;
}

#submenu ul {
	display: none;
}

#submenu li {
	background: #420000;
	border-top: 2px solid #000;
	margin-bottom: 0;
}

#submenu li a {
	display: block;
	color: #FFF;
	line-height: 33px;
	padding: 0 10px;
}

#product .item {
	width: 100%;
	height: auto !important;
}

#shop img {
	width: 150px;
	margin: 0 auto 10px;
	float: none;
}

#shop table table {
	margin: 0;
}

}

@media screen and (max-width: 640px) {

#header .content {
	width: 100%;
}

#header .site-logo {
	width: 140px;
	padding: 5px 10px;
}

#header .site-logo img {
	width: 120px;
}

#header .site-tagline {
	font-size: 14px;
	margin: 14px 10px 0;
	line-height: 1.4em;
	text-align: left;
}

#header .sp.menu {
	margin: 0;
	padding: 16px;
}

#header #nav ul li {
	flex: none;
	width: 50%;
}

#top .banner .flex-direction-nav {
	display: none;
}

#top .card {
	padding: 10px;
	margin: 0;
}

#top .news .content ul {
	margin-bottom: 15px;
}

.entry-text {
	padding: 10px 25px;
}

h1.page-title {
	font-size: 18px;
}

#main .main-content {
	margin: 10px auto;
}

#company table th {
	width: 60px;
}

.item-discription {
	min-height: auto !important;
}

}

/* --------------------------------------------------- item-lineup */
.item-box .item-lineup {
	border-bottom: 1px dashed #760000;
	padding-bottom: 15px;
}

.item-lineup span {
	background-color: #281013;
	color: #fff;
	padding: 0 4px;
	position: relative;
	left: -3px;
}

.item-lineup strong {
	color: #C50000;
}

.item-discription {
	min-height: calc(1.8em * 2);
}

/* --------------------------------------------------- utilities */
.mb0 { margin-bottom: 0 !important; }
