﻿@charset "UTF-8";

@media (max-width:599px) {


  /*콘텐츠(바디)*/
  #contents {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /*z-index*/
  #index {
    background-color: #dbc384;
    width: 90%;
    padding: 8% 0;
    flex-flow: column wrap;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    top: -50px;
    left: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  #index>span {
    font-size: 35px;
    margin: 0;
    color: #fff;
    margin-bottom: 5%;
  }

  #index>form {
    display: flex;
    margin: 0 10px 10px 0;
    flex-flow: column wrap;
    width: 300px;
    height: 200px;
  }

  #index>form>label {
    font-size: 1.2rem;
    margin-bottom: 1%;}

  #index>form>input {
    font-size: 1rem;
    height: 35px;
    padding-left: 2%;
  }

  #index>form>button {
    background-color: #404040;
    border: 0;
    color: #c6b075;
    border: 1px solid #a49262;
    padding: 5px 20px;
    font-size: 1.4rem;
    margin-top: 1%;
  }

  #index>form>button:hover {
    background-color: #fff;
    border: 1px solid #a49262;
    transition: all 0.5s ease;
  }

  /*1.첫번째*/

  #first {
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
  }

  #first>.ibox {
    width: 40%;
    height: 280px;
    margin: 10px;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
  }

  #first>.ibox>h3 {
    margin: -10px 0 0 0;
  }

  #first>.ibox>p {
    text-align: center;
    font-size: 14px;
    margin: 10px 0 0 0;
  }

  /*2.사진이랑 설명*/
  #two {
    margin: 0 auto;
    width: 100%;
    height: 1800px;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-flow: column wrap;
  }

  #two>.about {
    background-color: #f9f9f9;
    width: 90%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    align-items: center;
    box-shadow: 3px 9px 15px 3px #eee;
    position: relative;
  }

  #two>.about>img {
    width: 100%;
    height: 250px;
  }

  #two>.about>.detail {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0;
    padding: 5%;
  }

  #two>.about>.detail>p {
    margin: 30px 0 0 0;
  }

  #two>.about>.detail>.bu {
    margin-top: 5%;
    width: 100%;
    height: 40px;
    background-color: #c6b075;
    border: 0;
    border-radius: 0rem;
    opacity: 0.8;
    font-size: 15px;
    color: #fff;
  }

  #two>.about:nth-child(2) {
    flex-flow: column-reverse !important;
  }

  #two>.about>.detail>.bu:hover {
    background-color: #303030;
    opacity: 0.6;
    color: #fff;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  #two>.about>img:nth-child(2) {
    margin: 0;
  }

  /*3.포토박스*/
  #photo {
    width: 100%;
    height: auto;
    margin: 5% auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: space-around;
  }

  #photo>.pbox {
    width: 50%;
    height: 350px;
  }

  #photo>.pbox>.pic {
    width: 100%;
    height: 200px;
    transform: scale(1);
    overflow: hidden;
  }

  #photo>.pbox>.pic img:hover {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
  }

  #photo>.pbox>.pic img {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
  }


  #photo>.pbox>.tt {
    width: 100%;
    height: 100px;
  }

  #photo>.pbox>.tt>h3 {
    margin: 0px 0 0 5px;
    color: #c6b075;
    font-size: 16px;
  }

  #photo>.pbox>.tt>p {
    margin: 0px 0 0 5px;
    color: #000;
  }

  /*제목*/
  .title {
    background-color: #fcf4e5;
    width: 100%;
    height: 150px;
    margin: 0 auto;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    font-size: 1.5rem;
    flex-flow: column wrap;
  }

  .title>h1 {
    color: #c6b075;
    font-size: 3.5rem;
  }

  /*4.와인시음회*/
  #last {
    background-color: #fcf4e5;
    margin: 0 auto 15%;
    width: 100%;
    height: auto;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10% 0;
  }

  #last>#a {
    width: 80%;
    order: 2;
  }

  #last>#a>h1 {
    font-size: 2rem;
    text-align: center;
    color: #c6b075;
    margin-top: 15%;
  }

  #last>#a>span {
    font-size: 1.2rem;
    text-align: center;
  }

  #last>#a>p {
    font-size: 1rem;
  }

  #last>.b {
    background-color: #fff;
    width: 90%;
    order: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 10%;
  }

  #last>.b>img {
    width: 90%;
    height: auto !important;
    margin-top: 5%;
  }

  #last>.b>.st>h3 {
    text-align: center;
    font-size: 2rem;
    margin-top: 5%;
  }

  #last>.b>.st>p {
    width: 80%;
    margin: 0 auto;
    font-size: 1rem;
  }

  #last>.b:nth-of-type(2) {
    width: 90%;
    margin-bottom: 10%;
  }

  #last>.b:nth-of-type(3) {
    width: 90%;
  }


  /*5.세가지박스*/
  #triple {
    margin: 0 auto 15%;
    width: 90%;
    height: auto;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #triple>.tbox {
    background-color: #fff;
    width: 90%;
    height: 250px;
    margin: 3% auto;
    display: flex;
    align-items: center;
    box-shadow: 3px 3px 20px 3px #eee;
  }

  #triple>.tbox>.pt {
    width: 30%;
    height: 250px;
    background-position: center;
    background-size: cover;
  }

  #triple>.tbox>.pont {
    width: 70%;
    height: 200px;
  }

  #triple>.tbox>.pont>h1 {
    margin: 10px 0 0 0px;
    color: #c6b075;
  }

  #triple>.tbox>.pont>p {
    margin: 30px 0 0 0;
    font-size: 14px;
  }

  #triple>.tbox>.pont>.bt {
    color: #c6b075;
    background-color: #404040;
    border: 0;
    font-size: 1rem;
    opacity: 0.9;
    padding: 4% 28%;
    margin-top: 10%;
  }

  #triple>.tbox>.pont>.bt:hover {
    cursor: pointer;
    background-color: #c6b075;
    color: #404040;
    opacity: 0.7;
    transition: all 0.5s ease;
  }


}


