{{-- textarea --}}
{{-- 
    $name:name属性を指定
    $value:値を指定
    $class:追加のclass名を指定
    $placeholder:プレースホルダーを設定
--}}
<textarea name="{{$name}}" class="{{$class??''}}" @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif>{{ old($name, isset($value) ? $value : '') }}</textarea>
@if(isset($count))
<div class="d-flex  justify-content-between align-items-center" style="font-size:14px;">

    <div><span name="{{$name}}_count"></span> / {{$count}}文字</div>
    @if(isset($site) && $site == 1)
    <div>
        <span>SUUMO</span>&nbsp;<span name="{{$name}}_count"></span> / 100文字&nbsp;
        <span>HOMES</span>&nbsp;<span name="{{$name}}_count"></span> / 100文字&nbsp;
        <span>athome</span>&nbsp;<span name="{{$name}}_count"></span> / 50文字&nbsp;
    </div>
    @elseif(isset($site) && $site == 2)
    <span>SUUMO</span><span name="{{$name}}_count"></span> / 300文字
    <span>athome</span><span name="{{$name}}_count"></span> / 15文字
    <span>HOMES</span><span name="{{$name}}_count"></span> / 15文字
    @elseif(isset($site) && $site == 3)
    <span>SUUMO</span><span name="{{$name}}_count"></span> / 100文字
    <span>athome</span><span name="{{$name}}_count"></span> / 15文字
    <span>HOMES</span><span name="{{$name}}_count"></span> / 15文字
    @endif
    
</div>
@endif