@media (min-width: 768px) {
  .wrapper {
    overflow-x: hidden;
  }
}

/* ----------------------------------------------
mainvisual
------------------------------------------------- */
#header {
  height: 600px;
  margin-bottom: 80px;
}

@media (max-width: 767px) {
  #header {
    height: auto;
  }
}

#mainvisual {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: calc((100% - 1300px) / 2 + 1130px);
}

#mainvisual .image {
  width: 100%;
  height: 600px;
}

#mainvisual .catch {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);
  width: 100%;
  padding: 10px;
  text-align: center;
}

#mainvisual .catch img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1300px) {
  #mainvisual {
    width: calc(100% - 170px);
  }
}

@media (max-width: 767px) {
  #mainvisual {
    position: relative;
    width: 100%;
  }
  #mainvisual .image {
    height: 48.78vw;
  }
}

/* ----------------------------------------------
triangle
------------------------------------------------- */
/* ----------------------------------------------
greeting
------------------------------------------------- */
#greeting {
  position: relative;
  margin-top: -13.3333vw;
  padding-top: calc((100vw - 1300px) / 2 + 693px);
}

#greeting .triangle {
  position: absolute;
  top: 0;
  z-index: -1;
  width: calc((100vw - 1300px) / 2 + 693px);
  height: 100%;
}

#greeting .triangle span {
  display: block;
  position: absolute;
  top: -100%;
  background: #0B1043;
  transition: all 1s ease-out;
  width: 100%;
  height: 100%;
}

#greeting .triangle.triangle-left {
  left: 0;
}

#greeting .triangle.triangle-left span {
  left: -100%;
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}

#greeting .triangle.triangle-right {
  right: 0;
}

#greeting .triangle.triangle-right span {
  right: -100%;
  -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 0);
  clip-path: polygon(0% 100%, 100% 100%, 100% 0);
}

#greeting .triangle.on span {
  top: 0;
}

#greeting .triangle.on.triangle-left span {
  top: 0;
  left: 0;
}

#greeting .triangle.on.triangle-right span {
  top: 0;
  right: 0;
}

@media (max-width: 767px) {
  #greeting .triangle {
    width: 100%;
  }
}

_:-ms-lang(x).triangle-left, #greeting .triangle.triangle-left {
  background: url(../images/tri-left.png) no-repeat bottom right;
}

_:-ms-lang(x).triangle-right, #greeting .triangle.triangle-right {
  background: url(../images/tri-right.png) no-repeat bottom left;
}

_:-ms-lang(x) span, #greeting .triangle span {
  display: none;
}

#greeting .inner {
  position: absolute;
  bottom: 108px;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 1300px;
  margin: 0 auto;
  background: #00ACED;
  color: #fff;
}

#greeting .inner::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: 100%;
  z-index: 0;
  width: calc((100vw - 1300px) / 2);
  height: 100%;
  background: #00ACED;
}

#greeting .inner::after {
  content: '';
  position: absolute;
  display: block;
  bottom: -50px;
  left: -50px;
  z-index: -1;
  width: calc(100vw + 100px);
  height: 100%;
  background: url(../images/greeting_bg.png) no-repeat left bottom;
}

#greeting .imgbox {
  width: 700px;
}

#greeting .imgbox img {
  width: 100%;
  height: auto;
}

#greeting .txtbox {
  position: absolute;
  top: 100px;
  right: 0;
  width: 53.07%;
  margin: 0 0 0 auto;
  font-size: 16px;
  line-height: 2.4;
}

#greeting h2 {
  margin-bottom: 50px;
  font-size: 40px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

@media (max-width: 1300px) {
  #greeting .txtbox {
    top: 50px;
    right: 20px;
  }
  #greeting h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  #greeting {
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0 10px 10px;
  }
  #greeting .triangle {
    display: none;
  }
  #greeting .inner {
    position: relative;
    bottom: auto;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 700px;
  }
  #greeting .inner::before {
    display: none;
  }
  #greeting .inner::after {
    content: '';
    position: absolute;
    display: block;
    bottom: -10px;
    left: -10px;
    z-index: -1;
    width: 100%;
    background: #eee;
  }
  #greeting .imgbox {
    width: 100%;
  }
  #greeting .txtbox {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    padding: 0 10px 20px;
    font-size: 14px;
  }
  #greeting h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }
}

