@charset "utf-8";
/* リセット */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
header,
footer,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: 400;
  line-height: 1;
  vertical-align: baseline;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  border: none;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}
a {
  color: #605850;
  outline: none;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}
strong {
  font-weight: 700;
}
.clearfix::after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:root {
  --font-sanserif: "Zen Kaku Gothic New", sans-serif;
}

input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

body {
  background: #f8f8f8;
  color: #3e362e;
  position: relative;
  font-family: var(--font-sanserif);
  text-align: justify;
  letter-spacing: 1px;
  word-wrap: break-word;
}
.flex {
  display: -webkit-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}
sup {
  font-size: 10px;
  vertical-align: revert;
}
@media screen and (min-width: 769px) {
  .pc--none {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .sp--none {
    display: none;
  }
}
.bg-white {
  background-color: #fff;
}

/* header */
header {
  background: #fff;
  padding: 1rem;
  position: relative;
  width: 100%;
}

.header__logo {
  margin: 0 auto;
  width: 64px;
}

@media screen and (max-width: 960px) {
  .header__logo {
    width: 48px;
  }
}

#header__menu__trigger,
.header__menu__btn {
  display: none;
}

@media screen and (max-width: 960px) {
  .header__menu__btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .header__menu__btn label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    padding-top: 25px;
    position: relative;
    text-align: center;
  }
  
  .header__menu__btn label::before,
  .header__menu__btn label::after {
    background: #3e362e;
    border-radius: 3px;
    content: "";
    display: block;
    height: 5px;
    position: absolute;
    left: 0;
    width: 100%;
  }
  
  .header__menu__btn label::before {
    top: 0;
  }
  
  .header__menu__btn label::after {
    top: 12px;
    width: 80%;
  }
}

.header__menu {
  background: #a89b8d;
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .header__menu {
    padding: 0 10px;
  }
}

@media screen and (max-width: 960px) {
  .header__menu {
    height: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s;
    width: 0;
    z-index: 100;
  }
  
  .header__menu label::before {
    color: #3e362e;
    content: "×";
    display: block;
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    top: 8px;
    right: 15px;
  }
  
  #header__menu__trigger:checked ~ .header__menu {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    transform: translateX(0);
    transition: transform 0.3s;
    width: 100%;
  }
}

.header__menu ul {
  margin: 0 auto;
  max-width: 1100px;
}

@media screen and (max-width: 960px) {
  .header__menu ul {
    background: #f6f0eb;
    display: block;
    height: 100vh;
    margin: 0 0 0 calc(100% - 300px);
    padding: 50px 20px 30px;
    width: 300px;
  }
}

.header__menu a {
  color: #fff;
  display: block;
  font-size: 15px;
  font-weight: 400;
  padding: 20px 50px 20px 0;
}

@media screen and (max-width: 960px) {
  .header__menu a {
    border-top: dotted 1px #c8bcb0;
    color: #3e362e;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 10px;
    position: relative;
  }
  
  .header__menu li:last-of-type a {
    border-bottom: dotted 1px #c8bcb0;
  }
}

/* footer */
footer {
  background: #8da898;
  padding: 30px 0;
}

@media screen and (max-width: 1100px) {
  footer {
    padding: 25px 20px;
  }
}

footer .info {
  justify-content: center;
  margin: auto;
  max-width: 1100px;
}

.footer__logo {
  height: 80px;
  margin-right: 10px;
  width: 80px;
}

footer .sns {
  margin-top: 10px;
}

footer .sns li {
  height: 60px;
  display: inline-block;
  width: 60px;
}

@media screen and (max-width: 520px) {
  .footer__logo {
    height: 70px;
    width: 70px;
  }
  
  footer .sns li {
    height: 50px;
    width: 50px;
  }
}



.footer_category {
  border-top: solid 1px #fff;
  border-bottom: solid 1px #fff;
  margin: 25px auto;
  max-width: 1100px;
}

.footer_category a {
  color: #fff;
  display: block;
  font-size: 14px;
  margin-right: 10px;
  padding: 25px 20px 25px 0;
}

