@charset "utf-8";

/***==========================================
      index
==========================================***/

.about {
  margin: 0 0 6rem;
  text-align: center;
}

.about div+div {
  margin-top: 1em;
}

#about {
  margin-top: 0;
  padding-top: 5rem;
  padding-bottom: 6rem;
  border-bottom: 2px dashed var(--color-sub-03);
}

#under_menu {
  display: flex;
  margin: 0 auto 8rem;
}

@media screen and (max-width: 960px) {
  #under_menu {
    display: block;
    flex-direction: column;
    width: 98%;
    margin: 6rem auto;
    box-sizing: border-box;
  }
}

.news {
  position: relative;
  width: 57%;
  padding: 3em 2em 0.5em;
  background: var(--bgcolor-news);
  font-size: 1.1rem;
}

/* 上の文字 */
.news::before {
  content: "⊹⊰⊹⊱{　NEWS / 更新履歴　}⊰⊹⊱⊹";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3em;
  color: #fff;
  font-family: Georgia, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'YuGothic', 'Meiryo', 'Yu Gothic', sans-serif;
  background: var(--color-base-link);
  border-radius: 5px 5px 0 0;
}

.news p {
  display: block;
  position: relative;
  width: 100%;
  padding: 5px 0;
  border-bottom: 1px dotted var(--color-base-link);
  color: var(--color-base);
  font-size: 1.2rem;
  word-break: break-all;
  text-decoration: none;
}

.news p:first-child {
  margin-top: 1rem;
}

@media screen and (max-width: 960px) {
  .news {
    display: block;
    width: 100%;
  }
}

.date {
  margin-right: 1.6rem;
}

.news_more {
  margin: 20px 0 0;
  text-align: right;
}

/* 下矢印 */
.news_more:after {
  content: '';
  display: inline-block;
  -webkit-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  transform: rotate(315deg);
  width: 5px;
  height: 5px;
  margin: 0 0 1px 3px;
  border-right: 1px solid var(--color-base);
  border-bottom: 1px solid var(--color-base);
}

/* ショトカリンク */
@media screen and (min-width: 960px) {
  .sclink {
    margin-left: 20px;
  }
}

@media screen and (max-width: 960px) {
  .sclink {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 98%;
    margin: 10px auto 0;
  }
}

.btn_sclink {
  display: block;
  width: 358px;
  margin: 5px 0;
  padding: 11px 0 10px 20px;
  border-radius: 10px;
  background: var(--color-sub-02);
}

.btn_sclink p {
  font-size: clamp(1.1rem, calc(1.25vw + 1.5rem), 1.25rem);
  color: #fff;
  font-weight: bold;
}

.btn_sclink_small {
  margin-left: 0.7rem;
  font-size: 1.1rem;
}

.btn_sclink:hover {
  background: var(--color-base-link);
  transition: background 0.3s;
}

@media screen and (max-width: 960px) {
  .btn_sclink {
    position: relative;
    width: 49%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 10px auto;
  }
}

@media screen and (max-width: 540px) {
  .btn_sclink p {
    text-align: center;
    margin-right: 20px;
    font-size: 1rem;
  }
}


/***==========================================
      guide about info
==========================================***/

#guide .text p+p {
  margin-top: 1em;
}

.textbox_info {
  display: inline-block;
  position: relative;
  background: var(--color-sub-04);
  box-shadow: 0px 0px 0px 5px var(--color-sub-04);
  border: dashed 2px white;
  padding: 1.6em 1.6em;
  color: #454545;
}

#guide .textbox_info {
  width: 100％;
  margin: 2rem 0 1rem;
  padding: 2rem 4rem;
}

@media screen and (max-width: 540px) {
  #guide .textbox_info {
    display: block;
    margin: 2rem auto 5rem;
    width: 360px;
    max-width: 360px;
    padding: 2rem 0 2rem 3rem;
  }
}

