﻿body {
    font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, "Segoe UI", Verdana, sans-serif !important;
	font-weight: 500;
}
@media (max-width: 771px) {
	body {
		font-size: 16px !important;
	}
}

html {
	scroll-behavior: auto;
}
html:has(body.post-name-contact),
html:has(body.post-name-contact-confirm) {
	scroll-behavior: smooth;
}

.rich_font { font-weight:500; font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif; }

.rich_font_1.top_headline,
.rich_font_1.catch,
.rich_font_1.entry-title,
body.single .post_content,
body.single #next_prev_post {
	font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, "Segoe UI", Verdana, sans-serif !important;
}

@media (min-width: 751px) {
	.sp-only {
		display: none !important;
	}
}
@media (max-width: 750px) {
	.pc-only {
		display: none !important;
	}
	.sp-left {
		text-align: left !important;
	}
	.sp-center {
		text-align: center !important;
	}
	.sp-image-first {
		flex-direction: column !important;
	}
}

@media (min-width: 1252px) {
	.sp-only2 {
		display: none !important;
	}
}
@media (max-width: 1251px) {
	.pc-only2 {
		display: none !important;
	}
}

@media (min-width: 551px) {
	.sp-only3 {
		display: none !important;
	}
}
@media (max-width: 550px) {
	.pc-only3 {
		display: none !important;
	}
}

.mt0 {
	margin-top: 0 !important;
}
.mb0 {
	margin-bottom: 0 !important;
}

#main_contents .post_content p {
	line-height: 2;
    margin-bottom: 20px;
}

#main_contents .post_content p:last-child {
    margin-bottom: 0;
}

#main_contents .post_content p a {
	color: #4988D0;
	text-decoration: underline;
}
#main_contents .post_content p a:hover {
	opacity: 0.8;
	transition: opacity 0.2s;
}
.cb_content_slider_wrap a:hover,
#main_contents .wp-block-image a:hover {
	opacity: 0.85;
	transition: opacity 0.2s;
}

body.home #global_menu ul ul a {
    color: #000 !important;
    background: #fff !important;
}
body:not(.home) #global_menu ul ul a {
    color: #ffffff;
    background: #0f2740;
}
body.home #global_menu ul ul a:hover,
body:not(.home) #global_menu ul ul a:hover {
    color: #fff !important;
    background: #4988d0 !important;
}

body.home #header.animate #header_logo,
body.home #header.animate #global_menu,
body.home #side_button.right.animate {
    animation-delay: 0s;
}

#header_slider {
  position: relative;
}
.custom-slider-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.custom-slider-center img {
  max-width: 490px;
  height: auto;
}

#index_news_slider a .title {
    font-size: 16px;
}
#index_news_slider a {
    display: flex;
    align-items: center;
}
#index_news_slider a .date {
	top: auto;
}
.index_content_slider,
.index_post_slider {
    padding: 150px 0 150px !important;
}
.cb_contents .cb_desc {
    line-height: 2;
	margin: 0 0 60px 0;
}

.cb_contents .cb_catch {
    margin: 0 0 60px 0 !important;
}

#cb_content_2 {
	background-color: #0E2740;
	margin-bottom: 0;
	padding: 150px 0 150px;
}
#cb_content_2 .message_area_wrap > p {
	display: none;
}
#cb_content_2 .cb_headline {
    font-size: 14px;
	color: #4988D0;
}
#cb_content_2 .cb_catch {
	color: #fff;
    font-size: 36px;
}
#cb_content_2 .index_message {
	padding: 0;
}
#cb_content_2 .index_message .content {
	border: none;
	background-color: #fff;
}
#cb_content_2 .index_message .cb_headline {
	margin-bottom: 18px;
}
#cb_content_2 .index_message .catch {
	color: #000;
	text-align: center;
	margin-top: 0 !important;
	margin-bottom: 18px;
}
#cb_content_2 .index_message .desc {
	margin-top: 0;
	margin-bottom: 25px;
}
#cb_content_2 .index_message .link_button {
	margin-top: 0;
}
#cb_content_2 .index_message .link_button a {
    color: #ffffff;
    background: #0e2740;
}
#cb_content_2 .index_message .link_button a:hover {
    background: #007a96;
}
#cb_content_2 .index_message .message_area {
	min-height: 354px;
}
#cb_content_2 .index_message .message_area_wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#index_content_builder .white + .white {
	padding-top: 150px;
}

