/* 20180917 */
html {font-size: 62.5%;}

@media (max-width:575px) {
}

@media (min-width:576px) and (max-width:767px) {
}

@media (min-width:768px) and (max-width:991px) {
}

@media (min-width:992px) and (max-width:1199px) {
}

@media (min-width:1200px) {
}

body {
  font-family: 'ヒラギノ角ゴ Pro','Hiragino Kaku Gothic Pro',Meiryo,'メイリオ', 'ＭＳ Ｐゴシック',sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.7;
}

.ddd-note {
  font-size: 12px;
  font-size: 1.2rem;
}

.ddd-note-list {
  font-size: 12px;
  font-size: 1.2rem;
  list-style-type: 
}

.ddd-note-list {
  font-size: 12px;
  font-size: 1.2rem;
  margin-left: 16px;
}

.ddd-note-list li:before {
  margin-left: -16px;
  content: "※";
  margin-right: 4px;
}

.ddd-container-fluid {
  margin-right: auto;
  margin-left: auto;
}

.ddd-container {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .ddd-container {
    width: 570px;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .ddd-container {
    width: 750px;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .ddd-container {
    width: 990px;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .ddd-container {
    width: 1170px;
    max-width: 100%;
  }
}

.ddd-row {
  box-sizing: border-box;
}

.ddd-row-with-margin {
  margin-left: 15px;
  margin-right: 15px;
}

@media (max-width:575px) {
  .ddd-row-with-margin-xs {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.ddd-col {
  padding: 15px;
}

.ddd-container-with-margin {
  margin-left: 15px;
  margin-right: 15px;
}

.ddd-blank {  height: 15px;  }
.ddd-blank-top-px { margin-top: 15px; }
.ddd-blank-bottom-px { margin-bottom: 15px; }

.ddd-blank-top { margin-top: 1em; }
.ddd-blank-bottom { margin-bottom: 1em; }
.ddd-blank-top-2x { margin-top: 2em; }
.ddd-blank-bottom-2x { margin-bottom: 2em; }
.ddd-blank-top-3x { margin-top: 3em; }
.ddd-blank-bottom-3x { margin-bottom: 3em; }
.ddd-blank-top-4x { margin-top: 4em; }
.ddd-blank-bottom-4x { margin-bottom: 4em; }
.ddd-blank-top-6x { margin-top: 6em; }
.ddd-blank-bottom-6x { margin-bottom: 6em; }
.ddd-blank-top-8x { margin-top: 8em; }
.ddd-blank-bottom-8x { margin-bottom: 8em; }

.ddd-padding-updown { padding-top: 1em; padding-bottom: 1em; }
.ddd-padding-updown-2x { padding-top: 2em; padding-bottom: 2em; }
.ddd-padding-updown-3x { padding-top: 3em; padding-bottom: 3em; }
.ddd-padding-updown-4x { padding-top: 4em; padding-bottom: 4em; }

@media (max-width:575px) {
  .ddd-blank-top { margin-top: 0.5em; }
  .ddd-blank-bottom { margin-bottom: 0.5em; }
  .ddd-blank-top-2x { margin-top: 1em; }
  .ddd-blank-bottom-2x { margin-bottom: 1em; }
  .ddd-blank-top-3x { margin-top: 1.5em; }
  .ddd-blank-bottom-3x { margin-bottom: 1.5em; }
  .ddd-blank-top-4x { margin-top: 2em; }
  .ddd-blank-bottom-4x { margin-bottom: 2em; }
  .ddd-blank-top-6x { margin-top: 3em; }
  .ddd-blank-bottom-6x { margin-bottom: 3em; }
  .ddd-blank-top-8x { margin-top: 4em; }
  .ddd-blank-bottom-8x { margin-bottom: 4em; }

  .ddd-padding-updown { padding-top: 0.5em; padding-bottom: 0.5em; }
  .ddd-padding-updown-2x { padding-top: 1em; padding-bottom: 1em; }
  .ddd-padding-updown-3x { padding-top: 1.5em; padding-bottom: 1.5em; }
  .ddd-padding-updown-4x { padding-top: 2em; padding-bottom: 2em; }
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

@media (max-width:575px) {
  .hidden-xs {
    display: none !important;
  }
}

@media (min-width:576px) and (max-width:767px) {
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width:768px) and (max-width:991px) {
  .hidden-md {
    display: none !important;
  }
}

@media (min-width:992px) and (max-width:1199px) {
  .hidden-lg {
    display: none !important;
  }
}

@media (min-width:1200px) {
  .hidden-xl {
    display: none !important;
  }
}


@media (min-width: 576px) {
  .visible-xs {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .visible-xs, .visible-sm {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .visible-xs, .visible-sm, .visible-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .visible-xs, .visible-sm, .visible-md, .visible-lg {
    display: none !important;
  }
}


@media (max-width: 575px) {
  .ddd-footer-menu {
    display: flex;
    flex-direction: column;
  }

  .ddd-footer-menu a {
    display: block;
    padding: 10px 15px;
  }

  .ddd-footer-menu div {
    position: relative;
  }

  .ddd-footer-menu div:after {
    content: "＞";
    position: absolute;
    padding: 10px 15px;
    top: 0;
    right: 0;
  }
}

@media (min-width: 576px) {
  .ddd-footer-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .ddd-footer-menu a {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;  
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto
}

.ddd-search-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border: solid 1px #aaa;
  box-sizing: border-box;
}

.ddd-search-box-text {
  padding: 5px 10px;
  flex-grow: 1;
}

.ddd-search-box-text input {
  width: 100%;
  font-size: 16px;
  font-size: 1.6rem;
  border: none;
  outline: none;
}

.ddd-search-box-button {
  display: flex;
  align-items: center;
  background: #eee;
  padding: 0 10px;
  margin: 0;
  border: none;
  font-size: 16px;
  font-size: 1.6rem;
  flex-direction: row;
  cursor: pointer;
}

.ddd-search-box-button div {
  white-space: nowrap;
}

.not-ios .ddd-search-box-button:hover {
  background: #ccc;
}

.ddd-gnavi {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  transition: .2s;
}

@media (min-width:768px) {
  .ddd-gnavi-flex {
    position: relative;
  }
}

.ddd-gnavi a:focus {
  outline: 0;
}

.ddd-gnavi-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.ddd-gnavi-menus {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 15px 0;
  overflow: scroll;
  -ms-overflow-style:none;
}

.ddd-gnavi-menus::-webkit-scrollbar{
 display:none;
}

@media (min-width:768px) {
  .ddd-gnavi-menus {
    overflow: hidden;
  }
}

.ddd-round-button {
  border-radius: 999px;
  background-color: #eee;
  display: inline-block;
  padding: 5px 20px;
  text-decoration: none;
}

.ddd-gnavi-item {
  margin-left: 2em;
}

.ddd-gnavi-item-submenu .ddd-gnavi-item {
  margin-left: 0;
}

.ddd-gnavi-link {
  position: relative;
  display: inline-block;
  transition: .3s;
  text-decoration: none;
}

.not-ios .ddd-gnavi-link::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 2px;
  background-color: #eee;
  transition: .3s;
}

.not-ios .ddd-gnavi-link:hover::after {
  width: 100%;
}

.ddd-gnavi-menu-button-wrapper {
  display: flex;
  position: relative;
  width: 50px;
  height: 50px;
  margin: 10px;
  border-radius: 50%;
  background: #eee;
}

.ddd-gnavi-menu-button-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: #aaa;
  transition: .2s;
}


.ddd-gnavi-menu-button-icon:before, .ddd-gnavi-menu-button-icon:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  background: #aaa;
}

.ddd-gnavi-menu-button-icon:before {
  margin-top: -6px;
}

.ddd-gnavi-menu-button-icon:after {
  margin-top: 4px;
}

.ddd-gnavi-sp-menus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.ddd-gnavi-brand {
  transition: 0.3s ease;
}

.ddd-gnavi-item-submenu {
  display: none;
}

.ddd-gnavi-endarea {
  width: 100%;
}

@media (min-width:768px) {

  .ddd-gnavi-item-submenu {
    position: absolute;
    background-color: white;
    border: solid 1px #eee;
  }

  .ddd-gnavi-item-submenu .ddd-gnavi-item {
    border-top: solid 1px #eee;
    padding: 10px 15px;
  }

  .ddd-gnavi-item-submenu .ddd-gnavi-link {
    display: block;
  }

}

@media (max-width:767px) {
  .ddd-gnavi-brand {
    padding-left: 10px;
    flex-grow: 2;
  }

  .ddd-gnavi-menus {
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 100%;
    position: absolute;
    transition: 0.3s ease;
    background: white;
    z-index: 99999;
    display: block;
    box-sizing: border-box;
    padding: 0;
  }

  .ddd-gnavi-menus-open {
    display: fixed;
    left: 0;
  }

  .ddd-gnavi-item {
    border-top: solid 1px #eee;
  }

  .ddd-gnavi-item:last-child {
    border-bottom: solid 1px #eee;
  }

  .ddd-gnavi-item {
    margin: 0;
  }

  .ddd-gnavi-link {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ddd-gnavi-link:hover::after {
    display: none;
  }

  .ddd-gnavi-sp-padding {
    padding: 15px;
  }

  .ddd-gnavi-item-submenu .ddd-gnavi-item{
    text-indent: 1em;
  }

}

@media (min-width:768px) {
  .ddd-gnavi-menu-button {
    display: none;
  }

  .ddd-gnavi-sp-menus {
    display: none;
  }

  .ddd-gnavi-link-mark {
    display: none;
  }
}

.ddd-list-with-image-item {
  display: flex;
  margin-top: .5em;
}

.ddd-list-with-image-item:first-child {
  margin-top: 0;
}

.ddd-list-with-image-icon {
  width: 1.5em;
  flex-shrink: 0;
}

.ddd-list-with-image-text {
  margin-left: 5px;
}

.ddd-imgtext-a {
  display: flex;
  align-items: center;
}

.ddd-imgtext-a-text {
  padding-left: 1em;
}


.ddd-imgtext-b {
  display: flex;
}

.ddd-imgtext-b-image {
  flex-basis: 50%
  flex-shrink: 0;
}

.ddd-imgtext-b-text {
  padding: 15px;
  position: relative;
}


@media (min-width:768px) {

  .ddd-imgtext-b-text::before { 
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: -15px;
    top: 50%;
    margin-top: -15px;
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }
}

@media (max-width:767px) {

  .ddd-imgtext-b {
    flex-direction: column-reverse;
  }

  .ddd-imgtext-b-text::after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    bottom: -15px;
    margin: 0 auto;
    border-top: 15px solid white;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  }
}



.ddd-imgtext-c {
  display: flex;
}

.ddd-imgtext-c-image {
  flex-basis: 30%
}

.ddd-imgtext-c-text {
  padding: 15px;
  position: relative;
}


@media (min-width:768px) {

  .ddd-imgtext-c-text::before { 
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: -15px;
    top: 50%;
    margin-top: -15px;
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }
}

@media (max-width:767px) {

  .ddd-imgtext-c {
    flex-direction: column-reverse;
  }

  .ddd-imgtext-c-text::after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    bottom: -15px;
    margin: 0 auto;
    border-top: 15px solid white;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  }
}


.ddd-imgtext-d {
  display: flex;
}

.ddd-imgtext-d-text {
  padding: 15px;
  position: relative;
  flex: 1;
}



@media (max-width:767px) {
  .ddd-imgtext-d {
    display: block;
  }
}


.ddd-imgtext-e {
  display: flex;
}

.ddd-imgtext-e-reverse {
  display: flex;
  flex-direction: row-reverse;
}

.ddd-imgtext-e-text, .ddd-imgtext-e-image {
  flex-basis: 50%;
  flex-shrink: 0;
}

@media (max-width:767px) {
  .ddd-imgtext-e , .ddd-imgtext-e-reverse {
    display: block;
  }
}



.ddd-qanda-a > div > div:first-child:before {
  content: "Q";
  background: #ccc;
  border-radius: 999px;
  margin-left: -2.5em;
  display: inline-block;
  width: 2em;
  height: 2em;
  text-align: center;
  position: absolute;
  line-height: 2em;
}

.ddd-qanda-a > div > div:first-child {
  margin-left: 2.5em;
  font-weight: bold;
}

.ddd-qanda-a > div > div:last-child {
  margin-left: 2.5em;
  color: #888;
}

.ddd-qanda-a > div > div:last-child:before {
  content: "A";
  background: #eee;
  border-radius: 999px;
  margin-left: -2.5em;
  width: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  text-align: center;
  position: absolute;
  line-height: 2em;
}

.ddd-qanda-b > div > div:first-child {
  font-weight: bold;
  margin-left: 2.5em;
}

.ddd-qanda-b > div > div:first-child:before {
  content: "Q";
  background: #ccc;
  border-radius: 999px;
  margin-left: -2.5em;
  display: inline-block;
  width: 2em;
  height: 2em;
  text-align: center;
  position: absolute;
  line-height: 2em;
}

.ddd-qanda-b > div > div:last-child {
  color: #888;
  margin-left: 2.5em;
}

.ddd-number-section-a {
  display: flex;
}

.ddd-number-section-a > div:first-child {
  background: #ccc;
  border-radius: 999px;
  width: 2em;
  height: 2em;
  text-align: center;
  line-height: 2em;
  flex-shrink: 0;
}

.ddd-number-section-a > div:last-child {
  line-height: 2em;
  margin-left: 0.5em;
}

.ddd-number-section-b {
  display: flex;
}

.ddd-number-section-b > div:first-child {
  background: #ccc;
  border-radius: 15%;
  width: 2em;
  height: 2em;
  text-align: center;
  line-height: 2em;
  flex-shrink: 0;
}

.ddd-number-section-b > div:last-child {
  line-height: 2em;
  margin-left: 0.5em;
}

.ddd-balloon-a {
  display: flex;
  align-items: center;
}

.ddd-balloon-a > div:first-child {
  position: relative;
  padding: 15px;
  background-color: white;
  border: 2px solid #aaa;
  box-sizing: border-box;
  border-radius: 20px;
}

@media (min-width:768px) {

  .ddd-balloon-a > div:first-child:before{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top: 50%;
    right: -20px;
    margin-top: -20px;
    border-left: 20px solid #aaa;
    border-bottom: 20px solid transparent;
    border-top: 20px solid transparent;
  }


  .ddd-balloon-a > div:first-child:after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top: 50%;
    right: -17px;
    margin-top: -20px;
    border-left: 20px solid white;
    border-bottom: 20px solid transparent;
    border-top: 20px solid transparent;
  }

}

@media (max-width:767px) {

  .ddd-balloon-a {
    flex-direction: column;
  }

  .ddd-balloon-a > div:first-child:before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 50%;
    bottom: -20px;
    margin-left: -20px;
    border-top: 20px solid #aaa;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
  }


  .ddd-balloon-a > div:first-child:after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 50%;
    bottom: -17px;
    margin-left: -20px;
    border-top: 20px solid white;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
  }

}


.ddd-balloon-b {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ddd-balloon-b > div:first-child {
  position: relative;
  padding: 15px;
  background-color: white;
  border: 2px solid #aaa;
  box-sizing: border-box;
  border-radius: 20px;
}

.ddd-balloon-b > div:first-child:before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -20px;
  margin-left: -20px;
  border-top: 20px solid #aaa;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}


.ddd-balloon-b > div:first-child:after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -17px;
  margin-left: -20px;
  border-top: 20px solid white;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.ddd-balloon-b div:last-child img {
  margin: 0 auto;
}

.ddd-balloon-c {
  padding-bottom: 30px;
  display: inline-block;
}

.ddd-balloon-c > div {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 5px;
  position: relative;
  border-bottom: solid 2px #aaa;
}

.ddd-balloon-c > div:before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -20px;
  margin-left: -20px;
  border-top: 20px solid #aaa;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}


.ddd-balloon-c > div:after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -17px;
  margin-left: -20px;
  border-top: 20px solid white;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
    width: 100% !important;
}

.ddd-youtube {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%;
}

.ddd-youtube iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.ddd-tab-a {
  display: flex;
  flex-direction: row;
}

.ddd-tab-item-a {
  padding: 15px;
  background-color: lightgray;
  border: 1px solid #aaa;
  box-sizing: border-box;
  transition: 0.3s ease;
  text-decoration: none;
}

.not-ios .ddd-tab-item-a:hover {
  background-color: white;
  text-decoration: none;
}

.ddd-tab-item-a:first-child {
  border-right: none;
}

.ddd-tab-item-a.ddd-tab-item-active {
  position: relative;
  background-color: white;
}

.ddd-tab-item-a.ddd-tab-item-active:before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -20px;
  margin-left: -20px;
  border-top: 20px solid #aaa;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}


.ddd-tab-item-a.ddd-tab-item-active:after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -18px;
  margin-left: -20px;
  border-top: 20px solid white;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.ddd-parallax-a {
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat
}

.not-ios .ddd-parallax-a {
  background-attachment: fixed;
}

.ddd-parallax-b {
  background-position: top center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat
}

.not-ios .ddd-parallax-b {
  background-attachment: fixed;
}

.ddd-table-list-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 1em;
  align-items: flex-start;
}

