@charset "UTF-8";
body {
  color: var(--text-color);
  font-size: var(--pc-font-size);
  line-height: 1.6;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    font-size: var(--sp-font-size);
  }
}

a, a:visited, a:link {
  color: var(--dgreen-color);
  text-decoration: underline;
  transition: all 0.3s ease;
}

a:not(.archive-themelist__button):not(.secondary-button):hover {
  color: #007F67;
  text-decoration: underline;
}

:root {
  /* MT.netカラー */
  --mt-color: #00A78B;
  /* ダークグリーン */
  --dgreen-color: #00463A;
  /* 文字色 */
  --text-color: #262A32;
  /* 背景色 */
  --bg-color: #FFFFFF;
    /* 注意色 */
  --annotation-color: #B00000;

  /* PC文字サイズ */
  --pc-font-size: 16px;
  /* SP文字サイズ */
  --sp-font-size: 15px;
}

#footer-top {
background: #111;
}

#footer-top .logo .sa {
display: inline-block;
width: 94px;
height: 53px;
vertical-align: bottom;
}
.no-scroll {
  overflow: hidden;
  height: 100%;
}

.br-display {
  display: none;
}
.content {
  width: 100%;
  margin: 0 auto;
}
.inner-wrap {
  max-width: 1056px;
  margin: 0 auto;
}

.archive-theme-gallery .inner {
  max-width: 100%;
  padding: 0 0 3.5rem;
  width: 100%;
  text-align: center;
}
.archive-theme-gallery {
  background: url(//movabletype.net/assets/images/bg-body-min.png) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 4rem;
}
.archive-theme-gallery__title-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
}
.archive-theme-gallery__main-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-style: italic;
  font-size: 5rem;
  letter-spacing: 6px;
  margin-top: -2rem;
}
.archive-theme-gallery__sub-title {
  font-size: 0.75rem;
  margin-top: -1.5rem;
}
.archive-theme-gallery__text {
  max-width: 900px;
  margin: 2.5rem auto 1rem;
}
.archive-theme-gallery__annotation-text {
  font-weight: bold;
  color: var(--annotation-color);
}

.archive-themelist-section {
  max-width: 1210px;
  margin: 0 auto;
  padding-bottom: 4rem;
}
.archive-themelist__ul {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem 1rem;
}
.archive-themelist__ul li {
  width: calc(33.3% - 1.5rem);
  display: flex;
  flex-direction: column;
}
.archive-themelist__ul li:nth-child(3n) {
  margin-right: 0rem;
}

.archive-themelist__img-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 4px 4px 20px 0px #c4c4c4;
}
.archive-themelist__img {
  max-width: 375px;
  width: 100%;
  height: auto;
  display: block;
}
.archive-themelist__img-wrap .archive-themelist__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
.archive-themelist__image-label {
  color: var(--text-color);
  font-size: 0.75rem;
  text-align: center;
  background-color: var(--bg-color);
  padding: 0.5rem 1.25rem;
}
.archive-themelist__img-wrap:hover .archive-themelist__img-overlay {
  opacity: 1;
}
.archive-themelist__modal-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  box-sizing: border-box;
  z-index: 9999;
}
.archive-themelist__modal-wrap::-webkit-scrollbar {
  display: none;
}
.archive-themelist__modal {
  background: var(--bg-color);
  max-width: 90%;
  width: 50%;
  padding: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
  transform: translate(-50%, -50%);
  max-height: 80vh; 
  overflow-y: auto;
}

.archive-themelist__modal-close {
  position: sticky;
  top: 0;
  width: 32px;
  height: 32px;
  margin: 0 0px 20px auto;
  display: block;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.archive-themelist__modal-close::before, .archive-themelist__modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 2px;
  background: var(--text-color);
  transform-origin: center center;
}
.archive-themelist__modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.archive-themelist__modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.archive-themelist__modal img {
  width: 100%;
  border: solid 1px #e1e1e1;
}

.archive-themelist__theme--name {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  margin-top: 0.75rem;
}
.archive-themelist__feature-links::before {
  content: "-";
}
.archive-themelist__theme--text {
  margin: 0.3rem 0 1rem;
  flex-grow: 1;
}
a.archive-themelist__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 0.75rem;
  background-color: var(--dgreen-color);
  color: var(--bg-color);
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}
.archive-themelist__button i {
  font-size: 1rem;
  margin-right: 0.4rem;
}
.archive-themelist__button span {
  font-size: 0.625rem;
  position: relative;
  top: -1px;
  left: -3px;
}
.archive-themelist__button div {
  position: relative;
  top: 1px;
  line-height: 120%;
}
.archive-themelist__button:hover {
  background-color: #007F67;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
a.secondary-button {
  background-color: var(--bg-color);
  border: solid 1px var(--dgreen-color);
  text-decoration: none;
  padding: 0 16px;
  max-width: 335px;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.secondary-button:hover {
  background-color: var(--dgreen-color);
  color: var(--bg-color);
  text-decoration: none;
}


@media (max-width: 1100px) {
  .archive-theme-gallery .inner {
    padding: 0 1rem 4rem 1rem;
    max-width: calc(1100px - 2rem);
  }
  .archive-themelist__button span {
    display: none;
  }
  a.archive-themelist__button {
    width: 100%;
  }
  .archive-themelist__modal {
    width: 90%;
  }
}

@media (max-width: 830px) {
  .br-display {
    display: block;
  }
  .archive-themelist__button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .archive-theme-gallery .inner {
    padding-bottom: 5rem;
  }
  .archive-theme-gallery__textArea {
    width: auto;
  }
  .archive-themelist__ul {
    gap: 1rem 1rem;
  }
  .archive-themelist__ul li {
    width: calc(50% - 1.5rem);
    margin-bottom: 2rem;
  }
  .archive-themelist__ul li:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .archive-themelist-section {
    padding-bottom: 0;
  }
  .archive-themelist__button i {
    margin-right: 0.5rem;
  }
  .archive-themelist__button div {
    text-align: center;
  }
  .archive-themelist__button span {
    font-size: 0.8rem;
  }
  .archive-themelist__ul li, .archive-themelist__ul li:nth-child(3n), .archive-themelist__ul li:nth-child(2n) {
    width: 100%;
    margin: 0 1rem 4rem;
  }
  .archive-themelist__img {
    max-width: none;
  }
  a.archive-themelist__button {
    font-size: 1rem;
  }
  .archive-themelist__modal {
    margin-top: 0;
  }
}

.globalheader .global-navi a:link {
	color: #00a78b;
	text-decoration: none;
}

.globalheader .global-navi a:hover {
	color: #00a78b;
	text-decoration: none;
}

.globalheader .global-navi a:visited {
	color: #00a78b;
	text-decoration: none;
}

.globalheader .global-navi a:active {
	color: #02B290;
	text-decoration: none;
}
