@charset "utf-8";
/* 徳田屋 */

*{
	box-sizing: border-box;
}

body{
	color: #231815;
}
body,p,td,li, h5,h6 {
	font-family: FP-ヒラギノUD角ゴ StdN W3 または FP-HiraginoUDSansStdN-W3;
	font-weight: 400;
	font-size: clamp(14px, 12.91px + 0.34vw, 18px);
	line-height:1.7;
}
h1,h2,h3,h4,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
	line-height:1.5em;
}

.ls-2{
	letter-spacing:2px;
}

.font-g {
	font-family: "BIZ UDPGothic", "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

.font-m {
	font-family: "Noto Serif JP", serif;
}

.bold {
	font-weight:800;
}


/* 共通レイアウト
==================================================== */
:root{
	--space: 1em;
	--width: calc(100% - var(--space) * 2);
	--head-right-margin: 40px;
}
@media (min-width: 768px) {
  :root {
    --space: 1.14em;
	--head-right-margin: 60px;
  }
}
.container{
	max-width: 1400px;
}

.inner{
	margin: 0 var(--space);
}
.inner-flex{
	display:flex;
	gap: var(--space);
	align-items: stretch;
	flex-wrap: wrap;
}
@media (max-width:767px){
    .contents.inner{
	  margin-right: 0;
  }
}



/* 色設定
==================================================== */
:root{
	--main-color: #33485c;
	--sub-color: ;
	--accent-color: #e7be21;
	--base-color: #f7f8f8;
}

body{
	background: var(--base-color);
}



/* 文字サイズ
==================================================== */
h1, .fs-h1 {
	font-size:clamp(1.75rem,1.2rem + 2vw,3rem);
}
h2, .fs-h2 {
	font-size:clamp(1.5rem,1.15rem + 1.5vw,2.5rem);
}
h3, .fs-h3 {
	font-size:clamp(1.25rem,1.05rem + 1vw,2rem);
}
h4, .fs-h4 {
	font-size:clamp(1.125rem,1rem + 0.5vw,1.5rem);
}
h5, .fs-h5 {
	font-size:clamp(1rem,0.95rem + 0.3vw,1.125rem);
}




/* マージン、パディング
==================================================== */
.mt-40 { margin-top:40px; }
.mb-40 { margin-bottom:40px; }
.pt-40 { padding-top:40px; }
.pb-40 { padding-bottom:40px; }
.mt-80 { margin-top:80px; }
.mb-80 { margin-bottom:80px; }
.pt-80 { padding-top:80px; }
.pb-80 { padding-bottom:80px; }
.ps-80 { padding-left:80px; }
.pe-80 { padding-right:80px; }
.mt-110 { margin-top:110px; }
.mb-110 { margin-bottom:110px; }
.pt-110 { padding-top:110px; }
.pb-110 { padding-bottom:110px; }
.ps-110 { padding-left: 110px; }

.my-80 { margin-top:80px; margin-bottom:80px; }
.my-110 { margin-top:110px; margin-bottom:110px; }
.py-80 { padding-top:80px; padding-bottom:80px; }
.px-80 { padding-left:80px; padding-right:80px; }
.py-110 { padding-top:110px; padding-bottom:110px; }

@media (max-width: 767.98px) {
	.mt-40, .mt-80, .mt-110 { margin-top:30px; }
	.mb-40, .mb-80, .mb-110 { margin-bottom:30px; }
	.pt-40, .pt-80, .pt-110 { padding-top:30px; }
	.pb-40, .pb-80, .pb-110 { padding-bottom:30px; }
	.ps-80, .ps-110 { padding-left:30px; }
	.pe-80, .pe-110 { padding-right:30px; }
	.my-80, .my-110 { margin-top:30px; margin-bottom:30px; }
	.py-80, .py-110 { padding-top:30px; padding-bottom:30px; }
	.mx-80 { margin-left:30px; margin-right:30px; }
}

.lh-1 { line-height: 1em; }
.lh-2 { line-height: 2em; }
.lh-3 { line-height: 3em; }




/* リンク
==================================================== */
a {
	color: #231815;
	text-decoration: none;
}
a:hover{
	opacity: .8
}
a.contact-btn{
	cursor: poinerl
}


/* header
==================================================== */
header {
  position: relative;
  width: var(--width);
  margin: var(--space);
}

header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  margin-top: 0;
  animation: slideDown 0.4s ease forwards;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.header-spacer {
  display: none;
}
.header-spacer.is-active {
  display: block;
}
.logo{
  height: 60px;
}
@media (max-width:767px){
	.logo{
		max-height: 40px;
	}
}
header button#toggle {
  position: absolute;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  padding: 0;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  right: 11px;
  z-index: 9999;
  cursor: pointer;
}
header button#toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background: #fff;
  top: 10px;
  transition: .3s;
}
header button#toggle span::after, header button#toggle span::before {
  content: "";
  display: block;
  position: relative;
  width: 100%;
  height: 4px;
  background: #fff;
  -webkit-transition: .3s;
  transition: .3s;
}
header button#toggle span::before {
  top: 10px;
}
header button#toggle span::after {
  top: -14px;
}
header button#toggle.open span {
  background: rgba(255, 255, 255, 0);
}
header button#toggle.open span::before {
  top: 0px;
  transform: rotate(225deg);
  background: #fff;
}
header button#toggle.open span::after {
  top: -4px;
  transform: rotate(-225deg);
  background: #fff;
}