@media screen and (max-width: 960px) {
  .footer_category {
    justify-content: space-evenly;
  }
  
  .footer_category a {
    padding: 10px;
  }
}

.copyright {
  color: #fff;
  font-size: 12px;
  text-align: center;
}

/* MV */
.mv {
  padding: 55px 1rem;
  position: relative;
  width: 100%;
}
.mv::before {
  aspect-ratio: 1;
  background-color: #F6FACF;
  clip-path: polygon(0 0,100% 0,0 100%);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}
.home .mv {
  padding-top: 2rem;
}
@media screen and (max-width: 768px) {
  .mv {
    padding: 1.5rem 1rem;
  }
  .home .mv {
    padding-top: 1rem;
  }
}
.mv h1 {
  margin: auto;
  max-width: 1100px;
  width: 100%;
}

/* contents-2col */
.contents-2col {
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .contents-2col {
    gap: 1.5rem;
    flex-direction: column;
  }
}

.contents-2col figure {
  border-radius: 1rem;
  overflow: hidden;
}
.contents-2col figure img {
  object-fit: cover;
}

.contents-2col figure,
.contents-2col .text-group {
  width: calc((100% - 2rem) / 2);
}
@media screen and (max-width: 768px) {
  .contents-2col figure,
  .contents-2col .text-group {
    width: 100%;
  }
}

