/* リセット関連 */
ul {
    list-style:none;
    padding-inline-start: 0;
}

button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

html {
	overflow-y: scroll;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin: 0;
	padding: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style: normal;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,th {
	text-align: left;
}
q:before,q:after {
	content: '';
}
object,embed {
	vertical-align: top;
}
hr,legend {
	display: none;
}
h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}
img,abbr,acronym,fieldset {
	border: 0;
}
li {
	list-style-type: none;
}
sup {
	vertical-align: super;
	font-size: 0.5em;
}
img {
	vertical-align: top;
}
i {
	font-style: normal;
}

/* リセット関連 ここまで*/

.header {
    margin: 0 auto;
    width: 80%;
    height: 150px;
    display: grid;
    grid-template: 
        "logo service_logo header_free account_menu" 150px
        / 200px 150px 1fr 350px;
}

.logo {
    grid-area: logo;
    display:flex;
}

.logo img {
  width: 100%;
  align-items: center;
}

.service_logo {
  grid-area: service_logo;
  display: flex;
}

.service_logo img {
  align-items: center;
}

.service_head {
  width: 100%;
  height: 100%;
  display: flex;
}

.service_head_logo img {
  width: 150px;
  height: 150px;
}

.button_zone {
  margin: auto 0;
}

.header_free {
    grid-area: header_free;
    display: flex;
}

.account_menu {
  grid-area: account_menu;
  display: flex;
}

.account_menu ul {
    display: flex;
    align-items: center;
}

.account_menu ul li{
    padding-left: 0.5rem;
}

.nav {
  margin: auto;
  width: 80%;
  height: 50px;
}

.nav ul {
    display: flex;
    list-style: none;
    height: 50px;
    padding-inline-start: 0px;
}

.nav ul li {
    padding: 0 4px;
    height: 100%;
    font-size: 18px;
}

.nav ul li a {
    box-sizing: border-box;
    text-decoration: none;
    color: #333;
    display: block;
    height: 100%;
    display: flex;
    align-items: center;
    transition: .3s;
    font-weight: bold;
    position: relative;
    padding: 0 10px;
}

.nav ul li:nth-child(1) a{
    border-bottom: 2px solid #2b2bb3;
  }
  
.nav ul li:nth-child(2) a{
border-bottom: 2px solid #20674e;
}

.nav ul li:nth-child(3) a{
border-bottom: 2px solid #d6b501;
}

.nav ul li:nth-child(4) a{
border-bottom: 2px solid #da6811;
}

.nav ul li:nth-child(5) a{
    border-bottom: 2px solid #11abda;
    }

.nav ul li a:hover{
border-width: 8px;
}

.nav ul li:nth-child(1) a:hover {
color: #2b2bb3;
}

.nav ul li:nth-child(2) a:hover {
color: #20674e;
}

.nav ul li:nth-child(3) a:hover {
color: #d6b501;
}

.nav ul li:nth-child(4) a:hover {
color: #da6811;
}

.nav ul li:nth-child(5) a:hover {
color: #11abda;
}

.container {
    margin: 0 auto;
    width: 80%;
    display: flex;
    /* display: grid;
    grid-template:
        "main side_menu" 1fr
        / 3fr 1fr;
      grid-template:
        "wide" 1fr
        / 1fr; */
}

.container .service_link {
  width: 90%;
  margin: 0 auto;
}
.container .service_link ul {
  width: 100%;
  display: flex;
}

.container .service_link ul li {
  width: 30%;
}

.container .service_link ul li img {
  /* width: 275px; */
}

.side_menu {
  width:30%;
}

.side_menu h2 {
    position: relative;
    padding: 1rem 1rem;
    font-size: 1.25rem;
    margin-block-start: 0.3em;
    margin-block-end: 0.3em;
}