/* コンテンツカルーセル — 画像1件のみの単体表示 */
.index_content_slider .cb_content_single {
  border-bottom: none;
  text-align: center;
}
.index_content_slider .cb_content_single .cb_single_link {
  display: inline-block;
}
.index_content_slider .cb_content_single .cb_single_img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* コンテンツカルーセル — 複数画像グリッド表示（3列） */
.index_content_slider .cb_content_grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(3, 1fr); /* 1fr でサブピクセル隙間なし */
  gap: 0;
}
.index_content_slider .cb_content_grid .item {
  height: 267px;
  width: auto; /* グリッドセルが幅を管理するので不要 */
  float: none;
}
.index_content_slider .cb_content_grid .item .animate_background {
  display: block;
  height: 100%;
  background: transparent;
  overflow: hidden; /* ホバー拡大時の白線ちらつき防止 */
}
/* グリッド：<a>タグの場合も白背景を打ち消す */
.index_content_slider .cb_content_grid .item a.animate_background {
  background: transparent;
}
.index_content_slider .cb_content_grid .image_wrap {
  height: 100%;
  overflow: hidden;
  position: relative; /* .image の absolute 基準 */
}
/* .image を1px四方にはみ出させてサブピクセル隙間を確実に塞ぐ */
.index_content_slider .cb_content_grid .image {
  position: absolute !important;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  width: auto !important;
  height: auto !important;
}
.index_content_slider .cb_content_grid .image,
.index_content_slider .cb_content_single .image {
  /* GPU コンポジット化でホバー時の白線ちらつきを防止 */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.index_content_slider .cb_content_grid .desc_area {
  display: none;
}
@media screen and (max-width: 750px) {
  .index_content_slider .cb_content_grid {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
  .index_content_slider .cb_content_grid .item {
    height: 200px;
  }
}
@media screen and (max-width: 550px) {
  .index_content_slider .cb_content_grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .index_content_slider .cb_content_grid .item {
    height: 220px;
  }
}

.index_post_slider .title,
#blog_list .title {
    font-weight: bold;
}
.index_post_slider .image_wrap,
#blog_list .image_wrap {
    height: calc(210px + 57px);
}
.index_post_slider .category a,
#blog_list .category a {
    background: #4988D0 !important;
    top: calc(175px + 57px);
}
.index_post_slider .category a:hover,
#blog_list .category a:hover,
#post_title_area .category a:hover {
    background: #2a558e !important;
}
.index_post_slider .item,
#blog_list .item {
    height: calc(370px + 57px);
}
.index_post_slider .post_list,
#blog_list .post_list {
    height: calc(370px + 57px);
}
.index_post_slider .post_list_slider_wrap:before,
.index_post_slider .post_list_slider_wrap:after {
    top: calc(210px + 57px);
}

#footer_top {
	display: none;
}
#footer_banner .item .overlay {
    background: rgba(73, 136, 208, 0.3) !important;
}
#footer_banner a,
#footer_banner .image_wrap {
    height: 200px;
}
.footer_info {
    margin: 30px 0 0 0;
}
#footer_sns {
    margin: 30px 0 0 0;
}
#footer_menu {
    height: auto;
	padding: 16px;
}
#footer_menu .menu {
	max-width: 800px;
    padding: 0 20px;
	margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 38px;
    box-sizing: border-box;
}
#footer_menu li {
    margin: 0 !important;
}
#footer_menu li a {
    height: auto;
    line-height: 2;
}

#page_header .title,
#page_header .sub_title {
	font-weight: normal;
}

#bread_crumb, #bread_crumb li.last {
    color: #000 !important;
}

#page_content {
    padding: 70px 0 150px;
}

#main_contents .wp-block-group__inner-container > .headline,
#main_contents .vk_outer_container > .headline {
    display: table;
    margin: 0 auto 10px;
    font-weight: 600;
	font-size:14px;
	color:#4988D0;
}
#main_contents .wp-block-group__inner-container > h2.catch,
#main_contents .vk_outer_container > h2.catch {
	font-size: 36px;
	font-weight: 500;
    text-align: center;
    margin: 0 !important;
}
#main_contents .wp-block-group__inner-container > p.catch,
#main_contents .vk_outer_container > p.catch {
    text-align: center;
	margin: 0 !important;
}
#main_contents p.catch {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 600;
    text-align: left;
	color: #4988D0;
    margin-bottom: 0 !important;
}
#main_contents .wp-block-group__inner-container > .desc,
#main_contents .vk_outer_container > .desc {
	font-size: 16px;
	line-height: 2;
    margin: 50px 0 0 0;
    text-align: center;
}
#main_contents .wp-block-group__inner-container > p.catch + .desc,
#main_contents .vk_outer_container > p.catch + .desc{
    margin: 20px 0 0 0;
}

#main_contents .top_headline {
    font-size: 24px;
    border-top: 3px solid #4988D0;
    display: table;
    margin: 0 auto !important;
	font-weight: bold;
    padding: 25px 0 0 0;
}

.post_content table {
	margin: 0 !important;
}

#main_contents .post_content td,
#main_contents .post_content th {
    border-color: #ddd;
    padding: 21px 15px;
    line-height: 2;
    font-weight: 500;
}

.full-width-bg {
	padding-left: calc(50svw - 50%) !important;
    padding-right: calc(50svw - 50%) !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

#main_contents .design1_content2 {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
#main_contents .design1_content2 .item .desc {
    margin: 18px 0 1em 0;
    text-align: left;
}
#main_contents .design1_content2 .content {
	border: none;
	height: 332px;
}
#main_contents .design1_content2 .image {
    width: 47%;
    height: 332px;
}
#main_contents .design1_content2 .content_inner {
	line-height: 2;
}
#main_contents .design1_content2 .layout_type1 .content_inner {
    padding-right: 0;
    padding-left: 30px;
}
#main_contents .design1_content2 .layout_type2 .content_inner {
    padding-right: 30px;
    padding-left: 0;
}

#main_contents .design1_content2 .content_inner p {
	margin-bottom: 1em;
}
#main_contents .design1_content2 .content_inner p:last-child {
	margin-bottom: 0;
}

#main_contents figure {
	margin-bottom: 0;
}

