﻿.@charset "utf-8";

/* Transform :skew */
#header,#search,#container,.aside-wrap,#pageInfo,.fixed-quick,.fixed-bar a,.fixed-button,.footer-menu,.footer-info{transform:skew(-0.03deg);}
#header2{transform:skew(-0.03deg);}


@font-face{
  font-family:"Story Script";
  src:url("/font/StoryScript-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Roboto";
  src:url("/font/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 400;
  font-style:normal;
  font-display:swap;
}

html, body {
    overflow-x: hidden;  /* 수평 스크롤 강제 차단 */
    -ms-overflow-style: none;
}
::-webkit-scrollbar {
    display: none;
}

body{
  width: 100%;
  background-color:#ffffff;
  max-width: 720px;
  margin:0 auto;
  font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-style: normal;
  /* font-family: 'NEXON Lv2 Gothic', sans-serif; */
  font-size: 18px;
  line-height: 1.7em;
  color: #222;
  /* overflow: hidden; */
}
.container {
    min-height: 100vh;
    margin-top: 62px;
    background-color: #ffe6d6;
    padding: 20px 40px 92px 40px;
}
.txt_area .title {
    font-size: 1.4em;
    margin-bottom: 20px;
    line-height: 1.7em;
}
.txt_area .txt {
    font-family: "Roboto", sans-serif;
}
.txt_area .txt .login_form {
    margin-top: 30px;
}

/* ============================== header ========================== */
header {
    position: fixed;
    max-width: 720px;
    width: 100%;
    height: 100vh;
    top: 0;
    overflow: hidden;
    z-index: 20;
    pointer-events: none;
}
header nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    height: 62px;
    z-index: 9;
    background-color: #fff8ea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: all;
    border-bottom: 1px solid #f4b3a4;
    box-shadow: 0 5px 5px rgba(0,0,0,2%);
}
header .page-back {
    width: 17px;
    height: 17px;
    font-size: 0;
    background: url(../images/common/backicon.png) no-repeat 0 0 / 100% 100%;
}
header .logo img{
    height: 40px;
}
header .other_btn {
    cursor: pointer;
}
header .other_btn img{
    margin-top: 3px;
    height: 20px;
}
header .bg_menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 100vh;
    background: rgba(0, 0, 0, 50%);
    display: none;
    z-index: 10;
    cursor: pointer;
    pointer-events: all;
    margin: auto;
}
header .back {
    width: 25vh;
    height: 100vh;
    background: #fff8ea;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    animation: fadeInLeft .3s;
    z-index: 9999;
    pointer-events: all;
}
@keyframes fadeInLeft {
    0% {
        opacity: 1;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
header .back ul li {
    padding: 20px;
}
header .back ul li a{
    display: block;

}
header .top_menu {
    height: 62px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
}
header .back .close_btn {
    width: 20px;
    height:  20px;
    cursor: pointer;
}
header .back .close_btn img {
    width: 100%;
}
header .bottom_menu {
    position: absolute;
    bottom: 0;
    height: 62px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    margin-bottom: 100px;
}
/* ============================== bottom_nav ========================== */
header .bottom_nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    /* height: 62px; */
    z-index: 9;
    background-color: #fff8ea;
    padding: 12px 20px;
    pointer-events: all;
    border-top: 1px solid #f4b3a4;
    box-shadow: 0 -5px 5px rgba(0,0,0,2%);
}
.bottom_nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bottom_nav .page_btn {
    width: 25%;
    height: 50px;
    line-height: 50px;
    border: 1px solid #ffFFFF;
    background-color: #ff8188;
    color: #fff;
    text-align: center;
    border-radius: 8px;
}
.bottom_nav .page_btn a {
    display: block;
    width: 100%;
    height: 100%;
}
.page_num {
    display: flex;
    align-items: center;
    font-family: "Roboto", sans-serif;
}
.page_num input {
    width: 40px;
    height: 27px;
    /* margin-right: 5px; */
    padding: 5px;
}
.page_num button {
    font-weight: bold;
    margin-left: 5px;
    color: #ff8188;
    background-color: #fff8ea;
    border: solid 1px #ff8188;
    border-radius: 5px;
    padding-left: 2px;
    padding-right: 2px;
}

/* ============================== intro ========================== */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    height: 50%;
    background: url(/images/common/intro_bg.jpg) center/cover no-repeat;
    z-index: 1;
}
.bg-fixed .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 30px;
}
.bg-fixed .title .logo {
    width: 180px;
    margin: auto;
}
.bg-fixed .title .txt p {
    font-size: 20px;
    display: block;
    margin: 5px 0;
}
.bg-fixed .title .txt span {
    color: #eee;
}
.bg-fixed .title .btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bg-fixed .title .btn a{
    display: block;
    width: calc(50% - 10px);
    color: #000;
    background-color: #fffcf5;
    padding: 10px 0;
    border-radius: 10px;
    margin-top: 20px;
}
.bg-fixed .title .btn a:last-of-type {
    background-color: #ff8188;
    color: #fff;
}

