@media (min-width: 600px) {
  #wrapper{
    background-color: #ffffff;
    max-width: 740px;
    width: auto;
    margin: auto;
    padding: 1em 2em 1em 2em;
    box-shadow: 0px 0px 8px 8px rgba(0,0,0,0.2);
  }

  input#membership {
    width: 30%;
  }
  input#seiKanji{
  width: 10em;
  }
  input#meiKanji{
  width: 10em;
  }
  input#seiKana{
  width: 10em;
  }
  input#meiKana{
  width: 10em;
  }
  input.shortInput{
    width: 10em;
  }
  input.midInput{
    width: 20em;
  }
  input.longInput{
    width: 30em;
  }
  input.loginInput{
    width:auto;
  }
  input#workplace {
    width: 60%;
  }
  input#mail {
  width: 60%;
  }
  input#tel {
  width: 60%;
  }
  input#fax {
  width: 60%;
  }
  input#entryNo {
  width: 10em;
  }
  input#password {
    width: 10em;
  }
  input#yotei {
    width: 10em;
  }
  input#meigi {
    width: 20em;
  }
  input#atena {
    width: 20em;
  }

  input#adrs1 {
    width: 6em;
  }
  input#adrs2 {
    width: 20em;
  }
  input#adrs3 {
    width: 20em;
  }
  input#adrs4 {
    width: 20em;
  }
  input#adrs5 {
    width: 20em;
  }

  input[type="text"] {
    border:0;
    padding:8px;
  //width: 100%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:5px 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="email"] {
    border:0;
    padding:8px;
    width: 100%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="tel"] {
    border:0;
    padding:8px;
    width: 100%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="fax"] {
    border:0;
    padding:8px;
    width: 100%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="password"] {
    border:0;
    padding:8px;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  .br-sp{
    display: none;
  }

  #area {
    display: flex;
    justify-content: space-between;
  }
  .div0 {
    width: 33%;
    margin: 2px;
    padding:2px;
    border: solid 2px #d0d0d0;
    border-radius: 6px;
  }
  .div1 {
    margin: 4px;
    border: solid 2px #f0f0f0;
    border-radius: 4px;
    background-color: #f0f0f0;
    text-align:center;
    padding: 6px 4px 3px;
  }
  .div2 {
    min-height: 10em;
    margin: 4px;
    padding:4px;
    text-align:center;
    line-height: 1.5em;
  }
  .div3 {
    margin: 4px;
    padding:4px;
    font-size: 80%;
    line-height: 150%;
  }
  .div0L{
    margin-left: 0;
  }
  .div0R{
    margin-right: 0;
  }
  button.portal_button {
    width: 90%;
    margin: 10px auto;
    padding: 8px 5px;
    display: block;
    color: #000;
  }
}

.bg_b {
	background: #F0F8FF;
}

