/* root settings */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  background-color: #fafafa;
}

h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

section h2 {
  margin: 32px 0 8px;
  padding: 0 8px;
  font-weight: bold;
  border-left: 3px solid gray;
  border-bottom: 1px solid gray;
}

@media (min-width: 1280px) {
  main {
    max-width: 1280px;
  }
}

@media (min-width: 600px) {
  main {
    padding: 0 24px;
  }
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* utils */
.icon {
  position: relative;
  top: 0.25em;
  margin: 0 4px;
}

/* ヘッダー */
header.header {
  padding: 128px 8px;

  text-align: center;

  background-image: url('/images/header-background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 64% center;
}

header.header .title {
  margin: 0;

  font-size: 3rem;
  font-weight: bold;

  line-height: 1.25;
}

header.header .title a {
  color: #000;
  text-decoration: none;
}

header.header .subtitle {
  margin: 16px 0;

  font-size: 1.25rem;
  font-weight: normal;

  line-height: 1.25;
}

header.header .addresses {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

header.header .addresses > * {
  margin: 0;
  list-style: none;
}

header.header .addresses li a {
  color: #000;
  text-decoration: none;
}

header.header .addresses li a:visited {
  color: #000;
}

header.header .addresses li.call .alert {
  font-size: 0.78rem;
  font-weight: bold;
  margin: 4px 0 0 2rem;
}

/* TOP情報 */
section.information {
  margin: 64px 0;
  padding: 8px 32px;

  background-color: #fff;

  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

section.information h1 {
  margin: 24px 0;
  font-size: 1.5rem;
}

section.information h2 {
  font-size: 1rem;
}

section.information .addresses p {
  margin: 4px 0;
}

section.information .addresses .alert {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  color: rgb(102, 60, 0);
  border: 1px solid #ff9800;
  border-radius: 4px;
}

section.information .addresses .alert .material-icons {
  color: #ff9800;
  opacity: 0.9;
  padding: 7px 0;
  font-size: 22px;
  margin-right: 12px;
}

section.information .addresses .alert .alertMessage {
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 8px 0;
}

section.information .duties li {
  margin-bottom: 0.5rem;
}

/* 記事一覧 */
section.articles .list {
  display: flex;
  flex-wrap: wrap;
  margin: 16px -16px 16px 0;
}

section.articles .list article {
  flex: 1 0 240px;
  max-width: calc((1280px - 16px * 4) / 4);
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;

  margin: 0 16px 16px 0;

  transition: box-shadow 0.3s ease;

  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

section.articles .list article:hover {
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

section.articles .list article a {
  color: #000;
  text-decoration: none;
}

section.articles .list article .thumbnail {
  width: 100%;
}

section.articles .list article .body {
  padding: 4px 8px 24px;
}

section.articles .list article .body .title {
  font-size: 1.4rem;
  margin: 0 0 16px 0;
}

section.articles .list article .body .text {
  font-size: 0.78rem;
}