@-moz-document url-prefix() {
  #greeting .inner {
    min-height: 500px;
  }
}

/* ----------------------------------------------
flow
------------------------------------------------- */
#flow {
  position: relative;
  height: 755px;
  padding: 50px 10px;
  background: url(../images/flow_bg.jpg) no-repeat center top/cover;
  text-align: center;
}

#flow .image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: 10px;
  z-index: 2;
}

#flow .image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1300px) {
  #flow {
    height: 58.07vw;
    margin-bottom: 30px;
  }
}

/* ----------------------------------------------
menu
------------------------------------------------- */
#menu {
  position: relative;
  z-index: 1;
}

#menu .triangle {
  position: absolute;
  top: 0;
  z-index: -1;
  width: calc((100vw - 1300px) / 2 + 693px);
  height: 100%;
}

#menu .triangle span {
  display: block;
  position: absolute;
  top: -100%;
  background: #0B1043;
  transition: all 1s ease-out;
  width: 100%;
  height: 100%;
}

#menu .triangle.triangle-left {
  left: 0;
}

#menu .triangle.triangle-left span {
  left: -100%;
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}

#menu .triangle.triangle-right {
  right: 0;
}

#menu .triangle.triangle-right span {
  right: -100%;
  -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 0);
  clip-path: polygon(0% 100%, 100% 100%, 100% 0);
}

#menu .triangle.on span {
  top: 0;
}

#menu .triangle.on.triangle-left span {
  top: 0;
  left: 0;
}

#menu .triangle.on.triangle-right span {
  top: 0;
  right: 0;
}

@media (max-width: 767px) {
  #menu .triangle {
    width: 100%;
  }
}

_:-ms-lang(x).triangle-left, #menu .triangle.triangle-left {
  background: url(../images/tri-left.png) no-repeat bottom right;
}

_:-ms-lang(x).triangle-right, #menu .triangle.triangle-right {
  background: url(../images/tri-right.png) no-repeat bottom left;
}

_:-ms-lang(x) span, #menu .triangle span {
  display: none;
}

#menu .inner {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
}

@media (max-width: 767px) {
  #menu .inner {
    flex-direction: column;
  }
}

#menu .block {
  position: relative;
  width: 46.66%;
}

#menu .image img {
  width: 100%;
  height: auto;
}

#menu .btn {
  position: absolute;
  bottom: -40px;
  left: 40px;
  overflow: hidden;
}

#menu .clip-on {
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 767px) {
  #menu {
    height: auto;
    margin-bottom: 30px;
    padding-bottom: 40px;
  }
  #menu .inner {
    position: relative;
    top: 0;
    bottom: auto;
    max-width: 580px;
    margin: 0 auto;
    padding: 0 10px;
  }
  #menu .block {
    width: 100%;
  }
  #menu .block + .block {
    margin-top: 50px;
  }
  #menu .btn {
    bottom: -14%;
    left: 7.14%;
    width: 53.57%;
  }
  #menu img {
    width: 100%;
    height: auto;
  }
}

_:-ms-lang(x) a .clip-on, #menu a .clip-on {
  opacity: 0;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

_:-ms-lang(x) a:hover .clip-on, #menu a:hover .clip-on {
  opacity: 1;
}

@-moz-document url-prefix() {
  #menu .inner {
    min-height: 300px;
  }
  #menu a .clip-on {
    opacity: 0;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
  }
  #menu a:hover .clip-on {
    opacity: 1;
  }
}

/* ----------------------------------------------
delivery
------------------------------------------------- */
#delivery {
  position: relative;
  z-index: 0;
}

