:root {
    --font-size-s: 12px;
    --font-size-m: 14px;
    --font-size-l: 16px;
    --font-size-ll: 20px;
}

#gotop {
    position: fixed;
    bottom: 8px;
    right: 8px;
}

#gotop a {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 1px 1px 5px #333;
    line-height: 64px;
    text-align: center;
    font-size: 32px;
    background: #333;
    color: #fff;
}

#app-form {
    border: solid 2px #000;
    padding: 24px 16px;
    margin-bottom: 32px;
    font-size: var(--font-size-m);
    box-sizing: border-box;
}

#zip {
    margin-bottom: 16px;
}

#zip p {
    font-weight: normal;
    font-size: 16px;
}

#zip input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #000;
    border-radius: 0;
    font-size: 16px;
    /*transform: scale(0.8);*/
    text-align: center;
    ime-mode:disabled;
}

#zip .zip-1 {
    width: 40px;
}

#zip .zip-2 {
    width: 50px;
}

#zip .zip-3 {
    width: 80%;
    height: 40px;
    margin: 0 10%;
}

#zip p.yubinNo {
    font-weight: bold;
    text-align: center;
    margin: 40px 0 10px;
}

.triangle-bottom {
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #c9c9c9 transparent transparent transparent;
    display: inline-block;
    width: 0;
    position:absolute;
    left:48%;
}

#DelicCheckBtn {
	padding: 12px 18px;
	margin: 50px auto 25px;
	border-radius: 8px;
	border: solid 2px #ddd;
	background: #efefef;
	box-shadow: 0px 0px 8px #ccc;
	text-align: center;
}

#DelicCheckBtn:hover {
    cursor: pointer;
}

#view_deliv {}

#view_delivttl {
    margin-bottom: 12px;
    font-weight: bold;
    font-size: var(--font-size-m);
}

.pref {
    margin-bottom: 8px;
}

.lt {
    margin-bottom: 16px;
}

.pref span,
.lt span {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 16px;
    border: solid 1px #333;
    font-size: var(--font-size-m);
    font-weight: bold;
}

.appo_ttl {
    font-weight: bold;
    margin-bottom: 8px;
}

.appo_date {
    max-height: 200px;
    padding: 16px 32px;
    margin-bottom: 16px;
    border: solid 1px #333;
    box-shadow: 1px 1px 3px 1px #ccc inset;
    overflow: auto;
}

.appo_date .clickSelect {
    display: inline-block;
    box-sizing: border-box;
    max-width: 30%;
    border: none;
    font-size: var(--font-size-s);
    padding: 8px 0px;
}

.appo_date .clickSelect:focus {
    outline: none;
}

.appo_date .clickSelect:not(:last-child):after {
    content: " / ";
}

.appo_date .clickSelect:last-child:after {
    content: " ...";
}

.pref_ng {
    color: red;
    font-weight: bold;
    margin-bottom: 8px;
    background: #ff3;
}

.b-red {
    font-weight: bold;
    color: #f00;
}

p {
    margin: 0;
    padding: 0;
}

#bread-clumb {
    list-style-type: none;
    margin: 0;
    margin-bottom: 8px;
    padding: 0;
}

#bread-clumb li {
    display: inline-block;
    font-size: var(--font-size-s);
}

#bread-clumb li:not(:last-child):after {
    content: " >";
}

#main {
    font-size: var(--font-size-s);
    margin-bottom: 72px;
}

#main h1 {
    width: 100%;
    margin: 60px auto;
    padding: 50px 8px;
    box-sizing: border-box;
    background: #d85251!important;
    text-align: center;
    color: #fff;
    font-size: var(--font-size-ll);
    font-weight: bold;
}

#main h2 {
    width: 100%;
    font-size: var(--font-size-l);
    margin: 40px 10px;
    padding: 0.25em 0.5em;
    border-left: solid 5px #d85251;
    background: #f4f4f4;
	text-align:left;
}

div#notice li {
    width: 90%;
    margin: 20px auto;
    font-size: var(--font-size-m);
}


#main #desc {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 48px;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
}

#desc .desc-list {
    position: relative;
    margin: 0;
    margin-bottom: 16px;
    border-top: solid 2px #000;
    border-bottom: solid 2px #000;
}

#desc .desc-list a {
    display: block;
    padding: 24px 32px;
    padding-left: 48px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

#desc .desc-list .arrow-nav {
    position: absolute;
    top: 30%;
    right: 16px;
    color: #999;
    font-size: 24px;
}

#desc .desc-list .h-num {
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    left: 8px;
    margin: 0;
    border: solid 2px #000;
    border-radius: 100%;
    text-align: center;
    line-height: 24px;
    font-size: var(--font-size-m);
}

#desc .desc-txt {
    display: block;
    font-size: var(--font-size-m);
}

