@charset "UTF-8";

/*
Theme Name: Miyamaedaira-ah
Author: artblue
Version: 1.0
 */

/* ===============================================
リセットcss
================================================*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===============================================
オリジナルcss
================================================*/

.mv {
  height: 100vh;
  background: url(/mv.jpg) no-repeat center center / cover;
  display: grid;
  place-items: center;
}

.info {
  background: #f8f8f8;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  line-height: 1.8;
}

.info-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
}

.clinic-info {
  margin: 2rem auto 1rem;
  background-color: #afd4d4;
  border-radius: 8px;
  padding: 1rem;
  max-width: 400px;
}

.clinic-info-list {
}

.clinic-info-list dt {
  font-weight: bold;
}

.clinic-info-list dd {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  .info-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .info {
    padding: 1.2rem;
    max-width: 550px;
    width: 90%;
  }

  .info p {
    font-size: 15px;
  }
}

.pc-only {
	display: block;
}

@media screen and (max-width: 768px) {
.pc-only {
	display: none;
}
}

.bnr {
	display: grid;
	place-items: center;
	text-align: center;
	margin: 0 auto;
  margin-top: 1rem;
  max-width: 350px;
}

.bnr img {
  aspect-ratio: 25 / 8;
  height: auto;
}

@media screen and (max-width: 768px) {
  .bnr {
    width: 90%;
    max-width: 350px;
  }
}

@media screen and (max-width: 400px) {
  .bnr {
    max-width: 280px;
  }
}