.contents-2col .text-group__text {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* innerLink-btn */
.innerLink-btn {
  margin: auto;
  max-width: 330px;
  width: 100%;
}
.innerLink-btn a {
  align-items: center;
  background: linear-gradient(90deg, rgba(123,241,241,1) 0%, rgba(118,123,255,1) 100%);
  border-radius: 2rem;
  color: #fff;
  display: flex;
  gap: 1rem;
  height: 4rem;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  text-align: center;
}
.innerLink-btn a::after {
  background: url(https://mamescript.jp/wp-content/uploads/2024/09/arrow-wh.png) no-repeat center center / 100% auto;
  content: "";
  display: block;
  height: 100%;
  width: 22px;
}

/* 枠 */
.top-contents {
  margin: 0 auto;
  padding: 50px 0;
  width: 1100px;
}

@media screen and (max-width: 1100px) {
  .top-contents {
    padding: 30px 20px;
    width: 100%;
  }
}

/* トップページ */
.top-contents__block {
  margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .top-contents__block {
    margin-bottom: 40px;
  }
}

.top-contents__title {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .top-contents__title {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 520px) {
  .top-contents__title {
    font-size: 1.5rem;
  }
}

.top-contents__text {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 50px;
  text-align: center;
}

@media screen and (max-width: 520px) {
  .top-contents__text {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

.type1 .top-contents__articlelist {
  gap: 24px;
  margin-bottom: 50px;
}

@media screen and (max-width: 520px) {
  .type1 .top-contents__articlelist {
    display: block;
  }
}

.type1 .top-contents__articlelist li {
  padding-top: 210px;
  position: relative;
  width: calc((100% - 72px) / 4);
}

@media screen and (max-width: 960px) {
  .type1 .top-contents__articlelist {
    margin-bottom: 10px;
  }
  
  .type1 .top-contents__articlelist li {
    margin-bottom: 30px;
    width: calc((100% - 48px) / 2);
  }
}

@media screen and (max-width: 520px) {
  .type1 .top-contents__articlelist li {
    padding: 170px 0 15px;
    width: 100%;
  }
  
  .type1 .top-contents__articlelist li:not(:last-of-type) {
    border-bottom: dotted 1px #c8bcb0;
  }
}

.type1 .top-contents__articlelist img {
  border-radius: 15px;
  height: 200px;
  object-fit: cover;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

@media screen and (max-width: 520px) {
  .type1 .top-contents__articlelist img {
    height: 160px;
  }
}

.type1 .top-contents__articlelist h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

@media screen and (max-width: 520px) {
  .type1 .top-contents__articlelist h3 {
    font-size: 16px;
  }
}

.type1 .top-contents__articlelist .category {
  background: #e2dcd6;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  padding: 7px 10px;
}

@media screen and (max-width: 520px) {
  .type1 .top-contents__articlelist .category {
    padding: 5px 7px;
  }
}

.type1 .top-contents__articlelist .date {
  font-size: 12px;
  text-align: right;
}

.type2 .top-contents__articlelist {
  justify-content: space-between;
  margin-bottom: 50px;
}

.type2 .top-contents__articlelist li {
  position: relative;
  width: calc((100% - 60px) / 4);
}

.type2 .top-contents__articlelist img {
  border-radius: 15px;
  display: block;
  height: 260px;
  margin-bottom: 10px;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

@media screen and (max-width: 960px) {
  .type2 .top-contents__articlelist {
    margin-bottom: 10px;
  }
  
  .type2 .top-contents__articlelist li {
    margin-bottom: 30px;
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 520px) {
  .type2 .top-contents__articlelist li {
    width: calc((100% - 20px) / 2);
  }
  
  .type2 .top-contents__articlelist img {
    height: 150px;
    width: 100%;
  }
}

.type2 .top-contents__articlelist .date {
  font-size: 12px;
  text-align: right;
}

.top-contents .more {
  margin: 0 auto;
  width: 200px;
}

.top-contents .more a {
  border: solid 1px #3e362e;
  display: block;
  padding: 15px 30px;
  text-align: center;
}

/* main-sec */
.main-sec {
  padding: 4rem 0;
}

@media screen and (max-width: 768px) {
  .main-sec {
    padding: 2rem 0;
  }
}

.main-sec__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .main-sec__title {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 520px) {
  .main-sec__title {
    font-size: 1.5rem;
  }
}

.main-sec__text {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 1rem 50px;
  text-align: center;
}

@media screen and (max-width: 520px) {
  .main-sec__text {
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: justify;
  }
}

/* main3カラム */
.main-1com__3col__list {
  display: flex;
  gap: 50px;
  justify-content: center;
  margin: auto;
  max-width: 1032px;
  padding: 0 1rem;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .main-1com__3col__list {
    flex-direction: column;
    gap: 2rem;
  }
}

.main-1com__3col__list li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media screen and (min-width: 769px) {
  .main-1com__3col__list li {
    width: calc((100% - 100px) / 3);
  }
}

.main-1com__3col__list img {
  margin: auto;
  text-align: center;
}
.main-1com__3col__list h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.main-1com__3col__list p {
  font-size: 1rem;
  line-height: 1.8;
}

/* main-1com__img-text */
.main-1com__img-text__block {
  display: flex;
  gap: 24px;
  margin: 0 auto 40px;
  max-width: 1000px;
  width: 100%;
}
.main-1com__img-text__block__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.main-1com__img-text__block__text {
  line-height: 1.8;
}
@media screen and (min-width: 769px) {
  .main-1com__img-text__block:nth-of-type(2n+1) {
    flex-direction: row-reverse;
  }
  .main-1com__img-text__block__wrap {
    width: calc(100% - (37.4% + 24px));
  }
  .main-1com__img-text__block__img {
    border-radius: 1rem;
    overflow: hidden;
    width: 37.4%;
  }
}
@media screen and (max-width: 768px) {
  .main-1com__img-text__block {
    flex-direction: column-reverse;
  }
  .main-1com__img-text__block__wrap {
    padding: 0 1rem;
  }
  .main-1com__img-text__block__img {
    width: 100%;
  }
}

/* main-1com__pr */
.main-1com__pr__block {
  border-bottom: dotted 1px #A0978D;
  margin: 0 auto 40px;
  max-width: 1032px;
  padding: 0 1rem 40px;
  position: relative;
  width: 100%;
}
.main-1com__pr__block__head {
  margin-bottom: 24px;
}
.main-1com__pr__block__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}
.main-sec__title__pr {
  background: #F0ECE8;
  font-size: 12px;
  font-weight: 500;
  margin-left: 8px;
  padding: 4px 16px;
}
@media screen and (max-width: 768px) {
  .main-sec__title__pr {
    font-size: 11px;
  }
}
.main-1com__pr__block__bn {
  height: auto;
  margin: 0 auto;
  width: 300px;
}
.main-1com__pr__block__detail {
  border: solid 1px #3E362E;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.main-1com__pr__block__detail dt {
  background: #3E362E;
  border-bottom: solid 1px rgba(255,255,255,0.4);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  padding: 1rem;
  width: 9em;
}
.main-1com__pr__block__detail dd {
  border-bottom: solid 1px #3E362E;
  line-height: 1.3;
  padding: 1rem;
  width: calc(100% - 9em);
}
.main-1com__pr__block__detail dt:last-of-type,
.main-1com__pr__block__detail dd:last-of-type {
  border: none;
}
.main-1com__pr__block__exprain {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.main-1com__pr__block__exprain__block {
  background: #F0ECE8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}
.main-1com__pr__block__exprain__block h4 {
  font-weight: 700;
}
.main-1com__pr__block__exprain__block ul {
  font-size: 14px;
  list-style: disc;
  margin-left: 1.5em;
}
.main-1com__pr__block__exprain__block li {
  line-height: 1.5;
  margin-bottom: 5px;
}
.main-1com__pr__block__exprain__block p {
  font-size: 14px;
  line-height: 1.8;
}
@media screen and (min-width: 801px) {
  .main-1com__pr__block__head {
    min-height: 250px;
    padding-left: 340px;
  }
  .main-1com__pr__block__bn {
    position: absolute;
    top: 0;
    left: 1rem;
  }
  .main-1com__pr__block__exprain__block {
    width: calc((100% - 24px) / 2);
  }
}
@media screen and (max-width: 800px) {
  .main-1com__pr__block {
    margin: 0 auto 32px;
    padding: 0 1rem 32px;
  }
  .main-1com__pr__block__title {
    font-size: 18px;
  }
  .main-1com__pr__block__detail {
    font-size: 14px;
  }
  .main-1com__pr__block__exprain {
    flex-direction: column;
  }
  .main-1com__pr__block__exprain__block {
    width: 100%;
  }
}
.main-1com__pr__block__btn {
  margin: auto;
  max-width: 362px;
  width: 100%;
}
.main-1com__pr__block__btn a {
  align-items: center;
  background: linear-gradient(90deg, #B1E858 0%, #2BC656 100%);
  border-radius: 2rem;
  color: #fff;
  display: flex;
  gap: 1rem;
  height: 4rem;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  text-align: center;
}
.innerLink-btn a::after {
  background: url(https://mamescript.jp/wp-content/uploads/2024/09/arrow-wh.png) no-repeat center center / 100% auto;
  content: "";
  display: block;
  height: 100%;
  width: 22px;
}








/* 下層ページ */
.pankuzu__top {
  font-size: 12px;
  margin: 12px auto;
  max-width: 1100px;
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .pankuzu__top {
    padding: 0 20px;
  }
}

.pankuzu__top li {
  margin-right: 10px;
  padding: 5px 0;
}

.pankuzu__top li:not(:last-of-type)::after {
  content: "＞";
  margin-left: 10px;
}

.contents {
  justify-content: center;
  margin-bottom: 50px;
}

@media screen and (max-width: 1100px) {
  .contents {
    margin-bottom: 30px;
  }
}

.contents__main {
  background: #fff;
  margin-right: 30px;
  padding: 20px;
  width: 730px;
}

@media screen and (max-width: 1130px) {
  .contents__main {
    width: calc(100% - 400px);
  }
}

@media screen and (max-width: 960px) {
  .contents__main {
    margin-right: 20px;
    width: calc((100% - 60px) * 0.7);
  }
}

@media screen and (max-width: 750px) {
  .contents__main {
    margin: 0 10px 20px;
	padding: 20px 10px;
    width: 100%;
  }
}

/* 見出し */
.contents__main__h1 {
  border-top: solid 2px #a89b8d;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  padding: 15px 3px;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 960px) {
  .contents__main__h1 {
    font-size: 26px;
  }
}

@media screen and (max-width: 520px) {
  .contents__main__h1 {
    font-size: 24px;
  }
}

.contents__main__h1::before {
  background: #a89b8d;
  content: "";
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.contents__main__h1::after {
  background: #f6f0eb;
  content: "";
  height: 100%;
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  z-index: -1;
}

.contents__main h2 {
  background: #f6f0eb;
  border-left: solid 10px #a89b8d;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 25px;
  padding: 12px 10px;
}

@media screen and (max-width: 960px) {
  .contents__main h2 {
    font-size: 22px;
  }
}

@media screen and (max-width: 520px) {
  .contents__main h2 {
    font-size: 20px;
  }
}

.contents__main h3 {
  border-bottom: solid 3px #a89b8d;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 25px;
  padding: 0 3px 5px;
}

@media screen and (max-width: 960px) {
  .contents__main h3 {
    font-size: 20px;
  }
}

@media screen and (max-width: 520px) {
  .contents__main h3 {
    font-size: 18px;
  }
}

.contents__main h4 {
  border-bottom: double 3px #a89b8d;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 25px;
  padding: 0 3px 5px;
}

@media screen and (max-width: 520px) {
  .contents__main h4 {
    font-size: 18px;
  }
}

.contents__main h5 {
  border-bottom: dashed 2px #a89b8d;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 25px;
  padding: 0 3px 5px;
}

@media screen and (max-width: 520px) {
  .contents__main h5 {
    font-size: 16px;
  }
}

.contents__main h6 {
  border-bottom: dotted 2px #a89b8d;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 25px;
  padding: 0 3px 5px;
}

@media screen and (max-width: 960px) {
  .contents__main h6 {
    font-size: 15px;
  }
}


/* リスト */
.contents__main ul {
  margin-bottom: 30px;
}

.contents__main ul li {
  font-size: 18px;
  line-height: 1.5;
  list-style: disc;
  margin: 0 20px 12px 2.5em;
}

.contents__main ol {
  margin-bottom: 30px;
}

.contents__main ol li {
  font-size: 18px;
  line-height: 1.5;
  list-style: decimal-leading-zero;
  margin: 0 20px 12px 2.5em;
}

@media screen and (max-width: 960px) {
  .contents__main ul li,
  .contents__main ol li {
    font-size: 16px;
  }
}


/* 画像 */
.contents__main figure {
  margin-bottom: 30px;
}

.contents__main__head__img {
  margin-bottom: 20px;
}

.contents__main figcaption {
  font-size: 12px;
  margin-top: 5px;
  text-align: right;
}

/* テキスト */
.contents__main p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 20px 30px;
}

@media screen and (max-width: 520px) {
  .contents__main p {
    font-size: 15px;
	margin: 0 10px 30px;
	overflow-wrap: break-word;
    word-wrap: break-all;
  }
}

.contents__main__note {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 20px 30px;
}

.contents__main p.contents__main__date {
  font-size: 12px;
  margin-bottom: 15px;
  text-align: right;
}

/* コードブロック */
pre {
  background: #e2dcd6;
  margin: 0 20px 30px;
  padding: 20px;
}

code {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* サイドメニュー */
.sidebar {
  width: 340px;
}

@media screen and (max-width: 960px) {
  .sidebar {
    width: calc((100% - 60px) * 0.3);
  }
}

@media screen and (max-width: 750px) {
  .sidebar {
    margin: 0 20px;
    width: 100%;
  }
}

.sidebar__contents {
  background: #fff;
  margin-bottom: 30px;
  padding: 20px;
}

.sidebar__contents h1 {
  background: #a89b8d;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  padding: 12px 15px;
}

.sidebar__articlelist li:not(:last-of-type),
.sidebar__categorylist li:not(:last-of-type) {
  border-bottom: dotted 1px #a89b8d;
}

.sidebar__articlelist a {
  display: block;
  min-height: 120px;
  padding: 10px 0 10px 110px;
  position: relative;
}

@media screen and (max-width: 960px) and (min-width: 520px) {
  .sidebar__articlelist a {
    min-height: 100px;
    padding: 10px 0 10px 90px;
  }
}

.sidebar__articlelist img {
  height: 100px;
  object-fit: cover;
  position: absolute;
  top: 10px;
  left: 0;
  width: 100px;
}

@media screen and (max-width: 960px) and (min-width: 520px) {
  .sidebar__articlelist img {
    height: 80px;
    width: 80px;
  }
}

.sidebar__articlelist h2 {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.sidebar__articlelist .category {
  background: #e2dcd6;
  display: inline-block;
  font-size: 10px;
  margin-bottom: 10px;
  padding: 5px;
}

.sidebar__articlelist .date {
  font-size: 10px;
  text-align: right;
}

.sidebar__categorylist a {
  display: block;
  font-size: 14px;
  padding: 10px 0 10px 20px;
  position: relative;
}

.sidebar__categorylist a::before {
  background: #a89b8d;
  border-radius: 3px;
  display: block;
  content: "";
  height: 6px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 6px;
}

.sidebar__bn {
  margin: 0 auto 24px;
  text-align: center;
}

/* アーカイブ用 */
.article__list {
  border-bottom: dotted 1px #a89b8d;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.article__list a {
  display: block;
  padding-left: 170px;
  position: relative;
}

.article__list h2 {
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0;
}

.article__list img {
  position: absolute;
  top: 0;
  left: 0;
}

.article__list p {
  font-size: 14px;
  margin: 0 0 10px;
}

.article__list p.date {
  text-align: right;
}

/* 記事一覧 */
.type1 .top-contents__articlelist li {
  margin-bottom: 30px;
}

/* お問い合わせ */
.sec-contact {
  margin: 40px auto 80px;
  max-width: 800px;
}

.sec-contact h1 {
  font-size: 28px;
  margin-bottom: 50px;
  text-align: center;
}

.sec-contact .sec-contact-txt {
  line-height: 1.3;
  margin-bottom: 50px;
  text-align: center;
}

.sec-contact .sec-contact-form {
  align-items: center;
  justify-content: space-between;
}

.sec-contact .sec-contact-form dt {
  margin-bottom: 30px;
  position: relative; 
  width: 200px;
}

.sec-contact .sec-contact-form .form-required {
  background: #ec5a5a;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  position: absolute;
  top: 0;
  right: 0;
}

.sec-contact .sec-contact-form dd {
  margin-bottom: 30px;
  width: calc(100% - 240px);
}

.sec-contact .sec-contact-form input[type="text"],
.sec-contact .sec-contact-form input[type="email"],
.sec-contact .sec-contact-form textarea {
  background: #fff;
  border: solid 1px #a89b8d;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
}

.sec-contact .form-submit {
  margin: 30px auto;
  width: 240px;
}

.sec-contact .form-submit input[type="submit"] {
  background: #ec5a5a;
  border-radius: 25px;
  color: #fff;
  display: block;
  font-size: 18px;
  line-height: 50px;
  width: 100%;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output{
  border: none !important;
}

.wpcf7-response-output {
  text-align: center;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
  font-weight: 14px;
}

@media screen and (max-width: 750px) {
.sec-contact {
  margin: 30px 25px 50px;
}

.sec-contact h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

.sec-contact .sec-contact-txt {
  text-align: justify;
}

.sec-contact .sec-contact-form {
  display: block;
}

.sec-contact .sec-contact-form dt {
  margin-bottom: 15px;
  width: 100%;
}

.sec-contact .sec-contact-form .form-required {
  margin-left: 10px;
  padding: 3px 7px;
  position: static;
}

.sec-contact .sec-contact-form dd {
  margin-bottom: 30px;
  width: 100%;
}

.sec-contact .form-submit {
  margin: 30px auto;
  width: 200px;
}

}