@media (min-width:600px) {


  /*콘텐츠(바디)*/
  #contents {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /*z-index*/
  #index {
    background-color: #dbc384;
    width: 90%;
    height: 100px;
    flex-flow: column wrap;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    top: -50px;
    left: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  #index>span {
    font-size: 35px;
    margin: -10px -10px 0 10px;
    color: #fff;
  }

  #index>form {
    display: flex;
    margin: 0 10px;
    justify-content: center;
    align-items: center;
  }

  #index>form>label {
    font-size: 15px;
    margin: 10px;
  }

  #index>form>input {
    font-size: 12px;
    height: 30px;
    width: 100px;
  }

  #index>form>button {
    background-color: #404040;
    border: 0;
    color: #c6b075;
    border: 1px solid #a49262;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 15px;
  }

  #index>form>button:hover {
    background-color: #fff;
    border: 1px solid #a49262;
    transition: all 0.5s ease;
  }

  /*1.첫번째*/

  #first {
    width: 90%;
    height: auto;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
  }

  #first>.ibox {
    width: 40%;
    height: 280px;
    margin: 10px;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
  }

  #first>.ibox>h3 {
    margin: -10px 0 0 0;
  }

  #first>.ibox>p {
    text-align: center;
    font-size: 14px;
    margin: 10px 0 0 0;
  }

  /*2.사진이랑 설명*/
  #two {
    margin: 0 auto;
    width: 100%;
    height: 1800px;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-flow: column wrap;
  }

  #two>.about {
    background-color: #f9f9f9;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row wrap;
    margin-bottom: 5%;
  }

  #two>.about>img {
    width: 100%;
    height: 300px;
  }

  #two>.about>.detail {
    width: 100%;
    height: auto;
    padding: 2%;
  }

  #two>.about>.detail>p {
    margin: 30px 0 0 0;
  }

  #two>.about>.detail>.bu {
    background-color: #c6b075;
    border: 0;
    opacity: 0.8;
    float: left;
    font-size: 1.5rem;
    margin-top: 3%;
    padding: 1.5% 12%;
  }

  #two>.about>.detail>.bu:hover {
    background-color: #303030;
    opacity: 0.6;
    color: #fff;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  #two>.about>img:nth-child(2) {
    margin-top: 0;
  }

  /*3.포토박스*/
  #photo {
    width: 100%;
    height: auto;
    margin: 150px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: space-around;
  }

  #photo>.pbox {
    width: 33%;
    height: 350px;
  }

  #photo>.pbox>.pic {
    width: 100%;
    height: 200px;
    transform: scale(1);
    overflow: hidden;
  }

  #photo>.pbox>.pic img:hover {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
  }

  #photo>.pbox>.pic img {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
  }


  #photo>.pbox>.tt {
    width: 100%;
    height: 100px;
  }

  #photo>.pbox>.tt>h3 {
    margin: 0px 0 0 5px;
    color: #c6b075;
    font-size: 18px;
  }

  #photo>.pbox>.tt>p {
    margin: 0px 0 0 5px;
    color: #000;
  }

  /*제목*/
  .title {
    background-color: #fcf4e5;
    width: 100%;
    height: 150px;
    margin: 0 auto;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    font-size: 20px;
    flex-flow: column wrap;
  }

  .title>h1 {
    color: #c6b075;
    font-size: 4rem;
    letter-spacing: 2px;
  }

  /*4.와인시음회*/
  #last {
    background-color: #fcf4e5;
    margin: 0 auto;
    width: 100%;
    height: auto;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #last>#a {
    width: 80%;
    height: 550px;
    order: 2;
    padding: 0 0 0 20px;
    margin: 0 0 0 10px;
  }

  #last>#a>h1 {
    margin: 80px 0px 0px;
    font-size: 2.5rem;
    color: #c6b075;
  }

  #last>#a>span {
    margin: 0px 0 0 0px;
    font-size: 1.5rem;
  }

  #last>#a>p {
    margin: 20px 0 0 0px;
    font-size: 1.2rem;
  }

  #last>.b {
    background-color: #fff;
    width: 35%;
    height: 500px;
    order: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 37%;
  }

  #last>.b>img {
    width: 100%;
    height: auto;
  }

  #last>.b>.st>h3 {
    text-align: left;
    margin-top: 15%;
    font-size: 1.5rem;
  }

  #last>.b>.st>p {
    width: 225px;
    font-size: 1rem;
  }

  #last>.b:nth-of-type(2) {
    margin: 80px 15px 50px 0;
    width: 20%;
  }

  #last>.b:nth-of-type(3) {
    margin: 80px 0 50px 15px;
    padding-bottom: 39%;
    width: 20%;
  }


  /*5.세가지박스*/
  #triple {
    margin: 0 auto 5%;
    width: 90%;
    height: auto;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #triple>.tbox {
    background-color: #fff;
    width: 90%;
    height: 250px;
    margin: 30px 0 50px 0;
    display: flex;
    align-items: center;
    box-shadow: 3px 3px 20px 3px #eee;
  }

  #triple>.tbox>.pt {
    width: 30%;
    height: 250px;
    background-position: center;
    background-size: cover;
  }

  #triple>.tbox>.pont {
    width: 70%;
    height: 200px;
  }

  #triple>.tbox>.pont>h1 {
    margin: 10px 0 0 50px;
    color: #c6b075;
  }

  #triple>.tbox>.pont>p {
    margin: 30px 0 0 50px;
    font-size: 14px;
  }

  #triple>.tbox>.pont>.bt {
    color: #c6b075;
    background-color: #404040;
    border: 0;
    font-size: 15px;
    padding: 5px 20px;
    margin: 30px 0 0 180px;
    border-radius: 5px;
    opacity: 0.9;
  }

  #triple>.tbox>.pont>.bt:hover {
    cursor: pointer;
    background-color: #c6b075;
    color: #404040;
    opacity: 0.7;
    transition: all 0.5s ease;
  }


}