.img1_in_store {
	width: 200px;
	margin: 0 auto;
}

#main_contents .design1_content1 .item_list .headline {
    font-size: 22px;
	color: #4988D0;
	margin-top: 50px;
	margin-bottom: 18px;
}
#main_contents .design1_content1 .item_list .image {
	height: 236px;
}

body.post-name-store .group2 .vk_outer {
    padding: 50px 60px;
}
body.post-name-store .group2 th,
body.post-name-store .group2 td {
	border: none;
	background: transparent;
    padding: 0 !important;
    text-align: left;
}
body.post-name-store .group2 th {
    width: 4em;
    word-break: keep-all;
    padding-right: 1em !important;
}
body.post-name-store .group2 .vk_gridColumn_item:nth-child(1) {
	width: calc(70% - 30px);
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}
body.post-name-store .group2 .vk_gridColumn_item:nth-child(2) {
	width: calc(30% - 30px);
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
}
body.post-name-store .group2 .vk_gridColumn_item:nth-child(2) {
    display: flex;
	justify-content: flex-end;
    gap: 10px;
}
body.post-name-store .group2 .vk_gridColumn_item:nth-child(2) figure {
	width: 30px;
}
body.post-name-store .group2 .vk_gridColumn_item:nth-child(2) a:hover {
	opacity: 0.8;
	transition: opacity 0.2s;
}

.note {
  padding-left: 1em;
  text-indent: -1em;
}

#main_contents .image-grid .row {
	margin-left: -30px;
	margin-right: -30px;
    row-gap: 60px;
}
#main_contents .image-grid [class*=col-] {
	padding-left: 30px;
	padding-right: 30px;
}

body.post-name-product .group3 .top_headline,
body.post-name-product .group6 .top_headline,
body.post-name-product .group9 .top_headline {
	color: #fff;
}

body.post-name-product .grid-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	list-style: none;
	padding: 0;
	margin: 0 60px;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
}
body.post-name-product .grid-list li {
    padding: 15px;
    line-height: 2;
    text-align: center;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.post-name-about .group3 .link_button a {
	background:#fff;
	color:#000;
}
body.post-name-about .group4 th {
	width: 5em;
	background-color: #fff;
	text-align: left;
}
body.post-name-about .group4 th,
body.post-name-about .group4 td {
    padding: 16px 30px !important;
    line-height: 1.7 !important;
}

body.post-name-about .group4 th p,
body.post-name-about .group4 td p {
	line-height: 1.7 !important;
}

@media (min-width: 1100px) {
	.post-name-100th-anniversary .group1 .desc,
	.post-name-about .group3 .desc {
		margin-left: -100px !important;
		margin-right: -100px !important;
	}	
}

.post-name-100th-anniversary .group4 .design1_content2 {
	gap: 50px !important;
}
.post-name-100th-anniversary .group4 .interview_q {
	margin-bottom: 1em;
	color: #4988D0;
    font-weight: bold;
}
.post-name-100th-anniversary .group4 .interview_a .interviewee {
    font-weight: bold;
}
.post-name-100th-anniversary .group4 .interview_a p:last-child {
	margin-bottom: 0 !important;
}
.post-name-100th-anniversary .group4 .caption {
	margin-bottom: -36px !important;
    padding: 0;
    background: none;
    color: #000;
}

.post-name-100th-anniversary .group4 .content_inner {
    top: 0;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
}

.post-name-100th-anniversary #page_content {
	padding-bottom: 0;
}
.post-name-100th-anniversary .post_content > p:last-child,
.post-name-100th-anniversary .group5 p:last-child {
	margin-bottom: 0 !important;
}

/* 会社沿革の年表 */
#main_contents .post_content .history-timeline {
	--history-line-color: #3D5671;
	--history-dot-color: #fff;
	--history-card-bg: #19324B;
	--history-year-color: #fff;
	position: relative;
}
#main_contents .post_content .history-timeline::before {
	content: "";
	position: absolute;
	top: 80px;
    bottom: -60px;
	left: 50%;
    width: 10px;
	background: var(--history-line-color);
	transform: translateX(-50%);
}
#main_contents .post_content .history-timeline__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
	align-items: center;
	position: relative;
}
#main_contents .post_content .history-timeline__row + .history-timeline__row {
	margin-top: -50px;
}
#main_contents .post_content .history-timeline__row + .history-timeline__row.history-timeline__no-image {
	margin-top: -30px;
}
#main_contents .post_content .history-timeline__spacer {
	min-height: 1px;
}
#main_contents .post_content .history-timeline__dot {
    width: 10px;
    height: 10px;
	border-radius: 50%;
	background: var(--history-dot-color);
	justify-self: center;
	position: relative;
	z-index: 1;
}
#main_contents .post_content .history-card {
	position: relative;
	display: flex;
    align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	background: var(--history-card-bg);
	padding: 20px;
}
#main_contents .post_content .history-card::after {
	content: "";
	position: absolute;
	top: 49.5%;
	width: 46px;
	height: 1px;
	background: var(--history-line-color);
}
#main_contents .post_content .history-timeline__row--left .history-card {
	grid-column: 1;
	box-shadow: 1px 0 0 0 var(--history-line-color);
}
#main_contents .post_content .history-timeline__row--left .history-card::after {
	right: -46px;
}
#main_contents .post_content .history-timeline__row--right .history-card {
	grid-column: 3;
	box-shadow: -1px 0 0 0 var(--history-line-color);
}
#main_contents .post_content .history-timeline__row--right .history-card::after {
	left: -46px;
}
#main_contents .post_content .history-card__body {
	flex: 1 1 auto;
	min-width: 0;
}
#main_contents .post_content .history-card__heading {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	line-height: 1;
    align-items: center;
}
#main_contents .post_content .history-card__year {
	font-size: 46px;
	color: var(--history-year-color);

	font-family: 'EB Garamond', serif;
    font-style: italic;
}
#main_contents .post_content .history-card__era {
	font-size: 16px;
	color: var(--history-year-color);
    margin-top: 7px;
}
#main_contents .post_content .history-card__text {
	margin: 0 !important;
	font-size: 16px;
	line-height: 1.5 !important;
	color: #fff;
}
#main_contents .post_content .history-card__media {
	flex: 0 0 150px;
	width: 150px;
	margin: 0;
	text-align: right;
}
#main_contents .post_content .history-card__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 120px;
	object-fit: contain;
	object-position: center;
}