.ddd-table-list-label {
  flex-shrink: 0;
  display: flex;
}

.ddd-table-list-value {
  flex-basis: auto;
  flex-shrink: 1;
  margin-left: 15px;
}

@media (max-width:767px) {
  .ddd-table-list-row {
    display: block;
  }

  .ddd-table-list-label {
    display: inline-block;
    text-align: center;
  }

  .ddd-table-list-value {
    margin-left: 0;
  }

}

.ddd-table-list-row-def .ddd-table-list-label {
  background-color: #888;
  color: white;
  padding: 5px 15px;
  border-radius: 999px;
  justify-content: center;
  flex-basis: 100px;
}

@media (max-width:767px) {
  .ddd-table-list-row-def .ddd-table-list-label {
    width: 100px;
  }
}


.ddd-table-list-row-def .ddd-table-list-value {
  padding: 5px;
}

/* 
  Modal Menu Styles
*/

#ddd-modal-menu-contents {
  background: white;
}

@media (max-width:767px) {
  #ddd-modal-menu-contents {
    background-color: white;
    margin-left: 50px;
    /*margin-right: 50px;*/
  }
}

#ddd-modal-shadow {
  background-color: rgba(0, 0, 0, 0.3)
}

/* 
  END - Modal Menu Styles
*/