.textbox_info:after {
  position: absolute;
  content: '';
  right: -7px;
  top: -7px;
  border-width: 0 15px 15px 0;
  border-style: solid;
  border-color: var(--color-sub-03) var(--bgcolor-body) var(--color-sub-03);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

.textbox_info p {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

.textbox_info p+p {
  margin-top: 0.5rem;
}

#guide .text p+p {
  margin-top: 1em;
}


/***==========================================
      banner
==========================================***/

.banner {
  margin: 14px 0;
}

.banner img {
  display: block;
  margin: 1.4rem 0 1rem;
}

pre {
  position: relative;
  margin-top: 1rem;
  padding: 1.4rem 1.2rem 1.42rem 6.4rem;
  white-space: pre-wrap;
  word-break: break-all;
  border-radius: 8px;
  background: var(--color-sub-04);
  color: var(--color-sub-02);
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 1.6rem
}

/* 左の細い枠 */
pre::before {
  content: "</>";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 100%;
  border-radius: 8px 0 0 8px;
  background: var(--color-sub-03);
  color: var(--color-sub-02);
  font-weight: bold;
}

.copy_button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  margin: 0 auto;
  padding: 0 1em;
  height: 24px;
  border: none;
  line-height: 1;
  font-weight: bold;
  background: var(--color-sub-02);
  color: #fff;
  cursor: pointer;
  border-radius: 0 8px 0 2px;
}

.copy_button:hover {
  background: var(--color-sub-03);
  color: var(--color-sub-02);
}


/***==========================================
      guide
==========================================***/

.check li {
  position: relative;
  padding-left: 1.6em;
}

.check li::before {
  content: '';
  position: absolute;
  top: .45em;
  left: .2em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--color-sub);
  border-bottom: 2px solid var(--color-sub);
  transform: rotate(-45deg);
}

.check li {
  margin-top: 1rem;
}


/***==========================================
      prof
==========================================***/

.prof_container {
  display: flex;
  margin-top: 4rem;
  margin-bottom: 4rem;
  justify-content: space-between;
  align-items: start;
}

.prof_container .icon img {
  width: 150px;
  margin: 0 30px 0 40px;
  border-radius: 50%;
  user-select: none;
}

.prof_contents {
  margin: 0 30px 10px 20px;
}

.prof_contents p+p {
  margin-top: 1em;
}

.administrator {
  font-size: 1.6rem;
}

@media screen and (max-width: 540px) {
  .prof_container {
    display: block;
    margin-top: 4rem;
    margin-bottom: 6rem;
  }

  .prof_container .icon img {
    margin: 20px auto;
  }

  .prof_contents {
    width: 100%;
    margin: 0 0 10px 0;
  }

  .administrator {
    text-align: center;
  }
}

/* news_log */
#news_log summary {
  box-sizing: border-box;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem 1rem;
  cursor: pointer;
  list-style: none;
}

#news_log .date {
  margin-right: 1.6rem;
}

#news_log summary .date {
  overflow-wrap: break-word;
}

#news_log details {
  border-bottom: 1px solid #ddd;
}

#news_log details summary {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  list-style: none;
  cursor: pointer;
  transition: background .3s;
}

#news_log details summary:hover {
  background: #f7f7f7;
}

#news_log details[open] summary {
  border-bottom: 1px solid #ddd;
}

#news_log .date {
  font-size: 1.2rem;
  color: #888;
}

.news_title {
  font-size: 1.5rem;
}

.news_contents {
  margin: 0 0 0;
  padding: 10px 0 20px 10px;
}


/***==========================================
      contact
==========================================***/

.mailform_title {
  color: #fff;
  background: var(--color-sub);
  text-align: center;
  margin-top: 2rem;
  border-radius: 8px 8px 0 0;
  padding: 0.8rem 0;
}

.formmailer-embed {
  margin: 0;
}

.mailform_bottom {
  border-radius: 0 0 8px 8px;
  background: #EDE7F6;
  height: 2rem;
  margin: -2rem auto 2rem;
}