/* ----------------------------------------------------------------------------------------------------
drone
---------------------------------------------------------------------------------------------------- */

@charset "UTF-8";
:root {
  --layer-modal: 300;
  --layer-header: 150;
  --layer-drawer: 100;
  --layer-frontMost: 10;
  --layer-front: 5;
  --layer-back: -5;
  --layer-backMost: 10;
}

:root {
  --color-white: #fff;
  --color-black: #222;
  --color-gray-300: #eee;
  --color-gray-500: #aaa;
  --color-gray-700: #555;
  --color-main: #e46f2c;
  --color-accent: #2d9bea;
}

/* ----------------------------------------------------------------------------------------------------
foundation
---------------------------------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  width: max(100vw, 360px);
  min-height: 100dvh;
  font-size: 15px;
  line-height: 1.75;
}

a,
span {
  display: inline-block;
}

@media (hover: hover) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

/* header
----------------------------------------------------------------------*/
#header .header-contact a {
  font-size: 14px;
}

@media screen and (min-width: 60rem) {
  #header .header-contact > p:nth-child(1) a {
    height: auto;
  }
}
/* headline
----------------------------------------------------------------------*/
#headline {
  height: 110px;
  background-image: url(../../../img/about/drone/drone_main.jpg);
}
#headline h1 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
}

@media screen and (min-width: 48rem) {
  #headline {
    height: 200px;
    margin-top: 60px;
  }
}

@media screen and (min-width: 60rem) {
  #headline {
    height: 290px;
    margin-top: 60px;
  }
}
@media screen and (min-width: 65rem) {
  #headline {
    margin-top: 84px;
    height: 350px;
  }
  #headline h1 {
    font-size: 36px;
    letter-spacing: 0.5em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ----------------------------------------------------------------------------------------------------
layout
---------------------------------------------------------------------------------------------------- */
/* container
----------------------------------------------------------------------*/
.l-container {
  margin-inline: auto;
  width: min(100%, 1040px);
}

.l-inner {
  padding-inline: 20px;
}

/* ----------------------------------------------------------------------------------------------------
component
---------------------------------------------------------------------------------------------------- */
/* heading
---------------------------------------------------------------------- */

.c-heading {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ededed;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}
.c-heading::before {
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 120px;
  height: 3px;
  background-color: var(--color-main);
}

.c-subHeading {
  position: relative;
  padding-left: 13px;
  border-left: 4px solid var(--color-main);
  font-size: 20px;
  font-weight: 600;
}

.c-heading--small {
  margin-left: 16px;
  font-size: 20px;
}

.product__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width: 48rem) {
  .product__header {
    flex-direction: row;
  }
}

.product__label {
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 0 20px 0 10px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  position: relative;
}

.product__label::after {
  content: '';
  display: block;
  position: absolute;
  right: 8px;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-width: 1px 1px 0 0;
  border-style: solid;
  border-color: var(--color-white) var(--color-white) transparent transparent;
  transform: rotate(45deg);
}

/* drone
----------------------------------------------------------------------*/
#drone {
  margin-bottom: 60px;
  padding-top: 35px;
}

@media screen and (min-width: 60rem) {
  #drone {
    margin-bottom: 120px;
    padding-top: 60px;
  }
}

.drone__results {
  margin-bottom: 60px;
}

@media screen and (min-width: 60rem) {
  .drone__results {
    margin-bottom: 80px;
  }
}
.drone__contents {
  display: grid;
  justify-items: center;
  gap: 25px 40px;
}

@media screen and (min-width: 60rem) {
  .drone__contents {
    grid-template-columns: 330px 1fr;
  }
}

.drone__info {
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto; 
  gap: 20px;
}

.drone__img {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 10px;
}

@media screen and (min-width: 60rem) {
  .drone__img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.exampleItem__btn {
  justify-self: end;
  align-self: end;
}

.exampleItem__btn > a {
  overflow: hidden;
  position: relative;
  padding-block: 16px;
  width: 200px;
  border: 1px solid var(--color-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.exampleItem__btn > a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  z-index: var(--layer-back);
  width: 200%;
  height: 100%;
  background: #f56600;
  transform: skewX(-45deg);
  transform-origin: 0 15px;
  transition: right 0.4s;
}
.exampleItem__btn > a::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 22px;
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
  border-width: 1px 1px 0 0;
  border-style: solid;
  border-color: #222 #222 transparent transparent;
}
@media (any-hover: hover) {
  .exampleItem__btn > a:hover::before {
    right: -80%;
  }
}
@media (any-hover: none) {
  .exampleItem__btn > a:active::before {
    right: -80%;
  }
}