@charset "utf-8";

body {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    overflow: auto;
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", "SimSun", "Meiryo", "游ゴシック", "ヒラギノ角ゴ ProN", "Arial", sans-serif;
}

a { text-decoration: none; }

/*
h1 {
    font-size: 20px;
    color: #008b65;
    margin: 35px 0 15px 0;
    border-left: 7px solid #008b65;
    padding: 8px 0 8px 10px;
    clear: both;
    line-height: 1.5;
}
*/

.left {
    float: left;
}

.h-100p {
    height: 100%;
}


.ml-80px {
    margin-left: 80px;
}
.mt-half-em { margin-top: 0.5em; }
.mb-half-em { margin-bottom: .5em; }
.mt-10px { margin-top: 10px; }
.mb-10px { margin-bottom: 10px; }

.mt-20px {
    margin-top: 20px;
}


header {
    height: 80px;
    padding: 5px;
    text-align: left;
    /*
    background: #fff url(../images/header_bg.gif) repeat-x 0 0; */
    margin-bottom: 5px;
}
.corner {
    /*
    position: absolute;
    top: 10px;
     */
    margin-left: 15%;
}

.company_name {
    font-family: SimHei;
    font-size: 48px;
    font-weight: 900;
    color: #28344C;
    letter-spacing: .4rem;
    /* text-align: center; */
    display: initial;
    line-height: 80px;
    vertical-align: top;
    margin-left: 30px;
/*
    position: relative;
    top: -20px;
  -webkit-text-stroke: 1px #000;
  -webkit-text-fill-color: transparent;
*/
}
.company_name::selection {
    color:#f00;
}
.company_name::-moz-selection {
    color:#f00;
}
.company_name::-webkit-selection {
    color:#f00;
}


.footer { /* main-page */
    background-color: white;
    border-top: 1px dashed #ccc;
    text-align: center;
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 5px;
}

.footbar { /* sub-page */
    background-color: white;
    color: #666;
    border-top: 1px dashed #ccc;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding: .5em;
}


.main {
  width: 70%;
  /* margin: auto; */
  margin-left: 15%;
  display: flex;                  /* establish flex container */
  flex-direction: row;            /* default value; can be omitted */
  flex-wrap: nowrap;              /* default value; can be omitted */
  justify-content: space-between; /* switched from default (flex-start, see below) */
  margin-bottom: 100px;
}


#page_left {
    width: 220px;
    z-index: 100;
}


#page_body {
    margin-left: -120px;
    padding-left: 10px;
    text-align: left;
    min-width: 300px;
    width: 100%;
}

#page_content {
    margin-left: 50px;
    text-align: left;
    min-width: 300px;
    width: 100%;
}


#biz_links div {
    margin: 1em;
}

.page_navibar {
    padding: 1em 0 1em;
}
.page_caption {
    font-size: 1.2em; font-weight: bold;
    padding-left: 20px;
    margin: .5em 0 .5em;
}


#page_content p {
    line-height: 1.8;
    text-indent: 2em;
    margin-bottom: .5em;
}
#page_content p.title {
    text-indent: 0;
    color: #02407e;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 1em;
}
#page_content ul,ol {
    line-height: 1.5;
    margin-left: 3em; margin-bottom: 1em;
}
#page_content b {
    font-weight: bold;
    /*
    color: #036099;
    text-decoration: underline;
    */
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 100%;
  transition: background-size 0.25s ease-in;
}
#page_content b:hover {
    background-size: 100% 100%;
}

.phone {
    margin: .5em 0 .5em;
}

.marker {
    background: linear-gradient(transparent 10%,#ffff99 90%);
}

.marker_yellow {
    background: linear-gradient(transparent 80%, #f8e81c 0);
    font-weight: 700;
    font-family: sans-serif;
}


.node {
    text-align: center;
    background-color: #cff;
    color: #000;
    padding: 1em;
    border: 1px solid #0cc;
}



.hr2-flow {
    margin: 0.5em 2em;
}

.line {
    width: 100%;
    border: none;
    background-color: #896500;
    height: 2px;
}

/* 画像 */
.shanghai-tan {
    margin-top: 20px;
    width: 100%;
}
.hongkou-map {
    width: 100%;
    max-width: 800px;
}

.kohao {
    letter-spacing: .5rem;
}
m-red {
    color: red;
}


.photo {
  display: grid;
  position: relative;
  border: 5px solid white;
  border-radius: 0;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.4);
/*
  grid-template-columns: max-content auto;
  grid-template-rows: auto max-content;
*/
  width: 80%;
  height: 600px;
  margin-top: 20px;
  padding: 0 1em;
  background: url(../images/shanghai.jpg) 50%/cover border-box padding-box;
  place-content: center;
  color: #fff;
  font: 600 3em/1.25 comic sans ms, segoe script, cursive;
  text-align: center;
  text-shadow: 1px 1px #000;
}


/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    .company_name {
        font-size: 12px;
        letter-spacing: 0;
    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    .company_name {
        font-size: 20px;
        letter-spacing: 0;
    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px){
    .company_name {
        font-size: 32px;
        letter-spacing: .2rem;
    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px){

}

/* Media Query for Large screens */
@media (min-width: 1281px) {

}