#ddd-modal-shadow {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  box-sizing: border-box;
  z-index: 99998;
}

#ddd-modal-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  overflow-y: scroll;
  box-sizing: border-box;
  z-index: 99999;
}

@media (max-width:767px) {

  #ddd-modal-menu {
    padding: 0;
  }

  #ddd-modal-menu-contents {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
  }
}

@media (min-width:768px) {

  #ddd-modal-menu {
    padding: 30px 60px;
  }

  #ddd-modal-menu-contents {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
  }
}

.ddd-tab-menu {
  box-sizing: border-box;
  border-bottom: solid 1px #aaa;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 55px;
  position: relative;
  width: 100%;
  background-color: white;
}

.ddd-tab-menu-item {
  box-sizing: border-box;
  border-top: solid 1px #aaa;
  border-right: solid 1px #aaa;
  padding: 5px 15px;
  height: 40px;
  white-space: nowrap;
  background-color: #f2f2f2;
  line-height: 30px;
  text-decoration: none;
}

.ddd-tab-menu-item:hover {
  background-color: white;
}

.ddd-tab-menu-item:first-child {
  border-left: solid 1px #aaa;
}

.ddd-tab-menu-item-active {
  background-color: white;
  border-bottom: solid 1px white;
  height: 41px;
  margin-bottom: -1px;
}

