﻿/*表書き検索のスタイル*/
    input, select {
-webkit-appearance: none;
appearance: none;
}
    #popup {
        display: none;
        position: fixed;
        /*left: 50%;*/
        left: 5%;
        right: 5%;
        top: 50%;
        /*transform: translate(-50%, -50%);*/
        transform: translate(0, -50%);
        padding: 66px 20px;
        background-color: white;
        border: 1px solid #ccc;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        text-align: center;
    }
    @media screen and (min-width:501px) {
        #popup {
        width: 400px;
        /*left: 50%;
        left: inherit;
        right: inherit;*/
        margin: 0 auto;
    }
    }
    #popupOverlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9995;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    #result {
        font-size: 16px;
        margin-bottom: 20px;
    }
    #closeButton {
        background-color: #fff;
        border: 1px solid #000;
        border-radius:  100px;
        line-height: 70px;
        color: white;
        font-weight: bold;
        padding: 0 40px;
        /*border: none;*/
        cursor: pointer;
        /*margin-right: 10px;*/
        color: #000;
        margin: 0 auto;
        font-size: 18px;
    }
    #popupClose {
        position: absolute;
        top: 0;
        right: 0;
        background-color: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
        background: #000;
        color: #fff;
        padding: 7px 12px;
    }
    .error {
        color: red;
        margin-top: 5px;
        display: none;
    }

/*アコーディオンのスタイル*/
    .accordion {
        background-color: #fff;
        color: #000;
        cursor: pointer;
        padding: 18px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 18px;
        font-weight: bold;
        transition: 0.4s;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #777;
    }
    .panel.lastac {
        border-bottom: 1px solid #777;
    }

    .active/*, .accordion:hover*/ {
        /*background-color: #ccc;*/
        background: #edeadd;
    }

    .panel {
        /*padding: 0 18px;*/
        padding: 0;
        max-height: 0;
        overflow: hidden;
        background-color: white;
        transition: max-height 0.4s ease-out;
    }

    .panel.show {
        max-height: 10000px; /* アコーディオンの最大高さを指定 */
    }

    .arrow {
        transition: transform 0.4s;
    }

    .arrow.up {
        transform: rotate(180deg);
    }

    body {
        font-family: "Noto Sans JP", sans-serif;
        font-optical-sizing: auto;
        letter-spacing: 0.1em;
        background: #e3e3e3;
        background: url("img/bg2.jpg");
            background-size: cover !important;
            background-position: center center !important;
            background-repeat: no-repeat !important;
            background-attachment: fixed;
        margin: 0;
        padding: 0;
    }
    .wrapper {
        background: #fff;
        box-sizing: border-box;
        max-width: 500px;
        display: block;
        margin: 0 auto;
        padding: 0;
        position: relative;
    }
    .header {
        display: flex;
        justify-content: right;
        max-width: 500px;
        padding: 10px 15px;
        text-align: right;
        box-sizing: border-box;
        box-shadow: 0px 0px 9px -5px #777777;
        z-index: 9990;
        background: #fff;
        position: fixed;
        width: 100%;
    }
    
    .header a {
        display: block;
        margin: 0;
        padding: 0;
        width: 90px;
        height: auto;
        line-height: 0;
    }
    .header a img {
        margin: 0;
        padding: 0;
        width: 90px;
        height: auto;
    }
    .navi {
        display: block;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        box-shadow: 0px 0px 9px -5px #777777;
        z-index: 9950;
        top: 51px;
        background: #fff;
        max-width: 500px;
        width: 100%;
        position: fixed;
    }
    .navi ul {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none; 
    }
    .navi ul li {
        display: block;
        width: 50%;
        margin: 0;
        padding: 0;
        position: relative;
    }
    /*.navi ul li:first-child::before {
        content: "";
        display: block;
        width: 1px;
        background: #d6d6d6;
        position: absolute;
        right: 0;
        height: 34px;
        top: 16px;
    }*/
    .navi ul li::after {
        content: "";
        display: block;
        width: 18px;
        height: 17px;
        background: #d6d6d6;
        position: absolute;
        
        background: url("img/icon1.png");
        background-size: contain;
        top: 25px;
        left: 12px;
    }
    .navi ul li a {
        display: block;
        box-sizing: border-box;
        width: 100%;
        font-weight: bold;
        font-size: 13px;
        padding: 14px 6px 14px 36px;
        text-decoration: none;
        color: #000;
        letter-spacing: 0em;
    }
    @media screen and (min-width:501px) {
        .navi ul li:first-child::before {
        content: "";
        display: block;
        width: 1px;
        background: #d6d6d6;
        position: absolute;
        right: 0;
        height: 34px;
        top: 16px;
    }
        .navi ul li:first-child::before {
            height: 42px;
            top: 20px;
        }
        .navi ul li::after {
            top: 32px;
            left: 20px;
        }
        .navi ul li a {
            font-size: 16px;
            padding: 20px 20px 20px 52px;
            line-height: 1.25em;
        }
    }
    
    
    .container {
        padding: 80px 35px 150px 35px;
    }
    .kensaku {
        border-bottom: 1px solid #666;
        padding-top: 160px;
    }
    .midashi {
        font-size: 24px;
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 0 60px 0;
        position: relative;
    }
    .midashi a#posi1 {
        position: absolute;
        top: -210px;
    }
    .midashi a#posi2 {
        position: absolute;
        top: -200px;
    }
    .midashi span {
        font-size: 13px;
    }
    /*.pudwon {
        max-width: 260px;
        margin: auto;
    }*/
    .pudwon select {
        padding: 0.75em;
width: 100%;
color: #000;
/* border-color: #666; */
border: 1px solid #adadad;
font-size: 18px;
    }
    
    
    .midashi_s {
        display: block;
        width: 100%;
        font-weight: bold;
        padding-bottom: 0.75em;
        font-size: 18px;
    }
    .selectarea {
        margin-top: 1.85em;
    }
    .error {
        font-size: 18px;
    }
    #selectButton {
        background: #000;
        color: #fff;
        border-radius: 100px;
        padding: 0;
        line-height: 70px;
        border: none;
        width: 100%;
        display: block;
        text-align: center;
        margin: 46px auto 0 auto;
        font-size: 20px;
        font-weight: bold;
    }
    .kekkatext {
        font-weight: bold;
        font-size: 30px;
        color: #ff0000;
    }
    .cau {
        display: block;
        color: #666;
        font-size: 10px;
        line-height: 1.6em;
        padding:2em 0 3em 0;
    }
    .pcon {
        padding: 0 0 40px 0;
    }
    .pcon h2 {
      background: #3f3f3f;
      color: #fff;
      font-weight: bold;
      font-size: 14px;
      line-height: 1.4em;
      padding: 5px 10px 3px 10px;  
    }
    .pcon figure {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        margin: 0;
    }
    .pcon figure img {
        max-width: 100%;
        height: auto;
    }
    .pcon p {
        font-size: 13px;
        line-height: 1.8em;
    }
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 200px 0 50px 0;
    }
    .btn .wbtn {
        background-color: #fff;
        border: 1px solid #000;
        border-radius:  100px;
        line-height: 60px;
        color: white;
        padding: 0 40px;
        /*border: none;*/
        cursor: pointer;
        /*margin-right: 10px;*/
        color: #000;
        margin: 0 auto 10px auto;
        display: block;
        text-decoration: none;
        font-weight: bold;
        width: 66%;
        font-size: 12px;
    }
    @media screen and (min-width:501px) {
        .btn .wbtn {
            font-size: 16px;
        }
    }
    .simplet {
        width: 100%;
    }
    .simplet caption {
        text-align: left;
        padding: 2em 0 0.5em 0;
    }
    .simplet td,.simplet th {
        text-align: center;
    }
    .simplet,.simplet td,.simplet th {
        border-collapse: collapse;
        border: 1px solid #000;
    }



    select {

/* styling */
background-color: #f5f5f5;
/*border: thin solid blue;*/
/*border-radius: 4px;*/
display: inline-block;
font: inherit;
line-height: 1.5em;
padding: 0.5em 3.5em 0.5em 1em;

/* reset */

margin: 0;      
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
}