@media (min-width: 768px){
  right: 30px;
}

#navContents {
	display: block;
	position: absolute;
	margin-top: ;
	left: 0;
	width: 100%;
	overflow: hidden;
	z-index: 999;
	-webkit-transition: .3s;
	transition: .3s;
	clip-path: inset(0 0 100% 0);
}
#navContents.open{
	pointer-events: none;
	clip-path: inset(0 0 0 0);
}
#navContents > div{
	position: relative;
	width: 100%;
	height: auto;
	border-top: .5px solid #fff;
	pointer-events: auto;
	padding: 30px;
}
#navContents >div ul{
	margin-left: 0;
	padding-left: 0;
}
#navContents a,
#navContents p,
#navContents li{
	color: #fff;
	margin-bottom: 10px;
}
#navContents li{
	list-style:none
}
#navContents li::before{
	content: '-';
	margin-right: 5px;
}

.head-tel img,
.head-mail img{
	height: 30px;
}
@media (max-width:767px){
	.head-text{
		font-size: 10px;
	}
	.head-tel img,
	.head-mail img{
		height: 18px;
	}
}

.main-noimg{
	margin-top: 56px;
}
@media (min-width:767px ){
	margin-top: 76px;
}

/* スクロールエフェクト
==================================================== */
.sclfade {
  position: relative;
  opacity: 0;
}
.sclfade.fade-up {
  top: 50px;
}
.sclfade.fade-down {
  top: -50px;
}
.sclfade.fade-left {
  left: -50px;
}
.sclfade.fade-right {
  right: -50px;
}