.ddd-tab-menu-list {
  display: none;
}

.ddd-tab-menu-button {
  box-sizing: border-box;
  padding: 5px 10px;
  height: 40px;
  position: absolute;
  right: 15px;
  bottom: 0;
  color: #666; 
  text-decoration: none;
  line-height: 30px;
}

@media (min-width:768px) {
  .ddd-tab-menu-button {
    display: none;
  }
}

@media (max-width:767px) {

  .ddd-tab-menu-item {
    display: none;
  }

  .ddd-tab-menu-item-active {
    display: block;    
    box-sizing: border-box;
    border-right: solid 1px #aaa;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0px;
    height: 40px !important;
  }

  .ddd-tab-menu {
    display: block;
    height: 55px;
    padding-top: 15px;
  }

}

.ddd-tab-menu-list > a {
  background-color: white;
  border-top: solid 1px #ccc;
  display: block;
  padding: 10px 15px;
  position: relative;
  text-decoration: none;
}

.ddd-tab-menu-list > a:last-child {
  border-bottom: solid 1px #aaa;
}

.ddd-tab-menu-list > a:after {
  content: "＞";
  position: absolute;
  right: 15px;
  color: #ccc;
}

.ddd-tab-menu-no-border .ddd-tab-menu-item {
  border: none;
  background-color: white;
}
.ddd-tab-menu-no-border .ddd-tab-menu-item:hover {
  text-decoration: underline;
}

.ddd-tab-menu-no-border .ddd-tab-menu-item-active {
  border-left: solid 1px #aaa;
  border-top: solid 1px #aaa;
  border-right: solid 1px #aaa;
}
