@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "FOT-セザンヌ Pro M", "游ゴシック", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  width: 900px;
  margin: 0 auto;
}

.header {
  background-color: #e0e1dd;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 50px;
}

.title {
  width: 40%;
  padding-left: 15px;
}

.facade {
  width: 60%;
}

.facade img {
  width: 100%;
  height: auto;
}

.overview li {
  list-style: none;
  font-size: 95%;
}

.overview li strong {
  font-weight: bold;
  font-size: 100%;
}

.point ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 15px 0;
}

.point ul li {
  background-color: #FFD275;
  padding: 6px 10px;
  margin-right: 20px;
}

.point ul li:nth-of-type(6) {
  margin-right: 0;
}

h1 {
  font-size: 2em;
}

h1 span {
  font-size: 170%;
  font-style: bold;
}

h1 small {
  background: #111;
  color: #FFF;
  padding: 1px 10px;
  margin: 0 10px;
  border-radius: 5px;
}

main {
  margin-top: 30px;
}

h2 {
  font-size: 2rem;
  padding-left: 15px;
}

.catch {
  padding-left: 15px;
}

.madori {
  width: 100%;
  height: auto;
  margin: 20px 0;
  /* ↑必要であれば入れる */
}

.content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

dl {
  max-width: 30%;
  flex: 1 1 30%;
  height: auto;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
}

dt {
  color: #069;
  font-size: 1.0rem;
  font-weight: bold;
  margin: 0;
}

dt em {
  background-color: #069;
  color: #FFF;
  display: inline-block;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  border-radius: 50%;
  padding: 0;
  margin-right: 5px;
  font-style: normal;
}

dd {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

dd p {
  margin: 8px 5px 10px 5px;
  font-size: 0.9rem;
  flex-grow: 1;
}

dd img {
  text-align: center;
  padding: 0;
  width: 100%;
  margin-top: auto;
}

.button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: #415a77;
  padding: 10px 0;
}

button {
  padding: 5px 20px;
  background: none;
  color: #e0e1dd;
  border: 2px solid;
  transition: all 0.25s;
}

button:hover {
  border-color: #f1ff5c;
  color: #fff;
  box-shadow: 0 0.5em 0.5em -0.4em #f1ff5c;
  transform: translateY(-0.15em);
  cursor: pointer;
}


@media (max-width: 640px) {

  body {
    width: 95%;
    margin: 0 auto;
    padding: 0 10px;
  }

  .header {
    display: block;
    margin-top: 20px;
  }

  .title {
    width: 100%;
    padding: 0;
  }

  h1 {
    font-size: 1.5em;
    text-align: center;
  }

  h1 span {
    font-size: 170%;
    font-style: normal;
  }

  h1 small {
    background: #111;
    color: #FFF;
    padding: 1px 10px;
    margin: 0 10px;
    border-radius: 5px;
  }

  .overview {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px 0;
    padding-left: 10px;
  }

  .overview li:nth-of-type(1) {
    padding-bottom: 5px;
  }

  .overview li:nth-of-type(2) {
    margin-right: 10px;
  }

  .facade {
    width: 100%;
    height: auto;
  }

  .point ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 15px auto;
  }
  
  .point ul li {
    padding: 1.4% 1%;
    margin-bottom: 5px;
    margin-right: 0;
    text-align: center;
    width: 47.5%;
    font-size: 80%;
  }  

  .point ul li:nth-of-type(2),
  .point ul li:nth-of-type(4),
  .point ul li:nth-of-type(6) {
    margin-left: 5%;
  }

  h2 {
    font-size: 1.7rem;
    padding-left: 0;
  }
  
  .catch {
    padding-left: 0;
  }

  .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    padding: 0;
  }
  
  dl {
    max-width: none;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
    margin-right: 0;
    border-bottom: 1px dashed #CCC;
  }
  
  dl:nth-of-type(1),
  dl:nth-of-type(2),
  dl:nth-of-type(4),
  dl:nth-of-type(5),
  dl:nth-of-type(7),
  dl:nth-of-type(8) {
    margin-right: 0;
  }
  
  dd p {
    margin: 8px 5px 10px 5px;
    font-size: 0.9rem;
  }
  
  dd img {
    padding: 0;
    width: 100%;
  }

  .button {
    background: none;
    padding: 0;
  }
  
  button {
    padding: 10px 30px;
    background-color: #415a77;
    color: #e0e1dd;
    border: none;
  }
  
}