@media (min-width:1000px) {


  /*콘텐츠(바디)*/
  #contents {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }


  /*z-index*/
  #index {
    background-color: #dbc384;
    width: 1200px;
    height: 100px;
    flex-flow: row wrap;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    top: -50px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #index>span {
    font-size: 35px;
    margin: -10px -130px 0 50px;
    color: #fff;
  }

  #index>form {
    display: flex;
    margin: 0 0px 0 150px;
    width: 75%;
    height: 50%;
  }

  #index>form>label {
    font-size: 15px;
    margin: 10px;
  }

  #index>form>input {
    font-size: 15px;
    height: 85%;
    width: 22%;
    padding-left: 10px;
  }

  #index>form>button {
    background-color: #404040;
    border: none;
    color: #c6b075;
    border: 1px solid #a49262;
    padding: 10px 40px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2rem;
  }

  #index>form>button:hover {
    background-color: #fff;
    border: 1px solid #a49262;
  }



  /*1.첫번째*/

  #first {
    width: 1200px;
    height: 300px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  #first>.ibox {
    width: 230px;
    height: 250px;
    margin: 10px;
    display: flex;
    flex-flow: column wrap;
    justify-content: Center;
    align-items: center;
  }

  #first>.ibox>h3 {
    margin: -10px 0 0 0;
  }

  #first>.ibox>p {
    text-align: center;
    font-size: 14px;
    margin: 10px 0 0 0;
  }

  /*2.사진이랑 설명*/
  #two {
    margin: 0 auto;
    width: 1200px;
    height: 1100px;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-flow: row wrap
  }

  #two>.about {
    background-color: #f9f9f9;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row wrap;
    margin-bottom: 5%;
  }

  #two>.about>img {
    width: 45%;
  }

  #two>.about>img:nth-child(2) {
    margin: 0;
  }

  #two>.about>.detail {
    width: 55%;
    padding: 2%;
  }

  #two>.about>.detail>p {}

  #two>.about>.detail>.bu {
    background-color: #c6b075;
    border: 0;
    opacity: 0.8;
    float: left;
    font-size: 1.5rem;
    padding: 2% 20%;
  }

  #two>.about>.detail>.bu {
    color: #fff;
  }

  #two>.about>.detail>.bu:hover {
    background-color: #303030;
    opacity: 0.6;
    color: #fff;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  /*3.포토박스*/
  #photo {
    width: 100%;
    height: 400px;
    margin: 150px auto;
    display: flex;
    flex-wrap: nowrap;
  }

  #photo>.pbox {
    width: 18%;
    height: 300px;
  }

  #photo>.pbox>.pic {
    width: 100%;
    height: 300px;
    transform: scale(1);
    overflow: hidden;
  }

  #photo>.pbox>.pic img:hover {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
  }

  #photo>.pbox>.pic img {
    width: 100%;
    height: 300px;
    transition: all 0.5s ease-in-out;
  }


  #photo>.pbox>.tt {
    width: 100%;
    height: 100px;
    margin-top: 2%;
  }

  #photo>.pbox>.tt>h3 {
    margin: 0px 0 0 5px;
    color: #c6b075;
    font-size: 1.3rem;
  }

  #photo>.pbox>.tt>p {
    margin: 0px 0 0 5px;
    color: #000;
    font-size: 1rem;
  }

  /*제목*/
  .title {
    background-color: #fcf4e5;
    width: 100%;
    height: 150px;
    margin: 0 auto;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    font-size: 20px;
    flex-flow: column wrap;
  }

  .title>h1 {
    color: #c6b075;
    font-size: 4rem;
    letter-spacing: 2px;
  }

  /*4.와인시음회*/
  #last {
    background-color: #fcf4e5;
    margin: 0 auto 5%;
    width: 100%;
    height: 1000px;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #last>#a {
    width: 30%;
    height: 550px;
    order: 1;
    padding: 0 0 0 20px;
    margin: 0 0 0 10px;
  }

  #last>#a>h1 {
    margin: 80px 0px 0px;
    font-size: 2.5rem;
    color: #c6b075;
  }

  #last>#a>span {
    margin: 0px 0 0 0px;
    font-size: 1.5rem;
  }

  #last>#a>p {
    margin: 20px 0 0 0px;
    font-size: 1.2rem;
  }

  #last>.b {
    background-color: #fff;
    width: 35%;
    height: 500px;
    order: 2;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 37%;
  }

  #last>.b>img {
    width: 100%;
    height: auto;
  }

  #last>.b>.st>h3 {
    text-align: left;
    margin-top: 15%;
    font-size: 1.2rem;
  }

  #last>.b>.st>p {
    width: 225px;
  }

  #last>.b:nth-of-type(2) {
    margin: 0 0 50px 30px;
    width: 20%;
  }

  #last>.b:nth-of-type(3) {
    margin: 100px 0 0 50px;
    width: 20%;
  }


  /*5.세가지박스*/
  #triple {
    margin: 0 auto 5%;
    width: 1200px;
    height: 400px;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #triple>.tbox {
    background-color: #fff;
    width: 30%;
    height: 250px;
    display: flex;
    align-items: center;
    box-shadow: 3px 3px 20px 3px #eee;
  }

  #triple>.tbox>.pt {
    width: 30%;
    height: 250px;
    background-position: center;
    background-size: cover;
  }

  #triple>.tbox>.pont {
    width: 70%;
    height: 200px;
  }

  #triple>.tbox>.pont>h1 {
    margin: 10px 0 0 0px;
    color: #c6b075;
  }

  #triple>.tbox>.pont>p {
    margin: 30px 0 0 0;
    font-size: 14px;
  }

  #triple>.tbox>.pont>.bt {
    color: #c6b075;
    background-color: #404040;
    border: 0;
    font-size: 15px;
    padding: 5px 20px;
    margin: 30px 0 0 120px;
    border-radius: 5px;
    opacity: 0.9;
  }

  #triple>.tbox>.pont>.bt:hover {
    cursor: pointer;
    background-color: #c6b075;
    color: #404040;
    opacity: 0.7;
    transition: all 0.5s ease;
  }

  #two>.about>.detail h3 {
    font-size: 2rem;
  }

  #two>.about>.detail p {
    font-size: 1.2rem;
  }

}