@charset "utf-8";

/* 全体のスタイル調整 */
* {
  box-sizing: border-box;
}

/* body の初期スタイル設定 */
body {
  font-size: 16px;
  line-height: 1.5em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

/* ヘッダー部分のスタイル調整 */
h1 {
  margin-bottom: 36px;
}

header img {
  max-width: 100%;
}

/* 見出し関連のスタイル調整 */
h2 {
  font-size: 2.0em;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 500;
  line-height: 1.0em;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.25em;
}

@media screen and (min-width: 768px) {
  h2 {
    margin-bottom: 32px;
  }
}

/* main の初期スタイル調整 */
main {
  width: 80%;
  margin: 0 auto;
}

/* 「お知らせ」のスタイル調整 */
.news {
  margin-bottom: 36px;
}

.news h2 {
  margin-bottom: 24px;
}

.news table {
  margin: 0 auto;
}
.news td {
  padding: 5px;
  font-weight: 400;
  /* vertical-align: middle; */
}

.news td:first-child {
  padding-right: 10px;
  font-weight: 300;
}

@media screen and (min-width: 768px) {
  .news {
    margin-bottom: 48px;
  }

  .news h2 {
    margin-bottom: 36px;
  }

}

/* 「コンテンツ」のスタイル調整 */
.contents-articles {
  margin-bottom: 12px;
}

.contents-articles  h2 {
  margin-bottom: 0px;
}

.article-wrap {
  /* width: 80%; */
  margin: 0 auto;
}

.article-wrap a {
  text-decoration: none;
  color: #000;
  margin: 0 24px;
}

.article-card {
  border: 3px solid rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 15px;
}

.article-diet h3,
.article-support h3 {
  text-align: center;
}

.article-card img {
  max-width: 100%;
  border-radius: 10px;
}

.article-card .article-card-image-wrapper {
  margin-bottom: 12px;
}


@media screen and (min-width: 768px) {
  .contents-articles {
    margin-bottom: 48px;
  }

  .contents-articles h2 {
    margin-bottom: 36px;
  }


  .article-wrap {
    display: flex;
    justify-content: space-around;
    justify-content: center;
  }

  .article-card {
    width: 350px;
    height: 445px;
  }

  .article-card img {
    transition-duration: 1s;
  }

  .article-card:hover img {
    transform: scale(1.15, 1.15);
    transition-duration: 1s;
  }

  .article-card .article-card-image-wrapper {
    overflow: hidden;
    border-radius: 10px;
  }

}

/* 「ダイエットの流れ」テーブルのスタイル調整 */
.diet-flow-table {
  margin-bottom: 36px;
}

.diet-flow h2 {
  margin: 0 auto 24px;
}

.diet-flow-table-style {
  width: 95%;
  margin: 0 auto;
  border: 3px solid #000;
  padding: 12px 24px;
  font-weight: 400;
  font-size: 0.85em;
}

.diet-flow-table-style td {
  padding: 9px;
  border-bottom: 1px dotted #000;
  vertical-align: middle;
  line-height: 1.4em;
  /* width: 100%; */
}

.diet-flow-table-style td:nth-child(2) {
  width: 100%;
}

.diet-flow-table-style tr:last-child td {
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  .diet-flow-table {
    margin-bottom: 48px;
  }

  .diet-flow-table h2 {
    margin-bottom: 36px;
  }

  .diet-flow-table-style  {
    max-width: 748px;
    font-weight: 400;
    font-size: 1.0em;
  }
}

/* 「メッセージ」のスタイル調整 */
.message {
  margin-bottom: 36px;
}

.message img {
  border-radius: 50%;
  width: 45%;
  display: block;
  margin: 0 auto 24px;
}

.message .site-purpose {
  font-weight: 500;
  font-size: 1.05em;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .message {
    margin-bottom: 48px;
  }

  .message h2 {
    margin-bottom: 36px;
  }

  .message-wrap {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .message-wrap img {
    margin-bottom: 0;
    margin-right: 24px;
    width: 150px;
  }

  .message p {
    font-size: 1.1em;
  }

}

/* 「お問い合わせ」のスタイル調整 */
.contact-form {
  margin: 0 auto 24px;
}

.contact-form label {
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  font-size: 1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 80%;
}

.contact-form dd {
  margin-bottom: 12px;
}

.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 100px;
}

.form-submit {
  margin-top: 18px;
  text-align: center;
}

.form-submit button {
  margin: 5px 0;
  padding: 10px 40px;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0.2em;
  border-radius: 5px;
  background-color: rgba(200, 200, 200, 0.5);
  color: #000;
}

@media screen and (min-width: 768px) {
  .contact-form {
    margin-bottom: 48px;
  }

  .contact-form h2 {
    margin-bottom: 36px;
  }

  .form-wrap {
    width: 60%;
    max-width: 80%;
    margin: 0 auto;
  }

  .contact-form dt {
    font-size: 1.15em;
    margin-bottom: 10px;
  }

  .contact-form input {
    padding: 5px;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1.15em;
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"]{
    width: 70%;
  }

  .form-submit button {
    margin: 10px 0;
    padding: 15px 50px;
    font-weight: 500;
    font-size: 1.1em;
  }

  .form-submit button:hover {
    cursor: pointer;
    background-color: rgba(200, 200, 200, 1.0);
  }

}

/* 「フッター」のスタイル調整 */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-weight: 400;
  font-size: 0.75em;
  padding: 5px;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 10px;
  }
}