body.post-name-100th-anniversary #main_contents {
	padding-bottom: 0 !important;
}

@media (min-width: 751px) {
	/* グローバルな縦棒を無効にし、行ごとに描画することで最初のドット上にはみ出さないようにする */
	#main_contents .post_content .history-timeline::before {
		content: none;
	}
	#main_contents .post_content .history-timeline__row::before {
		content: "";
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 10px;
		background: var(--history-line-color);
		top: 0;
		bottom: 0;
		z-index: 0;
	}
	/* 最初の行：top: 50% = 行の垂直中央 = ドット中心。ドット上にはみ出さない */
	#main_contents .post_content .history-timeline__row:first-child::before {
		top: 50%;
	}
	/* 最後の行：カード下に縦棒をはみ出させる */
	#main_contents .post_content .history-timeline__row:last-child::before {
		bottom: -60px;
	}
}

@media (max-width: 1100px) {
	#main_contents .post_content .history-timeline {
		padding-left: 12px;
		padding-right: 12px;
	}
	#main_contents .post_content .history-timeline__row {
		grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
	}
	#main_contents .post_content .history-timeline__row + .history-timeline__row {
		margin-top: -34px;
	}
	#main_contents .post_content .history-card {
		padding: 18px 22px;
		gap: 18px;
	}
	#main_contents .post_content .history-card::after {
		width: 36px;
	}
	#main_contents .post_content .history-timeline__row--left .history-card::after {
		right: -36px;
	}
	#main_contents .post_content .history-timeline__row--right .history-card::after {
		left: -36px;
	}
	#main_contents .post_content .history-card__year {
		font-size: 52px;
	}
	#main_contents .post_content .history-card__text {
		font-size: 17px;
	}
	#main_contents .post_content .history-card__media {
		flex-basis: 145px;
		width: 145px;
	}
}

@media (max-width: 750px) {
	#main_contents .post_content .history-timeline {
		padding: 0;
	}
	/* 縦ラインを画面中央に */
	#main_contents .post_content .history-timeline::before {
		left: 50%;
		top: 21px;    /* 最初のドット中心に合わせる（margin-top 14px + 半径 7px） */
		bottom: -40px; /* 最後のカードの下にはみ出す */
		transform: translateX(-50%);
	}
	/* グリッドからフレックス縦積みに切り替え */
	#main_contents .post_content .history-timeline__row {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}
	#main_contents .post_content .history-timeline__row + .history-timeline__row {
		margin-top: 0;
	}
	#main_contents .post_content .history-timeline__row + .history-timeline__row.history-timeline__no-image {
		margin-top: 0;
	}
	#main_contents .post_content .history-timeline__spacer {
		display: none;
	}
	/* ドットを中央に配置 */
	#main_contents .post_content .history-timeline__dot {
	align-self: center;
        width: 10px;
        height: 25px;
        box-shadow: none;
        margin: 0;
        background: none;
	}
	/* --left 行はDOMが [card, dot, spacer] のため dot を先に表示する */
	#main_contents .post_content .history-timeline__row--left .history-timeline__dot {
		order: 1;
	}
	#main_contents .post_content .history-timeline__row--left .history-card {
		order: 2;
	}
	/* カードをフルwidth・box-shadowリセット */
	#main_contents .post_content .history-timeline__row--left .history-card,
	#main_contents .post_content .history-timeline__row--right .history-card {
		box-shadow: 0 1px 0 0 var(--history-line-color);
	}
	/* 横向きコネクターライン（::after）を非表示 */
	#main_contents .post_content .history-timeline__row--left .history-card::after,
	#main_contents .post_content .history-timeline__row--right .history-card::after {
		display: none;
	}
	#main_contents .post_content .history-card {
		min-height: 0;
		padding: 15px;
		flex-direction: row;
		gap: 15px;
	}
	#main_contents .post_content .history-card__heading {
		gap: 6px;
		margin-bottom: 10px;
	}
	#main_contents .post_content .history-card__year {
		font-size: 32px;
	}
	#main_contents .post_content .history-card__era {
		font-size: 14px;
	}
	#main_contents .post_content .history-card__text {
		font-size: 14px;
	}
	#main_contents .post_content .history-card__media {
		flex: 0 0 120px;
		width: 120px;
		max-width: none;
		flex-basis: 120px;
		text-align: center;
	}
	#main_contents .post_content .history-card__media img {
		max-height: 96px;
		object-fit: contain;
	}

	#main_contents .post_content .history-timeline__row:first-child .history-timeline__dot {
		display: none;
	}
}

