@charset "utf-8";

/*************************************************
  PCの記述開始
*************************************************/

/*======= テキストスタイル =======*/
/*下層ページのh2上部のマージン*/
h2 {
    margin-top: 160px;
}

/*======= 作品の画像 =======*/
.pc-img {
  display: block;
}
.sp-img {
  display: none;
}

main section img {
    width: 100%;
    margin-bottom: 30px;
}

.img-banner {
    width: 100%;           /* 親要素に合わせて縮小表示 */
  height: auto;          /* 縦横比を保つ */
  max-width: 880px;      /* 元の画像サイズ（例）を上限に */
  image-rendering: auto; /* ブラウザに任せる自然な補間処理 */
  display: block;
  margin: 0 auto;
}

.img-banner img:nth-of-type(7) {
  width: 100%;           /* 親要素に合わせて縮小表示 */
  height: auto;          /* 縦横比を保つ */
  max-width: 600px;      /* 元の画像サイズ（例）を上限に */
  image-rendering: auto; /* ブラウザに任せる自然な補間処理 */
  display: block;
  margin: 0 auto;
    margin-bottom: 50px;
}

.img-1col {
    text-align: center;
}

.img-1col img {
    width: 30%;
}

.img-2col {
    display: flex;
    justify-content: space-between;
}

.img-2col img {
    width: 50%;
}

.img-3col {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.img-3col img {
    width: 48%;
}

.img-4col {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.img-4col img {
    width: 48.8%;
}

.border {
    border: solid 2px #e6e6e6; 
}

/*======= 作品の概要 =======*/
.summary {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 60px;
    word-break: break-all;
}

    /*見出し*/
    .works-list {
        width: 25%;
        color: #AFAFAF;
        font-weight: normal;
        line-height: 1.8em;
    }

    /*本文*/
    .works-text {
        width: 75%;
        margin-bottom: 30px;
        line-height: 1.8em;
    }

    /*注釈*/
    .notes {
        display: block;
        font-size: 14px;
        margin-top: 10px;
        text-indent: -1.5em;
        padding-left: 1.5em;
    }

    /*別窓アイコン*/
    .summary dd i {
        margin-left: 8px;
    }
    
/*======= 戻るボタン =======*/
.back-btn {
    width: 220px;
    height: 54px;
    margin: 0 auto 200px auto;
}

.back-btn a {
    display: block;
    padding: 16px 0;
    background-color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.1em;
}

    /*矢印アイコン*/
    .back-btn i {
        margin-left: 0;
        margin-right: 8px;
    }

/*************************************************
  PCの記述終了
*************************************************/

/*************************************************
  TABの記述開始
*************************************************/
@media screen and (max-width: 960px) {

/*======= テキストスタイル =======*/
/*下層ページのh2上部のマージン*/
h2 {
    margin-top: 160px;
}

/*======= 作品の画像 =======*/
main section img {
    width: 100%;
    margin-bottom: 20px;
}

.img-1col {
    text-align: center;
}

.img-1col img {
    width: 30%;
}

.img-2col {
    display: flex;
    justify-content: space-between;
}

.img-2col img {
    width: 50%;
}

.img-3col {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.img-3col img {
    width: 48%;
}

.img-4col {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.img-4col img {
    width: 48.8%;
}

.border {
    border: solid 2px #e6e6e6; 
}

/*======= 作品の概要 =======*/
.summary {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 60px;
}

    /*見出し*/
    .works-list {
        width: 20%;
        color: #AFAFAF;
        font-weight: normal;
        line-height: 1.8em;
    }

    /*本文*/
    .works-text {
        width: 80%;
        margin-bottom: 30px;
        line-height: 1.8em;
    }

    /*注釈*/
    .notes {
        display: block;
        font-size: 14px;
        margin-top: 10px;
    }

    /*別窓アイコン*/
    .summary dd i {
        margin-left: 8px;
    }
    
/*======= 戻るボタン =======*/
.back-btn {
    width: 220px;
    height: 54px;
    margin: 0 auto 100px auto;
}

.back-btn a {
    display: block;
    padding: 16px 0;
    background-color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.1em;
}

    /*矢印アイコン*/
    .back-btn i {
        margin-left: 0;
        margin-right: 8px;
    }
}

/*************************************************
  TABの記述終了
*************************************************/

/*************************************************
  SPの記述開始
*************************************************/
@media screen and (max-width:768px) {
/*======= テキストスタイル =======*/
/*下層ページのh2上部のマージン*/
h2 {
    margin-top: 120px;
}
    
.pc-img {
    display: none;
  }
  .sp-img {
    display: block;
  }

main section img {
    width: 100%;
    margin-bottom: 20px;
}
    
.img-banner img:nth-of-type(7) {
  width: 100%;           /* 親要素に合わせて縮小表示 */
  height: auto;          /* 縦横比を保つ */
  max-width: 600px;      /* 元の画像サイズ（例）を上限に */
  image-rendering: auto; /* ブラウザに任せる自然な補間処理 */
  display: block;
  margin: 0 auto;
    margin-bottom: 30px;
}

/*======= 作品の概要 =======*/
.summary {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 50px;
}

    /*見出し*/
    .works-list {
        width: 30%;
        color: #AFAFAF;
        font-weight: normal;
        line-height: 1.8em;
        font-size: 14px;
    }

    /*本文*/
    .works-text {
        width: 70%;
        margin-bottom: 20px;
        line-height: 1.8em;
        font-size: 14px;
    }

    /*注釈*/
    .notes {
        display: block;
        font-size: 12px;
        margin-top: 10px;
    }

    /*別窓アイコン*/
    .summary dd i {
        margin-left: 8px;
    }
    
    .img-1col img {
        width: 100%;
        border: solid 1px #e6e6e6;
    }
    
    .img-2col {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .img-2col img {
        width: 100%;
    }
 
    .img-3col {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .img-3col img {
        width: 100%;
    }
    
    .img-4col {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .img-4col img {
        width: 100%;
    }
    
    /*======= 戻るボタン =======*/
    .back-btn {
        width: 220px;
        height: 54px;
        margin: 0 auto;
    }

}

/*************************************************
  SPの記述終了
*************************************************/