* {
    margin: 0;
    padding: 0;
  }

html, body {
  width: 100%;
  height: 100%;
  background-color: #FAF8F2;
}  

a:link {
  color: inherit;
}

.header {
  width: 100%;
  height: 100px;
  background-color: #F6F7F4;
  position: relative;
  top: 0;
  border-top: 30px solid #c53d43;
  border-bottom: 30px solid #c53d43;
}
.header_content {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  display: flex;
  line-height: 0.9;
}

.company_name {
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px;
  color: #252525;
  font-family: 'Noto Sans JP',sans-serif;
  font-size: xx-large;
  font-weight: 700;
  text-align: left;
  transform: skew(-3deg);
}

.Header_TEL {
  font-family: 'Noto Sans JP';
  font-weight: 500;
  transform: skew(-4deg);
  font-size: x-large;
}

.Header_number {
  font-family: 'Roboto';
  font-weight: 500;
  transform: skew(-5deg);
  font-size: x-large;
}

.ninsyo {
  margin:auto;
  padding: 10px;
  line-height: normal;
  font-family: 'Zen Antique', serif;
  font-size: large;
  text-align: right;
}

.bg {
  position: relative;
  min-height: 91svh;
  /* 背景画像 */
  background-image: url("../img/bg.webp");
  background-size: 110%;
  background-position: center 60%;
  background-repeat: no-repeat;
  /* カラーフィルム調の階調 */
  filter:
    saturate(0.7)
    contrast(0.85)
    brightness(0.9);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;

  /* カラーフィルム風の色被り */
  background: rgba(210, 220, 225, 0.05);

  pointer-events: none;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../img/grain.png");
  background-repeat: repeat;

  opacity: 0.02;
  pointer-events: none;
}



.container {
  display: flex;
}
  
.item {
  flex: 1; /* 要素の幅を均等に分割 */
}

ul{
  padding-left:0;
}

li{
  list-style:none;
}

li.item {
  height: 100px;
}

.btn_content {
  width: fit-content;
  height: fit-content;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
}

a.btn {
	display: block;
	text-align: center;
	text-decoration: none;
	width: 120px;
  height: 100px;
	font-weight: bold;
  border-right: 1px solid grey;
  border-left: 1px solid grey;
	color: #252525;
	cursor: pointer;
	position: relative;
 	overflow: hidden;
 	z-index: 1;
}

a.btn::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: gainsboro;
	transform: translateX(-100%);
	transition: all .3s;
	z-index: -1;
}
a.btn:hover::before {
	transform: translateX(0);
}
a.btn:hover {
	color: black;
}

section {
  height: 100%;
}

.top {
  width: 100%;
  height: 900px;
}

.copy{
  position: absolute;
  right: 15%;
  bottom: 25%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 0 rgba(0,0,0,1);
  color: white;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 36px);
}

.content1 {
  width: 100%;
  background-color:#FAF8F2;
}

.article1 {
  width: 50%;
  padding-top: 5%;
  margin-left: auto;
  margin-right: auto;
  background-color:#FAF8F2;
  color: black;
}

.article1 h2 {
  font-family: 'Zen Antique', serif;
  font-size: 30px;
  text-align: center;
  padding: 20px;
  background-color: #c53d43;
  color: white;
  text-shadow: 0 2px 0 rgba(0,0,0,1);
  border-radius: 12px;
}

.article1 h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 22px;
  text-align: center;
  padding: 30px;
}

.article1 p {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 18px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  text-align: left;
}

.signature p{
  font-family: "Zen Kurenaido", cursive;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: #2E2E2E;
  text-align: right;
  padding: 30px;
}

.content2 {
  width: 100%;
  background-color:#FAF8F2;
}

.article2 {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  background-color:#FAF8F2;
  color: black;
  padding-top: 5%;
}

.article2 h2 {
  font-family: 'Zen Antique', serif;
  font-size: 30px;
  text-align: center;
  padding: 20px;
  background-color: #c53d43;
  color: white;
  text-shadow: 0 2px 0 rgba(0,0,0,1);
  border-radius: 12px;
}

.article2 h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 22px;
  text-align: center;
  padding: 30px;
}

.article2 p {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 18px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  text-align: left;
}

.service__media img {
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;              /* 角丸は控えめに */
  filter: saturate(0.85) contrast(0.9) brightness(0.95); /* フィルム寄せ */
}

.content3 {
  width: 100%;
  height: 100%;
  padding-bottom: 50px;
  background-color:#FAF8F2;
}

.article3 {
  width: 50%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color:#FAF8F2;
  color: black;
  padding-top: 5%;
}

.article3 h2 {
  font-family: 'Zen Antique', serif;
  font-size: 30px;
  text-align: center;
  padding: 20px;
  background-color: #c53d43;
  color: white;
  text-shadow: 0 2px 0 rgba(0,0,0,1);
  border-radius: 12px;
}

.article3 h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 22px;
  text-align: center;
  padding: 30px;
}

.article3 p {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 18px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  text-align: left;
}

.guide p {
  text-align: center;
}

.content4 {
  width: 100%;
  height: 100%;
  background-color:#FAF8F2;
}

.article4 {
  width: 50%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color:#FAF8F2;
  color: black;
  padding-top: 5%;
}

.article4 h2 {
  font-family: 'Zen Antique', serif;
  font-size: 30px;
  text-align: center;
  padding: 20px;
  background-color: #c53d43;
  color: white;
  text-shadow: 0 2px 0 rgba(0,0,0,1);
  border-radius: 12px;
}

.about {
  color: #252525;
  width: 100%;
}

.about table {
	border-collapse: collapse;
	border: 1px solid #252525;
	font-family: 'M PLUS Rounded 1c', sans-serif;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.about th {
  text-align: center;
	border: 1px solid;
	padding: 5px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.about td {
	border: 1px solid;
  text-align: left;
	padding: 5px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.map-wrap {
  width: 100%;
}

.access__media img {
  width: 40%;
  margin-top: 5px;
  margin-left: 30%;
  margin-right: 30%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;              /* 角丸は控えめに */
  filter: saturate(0.85) contrast(0.9) brightness(0.95); /* フィルム寄せ */
}

.footer {
  width: auto;
  height: auto;
  margin-top: 150px;
  color: white;
  background-color:#c53d43;
  border-top: 1px solid;
  box-sizing: border-box;
}

.footer p {
  text-align: center;
  margin-right: 15px;
  margin-top: 20px;
  font-size: 16px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.footer-nav {
  padding: 20px;
  display: flex;
  gap: 24px;                 /* リンク間の余白 */
  justify-content: center;   /* 中央揃え（左寄せでも可） */
  flex-wrap: wrap;           /* 画面が狭い場合に折り返す */
}

.footer-nav a {
  font-size: 16px;
  color: white;
  text-decoration: none;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

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