@charset "utf-8";

/*
theme name: TMJ
*/

:root {
	--color-primary: #000;
	--color-invert: #fff;
	--color-text-normal: #232323;
	--color-accent-primary: #f9d4a1;
	--color-accent-primary-pale: #fef2e6;
	--color-accent-secondary: #c3dbf5;
	--color-accent-secondary-pale: #e6f4fe;
	--border-style-primary: 1px solid #040000;
	--border-style-pale: 1px solid hsla(0,0%,7%,.11);
	--content-max-width: 872px;
	--common-spacing: 16px;
	--height-header: 90px;
	--height-header-sp: 90px;
 	--design-width: 1440; /* ← 任意の基準幅 */
  --scale-unit: calc(100vw / var(--design-width));
  --font-heading: "Oswald", sans-serif;
  --document-content-max-width: 780px;
  --cubic-beizer-bounce: cubic-bezier(.47,1.64,.41,.8);
  --cubic-beizer-slide: cubic-bezier(.08,.56,.24,.97);
}

@keyframes scroll-x {
      from { background-position-x: 0; }
      to   { background-position-x: 100vw; } /* ←固定幅分だけ移動 */
}

@keyframes float-y {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(20px); }
}

@keyframes float-y-sp {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(10px); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
		transform: translateY(40px);
  }
  to {
    opacity: 1;
		transform: translateY(0);
  }
}