@media (max-width: 599px) {
  table.loginForm {
    width: 100%;
    padding: 0 1.5em 0 1em;
  }
  table.loginForm td {
    display: block;
    width: 100%;
  }
  table.loginForm td input#loginId {
    width: calc(90% - 5.5em);
  }
  table.loginForm td input#loginPass {
    width: 90%;
  }

  #wrapper{
    background-color: #ffffff;
    width: auto;
    margin: auto;
    padding: 1em 1em 1em 1em;
    box-shadow: none;
  }

  input#membership {
    width: 30%;
  }

  input#seiKanji{
  width: 36%;
  }
  input#meiKanji{
  width: 36%;
  }
  input#seiKana{
  width: 36%;
  }
  input#meiKana{
  width: 36%;
  }
  input.shortInput{
    width: 27%;
  }
  input.midInput{
    width: 60%;
  }
  input.longInput{
    width: 80%;
  }
  input.loginInput{
    width: 6em;
  }
  input#workplace {
    width:60%;
  }
  input#mail {
  width:60%;
  }
  input#tel {
  width:60%;
  }
  input#fax {
  width:60%;
  }
  input#entryNo {
  width:48%;
  }
  input#password {
  width: 7em;
  }

  input[type="text"] {
    border:0;
    padding:8px;
    width: 85%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="email"] {
    border:0;
    padding:8px;
    width: 60%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="tel"] {
    border:0;
    padding:8px;
    width: 60%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="fax"] {
    border:0;
    padding:8px;
    width: 60%;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  input[type="password"] {
    border:0;
    padding:8px;
    font-size:1em;
    font-family:Arial, sans-serif;
    color:#000;
    border:solid 1px #ccc;
    margin:0 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  .br-sp{
    display: inline;
  }

  #area {
    display: block;
  }
  .div0 {
    margin: 0 0 1em 0;
    border: solid 2px #d0d0d0;
    border-radius: 6px;
  }
  .div1 {
    margin: 4px;
    paddin: 4px;
    border: solid 2px #f0f0f0;
    border-radius: 4px;
    background-color: #f0f0f0;
    text-align:center;
    padding: 6px 4px 3px;
  }
  .div2 {
    min-height: auto;
    margin: 4px;
    padding:4px;
    text-align:center;
    line-height: 150%;
  }
  .div3 {
    margin: 4px;
    padding:4px;
    font-size: 90%;
    line-height: 150%;
  }

  button.portal_button {
    width: 90%;
    padding: 1em;
    margin: 8px auto;
    font-size:13.3px;
    color: #000;
  }
  button.portal_button:disabled{
    color: #AAA;
  }
  span.logout_btn {
    display: block;
    text-align: center;
    margin-top: 5px;
    padding-left: 0;
  }

  #footer {
    margin-top: 2em;
  }
}

body{
margin: 0;
//background-color: #eeffe8;
background-color: #F3FBFA;
font-size: 100%;
line-height: 150%; 
}

#header{
width:100%;
height:auto;
margin: 0 0 30px 0;
}

#title_r{
width: 100%;
height: auto;
float:left;
vertical-align: bottom;
border-left: 20px solid #BDD6F9;
padding: 0 0 0 1em;
}

#title_f{
  width: 100%;
  height: auto;
  float:left;
  vertical-align: bottom;
}

#content{
width: 100%;
clear:both;
padding: 0 0 0 0;
}

#footer{
font-size: 90%; line-height: 150%; 
margin-top:2em;
text-align:center;
background:#fff;
}

#signature{
margin-top: 10px;
text-align: center;
font-size: 80%;
line-height: 150%; 
}

p{
margin-top: 1px; padding-top: 0px; 
margin-left: 0em; margin-right: 0em;
}

p.center{
text-align: center;
}

p.normal{
  margin: 16px 8px 8px 8px;
  text-align: left;
}

p.left{
  margin: 16px 0 0 0;
  text-align: left;
}

p.right{
  margin: 16px 0 0 0;
  text-align: right;
}

span.strong{
  font-size: 110%;
  line-height: 170%;
}

.sub{
font-size: 80%;
line-height: 150%;
}

span.note{
font-size: 80%;
}

h1{
font-size: 150%; line-height: 120%; 
font-family: "MS Pゴシック", Osaka, sans-serif;
margin-top: 0; padding-top: 0; 
margin-bottom: 0.5em;
}

h2{
font-size: 120%; line-height: 110%; 
font-family: "MS Pゴシック", Osaka, sans-serif;
margin-top: 0; padding-top: 0; 
margin-bottom: 0.5em;
}

h2.subtitle{
padding: 0.5em;
background: aliceblue;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.23);
}

h3{
font-size: 100%; line-height: 110%;
font-family: "MS Pゴシック", Osaka, sans-serif;
margin-top: 0; padding-top: 0; 
margin-bottom: 0.5em;
}

span.red{
    color:#ff0000;
}