#return_top a:hover {
	background: #2b558e !important;
}

.wp-block-separator {
	border: none !important;
}

.dot_list {
	list-style: none !important;
    margin: 0 !important;
    margin-left: 1em !important;
}
.dot_list li::before {
	content: "・";
	text-indent: 1em;
	margin-left: -1em;
}
.dot_list li {
	line-height: 2 !important;
	margin-bottom: 14px;
}
.dot_list li:last-child {
	margin-bottom: 0 !important;
}

.post-name-disclaimer h4 {
	font-size: 22px !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}

#blog_archive>div:first-child:not(#content_header) {
    padding-top: 77px;
}
.page_navi a:hover,
.page_navi span.current {
    border-color: #0E2740 !important;
    background-color: #0E2740 !important;
}

.post-type-archive-news #main_contents {
    margin-top: 77px;
}

.widget_headline,
.tcd_category_list a,
.p-dropdown__title,
.p-dropdown__list {
	font-weight: bold !important;
}

.post_slider_widget .image_wrap {
	height: 200px;
}
.post_slider_widget .item {
    height: calc(200px + 77px);
}
.post_slider_widget .slick-dots {
    top: calc(123px + 42px);
}

body.single .entry-title {
	font-weight: bold !important;
}
body.single #post_title_area {
	margin-bottom: 95px;
}
body.single #next_prev_post {
	margin-top: 90px;
}
body.single .cat_id_1 a {
    background: #4988D0 !important;
}

#news_list .date {
    margin: 0 0 15px 0;
}
#news_list .title {
	font-size: 16px !important;
	font-weight: bold;
}

.post-name-contact .group1 .vk_gridColumn .row {
    margin: 0;
    gap: 10px;
}
.post-name-contact .group1 .vk_gridColumn_item {
	background-color: #F5F5F5;
    padding: 60px 30px 50px 30px;
    flex: 0 0 calc(100% / 3 - 20px / 3);
    max-width: calc(100% / 3 - 20px / 3);
	text-align: center;
}
.post-name-contact .group1 .vk_gridColumn_item .link_button {
	margin: 0;
}
.post-name-contact .group1 .vk_gridColumn_item .link_button a {
	background-color: #0E2740;
	color: #fff;
	width: 100%;
	min-width: 0;
}
.post-name-contact .group1 .vk_gridColumn_item .link_button a:hover {
    background-color: #007a96;
}

.wp-block-button a {
    display: inline-block;
    min-width: 280px;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	background-color: #0E2740;
    color: #fff !important;
    border-radius: 0;
}
.wp-block-button a:hover {
    background: #007a96;
}

.mw_wp_form label,
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="password"],
.mw_wp_form input[type="tel"],
.mw_wp_form input[type="url"],
.mw_wp_form input[type="number"],
.mw_wp_form textarea {
    width: 100% !important;
}
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="password"],
.mw_wp_form input[type="tel"],
.mw_wp_form input[type="url"],
.mw_wp_form input[type="number"],
.mw_wp_form textarea {
    border: 1px solid #DDDDDD !important;
}

.mwform_input_only,
.mwform_confirm_only,
.mwform_complete_only {
	display: none;
}

.mw_wp_form_input .mwform_input_only {
	display: block;
}
.mw_wp_form_confirm .mwform_confirm_only {
	display: block;
}
.mw_wp_form_complete .mwform_complete_only {
	display: block;
}

.grecaptcha-badge {
	visibility: hidden;
}
.recaptcha_policy {
    padding: 0;
	margin: 40px 0 0 !important;
    font-size: 12px !important;
    color: #444 !important;
    text-align: center;
}

.mw_wp_form .require {
	color: #cc0000;
}
.mw_wp_form label {
	display: block;
}
.mw_wp_form_confirm label,
.mw_wp_form_confirm label > span {
	display: block;
}
.mw_wp_form label.contact_input {
    display: flex;
	align-items: center;
}
.mw_wp_form_input label.contact_textarea > span:first-child {
    margin-top: 17px;
}
.mw_wp_form label input,
.mw_wp_form label textarea {
	width: 100% !important;
    border: none;
    margin-bottom: 0;
    border-radius: 5px;
}
.mw_wp_form label input,
.mw_wp_form label textarea {
    padding: 17px 30px;
    line-height: 1.5;
}
.mw_wp_form label textarea {
	resize: none;
}

.mw_wp_form label input::placeholder,
.mw_wp_form label textarea::placeholder {
	color: #BBBBBB !important;
}

.mw_wp_form_input .contact_input_wrap {
	margin-top: 10px;
}
.mw_wp_form_confirm .contact_input_wrap {
	margin-bottom: 50px;
}
.contact_input_wrap > br {
	display: none;
}
.contact_input_wrap > label {
	margin-bottom: 30px;
	font-weight: 500;
}
.contact_input_wrap > label.contact_textarea {
	margin-bottom: 60px;
}

