
html, body, iframe {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	/* font-weight: <weight>; */
	font-style: normal;
	color: #797979;
}

body {
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: auto !important;
	margin: auto;
	min-width: 320px;
	scroll-behavior: smooth; /* スムーススクロールを指定　*/
	scroll-padding-top: 80px; /* スクロール後のオフセット設定：ヘッダー高さ（50px）＋α */
	padding: 64px 0;
	box-sizing: border-box;
	min-height: 100vh;
	position: relative;
	padding-bottom: 120px;/*←footerの高さ*/
}

.header-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 65px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	background: rgba(60, 60, 60, 0.8);
	filter: drop-shadow(0px 2px 2px rgba(0,0,0,.2));
  box-sizing: border-box;
}

.header-list {
	display: flex;
	padding-right: 24px;
	list-style: none;
}

.header-list li {
	padding: 0 16px 0 8px ;
	margin: 16px 8px 0;
	height: 22px;
	border-right: solid 2px #797979;
}

.header-list li a {
	text-decoration: none;
	color: #fff;
}

.header-list li + li:last-child  {
	border-right: none;
}

.header-logo {
	padding: 0 16px 0;
}

.header-logo a {
	text-decoration: none;
	color: rgba(60, 60, 60, 0.8);
	display: flex;
	align-items: center;
	width: 160px;
	justify-content: space-between;
}

section {
	max-width: 53%;
	margin: auto;
	padding: 16px 0;
}

section a {
	text-decoration: none;
	color: #444;
}

.company-top {
	margin: auto;
	width: 600px;
	line-height: 2rem;
	text-align: justify;
}

.company-items {
	width: fit-content;
	margin: auto;
	padding: 24px;
}

.company-item {
	display: flex;
	align-items: center;
	padding: 24px;
	font-weight: bold;
	border-bottom: solid 1px #797979;
}

.company-item:first-child {
	border-top: solid 1px #797979;
}

.company-item label {
	display: flex;
	min-width: 120px;
	padding-right: 24px;
	justify-content: space-between;
}

.company-item div a {
	color: #797979
}

.top-logo {
	max-width: 100%;
	padding-top: 0;
}

.top-logo div {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.top-logo div img {
	display: block;
	width: 100%;
	height: auto;
}

.map-content {
	text-align: center;
}

.map-content img {
	margin: 24px auto;
}

.content-title {
	color: #444;
	border-bottom: solid 1px #797979;
}

.content-container {
	padding: 16px 0;
}

.content-container h2 {
	color: #444;
}

.content {
	display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.content-description {
	padding: 8px;
}

.home {
	width: 500px;
	padding-top: 40px;
	padding-left: 48px;
	display: flex;
	flex-direction: column;
	line-height: 1.8rem;
}

.online {
	padding-top: 24px;
}

.information {
	display: flex;
	justify-content: space-around;
}

.line {
	display: flex;
}

.line p {
	max-width: 536px;
	padding-right: 24px;
}

.btn-more {
	height: 48px;
	width: 240px;
	text-align: center;
	align-content: center;
	margin: 16px;
	background: #444;
	color: #fff;
	border-radius: 16px;
}

footer {
	width: 100vw;
	text-align: center;
	position: absolute;
	bottom: 0;
}


@media screen and (max-width: 959px) {
	.line {
		flex-direction: column;
	}

	.line p {
		padding: initial;
	}

	.content {
    flex-direction: column;
    align-items: center;
	}
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content img {
  width: 100%;
  max-width: 480px;
}

.content-image {
  flex: 1;
	text-align: center;
}

.content-description {
  flex: 1;
  margin-left: 20px;
}

@media (max-width: 768px) {
	.top-logo div {
			height: 92vh;
	}

	.top-logo div img {
			width: 100%;
			height: 100%;
			object-fit: cover;
	}

  .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-description, .home {
		width: 90%;
    margin: 0 auto;
		padding: initial;
  }

	.content-description p {
		font-size: 14px;
	}

  /* 画像のスタイル調整 */
  .content img, .information img, .map-content img, .map-content iframe {
    max-width: 100%; 
  }

	section {
		margin: auto;
	}

	.information {
		flex-direction: column;
	}

	.company-items {
		padding: initial;
	}

	.company-item {
		padding: 16px;
	}

	.company-item div {
		min-width: 210px;
	}
	
	.company-item div a {
		text-decoration: none;
		color: #797979;
	}

	.company-top {
		max-width: 92%;
		margin: auto;
		line-break: anywhere;
	}

	.service-description {
		letter-spacing: 0.05rem;
	}
}
/* ハンバーガーメニューのアイコンとスタイル */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle-checkbox {
  display: none;
}


.bar {
  width: 30px;
  height: 5px;
  background-color: #fff;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .header-list {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background-color: rgba(60, 60, 60, 0.9);
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px;
    z-index: 2;
    box-sizing: border-box;
  }

	.header-list li {
		border: none;
	}

  .menu-toggle {
    display: flex;
  }

  .menu-toggle-checkbox:checked + .menu-toggle + .header-list {
    display: flex;
  }
	.information {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.content-container p a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}

	.line {
		flex-direction: column;
	}

	section {
		max-width: 96%;
	}

	.content-description p, .content-container p, .contact {
		text-align: justify;
	}

	.company-item label {
		min-width: 74px;
	}

	.contact {
		max-width: 92%;
		margin: auto;
		line-break: anywhere;
	}

	.contact {
		padding: 8px 0;
	}
}