@keyframes underLine {
	0% {
		right: 0;
		width: 100%;
	}
	25%,50% {
		right: 0;
		width: 0;
	}
	75%,100% {
		left: 0;
		right: auto;
		width: 100%;
	}
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes blink {
  0%,100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}


/* start reset css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
	font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

a,
button {
  cursor: pointer;
}

ol,
ul,
menu {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: top;
}

table {
  border-collapse: collapse;
}

input,
textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  appearance: revert;
}

a {
  color: inherit;
  text-decoration: none;
}

::placeholder {
  color: unset;
  color: #aaa;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

/* end reset css */

body {
	font-size: 14px;
}

.grecaptcha-badge {
	z-index: 20;
}

.rainbow path {
  fill: none;
  stroke-width: 1;
}

.st0  { stroke: #e5001e; }
.st1  { stroke: #dc007a; }
.st2  { stroke: #e83819; }
.st3  { stroke: #c60f28; }
.st4  { stroke: #28a838; }
.st5  { stroke: #fabd00; }
.st6  { stroke: #003067; }
.st7  { stroke: #ed6a02; }
.st8  { stroke: #970b31; }
.st9  { stroke: #dc007a; }
.st10 { stroke: #dc007a; }
.st11 { stroke: #d7a600; }
.st12 { stroke: #00a6d9; }
.st13 { stroke: #e83819; }
.st14 { stroke: #d39200; }
.st15 { stroke: #f5a200; }
.st16 { stroke: #427935; }


.swiper-container {
  width: 100%;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 10px;
}


.header {
  position: fixed;
	z-index: 100;
	top: calc(70 * var(--scale-unit)); 
	left: 0;
	max-width: 872px;
	padding: 0 16px;
	width: 100%;
	left: 50%;
	align-items: center;
	transform: translateX(-50%);
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
}

.header-logo {
  left: 33px;
  top: 33px;
	display: block;
  transition: width .3s;
}

.header-logo-image {
  width: 100%;
	width: 70px;
	height: 30px;
}

.header-menu-close-button {
	font-size: 24px;
	position: absolute;
	top: 12px;
	right: 16px;
	cursor: pointer;
}

.header-menu-toggle-switch {
	z-index: 100;
  right: 33px;
  top: 33px;
	display: flex;
	flex-flow: column;
	gap: 4px;
	align-items: flex-end;
  transition: 0.3s var(--cubic-beizer-bounce);
  cursor: pointer;
}

.header-menu-toggle-switch > span {
	display: block;
	background: #000;
	height: 2px;
	width: 16px;
  transition: .5s;
}

.header-menu-toggle-switch.is-active  {
  transform: rotate(90deg);
}

.header-menu {
  border-left: 1px solid #fff;
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 300px;
  padding: 40px 48px;
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  font-family: var(--font-heading);
  font-size: 18px;
  transform: translateX(100%);
  transition: 0.3s var(--cubic-beizer-slide);
  overflow-y: scroll;
}

.header-nav-items {
	display: flex;
	flex-flow: column;
	gap: 24px;
}

.header-menu-sub {
  padding-left: 16px;
  font-size: 18px;
}

.header-menu-items > li + li {
  margin-top: 8px;
}


.header-menu-sub li {
  margin-top: 4px;
}


.header-menu.is-open {
  transform: translateX(0);
}


.mainimage {
	padding: 40px 16px 24px;
	background: #e6f4fe;
	background: linear-gradient(180deg,rgba(230, 244, 254, 1) 0%, rgba(230, 244, 254, 1) 60%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 1) 100%);
	position: relative;
	overflow: hidden;
}

.rainbow {
	position: absolute;
	width: 110%;
	height: auto;
	transform: translate(-30px, -41.5%);
	left: 0;
	top: 0;
	z-index: 10;
}

.cloud {
	position: absolute;
	z-index: 20;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url(images/cloud.svg); /* ←背景画像を指定 */
	background-repeat: repeat-x;
	background-position: center 0;
	background-size: 100vw auto;
	/*
	animation: scroll-x 60s linear infinite, float-y 4s ease-in-out infinite;
	*/

	animation: scroll-x 120s linear infinite, float-y 4s ease-in-out infinite;
}

.mainimage-visual {
	padding-top: calc(110 * var(--scale-unit)); 
	text-align: center;
	position: relative;
	z-index: 30;
	max-width: 935px;
	margin: 0 auto;
	opacity: 1;
	transform: translateY(0);
	animation: fadeIn 4s;
}

.content-frame {
	max-width: var(--content-max-width);
	margin-inline: auto;
	padding: 0 16px;
	position: relative;
}

.important-news {
	margin-top: 16px;

}

.important-news-heading {
	background: var(--color-primary);
	color: var(--color-invert);
	font-size: 18px;
	max-width: 242px;
	height: 40px;
	padding: 0 12px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	overflow: visible;
	display: flex;
	align-items: center;
	gap: 6px;
}

.important-news-heading::before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	background: url(./images/icons/notice.svg) 0 0/40px no-repeat;
	transform: translateY(-15px);
}

.important-news-swiper {
	height: 40px;
	overflow: hidden;
	border: var(--border-style-primary);
	line-height: 36px;
	padding: 0 16px;
}

.important-news-items a {
	display: block;
	font-size: 15px;
	text-align: left;
	width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

a.pe-none {
	pointer-events: none;
	cursor: default;
}

.index-menu {
	position: relative;
	background: var(--color-accent-primary);
	padding: 48px 0;
	margin-top: 48px;
}

.index-menu-items {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 24px;
}

.index-menu-items::before {
	position: absolute;
	content: "";
	display: block;
	background: url(images/icons/rainbow.svg) 0 0/162px no-repeat;
	width: 162px;
	height: 140px;
	right: 195px;
	top: -56px;
	transform: rotate(8deg);
	z-index: 2;
}

.index-menu-item {
	position: relative;
	border-radius: 15px;
	width: 264px;
	height: 264px;
	background: #fff;
	border: var(--border-style-primary);
}

.index-menu-item:nth-child(1) {
	position: relative;
	z-index: 2;
}

.index-menu-item:nth-child(2) {
	position: relative;
	z-index: 1;
}

.index-menu-item:nth-child(3) {
	position: relative;
	z-index: 3;
}

.index-menu-item img {
	position: absolute;
}

.index-menu-item:nth-child(1) img {
	bottom: 12px;
	right: 20px;
}

.index-menu-item:nth-child(2) img {
	bottom: 12px;
	right: 32px;
}

.index-menu-item:nth-child(3) img {
	bottom: 12px;
	right: 40px;
}

.index-menu-item:nth-child(4)  {
	background: url(images/index-menu-decoration4.png) center bottom/250px no-repeat #fff;
}

.index-menu-item:nth-child(5) img {
	bottom: 8px;
	right: 50px;
}

.index-menu-item-link {
	text-align: center;
	display: block;
	padding: 48px 32px;
	height: 100%;
}

.index-menu-item-heading {
	font-size: 18px;
	display: inline-block;
	margin: 0 auto;
	position: relative;
}

.index-menu-item-heading::before {
	content: "";
	position: absolute;
  background:linear-gradient(transparent 70%, #ffe45f 70%);
	display: inline-block;
	width: 100%;
	height: 100%;
	right: 0;
}

.index-menu-item-heading span {
	position: relative;
	z-index: 2;
}

.index-menu-item-text {
	
	text-align: left;
	margin-top: 16px;
	line-height: 21px;
}

.index-menu-item:hover .index-menu-item-heading::before {
	animation: underLine 1.5s infinite;
}

.greeting {
	padding: 88px 0 64px;
}

.greeting-container {
	position: relative;
}

.greeting-container::before {
	content: "";
	background: url(images/icons/balloon.svg) 0 0/95px no-repeat;
	position: absolute;
	width: 95px;
	height: 167px;
	left: -32px;
	top: -40px;
	transform: translateY(-100%);
}

.greeting-items {
	display: flex;
	gap: 36px;
	margin-top: 16px;
}

.greeting-heading {
	font-size: 18px;
	display: flex;
	align-items: center;
}

.greeting-heading::before {
	content: "";
	background: url(./images/icons/megaphone.svg) 0 0/62px no-repeat;
	width: 62px;
	height: 62px;
	position: relative;
	top: 2px;
	margin-right: -8px;
}

.greeting-text {
	
	line-height: 28px;
}

.greeting-button {
	margin: 40px auto 0;
	width: 240px;
}

.greeting-image {
	min-width: 300px;
	width: 300px;
	border-radius: 10px;
	overflow: hidden;
}

.primary-button {
	border: var(--border-style-primary);
	border-radius: 10px;
	overflow: hidden;
	height: 100%;
}

.primary-button-link {
	position: relative;
	overflow: hidden;
	background: var(--color-primary);
	text-align: center;
	color: #fff;
	height: 40px;
	line-height: 38px;
	font-size: 15px;
	display: block;
	transition: 0.3s;
	width: 100%;
	border: 0;
	height: 100%;
}

.primary-button-link::before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	display: block;
	background: #fff;
	transition: 0.3s ease-in-out;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 1;
	border-radius: 300px;
}

.primary-button-link * {
	transition: 0.3s;
}

.primary-button-link:hover * {
	filter: invert(1);
	z-index: 1;
}

.primary-button-link span {
	position: relative;
	z-index: 2;
}

.primary-button-link:hover::before {
	content: "";
	width: 400px;
	height: 400px;
	display: block;
}

.primary-button-link span {
	position: relative;
	z-index: 10;
}

.news {
	padding: 50px 0 60px;
	background: var(--color-accent-secondary);
	position: relative;
}

.news-list-container {
	overflow: hidden;
}

.news::before {
	content: "";
	background: url(images/news-decoration1.png) 0 0/92px no-repeat;
	position: absolute;
	width: 92px;
	height: 160px;
	right: 56px;
	top: -32px;
}

.news-heading {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 30px;
	gap: 4px;
}

.news-heading::before {
	content: "";
	background: url(images/icons/memo.svg) 0 0/37px no-repeat;
	width: 37px;
	height: 31px;
}

.news-items {
  padding-left: calc((100vw - var(--content-max-width) + 32px) / 2);
  overflow: visible;
	margin-top: 32px;
}

.news-item {
	transition: 0.3s;
}

.news-thumbnail {
	aspect-ratio: 1/1;
	border-radius: 10px;
	overflow: hidden;
}

.news-thumbnail img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.news-item:hover {
	opacity: 0.7;
}

.news-title {
	font-size: 18px;	
	margin-top: 8px;
}

.news-date {
	font-size: 14px;	
	display: block;
	margin-top: 4px;
}

.news-button {
	max-width: var(--content-max-width);
	padding: 0 16px;
	margin: 50px auto 0;
	text-align: center;
	border-radius: 5px;
}

.secondary-button-link {
	position: relative;
	background: #fff;
	border: var(--border-style-primary);
	display: block;
	height: 48px;
	line-height: 46px;
	border-radius: 5px;
	transition: 0.2s;
	font-size: 18px;
	overflow: hidden;
}

.secondary-button-link::before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	display: block;
	background: #000;
	transition: 0.3s ease-in-out;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	border-radius: 400px;
}

.secondary-button-link:hover {
	color: #fff;
}

.secondary-button-link:hover::before {
	content: "";
	width: 900px;
	height: 900px;
	display: block;
}

.secondary-button-link span {
	position: relative;
	z-index: 10;
}

.footer {
	padding: 60px 0;
	background: #fef2e6;
}

.footer-logo {
	text-align: center;
}

.footer-logo img {
	width: 68px;
}

.copyright {
	letter-spacing: 0.05em;
	margin-top: 32px;
	text-align: center;
	font-size: 11px;
}

.footer-sns-icon-items {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.footer-sns-icon-items li {
	width: 20px;
}

.footer-nav-items {
	display: flex;
	gap: 24px;
	justify-content: center;
}

.footer-nav-items a:hover {
	text-decoration: underline;
}

.footer-nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 45px;
	gap: 24px;
}

.footer-address {
	padding: 25px 16px;
	border: var(--border-style-primary) ;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	margin-top: 45px;
}

.footer-address .address {
	display: flex;
	flex-flow: column;
	gap: 10px;
}

.footer-address .tel {
	display: flex;
	gap: 8px;
}

.footer-address .tel p {
	display: flex;
	gap: 8px;
	font-size: 14px;
	align-items: flex-end;
	line-height: 1;
	letter-spacing: 0.05em;
}

.footer-address .tel span {
	gap: 8px;
	font-size: 24px;
}

.footer-menu {
	margin-top: 80px;
}

.footer-menu-title {
	font-size: 18px;
	display: flex;
	align-items: center;
}

.footer-menu-title::before {
	content: "";
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: cover;
}

.footer-menu-title.folder::before {
	display: inline-block;
	background-image: url(images/icons/folder.svg);
	width: 38px;
	height: 28px;
	gap: 8px;
}

.footer-menu-title.folder {
	gap: 8px
}

.footer-menu-title.clipboard::before {
	display: inline-block;
	background-image: url(images/icons/clipboard.svg);
	width: 25px;
	height: 35px;
	gap: 8px;
	transform: translateX(4px);
}

.footer-menu-title.clipboard {
	gap: 21px
}

.footer-menu-items {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}

.footer-menu-items a:hover {
	text-decoration: underline;
}

.footer-menu-block + .footer-menu-block {
	margin-top: 20px;
}

.page-container {
	padding-top: calc(80 * var(--scale-unit)); 
	margin-top: 80px;
	padding-bottom: 60px;
}

.page-title {
	font-size: 24px;
	margin-bottom: 48px;
	overflow: hidden;
	position: relative;
	height: 225px;
}

.page-title::before {
	content: "";
	position: absolute;
	right: 0;
	height: 170px;
	background: var(--color-accent-secondary-pale);
  width: calc(100% - calc((100vw - calc(var(--content-max-width) - 420px) + 32px) / 2));
}

.page-title-text {
	padding-top: 24px;
	height: 100%;
	overflow: visible;
	position: relative;
}

.page-title-text::after {
	position: absolute;
	content: "";
	display: block;
	background-repeat: no-repeat;
	background-size: cover;
}

.page-company .page-title-text::after {
	background-image: url(images/icons/page-title/company.png);
	width: 320px;
	height: 197px;
	top: 18px;
	right: -24px;
}

.page-contact .page-title::before {
	background: #f9d4a1;
}

.page-contact .page-title-text::after {
	background-image: url(images/icons/page-title/contact.png);
	width: 250px;
	height: 197px;
	top: 20px;
	right: -24px;
}

.page-news .page-title-text::after {
	background-image: url(images/icons/page-title/note.png);
	width: 245px;
  height: 197px;
	top: 18px;
	right: -24px;
}

.page-news .page-title::before {
	background: #e6fee8;
}

.page-privacy-policy .page-title-text::after {
	background-image: url(images/icons/page-title/laptop.png);
	width: 208px;
  height: 197px;
	top: 18px;
	right: 0;
}

.page-privacy-policy .page-title::before {
	background: #fee6ee;
}


.page-title-text span {
	font-size: 36px;
	letter-spacing: 0.4em;
	display: block;
	font-weight: 700;
}

.page-title-text small {
	font-size: 18px;
	letter-spacing: 0.2em;
	display: block;
	font-weight: 700;
	margin-top: 20px;
}

.news-item-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.post-title {
	font-size: 30px;
	border-left: var(--border-style-primary);
	padding-left: 20px;
	font-weight: 700;
	line-height: 45px;
	margin-top: 16px;
}

.post-thumbnail {
	aspect-ratio: 1/1;
	min-width: 180px;
	border-right: 4px;
	overflow: hidden;
}

.post-thumbnail img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.post-time {
	font-size: 10px;
	letter-spacing: 0.2em;
	font-weight: 500;
}

.post-content-container {
	display: flex;
	gap: 20px;
	background: #f9f9f7;
	padding: 60px 50px;
	margin-top: 60px;
}

.post-content {
	font-size: 14px;
	margin-top: -12px;
	letter-spacing: 0.025em;
	line-height: 28px;
}

.post-content h2 {
	margin-top: 40px;
	margin-bottom: 8px;
	font-size: 18px;
}

.post-content p {
	line-height: 36px;
}

.post-content p + p {
	margin-top: 16px;	
}

.post-content a {
	text-decoration: underline;
}

.post-content a:hover {
	text-decoration: none;
}

.post-thumbnail {
	width: 180px;
	height: 180px;
	border-radius: 5px;
}

.post-back-to-list-button {
	display: flex;
	justify-content: flex-end;
	margin-top: 60px;
}

.post-back-to-list-button .primary-button {
	width: 240px;
}

.company-profile {
	margin-top: 48px;
}

.company-table {
	margin-top: -20px;
}

.company-table th,
.company-table td {
	border-bottom: 1px solid #bdbcac;
	padding: 24px 24px;
	text-align: left;
}

.company-table th {
	width: 210px;
	padding: 20px 0;
	font-weight: 500;
	font-size: 15px;
}


.company-table td {
	padding: 20px 0;
	line-height: 30px;
}

.company-map {
	height: 400px;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	overflow: hidden; 
}

.company-map iframe {
	height: 760px;
	margin-top: -170px;
}

.contact-form-frame {
	padding: 60px;
	background: #e6e5da;
}

.form-item  {
	display: grid;
	grid-template-columns: 240px 1fr;
	align-items: center;
}

.form-item:first-child {
	margin-bottom: -8px;
}

.form-item + .form-item {
	margin-top: 30px;
}

.form-label {
	font-size: 15px;
	width: 240px;
	display: flex;
	align-items: center;
	font-weight: 500;
}

.form-label.required::after {
	content: "必須";
	font-size: 10px;
	background: #bdbcac;
	margin-left: 8px;
	display: inline-block;
	padding: 1px 4px;
	font-weight: 500;
	transform: translateY(1px);
}


.wpcf7-list-item {
	margin-left: 0;
	margin-right: 20px;
	margin-bottom: 10px;
}

.wpcf7-list-item label {
	display: flex;
	gap: 10px;
	line-height: 1.7;
}

.contact-form-privacy-checkbox input,
.wpcf7-list-item label input {
	width: 25px;
	height: 25px;
	background: #bdbcac;
	box-shadow: 0 0 0 5px #bdbcac inset ;
	appearance: none;
	transition: .3s;
	border-radius: 0;
	border: 0 solid #000;
}

.contact-form-privacy-checkbox input:checked,
.wpcf7-list-item label input:checked {
	background: #000;
}

.form-input {
	margin-top: 4px;
}

.form-input textarea,
.form-input input[type=text],
.form-input input[type=email] {
	padding: 8px 12px;
	border: 0;
	font-size: 14px;
	width: 100%;
	background: #f7f7f7;
}

.form-input input::placeholder {
	color: #e6e5da;
}

.contact-form-privacy-checkbox {
	margin-top: 30px;
}

.contact-form-privacy-checkbox label {
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-form-privacy-checkbox a {
	text-decoration: underline;
	margin-left: 8px;
}

.wpcf7 form .wpcf7-response-output {
	border-width: 1px;
	padding: 8px 12px;
}

.form-submit {
	width: 300px;
	margin: 60px auto 0;
	padding-left: 60px;
	cursor: pointer;
}

.form-submit input[type=submit] {
	appearance: none;
	border: 0;
	outline: none;
	font-size: 15px;
	background: none;
	letter-spacing: 0.05em;
	color: #fff;
	width: 100%;
	height: 100%;
}

.paging {
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
	margin-top: 60px;
	padding: 20px 0;
	border-top: var(--border-style-primary);
	border-bottom: var(--border-style-primary);

}

.page-numbers {
	background: #ebebe6;
	width: 38px;
	height: 38px;
	font-size: 14px;
	line-height: 25px;
	text-align: center;
	display: grid;
	place-items: center;
	border-radius: 100px;
	border: 1px solid #ebebe6;
	overflow: hidden;
	transition: opacity 0.3s;
}

.page-numbers:not(.current):hover {
	opacity: 0.7;
}

.page-numbers.current {
	background: var(--color-primary);
	color: var(--color-invert);
	width: 45px;
	height: 45px;
}

.page-numbers.prev,
.page-numbers.next {
	padding: 0 24px;
	background: none;
	color: var(--color-primary);
	border: 0;
}

.page-heading {
	margin-bottom: 32px;
}

.page-heading h2 {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.4em;
}

.page-heading small {
	
	display: block;
	font-weight: 700;
	margin-top: 6px;
	letter-spacing: 0.4em;
}

.page-description {
	line-height: 36px;
}

.company-access {
	margin-top: 48px;
}

.company-access-info {
	font-size: 14px;
	letter-spacing: 0.05em;
	line-height: 24px;
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.company-access-info-map-button {
	width: 240px;
}

.company-info-dl-button {
	max-width: 300px;
	margin: 48px auto 0;
}


.primary-button-link .wpcf7-spinner {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 10px;
}

.thanks-heading {
	font-size: 24px;
	text-align: center;
}

.thanks-text {
	font-size: 14px;
	text-align: center;
	margin-top: 32px;
	line-height: 24px;
}

.thanks-button {
	max-width: 240px;
	margin: 40px auto 0;	
}

.page-document h2 {
	margin-top: 40px;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 500;
}

.page-document p {
	letter-spacing: 0.05em;
	line-height: 24px;
}

.page-document p + p {
	margin-bottom: 16px;
}

.loader {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	place-items: center;
	background: rgba(0,0,0,0.7);
	width: 100%;
	height: 100%;
	z-index: 1000;
	display: none;
	color: #fff;
	font-size: 16px;
}

.loader::before {
	content: "ダウンロード中";
	font-weight: 700;
	animation: 2s blink infinite;
}

.loader.active{
	display: grid;
}

.product-items {
	display: grid;
	grid-template-columns: repeat(4, 170px);
	column-gap: 55px;
	row-gap: 40px;
	margin-top: 40px;
}

.product-item-thumbnail {
	border-radius: 15px;
	overflow: hidden;
}

.product-item-thumbnail img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.product-item-brand {
	font-size: 12px;	
	color: #5a594d;
	margin-top: 16px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.product-item-name {
	font-size: 18px;	
	margin-top: 10px;
	display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-form-toggle-button,
.product-item {
	transition: .3s;
	cursor: pointer;
}

.search-form-toggle-button:hover,
.product-item:hover {
	opacity: 0.8;
}




/*検索*/

.search-form-items {
	background: var(--color-accent-primary);
	padding: 60px 0;
}

.search-block + .search-block {
	margin-top: 40px;
}

.search-heading  {
	font-size: 21px;	
	font-weight: 500;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	margin-bottom: 40px;
}

.search-heading::before,
.search-heading::after  {
	content: "";
	background: var(--color-primary);
	width: 10px;
	height: 1px;
}

.search-keyword-input {
	border: 1px solid #bdbcac;
	line-height: 60px;
	font-size: 15px;
	border-radius: 15px;
	width: 100%;
	padding: 0 20px;
	background: url(images/icons/search.svg) right 20px center/18px no-repeat #fff;
}

.search-keyword-input::placeholder {
	color: #bdbcac;
}

.search-categories input[type=checkbox],
.search-tags input[type=checkbox] {
	display: none;
}

.search-categories {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: -10px;
	gap: 10px;
}

.search-category {
	padding: 10px 10px;
	border-radius: 10px;
	transition: 0.3s;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.search-category:hover  {
	background: var(--color-accent-primary-pale);
}

.search-category:has(:checked) {
	background: var(--color-primary);
	color: var(--color-invert)
}

.search-category-icon {
	width:30px; 
	height:30px; 
	object-fit:contain;
}

.search-tags {
	display: flex;
	column-gap: 10px;
	row-gap: 20px;
	flex-wrap: wrap;
}

.search-tag {
	padding: 5px 20px;
	border-radius: 100px;
	background: #fff;
	transition: 0.3s;
}

.search-tag:hover {
	background: var(--color-accent-primary-pale);
}

.search-tag:has(:checked) {
	background: #000;
	color: #fff;
}

.search-result-tools {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 45px;
}

.search-order-changer {
	width: 130px;
	height: 40px;
	padding: 0 10px;
	appearance: none;
	border: var(--border-style-primary);
	background: url(images/icons/triangle-down.svg) right 10px center/8px no-repeat;
}

.search-no-result {
	font-size: 20px;
	text-align: center;
	line-height: 1.7;
	padding: 100px 0 60px;
}

.search-submit-button {
	margin: 60px  auto 0;
	max-width: 240px;
	height: 50px;
}

.search-conditions {
	margin-top: 6px;
}

.search-conditions b {
	font-weight: 500;
}

.search-form-opener {
	padding: 40px 0;
	background: var(--color-accent-primary);
}

.search-form-opener .search-heading {
	margin: 0;
}

.search-form-opener.active{
	display: none;
}

.search-form-items {
	display: none;
}

.search-form-items.active {
	display: block;
}

.search-form-toggle-button {
	background: var(--color-accent-primary);
	color: var(--color-invert);
	font-size: 14px;
	background: #000;
	gap: 10px;
	width: 180px;
	height: 48px;
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
	margin-left: auto;
}

.search-form-toggle-button::before {
	content: "";
	width: 24px;
	height: 24px;
	background: url(images/icons/triangle-down.svg) center/4px no-repeat #fff;
	border-radius: 100px;
}

.search-form-toggle-button::after {
	content: "クリックで開く"
}

.search-form-toggle-button.active::before {
	transform: rotate(180deg);
}

.search-form-toggle-button.active::after {
	content: "閉じる"
}


.product-detail {
	display: flex;
	gap: 40px;
	justify-content: space-between;
	align-items:flex-start;
}

.product-detail-meta {
	flex: 1;
}

.product-detail-image-container {
	width: 420px;
	position: sticky;
	top: 40px;
	left: 0;
	z-index: 200;
}


.product-detail-image-container .swiper {
	aspect-ratio: 1/1;
	border-radius: 15px;
	margin-bottom: 0;
}

.product-detail-image-container .swiper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-detail-gallery-thumbnails {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.product-detail-gallery-thumbnails img {
	border-radius: 15px;
}

.product-detail-tags {
	display: flex;
	gap: 10px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.product-detail-tag {
	font-size: 12px;
	background: #ebebe6;
	border-radius: 100px;
	text-align: center;
	display: block;
	padding: 4px 20px;
	transition: 0.3s;
}

.product-detail-tag:hover {
	background: #000;
	color: #fff;
}

.product-detail-brand {
	font-size: 14px;
}

.product-detail-name {
	font-size: 24px;
	font-weight: 700;
}

.product-detail-cart {
	margin-top: 35px;
}

.product-detail-quantity-input {
	display: flex;
	border: 1px solid #202020;
	padding: 8px 30px 8px 20px;
	margin-top: 8px;
	width: 135px;
	gap: 20px;
}

.product-detail-quantity-input input {
	width: 30px;
}

.product-detail-quantity-input input, 
.product-detail-quantity-input button {
	appearance: none;
	border: 0;
	background: none;
}

.product-detail-price {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	text-align: right;
	margin-top: 20px;
}

.product-detail-price-text {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}



.product-detail-quantity {

}

.product-detail-price-text span,
.product-detail-price-text bdi {
	font-size: 16px;
	font-weight: 700;
}

.product-detail-unit-price {
	font-size: 11px;
}

.product-detail-buttons {
	margin-top: 16px;
}

.product-detail-add-cart-button-container .primary-button {
	border-radius: 0;
}

.product-detail-add-cart-button {
	cursor: pointer;
	background: var(--color-primary);
	color: #fff;
	font-size: 15px;	
	font-weight: 500;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 64px;
	letter-spacing: 0.05em;
}

.product-detail-add-cart-button small {
	font-size: 12px;
	letter-spacing: 0.1em;
	margin-left: 10px;
	color: #cdcdcd;
}

.product-detail-add-cart-button span {
	display: flex;
	font-weight: 500;
	gap: 20px;
}

.product-detail-add-cart-button:not(.no-icon) span::before {
	content: "";
	background: url(images/icons/add_cart.svg) center center/cover no-repeat;
	width: 36px;
	height: 36px;
	display: block;
	filter: invert(1);
}

.product-detail-add-cart-button.no-icon {
	height: 50px;
}

.product-detail-add-cart-button-container:has(.no-icon) {
	margin-top: 10px;
}

.product-detail-description {
	line-height: 36px;
	letter-spacing: 0.05em;
	font-size: 14px;
}

.product-detail-description p {
	margin-top: 40px;
}

.product-detail-description a {
	text-decoration: underline;
}

.product-detail-description a:hover {
	text-decoration: none;
}

.product-detail-description img {
	width: 100%;
	height: auto;
	border-radius: 15px;
}

.cart-toggle-button {
	right: 80px;
	top: 80px;
	margin-left: auto;
}

.related-products {
	background: #e6e5da;
	padding: 60px 0;
}

.related-products .product-items {
	margin-top: 20px;
}

.related-products-heading {
	font-size: 15px;
	font-weight: 500;
}

.related-products {
	grid-template-columns: repeat(4, 170px);	
}

.related-products .product-detail-tag {
	background: #fff;
	border-radius: 2.5px;
	padding: 2px 8px 3px;
}

.related-products .product-detail-tags {
	margin-right: 2px;
	flex-wrap: wrap;
}

.product-detail-back-to-list-button {
	margin: 0 auto;
	padding: 60px 0;
	width: 240px;
}

.related-products .product-item-name {
	margin-top: 10px;
}

.product-detail-attributes {
	margin-top: 80px;
}

.product-detail-attribute + .product-detail-attribute {
	margin-top: -1px;
}

.product-detail-attribute-title {
	padding-block: 15px;
	border-top: var(--border-style-primary);
	border-bottom: var(--border-style-primary);
	font-size: 16px;
	display: flex;
	gap: 6px;
	align-items: center;
}

.product-detail-attribute-values {
	color: #999999;
	line-height: 36px;
	letter-spacing: 0.05em;
	padding-block: 20px;
}

.product-detail-attribute-title::before {
	content: "⚫︎"
}

.product-detail-attribute .toggle-icon {
	margin-left: auto;
}

.product-detail-attribute-values.is-hidden {
  display: none;
}

.attribute-toggle-button {
  all: unset;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.attribute-toggle-symbol {
  font-weight: bold;
  font-size: 1.2em;
  width: 1em;
  text-align: center;
  display: inline-block;
}

.all-products-button {
	width: 240px;
	margin: 60px auto 0;
}

.page-ec .search-form-items {
	display: block;
}

.page-ec .search-form-toggle-button,
.page-ec .search-result-tools {
	display: none;
}

.page-ec .page-container {
	padding-top: 0;
	margin-top: 80px;
}

.page-ec .mainimage {
	padding-top: 125px;
}


.page-ec .mainimage-visual {
	display: none;
}

.ec-heading-text {
	text-align: center;
	font-size: 16px;
	margin-bottom: 10px;
}

.ec-products {
	margin-top: 80px;
}

.ec-new-products {
	margin-bottom: 80px;
}

.featured-product-banner {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.featured-product-block {
}

.featured-product-text {
	padding: 30px 60px 0;
}

.featured-product-text strong {
	font-size: 20px;
	letter-spacing: 0.05em;
	font-weight: normal;
}

.featured-product-text p {
	font-size: 16px;
	margin-top: 20px;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 1100px) {
	.page-ec .page-container {
		padding-top: 0;
		margin-top: 40px;
	}

	.featured-product-text {
		display: none;
	}

	.product-items {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media screen and (max-width: 780px) {
	.greeting-items {
		flex-flow: column-reverse;
		gap: 32px;
	}

	.greeting-image {
		width: 100%;
	}

	.news-items {
		padding-left: 16px;
	}

	.news::before {
		right: 12px;
	}

	.greeting {
		padding-top: 40px;
	}

	.greeting-container::before {
		content: none;
	}

	.news-item-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-form-frame {
		padding: 40px 24px;
	}

	.contact-form-privacy-checkbox {
		margin-top: 24px;
	}

	.form-submit {
		padding-left: 0;
		margin-top: 24px;
	}

	.form-item {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.page-title {
		margin-bottom: 24px;
	}

	.post-content-container {
		flex-flow: column;
		padding: 24px 16px 32px;
		margin-top: 16px;
	}

	.post-thumbnail {
		min-width: 100%;
		aspect-ratio: auto;
	}
	
	.post-title {
		font-size: 20px;
		line-height: 32px;
	}

	.post-content {
		margin-top: 0;
	}

	.post-content p {
		line-height: 28px;
	}

	.post-back-to-list-button {
		margin-top: 24px;
	}

	.footer-nav-items {
		flex-flow: column;
		justify-content: center;
		align-items: center;
	}

	.footer-address {
		gap: 20px;
	}

	.footer-menu-title,
	.footer-menu-items {
		justify-content: center;
		align-items: center;
	}


	.footer-address,
	.footer-address .tel,
	.footer-nav-container,
	.footer-menu-items {
		flex-flow: column;
	}

	.footer-menu {
		margin-top: 64px;
	}

	.footer-menu-block + .footer-menu-block {
		margin-top: 40px;
	}

}



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

	.cloud {
		animation: scroll-x 60s linear infinite, float-y-sp 4s ease-in-out infinite;
	}

	.index-menu-item {
		width: 100%;
	}

	.index-menu-item:nth-child(4)  {
		background: url(images/index-menu-decoration4-sp.png) center 22px/340px no-repeat #fff;
	}


	.index-menu-item-link {
		padding: 48px;
		padding-top: 40px;
	}

	.index-menu-item:nth-child(4) .index-menu-item-link  {
		padding-top: 48px;
	}


	.index-menu-items::before {
		left: 50%;
		top: -56px;
		transform: rotate(8deg) translateX(-50%);
		right: auto;
	}

	.important-news-heading {
		font-size: 16px;
		height: 34px;
		line-height: 30px;
	}

	.important-news-items {
		font-size: 12px;
		height: 34px;
		line-height: 30px;
	}

	.news-item-list {
		grid-template-columns: 1fr;
	}
	.company-table tr {
		display: flex;
		flex-flow: column;
		gap: 8px;
	}

	.company-table tr + tr {
		margin-top: 12px;
		border-top: 1px solid #bdbcac;
		padding-top: 12px;
	}

	.company-table th,
	.company-table td {
		border: 0;
		padding: 0;
	}

	.company-table th {
		text-align: left;
	}

	.company-table {
		margin-top: 0;
	}

	.company-info-dl-button {
		margin-top: 32px;
	}

	.company-access-info  {
		flex-flow: column;
		gap: 16px;
		margin-top: 24px;
	}

	.page-title-text::after {
    transform: scale(0.6) translate(25%, 25%);
	}

	.page-title-text {
		padding-top: 32px;
	}

	.page-title-text span {
		font-size: 30px;
	}

	.page-title-text small {
		margin-top: 10px;
		font-size: 16px;
	}


	.search-categories {
		grid-template-columns: 1fr;
	}

	.search-result-tools {
		flex-flow: column;
		align-items: flex-start;
	}

	.search-order-changer {
		width: 100%;
	}

	.product-detail {
		flex-flow: column;
		gap: 20px;
	}

	.product-detail-image-container {
		position: static;
		width: 100%;
	}

	.product-detail-tags {
		margin-top: 16px;
	}

	.product-detail-cart {
		grid-area: product-detail-cart;
		margin-top: 0;
	}
	.product-detail-price {
		grid-area: product-detail-price;
		padding-top: 24px;
		margin-top: 0;
	}
	.product-detail-buttons {
		grid-area: product-detail-buttons;
	}
	.product-detail-description {
		grid-area: product-detail-description;
	}

	.product-detail-name {
		grid-area: product-detail-name;
		margin-bottom: 16px;
	}

	.product-detail-meta {
			display: grid;
			grid-template-areas:
				"product-detail-name product-detail-name"
				"product-detail-cart product-detail-price"
				"product-detail-buttons product-detail-buttons"
				"product-detail-description product-detail-description"
			;
	}

	.product-detail-price-text span, .product-detail-price-text bdi {
		font-size: 24px;
	}

	.product-detail-quantity-input {
    padding: 8px 0px 8px 18px;
    width: 108px;
		gap: 15px;
	}

	.product-detail-quantity-input input {
		width: 15px;
	}

	.product-items {
		gap: 20px!important;
	}

	.product-detail-meta {
		width: 100%;
	}

	.product-detail-description p {
		margin-top: 24px;
	}

	.product-item-name {
		font-size: 16px;
	}

	.page-ec .mainimage {
		padding-top: 70px;
		background: #e5f4fe;
	}

}

/* woocommerce mini cart default*/

.mini-cart-container {
	position: relative;
	margin-left: auto;
}

.widget_shopping_cart_content {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 300px;
	padding: 24px;
	display: none;
	background: var(--color-invert);
	z-index: 100;
	border-radius: 15px;
	border: var(--border-style-pale);
	transition: 0.2s ease-in-out;
	transform: translateX(200%);
	overflow-y: scroll;
}


.widget_shopping_cart_content.active {
	display: block
}

.mini_cart_item + .mini_cart_item {
	margin-top: 20px!important;
	padding-top: 20px!important;
	border-top: var(--border-style-pale);
} 

.mini_cart_item img {
	min-width: 60px;
}

.woocommerce ul.cart_list li a:not(.remove), .woocommerce ul.product_list_widget li a:not(.remove) {
	display: inline;
}

.woocommerce a.remove {
	color: #fff!important;
	display: inline-block!important;
	background: #737781!important;
	width: 16px;
	height: 16px;
	line-height: 16px;
	font-size: 10px;
	transform: translateY(-1px)
}

.woocommerce-mini-cart__total {
	text-align: center;
	font-size: 16px;
	margin-top: 10px;
	padding-top: 20px;
	margin-bottom: 10px;
	border-top: var(--border-style-pale);
}

.woocommerce-mini-cart__total bdi {
	font-weight: 700!important;
	font-size: 18px;
}

.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {
	margin-left: 10px!important;
}

.widget_shopping_cart_content .button.wc-forward {
	background: var(--color-primary);
	color: var(--color-invert);
	font-weight: 500;
	width: 100%;
	text-align: center;
	padding-block: 16px;
	margin-top: 12px;
}

.quantity {
	display: block;
	margin-top: 4px;
}

.wc-block-components-button:not(.is-link) {
	background: #000;
	color: #fff;
	padding-block: 10px;
	font-size: 14px;
	width: 100%;
}

.woocommerce-Address-title.title a {
	background: #000;
	color: #fff;
	padding: 10px 10px;
}

.woocommerce-form-register__submit,
.woocommerce-EditAccountForm .woocommerce-Button.button {
	background: #000!important;
	color: #fff!important;
	padding: 16px 10px!important;
	font-weight: 500!important;
	margin: 24px auto 0!important;
	width: 240px;
	display: block!important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
	background: var(--color-primary)!important;
	color: var(--color-invert)!important;
	font-weight: 500!important;
}

.woocommerce-Button {
	background: #000!important;
	color: #fff!important;
	padding: 16px 16px!important;
	width: 240px!important;
	font-weight: 500!important;
	display: block!important;
	margin-top: 6px!important;
}

.woocommerce-ResetPassword {
	font-size: 	16px;
}

.woocommerce-ResetPassword p + p{
	margin-top: 8px!important;
}

.woocommerce-Address-title h2 {
	font-size: 18px!important;
	text-align: center;
}

.woocommerce-Address {
	border: var(--border-style-pale);
	padding: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 22%;
}

.woocommerce-account .woocommerce-MyAccount-content {
	width: 75%;
}

.woocommerce-account .addresses .title .edit {
	float: none;
	display: block;
	margin-top: 16px;
	text-align: center;
} 

.woocommerce-Address address  {
	display: block;
	padding-top: 10px;
	border-top: var(--border-style-pale);
	margin-top: 10px;
	line-height: 1.7;
	font-style: normal;
}

.is-large.wc-block-cart .wc-block-cart__totals-title,
.is-large.wc-block-cart .wc-block-cart-items th {
	font-size: 14px!important;
}

.wp-block-woocommerce-checkout {
	padding-top: inherit!important;
}

.woocommerce-Addresses {
	margin-top: 20px;
}

.woocommerce-MyAccount-navigation-link + li {
	margin-top: 10px;
	padding-top: 10px;
	border-top: var(--border-style-pale);
}

.woocommerce-EditAccountForm fieldset {
	padding: 16px;
}

.woocommerce-form-register p {
	font-size: 12px;
}

.woocommerce-privacy-policy-text {
	margin-top: 10px;
}

.wp-block-woocommerce-product-new {
	margin-top: 20px;
}

.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	margin-top: 24px;
}


.wc-block-cart__empty-cart__title {
	font-size: 18px!important;
	padding-bottom: 24px;
}

.wp-block-woocommerce-product-new .wc-block-grid__product-title {
	font-size: 16px!important;
	font-weight: normal!important;
}

.wp-block-woocommerce-product-new .wp-block-button__link {
	border-radius: 5px!important;
}

.wp-block-woocommerce-product-new .wc-block-grid__product-price {
	font-size: 14px!important;
}