.mw_wp_form_confirm .contact_input_wrap > label {
	margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #DDDDDD;
}
.mw_wp_form input[type=submit] {
	display: block;
    margin: 0 auto;
    min-width: 280px;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #0E2740;
    color: #fff;
    border: none;
}
.mw_wp_form input[type=submit]:hover {
    background: #4988D0;
}

.mw_wp_form input,
.mw_wp_form textarea {
	font-weight: 500;
}

.mw_wp_form_confirm .contact_input_wrap + p {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-direction: row-reverse;
}

.mw_wp_form_confirm .backButton {
	background-color: #fff !important;
    color: #243662 !important;
    border: 1px solid #243662 !important;
}
.mw_wp_form_confirm input[name=submitBack]:hover {
	color: #4988D0 !important;
	border-color: #4988D0 !important;
}
.mw_wp_form_confirm input[type=submit] {
	margin: 0;
}
.post-name-contact .site-body {
	padding-bottom: 30px;
}

input[type=submit]:not(:disabled):hover {
    cursor: pointer;
}

/*
.mw_wp_form_confirm .contact_input_wrap {
    border-top: 1px solid #DDDDDD;
    padding-top: 30px;
    margin-top: 40px;
}
*/

.list_indent {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.list_indent li {
	padding-left: 1em;
    text-indent: -1em;
}
.list_indent strong {
	color: #596D03;
}

body.post-name-contact-thanks main .btn{
    width: 340px !important;
	max-width: 100% !important;
	height: 70px !important;
    border-radius: 35px !important;
}

.mw_wp_form_confirm .contact_textarea {
    line-height: 2;
    margin-top: -5px;
}
.mw_wp_form_confirm .contact_textarea > span:first-child {
	margin-top: 5px;
}

.mw_wp_form .error {
	margin-top: 10px;
}

.mw_wp_form label {
    display: flex;
}
.mw_wp_form label > span:first-child {
	width: 27%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 30px;
    line-height: 1.4;
    box-sizing: border-box;
}
.mw_wp_form label > span:last-child {
    width: 73%;
}
.mw_wp_form label .require,
.mw_wp_form label .optional {
    background-color: #CC0000;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    word-break: keep-all;
    width: 48px;
    height: 24px;
    margin-top: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
	flex-shrink: 0;
}
.mw_wp_form label .optional {
    background-color: #999999;
}
.mw_wp_form label > span:last-child textarea {
    border: none;
    resize: none;
    width: 100%;
}

.contact_inner {
    background-color: #F5F5F5;
    padding: 60px;
    margin-bottom: -32px;
}

.mw_wp_form_confirm label > span:first-child {
	width: 30.5%;
	padding-right: 60px;
}

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

#footer_logo .mobile_logo_image {
    width: 148.92px;
    height: 120px;
    object-fit: contain;
}

/* #dp-footer-bar が存在して .active クラスを持つとき #copyright に下余白を追加 */
body:has(#dp-footer-bar.active) #copyright {
    margin-bottom: 55px;
}

#mobile_menu .child_menu_button:hover {
    background: #0F2740 !important;
}

body.single .vk_gridColumn {
	margin: 50px 0;
}
body.single p + .vk_gridColumn {
	margin-top: 40px;
}

p.center {
	text-align: center;
}

.open_menu #container:before {
    background: rgba(15, 39, 64, 0.7) !important;
}

.link_button a:hover {
	color: #fff !important;
	background: #4988D0 !important;
}

body:not(.mobile_device) #side_button {
	display: block !important;
}

@media screen and (min-width: 1101px) {
	#next_prev_post .title {
		margin-top: 3px;
	}
}

@media screen and (max-width: 950px) and (min-width: 751px) {
    #main_contents {
        padding-top: 50px !important;
		padding-bottom: 100px !important;
    }
}