.side_menu h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 10px;
    content: '';
    background-image: -webkit-repeating-linear-gradient(135deg, rgb(100, 100, 100), rgb(100, 100, 100) 1px, transparent 2px, transparent 5px);
    background-image: repeating-linear-gradient(-45deg, rgb(100, 100, 100), rgb(100, 100, 100) 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.side_menu ul {
  margin-block-start: 0.5em;
  margin-block-end: 0em;
  width: 95%;
}

.side_menu form {
  width:100%;
}

.side_menu ul li {
  width: 50%;
}

.side_menu .cal_form_lr {
  display:flex;
  flex-wrap: wrap;
}

.cat_btn {
  display:block;
  width: 150px;
  border: 2px solid #666;
  font-size: 16px;
  color: #666;
  font-weight: bold;
  padding:8px;
  text-align: center;
  border-radius: 4px;
  transition: .4s;
  margin-top: 10px;
}
.cat_btn:hover {
  background-color: #666;
  border-color: #666;
  color: #FFF;
}

.side_menu .search .searchbox {
  margin-top: 1rem;
}

.side_menu .search .searchbox .rangesearch input {
  width:40%;
}

.main {
  width:70%;
}

.main .sample6 {
  margin: 2rem 0 1rem 0;
}

.main h2,.main_form h2 {

    position: relative;
    padding: 1rem 1rem;
    font-size: 1.25rem;
    margin-block-start: 0.3em;
    margin-block-end: 0.3em;
}

.main_form hr {
  background-color: #1c2e53;
  height: 2px;
  display: block;
}

.wide {
  grid-area: wide;
}

/***　一覧テーブルCSS　***/
.work_list {
    width:95%;
    border-collapse: separate; 
    border: none;
    border-spacing: 0px 5px ;
}

.work_list tbody td, 
.work_list tfoot td {
    text-align: center;
}

/* 上部ヘッダー（背景：パステルカラー） */
.work_list thead th {
    color: #FFF; 
    font-weight: bold;
    background:#83bb72;
    text-align: center;
}

/* 上部ヘッダーの丸み */
.work_list thead th:nth-child(1) {
    border-radius: 5px 0 0 0;
}
.work_list thead th:last-child  {
    border-radius: 0 5px  0 0;
}

.work_list th,
.work_list td {
    border: 0 none !important;
}

/* １行ずつ色変更　不要なら削除 even:奇数行　odd:偶数行 */
.work_list tr:nth-child(even) td { 
    background: #f5f5f5; 
} 
.work_list tr:nth-child(odd) td {
    background: #FDFDFD; 
}

/* ヘッダーセル先頭・ボディ項目・フッター項目 */
.work_list tbody th,
.work_list tfoot th,
.work_list thead {
    background:none;
    color:#666;
    font-weight: bold;
    line-height:2.5em;
    text-align:center;
}


/*（共通）　項目の多いテーブルの幅を調整*/
@media (max-width: 767px) {
.col6t th,
.col6t td{
    font-size:0.4em;
    padding: 10px 0px;
}
.col5t th,
.col5t td{
    font-size:0.5em;
    padding: 10px 0px;
}
.col4t th,
.col4t td{
    font-size:0.7em;
    padding: 10px 5px;
}
.col3t th,
.col3t td{
    font-size:0.8em;
    padding: 10px 10px;
}
}

/*フォームデザインcss↓*/
.main_form {
  width: 80%;
  max-width: 90%;
  margin: 0 auto;
}

.main_form .form_lr{
  display: flex;
}

.main_form .form_lr li{
  width: 50%;
}

  .main_form form {
    width: 100%;
  }
  .main_form form ul {
    width: 100%;
  }
  .main_form form ul li {
    position: relative;
    overflow: hidden;
    margin: .5em 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .ie8 .main_form form ul li {
    display: -webkit-flex;
    display: flex;
  }
  .main_form form ul li .title {
    position: relative;
    width: 30%;
    font-weight: normal;
    padding: 1rem;
    color: #1c2e53;
  }

  .ie8 .main_form form ul li .title {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    border-bottom: 3px solid #1c2e53;
  }

  .main_form form ul li .title em {
    position: relative;
    z-index: 1;
  }
  .main_form form ul li .title span {
    background: #cd6f55;
    padding: 0 .3em;
    color: #fff;
    margin-left: .5em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .main_form form ul li .box_det {
    width: 70%;
    position: relative;
    padding: 1em;
    border-bottom: 3px solid #d7d7d7;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .main_form form ul li .box_br {
    display: block;
  }
  .main_form form ul li select, .main_form form ul li textarea, .main_form form ul li input {
    width: 100%;
    height: 3em;
    padding: .5em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .main_form form ul li textarea {
    height: 10em;
  }

  .main_form .form_product {
    width: 100%;
    display: flex;
  }

  .main_form .form_product .formTable {
    display: flex;
  }

  .main_form .form_product li{
    width: 25%;
  }

  @media only screen and (max-width: 768px) {
    .main_form {
      width: 95%;
    }
  }

  @media only screen and (min-width: 769px) {
    .main_form form ul li {
      display: -webkit-flex;
      display: flex;
    }
  }
  @media print {
    .main_form form ul li {
      display: -webkit-flex;
      display: flex;
    }
  }
  
  @media only screen and (min-width: 769px) {
    .main_form form ul li .title {
      display: -webkit-flex;
      display: flex;
      -webkit-align-items: center;
      align-items: center;
      border-bottom: 3px solid #1c2e53;
    }
  }
  @media print {
    .main_form form ul li .title {
      display: -webkit-flex;
      display: flex;
      -webkit-align-items: center;
      align-items: center;
      border-bottom: 3px solid #1c2e53;
    }
  }
  @media only screen and (max-width: 768px) {
    .main_form form ul li .title {
      text-align: center;
      width: 100%;
      display: block;
      padding: .8em .2em;
      color: #fff;
      background: #1c2e53;
    }
  }

  @media only screen and (max-width: 768px) {
    .main_form form ul li .box_det {
      padding: 1.5em .5em;
      display: block;
      width: 100%;
    }
  }

  /*プライバシーのデザインcss↓*/
  .con_pri {
    max-width: 700px;
    margin: 0  auto;
  }
  @media only screen and (max-width: 768px) {
    .con_pri {
      width: 95%;
    }
  }
  .con_pri .box_pri {
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #cdcdcd;
    background: #f7f7f7;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 20px 55px;
  }
  @media only screen and (max-width: 768px) {
    .con_pri .box_pri {
      margin-top: 4%;
      padding: 3%;
    }
  }
  @media only screen and (min-width: 769px) and (max-width: 1024px) {
    .con_pri .box_pri {
      padding: 4%;
    }
  }
  .con_pri .box_pri .box_tori {
    text-align: left;
    margin-top: 40px;
  }
  @media only screen and (max-width: 768px) {
    .con_pri .box_pri .box_tori {
      margin-top: 4%;
    }
  }
  .con_pri .box_pri .box_tori h4 {
    font-weight: normal;
    margin-bottom: 30px;
    font-size: 150%;
  }
  @media only screen and (max-width: 768px) {
    .con_pri .box_pri .box_tori h4 {
      margin-bottom: 4%;
    }
  }
  .con_pri .box_pri .box_tori .txt {
    padding: 0 20px;
  }
  @media only screen and (max-width: 768px) {
    .con_pri .box_pri .box_tori .txt {
      padding: 0;
    }
  }
  .con_pri .box_pri .box_num {
    margin-top: 30px;
  }
  @media only screen and (max-width: 768px) {
    .con_pri .box_pri .box_num {
      margin-top: 5%;
    }
  }
  .con_pri .box_pri .box_num h4 {
    font-weight: normal;
    font-size: 113%;
  }
  .con_pri .box_pri .box_num .txt {
    padding: 10px 0 0 20px;
  }
  @media only screen and (max-width: 768px) {
    .con_pri .box_pri .box_num .txt {
      padding: 3% 0 0 3%;
    }
  }
  
  .box_check {
    text-align: center;
    margin: 1em auto;
  }
  .box_check label {
    display: inline-block;
  }
  .box_check label span {
    margin-left: .3em;
  }
  
  .btn {
    text-align: center;
    margin-top: 2rem;
  }
  .btn input {
    display: inline-block;
    background: #eee;
    padding: .5em 4em;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    border: none;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
  .btn input:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
  }
  

.footer {
    margin: 0 auto;
    width: 80%;
    height: 150px;
}

/* ボタンデザインCSS*/

/*sample1*/
a.sample1 {
  position: relative;
  display: block;
  width: 150px;
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: skyblue;
  overflow: hidden;
  margin:10px 20px 20px 10px;
}
a.sample1:before {
  content:"";
  position: absolute;
  top: -25px;
  left: -20px;
  height:90px;
  width:20px;
  background : #fff;
  opacity: 0.3;
  transform: rotate(40deg);
  transition: 0.3s;
}
a.sample1:hover:before {
  left:100%;
}
/*sample2*/
a.sample2 {
  display: block;
  position: relative;
  width: 150px;
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #DAA520;
  overflow: hidden;
  margin:10px 20px 20px 10px;
}
a.sample2:after {
  content:"";
  position: absolute;
  top: -100%;
  left: -150%;
  height: 100%;
  width: 200px;
  background : #fff;
  opacity: 0.3;
  transition: .4s;
}
a.sample2:hover:after {
  top: 0;
  left: 0;
}
/*sample3*/
a.sample3 {
  display: block;
  position: relative;
  width: 150px;
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #26378c;
  overflow: hidden;
  border-radius: 4px;
  margin:10px 20px 20px 10px;
}
a.sample3:after {
  content:"";
  position: absolute;
  top: 0%;
  left: -120%;
  height: 100%;
  width: 200px;
  background : #fff;
  opacity: 0.3;
  transition: .4s;
}
a.sample3:hover:after {
  top: 0;
  left: 0;
}
/*sample4*/
a.sample4 {
  display: block;
  position: relative;
  width: 150px;
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: red;
  overflow: hidden;
  z-index: 1 !important;
  margin:10px 20px 20px 10px;
}
a.sample4:after {
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  width: 100%;
  background : #fff;
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transition: 0.3s;
  z-index: -1;
}
a.sample4:hover {
  color: red;
}
a.sample4:hover:after {
  height: 250%;
  opacity: 1;
}
a.sample4:active:after {
  height: 350%;
  opacity: 1;
}
/*sample5*/
a.sample5 {
  position: relative;
  display: block;
  width: 150px;
  padding: 0.8em;
  text-align: center;
  border: 3px solid #FFF;
  color:#FFF;
  text-decoration: none;
  outline: none;
  transition: all .4s;
  margin:10px 20px 20px 10px;
}
a.sample5::before,
a.sample5::after {
  position: absolute;
  top: -3px;
  right: -3px;
  bottom: -3px;
  left: -3px;
  z-index: 2;
  content: '';
  transition: all .4s;
}
a.sample5::before {
  border-top: 3px solid #FF5722;
  border-bottom: 3px solid #FF5722;
  transform: scale(0, 1);
}
a.sample5::after {
  border-right: 3px solid #FF5722;
  border-left: 3px solid #FF5722;
  transform: scale(1, 0);
}
a.sample5:hover {
  color: #FF5722;
}
a.sample5:hover::after,
a.sample5:hover::before {
  transform: scale(1);
}
/*sample6*/
a.sample6 {
  position: relative;
  display: block;
  width: 150px;
  padding: 0.5em;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.0);
  background: #9e9e9e;
  transition: .4s;
  border-radius: 4px;
  margin: 2rem 0 1rem 0;
}
a.sample6:hover {
  text-shadow: -6px 0px 15px rgba(255, 255, 240, 0.83), 6px 0px 15px rgba(255, 255, 240, 0.83);
  transition: .4s;
}

/*sample7*/
a.sample7 {
  position: relative;
  display: block;
  width: 40px;
  padding: 0.5em;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.0);
  background: #26378c;
  transition: .4s;
  border-radius: 4px;
  margin:5px;
}
a.sample7:hover {
  text-shadow: -6px 0px 15px rgba(255, 255, 240, 0.83), 6px 0px 15px rgba(255, 255, 240, 0.83);
  transition: .4s;
}

/*sample8*/
a.sample8 {
  position: relative;
  display: block;
  width: 40px;
  padding: 0.5em;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.0);
  background: #83bb72;
  transition: .4s;
  border-radius: 4px;
  margin:5px;
}
a.sample8:hover {
  text-shadow: -6px 0px 15px rgba(255, 255, 240, 0.83), 6px 0px 15px rgba(255, 255, 240, 0.83);
  transition: .4s;
}

/* ログインForm Layout */
.form-wrapper {
  background: #fafafa;
  margin: 3em auto;
  padding: 0 1em;
  max-width: 370px;
}

.form-wrapper h1 {
  text-align: center;
  padding: 1em 0;
}

.form-wrapper form {
  padding: 0 1.5em;
}

.form-item {
  margin-bottom: 0.75em;
  width: 100%;
}

.form-item input {
  background: #fafafa;
  border: none;
  border-bottom: 2px solid #e9e9e9;
  color: #666;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  height: 50px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 2px solid #c0c0c0;
  outline: none;
}

.button-panel {
  margin: 2em 0 0;
  width: 100%;
  padding: 0 0 2em 0;
}

.button-panel .button {
  background: #3e4a88;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
}

.button:hover {
  background: #01188B;
}

.form-footer {
  font-size: 1em;
  padding: 2em 0;
  text-align: center;
}

.form-footer a {
  color: #8c8c8c;
  text-decoration: none;
  transition: border-color 0.3s;
}

.form-footer a:hover {
  border-bottom: 1px dotted #8c8c8c;
}

/* alken form

.form_table table {
  border-collapse: collapse;
}

.form_table p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 60px auto 40px;
}

.form_table input[type="submit"],
input[type="text"],
select,
textarea,
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}


.form_table input[type="text"],
textarea {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 480px;
  transition: 0.8s;
  border-radius: 0;
}

.form_table input[type="text"]:focus,
textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form_table textarea[name="content"] {
  display: inline-block;
  width: 100%;
  height: 200px;
}

.form_table input::placeholder,
textarea::placeholder {
  color: #ccc;
}

.form_table ::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form_table ::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

.form_table :-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form-table {
  width: 100%;
}

.form-table th,
.form-table td {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 20px;
}

.form-table th {
  background: #ffecea;
  padding-left: 50px;
  position: relative;
  text-align: left;
  width: 300px;
} */
