/* お知らせ */
img {
  width: 100%;
}

#notice-detail {
  width: 1250px;
  display: flex;
  margin: auto;
  font-size: 1.5rem;
  color: #404040;
  letter-spacing: 0.3em;
}

#notice-detail-ttl {
  width: 60%;
}

h1.important {
  color: #d60000;
}

#notice-detail h2 {
  font-size: 36px;
  letter-spacing: 0.3rem;
  font-weight: bold;
  color: #aa8f7b;
}

#notice-detail-small {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #707070;
}

#notice-detail-menu {
  width: 40%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: #707070;
  font-size: 16px;
}

#notice-detail-menu a {
  display: block;
  padding: 0 20px;
}

/*main*/

main h1,
main h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 30px 0;
  color: #000000;
  letter-spacing: 0.3rem;
}

main p {
  line-height: 2rem;
}

/* 内容 */
#message .message-btn {
  display: none;
}

#rep-name {
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
  font-size: 20px;
  letter-spacing: 0.2rem;
  color: #404040;
  margin: 30px 10px 0 0;
  text-align: right;
}

.message-wrap {
  width: 80%;
  margin: auto;
  color: #000000;
}

.message-wrap p {
  margin-bottom: 2em;
}

.message-wrap ul {
  list-style: disc;
  padding: 20px 20px 20px 3em;
  margin: 1.5em 0;
  border: 1px solid #d60000;
  background: #fff5f5;
}

.message-wrap li {
  margin-bottom: 0.5em;
}

.sp-display {
  display: none;
}

/* フェードイン */
#heade-container {
  animation-name: fadeIn2;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
}

@keyframes fadeIn2 {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }

}

/* タイトルアニメーション */

#notice-detail {
  opacity: 0;
  animation-name: ttlanime;
  animation-duration: 0.8s;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes ttlanime {
  0% {
    opacity: 1;
    transform: translateX(-30px);

  }

  100% {
    opacity: 1;
    transform: translateX(0);

  }
}

/* 内容下から上に */
main {
  opacity: 0;
  animation-name: anime;
  animation-duration: 0.8s;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes anime {
  0% {
    opacity: 0;
    transform: translateY(30px);

  }

  100% {
    opacity: 1;
    transform: translateY(0);

  }
}

/*メディアクエリ  */
/*1250px以下 */
@media screen and (max-width : 1250px) {
  #notice-detail {
    width: 100%;
  }

  #notice-detail-ttl {
    margin-left: 20px;
  }

  #map h2,
  #map p {
    margin-left: 20px;
  }

}

/*1118px以下 */
@media screen and (max-width : 1118px) {
  .message-wrap {
    text-align: left;
    width: 90%;
  }

  .message-wrap h2 {
    text-align: left;
  }
}

/*1030px以下 */
@media screen and (max-width : 1030px) {
  #notice-detail-menu {
    display: none;
  }

  #notice-detail-ttl {
    width: 100%;
  }

  .principle-img {
    width: 100%;
  }

}

/*773px以下 */
@media screen and (max-width : 773px) {

  #principle-wrap h1 {
    font-size: 17px;
    text-align: center;
    line-height: 1.5rem;
  }

  .sp-mesnno {
    display: none;
  }

  br.sp-display {
    display: inline;
  }
}

/*758px以下 */
@media screen and (max-width : 758px) {

  #message-common,
  #principle-wrap,
  #overview-warp,
  #history-warp {
    margin-top: 50px;

  }

  #notice-detail-ttl {
    margin-left: 10px;
  }

  #notice-detail h2 {
    font-size: 26px;
  }

  #corp-table {
    width: 100%;
    margin: 10px 0 80px;
  }

  #history-warp #corp-table {
    margin: 0 0 80px;
  }

}

/*603px以下 */
@media screen and (max-width : 603px) {
  #corp-table {
    font-size: 12px;
  }

  #map p {
    font-size: 14px;
  }
}

/*595px以上 */
@media screen and (min-width : 595px) {
  .sp-597none {
    display: none;
  }

}

/*596px以下 */
@media screen and (max-width : 596px) {

  #principle-wrap p {
    line-height: 1.2rem;
    font-size: 13px;
    margin: 0 20px 0 27px;
  }

  #principle-wrap h2 {
    font-size: 15px;
    margin: 0 0 5px 5px;
  }

  .principle-txt {
    margin-left: 5px;
  }
}

/*561px以上 */
@media screen and (min-width : 561px) {
  .sp-display {
    display: none;
  }
}

/*562px以下 */
@media screen and (max-width : 562px) {


  #message-common h1,
  #message-common h2 {
    font-size: 18px;
  }

  #message-common h1 {
    text-align: center;
    line-height: 1.5rem;
  }

  #message-common h2 {
    letter-spacing: 0.2rem;
  }

  .message-wrap p {
    font-size: 13px;
    line-height: 1.5rem;
  }

  #rep-name {
    font-size: 16px;
  }


}

/*484px以下 */
@media screen and (max-width : 484px) {
  #notice-detail h2 {
    font-size: 17px;
  }

  #message-common,
  #principle-wrap,
  #overview-warp,
  #history-warp {
    margin-top: 30px;
  }


}

/*468px以上 */
@media screen and (min-width : 468px) {
  .sp-468none {
    display: none;
  }
}

/*467px以下 */
@media screen and (max-width : 467px) {
  .pet {
    line-height: 1rem;
  }

  .business span {
    padding-left: 1.5rem;
  }
}