@media screen and (max-width: 1251px) {
    body.home #header.animate #menu_button {
		animation-delay: 0s !important;
    }
	.footer_bar_icon_mail:before {
		font-size: 15px !important;
	}
    .footer_bar_icon_cart:before {
        font-size: 20px !important;
		top: 10px !important;
    }

    #header_logo .logo {
        width: 204px;
        height: 40.8px;
    }
	#header_logo .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

}
@media screen and (max-width: 950px) {
    #footer_banner .item {
        -ms-flex: 1 1 0% !important;
        -webkit-flex: 1 1 0% !important;
        flex: 1 1 0% !important;
    }
}
@media screen and (max-width: 750px) {
	#page_header .sub_title {
		font-size: 10px !important;
	}

	#main_contents .post_content p {
		font-size: 14px;
		margin-bottom: 14px;
	}

	#header_logo .logo {
	    width: 170px;
	    height: 34px;
	}
	#header_logo .logo img {
	    width: 100%;
        height: 100%;
	    object-fit: contain;
	}
	.custom-slider-center img {
		max-width: 80vw;
	}

	.index_content_slider, .index_post_slider {
		padding: 40px 0 40px !important;
	}
	.cb_contents .cb_catch {
	    margin: 0 0 35px 0 !important;
	}
    .index_content_slider .cb_desc {
        padding: 0 20px;
		text-align: left;
		margin-top: 0 !important;
		margin-bottom: 30px !important;
    }
	.index_content_slider .cb_content_single {
		display: flex;
	}
    .cb_contents .link_button {
        margin: 40px 0 0 0 !important;
    }
	.cb_contents .message_area .link_button {
        margin: 25px 0 0 0 !important;
    }
	#index_content_builder .white + .white {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	#cb_content_2 .cb_catch {
		font-size: 20px !important;
	}
	#cb_content_2 .cb_headline {
		font-size: 12px !important;
	    margin-bottom: 12px !important;
	}
	.index_message .message_area .image {
        height: calc((100vw - 40px) * 708px / 1000px) !important;
    }
	.index_content_slider .cb_content_grid {
		grid-template-columns: 1fr 1fr;
	}
	.index_content_slider .cb_content_grid .item {
        height: 220px !important;
    }

	#footer_banner a,
    #footer_banner .item,
    #footer_banner .image_wrap {
        height: 80px !important;
    }
	#footer_banner > .item:nth-child(1) .image {
		background-image: url(/wp-content/uploads/2026/05/footer_img01_sp.jpg) !important;
	}
	#footer_banner > .item:nth-child(2) .image {
		background-image: url(/wp-content/uploads/2026/05/footer_img02_sp.jpg) !important;
	}
	#footer_banner > .item:nth-child(3) .image {
		background-image: url(/wp-content/uploads/2026/05/footer_img03_sp.jpg) !important;
	}

	.footer_info {
        padding: 0 20px !important;
	    margin: 25px 0 0 0 !important;
    }
	#footer_sns {
		margin: 25px 0 0 0 !important;
	}
	#footer_menu .menu {
		width: 100%;
	    flex-direction: column;
	    gap: 0;
	}
    #footer_menu li a {
        padding: 3px 0;
    }

	#main_contents .wp-block-group__inner-container > h2.catch,
	#main_contents .vk_outer_container > h2.catch
	{
		font-size: 20px;
		line-height: 1.5;
	}
	#main_contents .wp-block-group__inner-container > .desc,
	#main_contents .vk_outer_container > .desc {
	    font-size: 14px;
		margin: 30px 0 0 0;
	    text-align: left;
	}

	#main_contents .top_headline {
		font-size: 18px;
		line-height: 34px;
		padding: 8px 0 0 0;
	}

	#main_contents .top_headline.sp-multiline {
		line-height: 26px;
		padding-top: 12px;
	}

	#main_contents .post_content td,
	#main_contents .post_content th {
		font-size: 14px;
		line-height: 28px;
		padding: 12px 15px;
	}
	.post-name-quality #main_contents .post_content td,
	.post-name-quality #main_contents .post_content th {
		line-height: 24px;
		padding: 12px 15px;
	}

	.full-width {
	    width: 100vw;
	    margin-left: calc(50% - 50vw);
	}

	#main_contents .design1_content2 .image {
		width: auto;
		height: calc((100vw - 40px) * 237px / 335px);
	}

	#main_contents .design1_content2 .layout_type1 .content_inner,
	#main_contents .design1_content2 .layout_type2 .content_inner {
		padding: 0;
    	padding-top: 25px;
	}
	#main_contents p.catch {
		font-size: 18px;
		line-height: 27px;
	}
	#main_contents .design1_content2 .item .desc {
		margin: 15px 0 1em 0;
        font-size: 14px;
	}

	#main_contents .design1_content2 .content {
		height: auto;
	}

	#main_contents .design1_content2 {
		gap: 25px;
	}

	.img1_in_store {
		width: 140px;
	}

	.design1_content1 .item_list {
		border-top: 1px solid #ddd !important;
	}
	#main_contents .design1_content1 .item_list .headline {
		font-size: 18px;
		line-height: 27px;
        margin-top: 37px;
        margin-bottom: 18px;
	}
	.design1_content1 .item .desc {
		padding: 0 45px;
		line-height: 2;
		font-size: 14px;
		margin: 15px 0 0 0;
	}
    .design1_content1 .item {
        padding: 0 0 32px !important;
    }

	body.post-name-store .group2 .vk_gridColumn_item:nth-child(1),
	body.post-name-store .group2 .vk_gridColumn_item:nth-child(2) {
		width: 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	body.post-name-store .group2 .vk_outer {
		padding: 35px 50px 40px;
	}
	body.post-name-store .group2 .vk_gridColumn_item:nth-child(2) {
		justify-content: center;
	}
	body.post-name-store .group2 .vk_gridColumn_item .note {
		margin: 15px 0 20px !important;
	}
	#main_contents .image-grid .row {
		row-gap: 15px;
	}
	body.post-name-store .group6 .vk_gridColumn_item:nth-child(2) {
		margin-top: 20px;
    }

	body.post-name-product .grid-list {
		margin: 0 20px;
	}
	body.post-name-product .grid-list li {
		padding: 10px;
	}

	#main_contents .wp-block-group__inner-container > .headline, #main_contents .vk_outer_container > .headline {
		font-size: 12px;
        margin: 0 auto 8px;
	}

	.greeting_sign_title_in_about {
		margin-bottom: 10px !important;
	}
	.greeting_sign_name_in_about img {
		height: 40px !important;
	}

	.post-name-about #main_contents .design1_content2 {
		gap: 33px !important;
	}

	body.post-name-about .group4 th,
	body.post-name-about .group4 td {
		padding: 15px 14px !important;
	}

	body.post-name-100th-anniversary .group4 .layout_type1,
	body.post-name-100th-anniversary .group4 .layout_type2 {
		display: flex;
	    flex-direction: column-reverse;
        min-height: auto !important;
	}
	body.post-name-100th-anniversary .group4 .layout_type1 .content_inner,
	body.post-name-100th-anniversary .group4 .layout_type2 .content_inner{
		padding: 0 !important;
	}
	body.post-name-100th-anniversary .group4 .image {
		margin-top: 20px !important;
	}
	.post-name-100th-anniversary .group4 .caption {
		font-size: 12px !important;
        margin-bottom: -30px !important;
	}
	body.post-name-100th-anniversary .group4 .image:has(.caption) {
		margin-bottom: 20px !important;
	}

	body.post-name-100th-anniversary .group4 .sp-image-first .image {
        margin-top: 0 !important;
	    margin-bottom: 20px !important;
    }
	body.post-name-100th-anniversary .group4 .sp-image-first .image:has(.caption) {
	    margin-bottom: 45px !important;
    }
	body.post-name-100th-anniversary .group4 .sp-seq-text {
		margin-top: -20px !important;
	}

	.post-name-100th-anniversary .group4 .design1_content2 {
		gap: 30px !important;
	}

	#page_header .sub_title span {
        padding: 0 8px !important;
    }

	.post-name-disclaimer h4 {
		font-size: 18px !important;
		line-height: 27px !important;
	}

    #post_title_area .title {
        font-size: 20px !important;
		line-height: 26px !important;
    }
    #post_title_area .date {
		margin-top: 10px !important;
	}
	body.single #post_title_area {
		margin-bottom: 30px;
	}
	body.single #next_prev_post {
		margin-top: 35px;
	}
	#next_prev_post .item {
		font-size: 14px !important;
	}

	.post-name-contact .group1 .vk_gridColumn_item {
		flex: 0 0 100%;
		max-width: 100%;
        padding: 40px 47px 35px;
	}

    .post-name-contact #main_contents .group1 .top_headline {
        line-height: 26px;
        padding: 13px 0 0 0;
    }
	.post-name-contact #main_contents .group1 .cb_contents .link_button {
		margin: 0 !important;
	}
	.post-name-contact #main_contents .group1 p {
		line-height: 24px !important;
	}

	.mw_wp_form {
	    width: 100vw;
	    margin-left: calc(50% - 50vw);
	}

	.mw_wp_form label {
		flex-wrap: wrap;
	}
	.mw_wp_form label > span:first-child {
		width: 100%;
        padding: 0;
        margin-bottom: 10px;
	}
	.mw_wp_form label > span:last-child {
		width: 100%;
	}
	.mw_wp_form label .require,
	.mw_wp_form label .optional {
		font-size: 12px;
        width: 44px;
        height: 22px;
	}
	.contact_inner {
		padding: 33px 20px 40px;
	}
	.contact_input_wrap > label {
		margin-bottom: 25px;
	}
	.mw_wp_form_input label.contact_textarea > span:first-child {
		margin-top: 0;
	}
	.contact_input_wrap > label.contact_textarea {
		margin-bottom: 40px;
	}
	.mw_wp_form input[type=submit] {
		min-width: 240px;
		height: 50px;
		line-height: 50px;
		font-size: 14px;
	}

	.mw_wp_form label input, .mw_wp_form label textarea {
		padding: 17px 27px;
	}

	.mwform_confirm_only.group1 {
	    padding: 0 20px;
	}
    .mw_wp_form_confirm .mw_wp_form label > span:first-child {
        margin-bottom: 18px;
    }
	.mw_wp_form_confirm .contact_input_wrap + p {
		gap: 15px;
		flex-direction: column;
        align-items: center;
	}
	.mw_wp_form_confirm input[type=submit] {
		max-width: 240px !important;
	}
	.mw_wp_form_confirm .contact_input_wrap {
		margin-bottom: 40px;
	}

	.wp-block-button a {
        min-width: 240px;
        height: 50px;
        line-height: 50px;
        font-size: 14px;
	}
}

@media screen and (max-width: 575px) {
    #main_contents {
		padding-bottom: 50px !important;
    }
}

@media screen and (max-width: 550px) {
	#index_news_slider a .title {
    	top: 0 !important;
	}
	.index_content_slider .cb_content_grid .item {
        height: 150px !important;
    }
	.full-width2 {
	    width: 100vw !important;
	    margin-left: calc(50% - 50vw) !important;
	}
	#main_contents .design1_content1 .item_list .image {
		height: calc(100vw * 472px / 668px);
	}
    #blog_list .image_wrap {
        height: 150px !important;
    }
	#blog_list .item {
        height: calc(236px + 39px) !important;
    }
    #blog_list .category a {
        top: calc(85px + 35px) !important;
    }
    #blog_list .title_area {
        height: 125px !important;
    }
	.post-type-archive-news #main_contents {
		margin-top: 40px;
	}
	#news_list .title {
		font-size: 14px !important;
	}
	.widget_search {
		margin-bottom: 0 !important;
	}

	#post_title_area .image {
        height: 236px !important;
    }
	#post_title_area .category a {
        top: 206px !important;
    }
    #post_title_area.no_image .category a {
        top: 20px !important;
        left: 20px;
    }
}