.faed-animate {
  -webkit-animation: fade 2s forwards;
          animation: fade 2s forwards;
}
.faed-animate.fade-up, .faed-animate.fade-down {
  -webkit-animation: fadeY 1s forwards;
          animation: fadeY 1s forwards;
}
.faed-animate.fade-left {
  -webkit-animation: fadeL 1s forwards;
          animation: fadeL 1s forwards;
}
.faed-animate.fade-right {
  -webkit-animation: fadeR 1s forwards;
          animation: fadeR 1s forwards;
}
.faed-animate.delay-03 {
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}
.faed-animate.delay-05{
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@media (min-width:575px){
	.faed-animate.delay-sm-03 {
		  -webkit-animation-delay: 0.25s;
		          animation-delay: 0.25s;
	}
	.faed-animate.delay-sm-05{
		  -webkit-animation-delay: 0.5s;
		          animation-delay: 0.5s;
	}
}
@media (min-width:767px){
	.faed-animate.delay-md-03 {
		  -webkit-animation-delay: 0.25s;
		          animation-delay: 0.25s;
	}
	.faed-animate.delay-md-05{
		  -webkit-animation-delay: 0.5s;
		          animation-delay: 0.5s;
	}
}

@-webkit-keyframes fade {
  100% {
    opacity: 1;
  }
}

@keyframes fade {
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeY {
  100% {
    opacity: 1;
    top: 0;
  }
}
@keyframes fadeY {
  100% {
    opacity: 1;
    top: 0;
  }
}
@-webkit-keyframes fadeL {
  100% {
    opacity: 1;
    left: 0;
  }
}
@keyframes fadeL {
  100% {
    opacity: 1;
    left: 0;
  }
}
@-webkit-keyframes fadeR {
  100% {
    opacity: 1;
    right: 0;
  }
}
@keyframes fadeR {
  100% {
    opacity: 1;
    right: 0;
  }
}


/* index
==================================================== */

.slide-text{
	position:absolute;
	width: 70%;
	max-width: 600px;
	bottom: 30px;
	left: 30px;
	z-index: 2;
}
@media (min-width:768px){
	.slide-text{
		bottom: 50px;
		left: 50px;
	}
}

.item{
	position: relative;
	margin-bottom: var(--space);
	background: #fff;
}

.item-card-img{
	margin-bottom: 0;
}
.item-card-img img{
	width:100%;
	height:100%;
	object-fit:cover;
}
article .item-card-img{
	aspect-ratio: 558 / 419;
}
@media (max-width: 767px){
	.item{
		width: 100% !important;
	}
	.item-card-img{
		width: 100%;
		height: 50vw;
		flex: 100%;
	}
}
.cat-tag{
	position: absolute;
	background: var(--main-color);
	top: 0;
	left: 0;
	color: #fff;
	padding: .8em 2em;
	border-radius: 0 0 10px 0;
	font-size: 1.1em;
	font-family: "BIZ UDPMincho", "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro",source-han-serif-japanese,"游明朝","Yu Mincho","游明朝体",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.about{
 	width: calc(100% - 500px - var(--space) / 3);
}
.facebook{
	width: calc(500px - var(--space) / 1.5);
	
}
@media (max-width:1130px ){
 .about,
 .facebook{
 	width: calc(50% - var(--space) / 1.5);
 }
}

.facebook > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.facebook iframe {
  width: 100%;
  height: 100%;
}

.item-card{
	padding: 1em;
}
.item-card-body{
	margin: 1.2em 3em 2em 1.2em;
}
.item-card-body h2{
	font-size:clamp(1.5rem,1.15rem + 1.5vw,2rem);
	margin: 1em 0 ;
}
.item-card-body h2 span{
	display: inline-block;
	font-size: 1rem;
	line-height: 1.em !important;
}
.item-card-body h3{
	font-size:clamp(1.25rem,1.05rem + 1vw,1.5rem);
}
@media (min-width:1200px){
	.about .item-card-img{
		height: 350px;
	}
}
.item-card-more{
	position: absolute;
	bottom: 0;
	right: 0;
	background: var(--main-color);
	min-width: 2.7em;
	height:2.7em;
	border-radius:10px 0 0;
	line-height: 2.7em;
	margin-bottom: 0;
	cursor: pointer;
}
.item-card-more span{
	display: inline-block;
	color: #fff;
	padding-left: 1.35em;
	padding-right: 2.3em;
	font-size: 1em;
}
.item-card-more svg{
	position: absolute;
	fill: #fff;
	width: 1.3em;
	top: 50%;
	right: .65em;
	transform: translateY(-50%);
}
.item-card-more.more-w{
	background: #fff;
}
.item-card-more.more-w svg{
	fill: var(--main-color);
	}

.topics{
	padding: 5rem 0 3rem;
}
.topics ul{
	list-style:none;
	padding-left: 0;
	width: 85%;
	margin: auto;
}
.topics ul li{
	padding: 20px 0;
	border-bottom: 1px solid #c3c4c4;
}
.topics ul li span{
	margin-right:20px;
}
@media (max-width: 575px){
	.topics ul li span{
		display: block;
	}
}
.cycle{
	position: relative;
	background: var(--main-color);
	color: #fff;
	width: 8em;
	height: 8em;
	text-align: center;
	border-radius: 100px;
}
.cycle p{
	margin-bottom: 0;
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/* 次階層
==================================================== */
@media (max-width:767px){
	.page-main-img{
		height: 70vw;
	}
	.page-main-img img{
		width:100%;
		height:100%;
		object-fit:cover;
	}
}

.company h2:not(:first-child),
.koushu h3{
	padding-top: var(--space);
	margin-top:  var(--space);
	margin-bottom: calc(var(--space) * .5);
	border-top: 1px solid #d5d5d6;
}

.koushu .item-card-body{
	border-bottom: 1px solid #d5d5d6;
	margin-bottom: 8%;
	padding-bottom: var(--space);
}
.story .item-card-body{
	border-bottom: 1px solid #d5d5d6;
}
.story div:first-child .item-card-body{
	border-top: 1px solid #d5d5d6;
}
.story .item-card-body img{
	width: auto;
	max-width: 100%;
	height: auto;
}
.story .item-card-body .text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 1em;
  overflow: hidden;
  transition: max-height .3s ease;
}
.story .item-card-body .text img{
	display:none;
}
.story .item-card-body .item-card-more{
	margin-top: 4em;
}
.story .item-card-body .more{
	margin-bottom: 4em;
}
.story .item-card-body .text.is-open {
	display: block;
}
.story .item-card-body .text.is-open img{
	display: inline;
}
.item-card-more.is-open svg {
	top: 30%;
	transform: rotate(180deg);
}
.pager{
	margin-top: 5em;
	text-align: center;
}
.pager a{
	border: 1px solid #d5d5d6;
	padding: 10px 15px;
	border-radius: 5px;
}
.pager a.current{
	background: var(--main-color);
	color: #fff;
	border-color: var(--main-color);
}


/* faed-zoom-slider
==================================================== */
.faed-zoom-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 76px - var(--space) * 3);
}
@media (max-width: 767px){
  .faed-zoom-slider {
  	height: calc(100vh - 56px - var(--space) * 3);
  }
}
.faed-zoom-slider div {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.faed-zoom-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}
.faed-zoom-slider div{
  z-index: 0;
}
.faed-zoom-slider div.active{
  z-index:1;
  animation: faed 1s linear forwards;
}
.faed-zoom-slider div.active img{
  animation: zoom 3s linear forwards;
}
.faed-zoom-slider div.remove{
  z-index: 0;
  opacity: 1;
}
.faed-zoom-slider div.remove img{
  animation: zoomIN 3s linear forwards;
}
@keyframes faed{
  from{
  	opacity: 0;
  }
  to{
  	opacity: 1;
  }
}
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
@keyframes zoomIN{
  0%{
  	transform: scale(1.1);
  }
  100%{
  	transform: scale(1.2);
  }
}



/* swipe-slider
==================================================== */
.swipe-slider-wrap {
  position: relative;
  overflow: hidden;
}

.swipe-slider {
  display: flex;
  transition: transform 0.4s ease;
	position: relative;
	z-index: 1;
}

.swipe-slider > div {
  min-width: calc(95% - var(--space));
  margin-right: var(--space) ;
}

.swipe-slider-controls {
  position: absolute;
  display: flex;
  justify-content: center;
  top: 30%;
  width: calc(100% - var(--space));
}

.swipe-slider-controls button {
  cursor: pointer;
  z-index: 2;
  background: none;
  border: none;
  padding: 0;
}
@media (max-width:575px){
  .swipe-slider-controls button{
  	display:none;
  }
}

.swipe-slider-controls button.prev {
  margin-right: auto;
}

.swipe-slider-controls button.next {
  margin-left: auto;
}

.swipe-slider-controls button.prev::before,
.swipe-slider-controls button.next::after {
  position: relative;
  padding: 40px 10px;
  background: #00000070;
  opacity: 1;
  color: #fff;
  font-weight: bold;
  font-size: 2em;
}

.swipe-slider-controls button.prev::before {
  content: '〈';
}

.swipe-slider-controls button.next::after {
  content: '〉';
	
}



/* ナビバー
==================================================== */
/* @media (max-width: 767.98px) {
	body { padding-top:49px; }
} */
.navbar-brand {
	padding:0;
	margin:0;
	padding-left: 15px;
}

.navbar-toggler { 
	position:relative;
	border:none!important;
	padding-bottom:0;
}

.navbar-light .navbar-toggler .navbar-toggler-icon {
	position:relative;
	margin-top:-16px;
}

.navbar-nav .nav-link {
	padding-left: 15px;
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M6 6L 24 24M24 6L6 24'/%3E%3C/svg%3E");
}



/* コピーライト
==================================================== */
#copyright {
	font-size:13px;
	padding-bottom:10px;
}