#delivery .triangle {
  position: absolute;
  top: 0;
  z-index: -1;
  width: calc((100vw - 1300px) / 2 + 693px);
  height: 100%;
}

#delivery .triangle span {
  display: block;
  position: absolute;
  top: -100%;
  background: #eee;
  transition: all 1s ease-out;
  width: 100%;
  height: 100%;
}

#delivery .triangle.triangle-left {
  left: 0;
}

#delivery .triangle.triangle-left span {
  left: -100%;
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}

#delivery .triangle.triangle-right {
  right: 0;
}

#delivery .triangle.triangle-right span {
  right: -100%;
  -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 0);
  clip-path: polygon(0% 100%, 100% 100%, 100% 0);
}

#delivery .triangle.on span {
  top: 0;
}

#delivery .triangle.on.triangle-left span {
  top: 0;
  left: 0;
}

#delivery .triangle.on.triangle-right span {
  top: 0;
  right: 0;
}

@media (max-width: 767px) {
  #delivery .triangle {
    width: 100%;
  }
}

_:-ms-lang(x).triangle-left, #delivery .triangle.triangle-left {
  background: url(../images/tri-left.png) no-repeat bottom right;
}

_:-ms-lang(x).triangle-right, #delivery .triangle.triangle-right {
  background: url(../images/tri-right.png) no-repeat bottom left;
}

_:-ms-lang(x) span, #delivery .triangle span {
  display: none;
}

_:-ms-lang(x).triangle-left, #delivery .triangle.triangle-left {
  background: url(../images/tri-left-gray.png) no-repeat bottom right;
}

#delivery .inner {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  min-height: 500px;
  margin: 0 auto;
  width: 100%;
  max-width: 1300px;
  padding: 50px;
  background: #fff;
}

@media (max-width: 767px) {
  #delivery .inner {
    flex-direction: column;
  }
}

#delivery .inner::before {
  content: '';
  position: absolute;
  display: block;
  z-index: 0;
  top: 0;
  right: 100%;
  width: calc((100vw - 1300px) / 2);
  height: 100%;
  background: #fff;
}

#delivery .inner::after {
  content: '';
  position: absolute;
  display: block;
  z-index: -1;
  bottom: -50px;
  right: -50px;
  width: calc(100% + 100px);
  height: 100%;
  background: #0B1043;
}

#delivery .txtbox {
  width: 63%;
  color: #00ACED;
  font-size: 16px;
  line-height: 2.4;
}

#delivery h2 {
  margin-bottom: 50px;
  font-size: 40px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

#delivery .imgbox {
  width: 35.3333%;
}

#delivery .imgbox img {
  width: 100%;
  height: auto;
}

@media (max-width: 1300px) {
  #delivery h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  #delivery .inner {
    position: relative;
    bottom: auto;
    top: 0;
    padding: 10px 10px 0;
  }
  #delivery .txtbox {
    width: 100%;
  }
  #delivery h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }
  #delivery .imgbox {
    width: 100%;
    max-width: 424px;
    margin: 0 auto;
  }
}

/* ----------------------------------------------
news
------------------------------------------------- */
#news {
  padding: 50px 10px;
  background: #00ACED;
  color: #fff;
}

#news .inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#news h2 {
  font-size: 34px;
  letter-spacing: 0.05em;
  line-height: 2;
}

#news .block {
  display: flex;
  justify-content: space-between;
  padding: 40px 8px 18px;
  border-bottom: 1px solid #fff;
  line-height: 2;
}

@media (max-width: 767px) {
  #news .block {
    flex-direction: column;
  }
}

#news .contents {
  width: calc(100% - 138px);
}

#news .title {
  font-weight: bold;
}

#news a {
  color: #fff;
}

@media (max-width: 767px) {
  #news {
    padding: 30px 10px;
  }
  #news h2 {
    font-size: 24px;
  }
  #news .block {
    padding: 20px 5px 10px;
  }
  #news .contents {
    width: 100%;
  }
}
