@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

h1.c-pageTitle {
  text-align: center;
}

a:hover {
  opacity: 0.7;
}

.l-mainContent__inner > .post_content {
  margin-top: 20px;
}

table tr td:first-child {
  background-color: #ffd5ec;
}

.wp-block-media-text__content {
  padding-top: 0 !important;
  font-size: 18px;
  line-height: 140%;
}

ul.ul_news {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}
ul.ul_news li {
  width: calc((100% - 20px) / 3);
  margin-right: 10px;
}

ul.ul_news li:nth-child(3n) {
  margin-right: 0;
}
ul.ul_news li img {
  width: 100%;
}
ul.ul_news li dl dt {
  border-bottom: dotted 1px #666;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

ul.ul_news li dl dd {
  color: #000;
  font-size: 16px;
}

a.btn_contact {
  display: block;
  background-color: var(--color_htag);
  color: #fff;
  text-align: center;
  width: 30%;
  margin: 0 35%;
  border-radius: 3px;
  padding: 25px;
}

p.wrp_link {
  text-align: right;
}
a.txt_link {
  text-align: right;
}
a.txt_link:before {
  content: "\f152";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

p.txt_date {
  font-size: 11px;
  margin-top: 5px;
}

p.txt_date:before {
  content: "\f017";
  font-family: "Font Awesome 5 Free";
}
ul.ul_news li dl dt {
  position: relative;
}

ul.ul_news li dl dt ul {
  list-style: none;
  padding-left: 0;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
}
ul.ul_news li dl dt div {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  background-color: var(--color_htag);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: normal;
  border-radius: 16px;
  padding: 0 8px;
}
.c-pageTitle[data-style="b_bottom"] .c-pageTitle__inner {
  float: unset;
}

/* お問い合わせ */
dl.dl_contact dt span {
  color: red;
  font-size: 14px;
  font-weight: normal;
}

.wrp_btn_inquiry p {
  text-align: center;
  display: flex;
  gap: 20px;
  justify-content: center;
}

span.required {
  color: red;
  font-size: 14px;
  height: 2rem;
  display: inline-block;
  margin-inline: 10px;
}

.wrp_btn_inquiry input {
  width: 200px;
}

div.wrp_form {
  margin-bottom: 60px;
}

div.wrp_form label {
  display: grid;
  gap: 10px;
  grid-template-columns: 10rem 1fr;
  border-bottom: dotted 1px #ccc;
  padding: 10px;
  background-color: #f4f4f4;
}

dl.dl_contact dd {
  margin-bottom: 20px;
}

@media (max-width: 1099px) {
}

@media screen and (min-width: 768px) and (max-width: 960px) {
  /* タブレット */
}

@media screen and (max-width: 960px) {
  /* スマホ 横から */
}

@media screen and (max-width: 559px) {
  /* スマホ 縦から */
  ul.ul_news li {
    width: 100%;
    margin-right: 0;
  }

  a.btn_contact {
    width: 80%;
    margin: 0 10%;
    padding: 10px;
  }

  table tr td {
    display: flex;
  }

  dl.dl_contact dd textarea {
    width: 100%;
  }
}
