/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/*
@font-face {
	font-family: "NotoSansJP";
	font-style: normal;
	font-weight: 400;
	src: url("./font/sub-NotoSansJP-R.woff2") format("woff2");
}

@font-face {
	font-family: "NotoSansJP";
	font-style: normal;
	font-weight: 700;
	src: url("./font/sub-NotoSansJP-B.woff2") format("woff2");
}

@font-face {
	font-family: "NotoSansJP";
	font-style: normal;
	font-weight: 500;
	src: url("./font/sub-NotoSansJP-M.woff2") format("woff2");
	
}

body, h1, h2, h3, h4, h5, h6, p, input, textarea, select {
  font-family:"NotoSansJP","Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif !important;
}
*/

@media all and (max-width: 479px) {
.column-2-sp{
width: 80%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.column-2-sp .et_pb_column.et_pb_column_1_5{
	width:45% !important;
}
}

/* tableデザイン */
table {
	margin-bottom: 3em;
}
tr td, tr th {
	padding: 1em;
	border-right: 1px solid #cccccc;
}
tr td:last-child, tr th:last-child {
	border-right: none;
}
tr:last-child {
	border-bottom: none;
}
tr {
	border-bottom: 1px solid #cccccc;
}

/* ol,ul,liデザイン */
#main-content ul, #main-content ol {
	line-height: 2em;
}
/*#main-content li {
	margin: 1em 0;
}#main-content li:first-child {
	margin-top: 0;
}
#main-content li:last-child {
	margin-bottom: 0;
}*/

/* for blogcard shortcode */
.blogcard {
	line-height: 1;
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	word-wrap: break-word;
	margin: 40px 0 20px;
	box-shadow: 0 0 10px 6px rgba(0,0,0,.025);
}

.blogcard.ex {
	background-color: #f7f7f7;
}

.blogcard a {
	text-decoration: none;
	opacity: 1;
	transition: all 0.2s ease;
	color: unset;
}

.blogcard a:hover {
	opacity: 0.6;
}

.blogcard_thumbnail {
	float: left;
	padding: 20px;
}

.blogcard_title {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.4;
	padding: 17px 20px 10px;
	margin-left: 220px;
}

.blogcard_excerpt {
	font-size: 0.85em;
	line-height: 1.6;
	padding: 0 17px 15px 20px;
	margin-left: 220px;
}

.blogcard_link {
	font-size:0.65em;
	padding:0 17px 15px 20px;
	text-align: left;
	margin-left: 220px;
	vertical-align: middle;
}

.blogcard_link .favicon {
	margin-bottom: 2px;
	margin-right: 2px;
	width: 18px;
	vertical-align: middle;
}

.blogcard_link .icon-external-link-alt::before {
	font-size:0.75em;
}

@media screen and (max-width: 768px) {
	.blogcard {
		margin: 30px 0;
	}

	.blogcard_thumbnail img {
		width: 100%;
	}

	.blogcard_title {
		font-size: 0.95em;
		padding-bottom: 17px;
		margin-left: 0;
	}

	.blogcard_excerpt {
		display: none;
	}
	
	.blogcard_link {
		margin-left: 0;
	}
}

/* h4デザイン */
h4 {
	font-size: 18px;
	border-left: 6px solid #cc0100;
	padding-left: 0.5em;
	padding-bottom: 0;
	margin-top: 25px;
	margin-bottom: 1rem;
}

/* Diviの人モジュールでのLinkedinリンクアイコンをInstagramアイコンに強制変換 */
.et_pb_team_member ul.et_pb_member_social_links {
	text-align: center;
}
.et_pb_team_member .et_pb_member_social_links .et_pb_linkedin_icon:before {
	font-family: 'Font Awesome 6 Brands' !important;
	content: "\f16d";
	font-size: 1.3em;
}

/* ブルワリーリストのロゴ画像を中央配置 */
.divi-portable-row-abroad-brewery .et_pb_team_member_image,
.divi-portable-row-domestic-brewery .et_pb_team_member_image {
	margin-left: auto;
	margin-right: auto;
}

/* ブルワリーリストを3列の横並びに */
.divi-portable-row-abroad-brewery,
.divi-portable-row-domestic-brewery {
	width: 100%;
}

.divi-portable-row-abroad-brewery > .et_pb_column,
.divi-portable-row-domestic-brewery > .et_pb_column {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: stretch;
}

.divi-portable-row-abroad-brewery .et_pb_team_member,
.divi-portable-row-domestic-brewery .et_pb_team_member {
	width: calc( 90% / 3 );
	margin-left: auto;
	margin-right: auto;
}

/* ブルワリーリストを1カラムにしたとき用デザイン */
.single-column .divi-portable-row-abroad-brewery .et_pb_team_member,
.single-column .divi-portable-row-domestic-brewery .et_pb_team_member {
	width: calc( 90% / 6 );
	flex-direction: column;
}

.single-column .et_pb_team_member .et_pb_team_member_description {
	width: 100%;
}

.single-column .et_pb_team_member .et_pb_team_member_description .et_pb_module_header {
	padding-top: 10px;
}

/* 採用情報テーブルデザイン調整 */
.entry-content table.recruit {
	width: auto;
	margin: 0 auto 15px;
}

.entry-content table.recruit tr td {
	width: auto;
}

/* 問い合わせフォームデザイン調整 */
.entry-content table.contact_table {
	width: auto;
	margin: 0 auto 15px;
}

.entry-content table.contact_table tr td {
	width: auto;
}

.entry-content .form-acceptance-note {
	margin: 20px auto;
	text-align: center;
}

.entry-content .form-acceptance {
	margin: 20px auto;
	text-align: center;
}

.entry-content .contact_submit {
	margin: 20px auto;
	text-align: center;
}

.entry-content .recaptcha-text-wrapper {
	width: auto;
	margin: 20px auto;
	text-align: center;
}

.recaptcha-txt {
	font-size: 0.9em;
	color: #909090;
}

.grecaptcha-badge {
	visibility: hidden;
}