.scrolly {
    position: relative;
    padding-top: 40vh;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.panel {
    position: sticky;
    top: 0;
    max-width: 720px;
    margin: 0 auto;
    background: #fffcf5;
    backdrop-filter: blur(2px);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    min-height: 60vh;
    z-index: 2;
}

.scrolly .panel {
    text-align: center;
    padding-top: 40px;
}
.panel section {
    margin-bottom: 60px;
}
.panel .title {
    font-size: 24px;
    color: #ff8188;
}
.panel .txt p {
    font-size: 20px;
    display: block;
    margin: 20px 0 10px 0;
}
.intro_icon {
    width: 200px;
    display: block;     
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ============================== about ========================== */
.about {
    text-align: center;
    margin-bottom: 120px;
}
.about .title {
    margin-bottom: 10px;
}
.about .title span {
    font-size: 1.2em;
}
.about .title p {
    font-size: 1.4em;
}
.about .txt {
    font-family: "Roboto", sans-serif;
    line-height: 1.4em;
    display: block;
    margin-bottom: 10px;
}
.about .txt .intro_icon {
    margin: auto;
    margin-bottom: 20px;
}
.about_img {
    margin-bottom: 20px;
}

/* ============================== album ========================== */
.album {
    width: 100%;
    background-color: #fff8ea;
    border: 1px solid #f4b3a4;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.album_main {
    width: 100%;
    background-color: #fff;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
    border: 1px solid #e3e3e3;
}
.album_txt {
    position: absolute;
    width: 100%;
    background-color: rgba(0, 0, 0, 50%);
    bottom: 0;
    padding: 20px;
    color: #fff;
}
.album_txt p {
    font-size: 1.3em;
    display: block;
}
.album_sub {
    padding-bottom: 25px;
}
.album_sub span {
    display: block;
    color: #f4b3a4;
    margin-bottom: 10px;
}
.album_sub a {
    position: relative;
    width: 100%;
    display: block;
    background-color: #f4b3a4;
    border-radius: 10px;
    color: #fff;
    font-size: 1.2em;
    padding: 15px 20px;
}
.album_sub .sub_img {
    width: 70px;
    height: 93px;
    background-color: #fff8ea;
    position: absolute;
    right: 20px;
    top: -20px;
    border-radius: 5px;
    border: 1px solid #f4b3a4;
    padding: 5px;
    transform: rotate(8deg);
    box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 20%);
}
.album_sub .sub_img:last-of-type {
    right: 50px;
    top: -40px;
    padding: 5px;
    transform: rotate(-8deg);
}
.album_sub .sub_img div {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.album_sub .sub_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}
.rotate-90 {
    transform: rotate(90deg);
    max-height: 100%;  /* 부모 안에 맞게 */
    width: auto;
}
/* ============================== img_detail ========================== */
.detail {
    width: 100%;
    background-color: #fff8ea;
    border: 1px solid #f4b3a4;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
}
.detail_img {
    margin-bottom: 20px;
}
.play_btn {
    width: 100%;
    background-color: #f4b3a4;
    color: #fff;
    padding: 15px 0;
    font-size: 1.1em;
    border-radius: 10px;
    font-family: "Story Script", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.detail_btn {
    display:flex;
    justify-content: end;
}
.report_btn {
    background-color: #fff8ea;
    border: 1px solid #f4b3a4;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-family: "Story Script", sans-serif;
}
.report_btn img {
    width: 20px;
    margin-right: 5px;
}

/* ============================== album_list ========================== */
.album_list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

/* 박스를 flex 컨테이너로 만들어 중앙 배치 */
.album_list .box {
    width: auto;
    padding: 20px;
    display: flex;                 /* flex 컨테이너 */
    justify-content: center;       /* 가로 중앙 */
    align-items: center;           /* 세로 중앙 */
    box-sizing: border-box;
    min-height: 250px;             /* 세로 중앙 확인용 높이 (원하는 값으로 조정) */
}

/* 짝수 번째 보정 */
.album_list .box:nth-of-type(2n) {
    padding-top: 20px;
}

/* 이미지 프레임 */
.album_list .box .box_frame {
    background-color: #fff8ea;
    border: 1px solid #f4b3a4;
    padding: 5px;
    border-radius: 7px;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 20%);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    display: inline-block;         /* 이미지 크기에 맞춤 */
}

.album_list .box.landscape {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex !important;                 /* flex 컨테이너 */
    justify-content: center;
}

/* 이미지 */
.album_list .box .box_frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.album_title {
    text-align: center;
    padding: 10px 0 30px 0;
    font-size: 1.3em;
    color: #ff8188;
}
.album_title span {
    font-size: 0.8em;
    display: block;
    margin-top: 5px;
}


/* ============================== edit ========================== */
.edit_form {
    margin-top: 20px;
}
.edit_form li {
    margin-bottom: 20px;
}
.edit_form li b {
    font-family: "Roboto", sans-serif;
    display: block;
    margin-bottom: 6px;
    margin-left: 10px;
    font-size: 0.9em;
}
.edit_form li small {
    font-family: 'Roboto';
    margin-left: 10px !important; 
}
#editForm .edit_btn {
    height: 52px;
    margin: auto;
    margin-top: 20px;
    text-align: center;
    line-height: 52px;
    border-radius: 10px;
    background-color: #ff8188;
    color: #fff;
}
#editForm .edit_btn:nth-of-type(3) {
    height: 52px;
    margin: auto;
    margin-top: 14px;
    text-align: center;
    line-height: 52px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #666;
    border: 1px solid #eee;
}
#editForm .edit_btn a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================== footer ========================== */

footer {
  display: flex;
  justify-content: center;
  padding: 40px 0 40px 0;
}
.footer-menu > li {
    float: left;
    position: relative;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.43;
    color: #141414;
    cursor: pointer;
}
.footer-menu > li + li {
    margin-left: 10px;
    padding-left: 10px;
}
.footer-menu > li + li::before {
    display: block;
    clear: both;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 10px;
    margin-top: -5px;
    background-color: #b7b7b7;
}


/* ============================== main_img_detail ========================== */


@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .container {
        padding: 20px 20px 92px 20px;
    }
    .album_main {
        max-height: 300px;
    }
    .login {
        top: 50%;
    }
    .album_list .box {
        width: 50%;
        padding: 15px;
    }
    .album_list .box:nth-of-type(2n) {
        padding-top: 60px;
    }
    .bg-fixed .title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -45%);
        width: 100%;
        height: 100%;
        color: #fff;
        text-align: center;
        padding: 30px;
    }
    .about {
        text-align: center;
        margin-bottom: 60px;
    }
}