<template>
  <div :class="$style.wrapper">
    <div :class="$style.inner">
      <slot></slot>
    </div>
    <div v-if="$slots.help" :class="$style.help">
      <slot name="help"></slot>
    </div>
  </div>
</template>
<script>
export default {

}
</script>

<style module lang="scss">

/* .wrapper .m-download__fileButton {
  vertical-align: top;
} */
// TODO: 中の要素を変えるのは良くないので要素自身に指定するように修正する
.wrapper input[type="text"],
.wrapper textarea {
  /* background-color: #eaeaef;
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
  border-radius: 0.4rem;
  letter-spacing: 0.1em; */
}

/* .wrapper input[type="text"]{
  background-color: #eaeaef;
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
  border-radius: 0.4rem;
  letter-spacing: 0.1em;
} */

.wrapper{
  @include mq-pc {
    display: flex;
  }
  @include mq-sp {
    width: 100%;
    padding: 0 2rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 0 0 0.2rem 0.2rem;
  }
}
.inner {
  @include mq-pc {
    display: flex;
  }
}

.help{
  margin-left:1rem;
}
@include mq-sp {
  .help{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    z-index: 100;
  }
}
</style>