/* フッター
==================================================== */
footer{
	margin: 0 var(--space) var(--space);
}
fotter,
footer p,
footer a,
footer ul li{
	color: #fff;
}
footer ul li{
	margin-bottom: 10px;
}
@media (min-width: 992px){
	.foot-about{
		width: 50%;
		max-width: calc(420px + 4em);
		padding-right: 4em;
		border-right: 1px solid #fff;
		margin-bottom: 0;
	}
	.foot-nav{
		width: 50%;
		min-width: calc(100% - 420px - 4em);
		padding-left: 4em;
	}
}


/* トップへ戻る
==================================================== */
a.page-top {
	position:fixed;
	bottom:60px;
	right:10px;
	opacity:0.5;
	color:#0064f2;
	display:block;
	z-index: 99;
}
a.page-top:hover {
	opacity:0.7;
}


/* グーテンベルクCSS
==================================================== */
/* テキスト配置 */
.has-text-align-left {
	text-align: left;
}

.has-text-align-center {
	text-align: center;
}

.has-text-align-right {
	text-align: right;
}

.has-text-align-justify {
	text-align: justify;
}

/* 画像 */
.wp-block-image {
	margin: 2rem 0;
}

.wp-block-image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wp-block-image.aligncenter {
	text-align: center;
}

.wp-block-image.alignright {
	text-align: right;
}

/* ボタン */
.wp-block-button {
	margin: 1.5rem 0;
}

.wp-block-button__link {
	display: inline-block;
	padding: .75em 1.5em;
	text-decoration: none;
	border-radius: .25rem;
}

/* 引用 */
.wp-block-quote {
	margin: 2rem 0;
	padding-left: 1.5rem;
	border-left: 4px solid #ccc;
}

/* 区切り線 */
.wp-block-separator {
	margin: 3rem auto;
	border: 0;
	border-top: 1px solid #ddd;
}

/* テーブル */
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
	padding: .75rem;
	border: 1px solid #ddd;
}

/* 埋め込み動画 */
.wp-block-embed iframe {
	max-width: 100%;
}

/* ギャラリー */
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* スペーサー */
.wp-block-spacer {
	clear: both;
}



/* メディアクエリ
==================================================== */
// X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) {}

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) {}

// X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {}

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) {}


// X-Small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {}

// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) {}

// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) {}

// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) {}

// X-Large devices (large desktops, less than 1400px)
@media (max-width: 1399.98px) {}