a img 	{ border: none; }
a:link	{ text-decoration: underline; color: #37D; }
a:hover	{ text-decoration: underline; color: #37D; background-color:#eeeeff; }
a:visited { text-decoration: underline; color: #48E; }
hr	{ width: 100%; height: 0px; }

table { font-size: 80%; line-height: 150%; }
td.caption {background-color: #e0e0e0; width: 18em; height: 1.8em;}
td.content {background-color: #ededed;}
td.blue    {background-color: #BDD6F9;}
td.submit  {background-color: #BDD6F9; text-align: center;}
td.note    {color: #F75; font-size:80%; text-align: right;}

table.table2{
  border-collapse: collapse;
}
table.table2 th,td{
  border: 1px gray solid;
  padding: 3px;
}

table.loginForm{
  margin: auto;
  font-size: 100%;
  border: 0px none;
}
td.loginForm{
  vertical-align: text-top;
  font-size: 100%;
  border: 0px none;
}

dl{
width:100%;
}
dt{margin-bottom: 4px;}
dt.bold{font-weight: bold;}
dd{font-weight: bold; padding-bottom: 12px;}
dd.normal{font-weight: normal; padding-bottom: 12px;}

ul.short{margin: 0px; padding-left: 20px;}

select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  padding:8px;
  margin:0 0 10px;
  background-color: transparent;
  position: relative;
  z-index: 1;
  font-size:1em;
  font-family:Arial, sans-serif;
  color:#000;
  border:solid 1px #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 1px;
}

select::-ms-expand {
  display: none;
}

input#zip1 {
width: 3em;
}

input#zip2 {
width: 4em;
}

textarea {
line-height: 1.5em;
border:0;
padding:8px;
width: 90%;
height: 5em;
font-size:1em;
font-family:Arial, sans-serif;
color:#000;
border:solid 1px #ccc;
margin:0 0 10px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

input[type="submit"].sq{
-webkit-appearance: none;
appearance: button;
cursor: pointer;
width: 250px;
height: 50px;
border-radius: 4px;
border: 1px solid rgb(118,118,118);
background-color: rgb(239,239,239);
font-size: 13.3px;
color: #000;
}
input[type="button"].sq{
-webkit-appearance: none;
appearance: button;
cursor: pointer;
width: 250px;
height: 50px;
border-radius: 4px;
border: 1px solid rgb(118,118,118);
background-color: rgb(239,239,239);
font-size: 13.3px;
color: #000;
}
input[type="button"]{
font-size: 13.3px;
color: #000;
}
input[type="submit"].sq:disabled,
input[type="button"].sq:disabled,
input[type="button"]:disabled{
color: #AAA;
}

.table3{
  width: auto;
  margin: 0 auto 0 auto;
}
.table3 td      {
  border: none;
  padding:0.3em 1em 0.3em 1em;
}
.table3 td.center{
    text-align: center;
}
.table3 td.uborder {
    border-collapse: collapse;
    border-bottom: 2px #ffd37d solid;
}
.table3 td.uborder_cm {
border-collapse: collapse;
border-bottom: 2px #ffd37d solid;
text-align:center;
vertical-align:bottom;
}

.payPalButton{
  padding:8px 32px 8px 32px;
  outline:none;
  border-radius: 20px;
  font-weight: bold;
  background-color:#ffd449;
  cursor:pointer;
}
.payPalButton:hover{
  background-color:#ffe459;
}
.payPalButton:active{
  background-color:#efc439;
}

#news{
  margin: 20px 0 16px 0;
  border:solid 2px #d0d0d0;
  border-radius: 4px;
}

#portal{
  margin-top: 20px;
  margin-bottom: 16px;
  width: 750px;
  display:table;
}

#portal_top{
  margin-top: 20px;
  margin-bottom: 0;
  width: auto;
  display:table;
}

#portal_bottom{
  margin-top: 0;
  margin-bottom: 16px;
  width: auto;
  display:table;
}

div.portal_top_part{
  width: 33%;
  display:table-cell;
  border-top:solid 2px #d0d0d0;
  border-left:solid 2px #d0d0d0;
  border-right:solid 2px #d0d0d0;
  border-bottom:solid 0;
  border-radius: 6px 6px 0 0 / 6px 6px 0 0;
}

div.portal_bottom_part{
  width: 33%;
  display:table-cell;
  border-top:solid 0;
  border-left:solid 2px #d0d0d0;
  border-right:solid 2px #d0d0d0;
  border-bottom:solid 2px #d0d0d0;
  border-radius: 0 0 6px 6px / 0 0 6px 6px;
}

div.portal_spacer{
  width: 0.5%;
}

div.portal_p1{
  margin: 4px;
  padding: 4px;
  border:solid 2px #f0f0f0;
  border-radius: 4px;
  background-color: #f0f0f0;
  text-align: center;
}

div.portal_p2{
  margin: 4px 4px 4px 4px;
  padding: 4px;
  font-size: 80%; line-height: 150%;
}

div.portal_p3{
  margin: 4px 4px 4px 4px;
  padding: 4px;
  font-size: 80%; line-height: 150%;
}

.overflow{
  overflow-y: scroll;
}

.wordbreak{
  word-break: break-all;
}

/*追記*/
@charset "utf-8";
/* CSS Document */

@media screen and (min-width: 600px) {
	.sp2 {display:none!important;}
}

@media screen and (max-width: 599px) {
	.pc2 {display:none!important;}
}

/* Margin
========================================== */
.mt0 {margin-top: 0!important;}
.mt5 {margin-top: 5px!important;}
.mt10 {margin-top: 10px!important;}

.mb5{ margin-bottom: 5px!important;}
.mb10{ margin-bottom: 10px!important;}
.mb15{ margin-bottom: 15px!important;}
.mb20{ margin-bottom: 20px!important;}
.mb30{ margin-bottom: 30px!important;}
.mb40{ margin-bottom: 40px!important;}
.mb50{ margin-bottom: 50px!important;}
.mb70{ margin-bottom: 70px!important;}

.mcenter { margin: 0 auto auto!important;}
.w50 { width: 50%!important;}
.w90 { width: 90%!important;}
.w100 { width: 100%!important;}
.w110 { width: 110px!important;}

@media screen and (max-width:599px){
	.w50, .w90, .w110 { width: 100%!important;}
}

/* Text
========================================== */
.acenter {text-align:center!important;}
.acenter2 {text-align:center!important;}/*pcの時のみ中央寄せ*/
.aright {text-align:right!important;}


body {
	font-size: 16px;
	line-height: 160%;
}
@media (max-width: 599px) {
	body {
		font-size: 3.8vw;
		line-height: 1.5em;
	}
}

/* ========================================== */

div.portal_p1 {
	margin-bottom: 10px;
}

#portal_top, #portal_bottom {
	display: flex;
	justify-content: space-between;
}


div.portal_top_part, div.portal_bottom_part {
	display: block;
	width: 32%;
}

.p_kakunin {
	padding: 0 10px 0 0;
	text-align: right;
}

input[type="submit"]:hover, input[type="button" ]:hover, button.portal_button:hover {
	opacity: .6;
	cursor: pointer;
}

span.logout_btn {
	padding-left: .5em;
}

dl.psw_form dt {
	clear: both;
	float: left;
	width: 7.2em;
	background: #F0F8FF;
	padding: 6px 10px;
}
dl.psw_form dd {
	padding-left: 7.5em;
}

dl.subTable {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
dl.subTable dt{
  width: 20%;
  padding-bottom: 0;
  margin-bottom: 0;
  vertical-align: bottom;
  font-weight: normal;
}
dl.subTable dd {
  width: 80%;
  padding-bottom: 0;
  margin: 0;
  font-weight: normal;
}

table.innerTable{
  border-collapse: collapse;
}
table.innerTable td{
  height: 2em;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-top: 1px;
}
table.innerTable td.r{
  text-align: right;
}
table.innerTable td.lm{
  text-align: left;
  padding-left: 8px;
}
table.innerTable td.rm{
  text-align: right;
  padding-right: 8px;
}

input.qty{
  text-align: right;
  width: 2em;
}

@media (max-width: 599px) {
	dl.psw_form dt {
		float: none;
		width: 100%;
		border-right: none;
		border-bottom: 5px solid #EFEFEF;
		text-align: center;
		margin: 20px 0 10px;
		padding: 3px 0;
	}
	dl.psw_form dd {
		padding-left: 0;
		margin: 0;
		font-size: 3vw;
		text-align: center;
	}
}

::placeholder {
  color: skyblue;
}