select.minimal {
background-image:
linear-gradient(45deg, transparent 50%, gray 50%),
linear-gradient(135deg, gray 50%, transparent 50%),
linear-gradient(to right, #ccc, #ccc);
background-position:
calc(100% - 20px) calc(1em + 8px),
calc(100% - 15px) calc(1em + 8px),
calc(100% - 2.5em) 0.5em;
background-size:
5px 5px,
5px 5px,
1px 2em;
background-repeat: no-repeat;
}

select.minimal:focus {
background-image:
linear-gradient(45deg, black 50%, transparent 50%),
linear-gradient(135deg, transparent 50%, black 50%),
linear-gradient(to right, #ccc, #ccc);
background-position:
calc(100% - 15px) calc(1em + 8px),
calc(100% - 20px) calc(1em + 8px),
calc(100% - 2.5em) 0.5em;
background-size:
5px 5px,
5px 5px,
1px 2em;
background-repeat: no-repeat;
border-color: black;
outline: 0;
}


    select.round {
background-image:
linear-gradient(45deg, transparent 50%, gray 50%),
linear-gradient(135deg, gray 50%, transparent 50%),
radial-gradient(#ddd 70%, transparent 72%);
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
calc(100% - .5em) .5em;
background-size:
5px 5px,
5px 5px,
1.5em 1.5em;
background-repeat: no-repeat;
}

select.round:focus {
background-image:
linear-gradient(45deg, white 50%, transparent 50%),
linear-gradient(135deg, transparent 50%, white 50%),
radial-gradient(gray 70%, transparent 72%);
background-position:
calc(100% - 15px) 1em,
calc(100% - 20px) 1em,
calc(100% - .5em) .5em;
background-size:
5px 5px,
5px 5px,
1.5em 1.5em;
background-repeat: no-repeat;
border-color: green;
outline: 0;
}

.pudwon select option.fi {
        color: #ddd;
    }
    .pudwon select option {
        color: #000;
    }
    .two {
        padding-bottom: 0 !important;
        padding-top: 110px !important;
    }
