@charset "UTF-8";
/*
"源泉丸ゴシック" licensed under the SIL Open Font License 1.1
https://github.com/ButTaiwan/gensen-font
*/
/* GenSenRounded-R */
@font-face {
  font-family: "GenSenRounded";
  src: url("../font/GenSenRounded-R.woff") format("woff"), url("../font/GenSenRounded-R.ttf") format("truetype"), url("../font/GenSenRounded-R.ttc") format("truetype"), url("../font/GenSenRounded-R.eot") format("embedded-opentype");
  font-weight: 400;
  font-style: normal;
}
/* GenSenRounded-M */
@font-face {
  font-family: "GenSenRounded";
  src: url("../font/GenSenRounded-M.woff") format("woff"), url("../font/GenSenRounded-M.ttf") format("truetype"), url("../font/GenSenRounded-M.ttc") format("truetype"), url("../font/GenSenRounded-M.eot") format("embedded-opentype");
  font-weight: 500;
  font-style: normal;
}
/* GenSenRounded-B */
@font-face {
  font-family: "GenSenRounded";
  src: url("../font/GenSenRounded-B.woff") format("woff"), url("../font/GenSenRounded-B.ttf") format("truetype"), url("../font/GenSenRounded-B.ttc") format("truetype"), url("../font/GenSenRounded-B.eot") format("embedded-opentype");
  font-weight: 700;
  font-style: normal;
}


/*共通*/

/*共通ここまで*/
h1{
    padding-top: 80px;
    color: #524B3D;
    font-size: 30px;
    text-align: center;
    text-shadow: none;
}
#sec-template .inner{
    width: 722px;
    margin: 0 auto;
}
#sec-template .inner p{
    padding: 24px 0 43px;
    font-size: 16px;
    text-align: center;
    line-height: 1.75;
}

/* template用 */
/* セクション（グレー枠） */
.album-section {
  background:#F7F6EF;
  padding-top: 25px;
  width: 772px;
  margin: 15px auto;
  border-radius: 8px;
}

.album-title {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.album-section h3{
  color: #524B3D;
  font-size: 16px;
  font-weight: bold;
}
/* アイコン */
.title-icon img {
  width: 20px;
  height: 20px;
  display: block;
  padding: 0 8px 0 20px;
}
/* テンプレ一覧 */
.template-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 26px;
  list-style: none;
  padding-bottom: 30px;
  margin: 0;
}
.template-item {
  width: 320px;
}

.template-btn {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
}

.template-btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* アイコン＋枚数 */
.template-meta {
  /* position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.6); */
  color: #AAA;
  font-size: 12px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

/* 画像＋×ボタンのラッパー */
.modal-content {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: 70vw;
  max-height: 70vh;
}

/* 画像 */
.modal-img {
  display: block;
  max-width: 60vw;
  max-height: 79vh;
}

/* ×ボタン（画像の右上） */
.modal-close {
  position: absolute;
  top: -44px;
  right: 4px;
  width: 39px;
  height: 39px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color:#6F6E70;
  font-size: 20px;
  line-height: 41px;
  text-align: center;
  cursor: pointer;
}

.modal-close:hover {
  opacity: 0.8;
}
/* template用ここまで */

#sec-template .btn {
    width: 242px;
    margin: 0 auto;
    padding: 40px 0 18px;
}
#sec-template .btn a {
    position: relative;
    display: block;
    width: 196px;
    padding: 14px 32px 12px 14px;
    background-color: #F6734F;
    border-radius: 25px;
    box-shadow: -4px -5px 6px rgba(255, 255, 255, 0.5), 0px 0px 6px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-align: center;
}
#sec-template .btn-arrow-right a::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    transform: rotate(45deg);
    box-sizing: border-box;
}

@media screen and (max-width: 1023px) and (min-width: 1px) { 
.album-section {
  background:#F7F6EF;
  width: 92%;
  margin: 0 auto;
  padding-top: 4.8vw;
}
#sec-template .inner{
    width: 92%;
    margin: 0 auto;
}
h1{
    padding-top: calc(70px + 5vw);
    font-size: 6.4vw;
}
h2{
   font-size: 6.4vw;
}
#sec-template .inner p{
    padding-top: 5.33vw;
    padding-bottom: 8vw;
    font-size: 4vw;
    text-align: center;
    line-height: 1.6;
}

/* テンプレ一覧 */
.template-list {
  gap: 4%;
  margin-bottom: 3.0vw;
  padding-bottom: 0;
}
.template-item {
  width: 43%;
  padding-bottom: 3.5%;
}
.template-meta .icon{
  width:3.5vw;
}

/* 画像 */
.modal-img {
  display: block;
  max-width: 92vw;
  max-height: 90vh;
}

/* 画像＋×ボタンのラッパー */
.modal-content {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: 92vw;
  max-height: 35vh;
}
/* ×ボタン（画像の右上） */
.modal-close {
    position: absolute;
    top: -8vw;
    right: 0vw;
    width: 6.4vw;
    height: 6.4vw;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #6F6E70;
    font-size: 4vw;
    line-height: 7vw;
    text-align: center;
    cursor: pointer;
}


}