#desc .desc-caption {
    display: block;
    font-size: var(--font-size-s);
}

.block-1 {
    margin-bottom: 32px;
    width: 98%;
    margin: 0 auto;
}

.block-1 h2 {
    position: relative;
    margin: 0;
    margin-bottom: 32px;
    padding: 16px 0px;
    padding-left: 48px;
    background: #111;
    font-size: var(--font-size-l);
    font-weight: bold;
    color: #fff;
}

.block-1 h2 .h-num {
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 24px;
    left: 8px;
    margin: 0;
    border: solid 2px #fff;
    border-radius: 100%;
    text-align: center;
    line-height: 24px;
    font-size: var(--font-size-m);
}

.block-2 {
    margin-bottom: 64px;
}

.block-2 > h3 {
    margin: 0;
    margin-bottom: 16px;
    padding: 4px 2px;
    border-bottom: solid 1px #000;
    font-weight: bold;
    font-size: var(--font-size-m);
}

.block-txt {
    margin-bottom: 16px;
    padding: 0 2px;
}

.block-img {
    width: 100%;
    max-width: 820px;
    margin: 24px auto;
}

.block-img img {
    width: 100%;
}

.card-item {
    position: relative;
    width: 100%;
    padding-bottom: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img {
    width: 40%;
}

.card-img img {
    width: 100%;
}

.card-txt {
    width: 60%;
    padding: 24px 0;
}

.card-txt .card-ttl {
    margin-bottom: 8px;
    font-size: var(--font-size-m);
    font-weight: bold;
}

.card-txt .card-desc {
    font-size: var(--font-size-s);
}

.card-item .arrow-b {
    display: block;
    position: absolute;
    text-align: center;
    bottom: 0;
    left: 50%;
}

.caution {
    padding: 16px 24px;
    padding-left: 80px;
    margin-bottom: 32px;
    border-radius: 8px;
    background: url(../img/att.png) top 50% left 16px no-repeat #eee;
    background-size: 48px;
}

.caution h3,
.caution p {
    margin: 0;
    padding: 0;
}

.caution h3 {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: var(--font-size-m);
}
}

/*formの表示*/
.rom {
    border: none;
}

.rom:focus {
    outline: none;
}

#gotop > a > i{
    line-height:64px!important;
}

/* ポップアップメッセージを隠す */
.cphidden {
  display: none;
}

/* ポップアップメッセージを画面右下に配置 */
#copytext {
height: 72px;
padding: 8px 16px;
border-radius: 8px;
background: #ddd;
font-weight: bold;
text-align: center;
line-height: 72px;
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 10%;
}

/* ポップアップアニメーションを3秒かけて実行 */
.popup-message {
animation: popup 1s forwards;
}

@keyframes popup {
0% {
transform: translateY(15%);
opacity: 0;
}
10%, 90% {
transform: none;
opacity: 1;
}
100% {
transform: translateY(15%);
opacity: 0;
pointer-events: none;
}
}

@media screen and (min-width: 820px) {
    :root {
        --font-size-s: 16px;
        --font-size-m: 20px;
        --font-size-l: 24px;
        --font-size-ll: 36px;
    }

    #main {
        width: 980px;
    }

    br.sp {
        display: none;
    }

    
    .block-1 h2 {
        padding: 32px 0px;
        padding-left: 64px;
    }
    #desc .desc-list a{
        padding-left: 64px;    
    }
    
    #desc .desc-list .h-num,
    .block-1 h2 .h-num {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    
    #desc .desc-list .h-num{
        left:16px;
    }

    .block-1 h2 .h-num {
        top: auto;
        left: 20px;
    }

    .caution {
        padding: 48px 24px;
        padding-left: 80px;
    }

    #card-3 {
        width: 820px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .card-item {
        width: calc(96%/3);
        display: block;
    }

    .card-img,
    .card-txt {
        width: 100%;
    }

    .card-item .arrow-b {
        display: none;
    }

	#zip input {
		font-size: 40px;
		transform: scale(1.0);
		text-align: center;
		ime-mode:disabled;
	}

	#zip .zip-1 {
		width: 104px;
	}

	#zip .zip-2 {
		width: 136px;
	}

	#DelicCheckBtn {
		width: 80%;
		padding: 18px 24px;
		margin: 50px auto 25px;
		border-radius: 8px;
		border: solid 2px #ddd;
		background: #efefef;
		box-shadow: 0px 0px 8px #ccc;
		text-align: center;
	}
}

@media screen and (max-width:767px) {
    #main h1 {
        padding: 20px;
        margin: 40px auto;
    }

    .block-1 {
    margin: 40px 0!important;
}

.triangle-bottom {
    left:45%;
}

#zip .zip-3 {
    width: 260px;
}

}
