/* css for Mobile web pages */
/* for old iPone SE */

@media screen and (max-width: 767px) {
  /* show hide */
  .head-pc {
    display: none;
  }
  .head-mobile {
    display: block;
  }
  .copyright {
    display: none;
  }
  .copyright-mobile {
    display: block;
  }
  
  /* header content */
  /* header box for top page only */
  #top-header-box {
    width: 100%;
  }
  .top-header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background-color: white;
    z-index: 10002;
  }
  /* header content */
  #header-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background-color: #004B65;
    z-index: 10002;
  }
  .head-mobile-top {
    display: block;
    display: flex;
    justify-content: space-around;
    height: 64px;
  }
  .head-mark-logo {
    width: 100%;
    margin: 19px 20px 0 20px;
  }
  .head-logo {
    width: 100px;
  }
  .menu-iocn-box {
    position: relative;
    width: 100%;
  }
  .menu-icon {
    height: 24px;
    cursor: pointer;
  }
  .menu-icon-box img {
    position: absolute;
    top: 22px;
    right: 18px;
    height: 38px;
  }
  nav {
    display: none;
    padding-top: 15px;
    background-color: white;
  }
  nav .menu-item {
    font-family: "Phudu", sans-serif;
    letter-spacing: 0.2em;
    text-align: center;
    padding: 22px 0;
    border-bottom: 1px solid #999;
  }
  nav .menu-item a {
    display: block;
    color: #333;
    font-size: 18px;
    width: 100%;
  }
  .menu-top-border {
    border-top: 1px solid #999;
  }
  /* bottom margin */
  .bottom-margin {
    width: 100%;
    height: 100px;
  }

  /* footer */
   footer {
    width: 100%;
    text-align: center;
    margin: 100px auto 0;
    padding: 10px 0 65px;
  }
  .footer-logo-box {
    width: 100%;
    padding: 30px;
  }
  .footer-logo-box img {
    width: 80px;
    margin: 0 auto;
  }
  .footer-menu-box {
    display: none;
  }
  .footer-menu-box-mobile {
    display: block;
    margin: 0 auto 20px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1.2px;
  }
  .footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 !important;
  }
  .footer-menu li {
    color: #333;
    font-size: 17px;
    padding: 0 5px !important;
    text-align: center;
    min-width: 74px;
  }
  .footer-menu a {
    color: #333 !important;
  }
  .copyright-mobile {
    width: 100%;
    color: #333;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.4em;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1.2px;
  }


  /* top main content */
  .top-container-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50%;
  }
  .top-image-box {
    background-image: url("../img/home.jpg");
    background-size: cover;
    width: 100%;
    height: 400px;
  }
  .top-copy-box {
    max-width: 1100px;
    margin: 0 auto;
  }
  .top-copy-text {
    width: 100%;
    padding: 200px 0 0 0;
  }
  .top-copy-left {
    width: 0;
    flex-basis: auto;
    /* max-width: calc(100% - 700px); */
  }
  .top-copy-right {
    width: 100%;
    animation: 3s fadeIn forwards;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .top-home {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 0 10px 0;
  }
  .top-home img {
    width: 230px;
    filter: drop-shadow(2px 2px 4px black); 
  }
  /* top business & company */
  .top-business {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 0 10px 0;
  }
  .top-business img {
    width: 230px;
    filter: drop-shadow(2px 2px 4px black); 
  }
  .top-company {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 0 10px 0;
  }
  .top-company img {
    width: 230px;
    filter: drop-shadow(2px 2px 4px black); 
  }
  /***************************/
  .top-title {
    overflow: hidden;
  }
  .top-title h1 {
    font-family: "BIZ UDGothic";
    display: block;
    color: white;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.0em;
    text-align: center;
    letter-spacing: 0.1em;
    padding: 0 100px 0 0;
    width: 100%;
    min-height: 35px;
    text-shadow: 2px 2px 4px black;
    opacity: 1.0;
    padding: 0;
  }
  .top-title span {
    display: inline-block;
  }
  .span-break {
    display: inline-block;
  }
  /* top massage content */
  #top-message {
    max-width: 1100px;
    margin: 0 auto;
  }
  #top-message h3 {
    font-family: "Noto Sans JP", sans-serif;
    display: block;
    color: #663399;
    font-weight: 200;
    font-size: 32px;
    line-height: 1.4em;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px 30px 20px;
  }
  #top-message h3 span {
    display: inline-block;
  }
  .top-message-box {
    max-width: 1100px;
    margin: 0 auto;
  }
  .ms-content {
    width: 100%;
  }
  .ms-image {
    width: 100%;
  }
  .ms-image img {
    border-radius: 0;
  }
  .ms-text {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 10px;
    padding-left: 6%;
    padding-right: 6%;
  }
  .ms-text p {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    font-size: 18px;
    line-height: 1.7em;
    letter-spacing: 0.04em;
    width: 100%;
  }
  /* script letter */
  .script-letter {
    font-size: 32px;
    vertical-align: 3%;
    display: inline-block;
    font-family: "MonteCarlo", cursive;
  }
  #top-strengths {
    max-width: 1100px;
    margin: 0 auto 80px;
  }
  /* service details content */
  .top-service {
    max-width: 1100px;
    margin: 0 auto;
  }
  .top-service h3 {
    font-family: "Noto Sans JP", sans-serif;
    display: block;
    color: #000080;
    font-weight: 200;
    font-size: 32px;
    line-height: 1.4em;
    text-align: center;
    width: 100%;
    padding: 50px 20px 40px 20px;
  }
  .top-service h3 span {
    display: inline-block;
  }
  .service-details {
    justify-content: space-around;
    max-width: 1100px;
    margin: 0 auto;
  }
  .sd-content {
    color: white;
    position: relative;
    width: 100%;
    margin: 10px 0;
  }
  .sd-text {
    color: white;
    position: absolute;
    min-width: 320px;
    max-width: 360px;
    top: calc((100vw * 0.3377 / 2) - 24px);
    left: 0;
    padding: 15px 0 15px 15px;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
  }
  .sd-text h4 {
    color: white;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.04em;
  }
  .sd-text p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    line-height: 1.7em;
    width: 100%;
    margin: 10px 0 10px 0;
  }
  .sd-image {
    max-width: 100%;
  }
  /* bottom margin */
  .bottom-margin {
    width: 100%;
    height: 100px;
  }
  /* business main content */
  .business-container-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50%;
  }
  .business-image-box {
    background-image: url("../img/business.jpg");
    background-size: cover;
    width: 100%;
    height: 400px;
  }
  .business-top-box img {
    max-width: 200px;
    margin: 0 auto;
    padding-top: 322px;
  }
  .business-top-box h1 {
    font-family: "BIZ UDGothic";
    display: block;
    color: white;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.0em;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding-top: 322px;
  }
  /* company main content */
  .company-container-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50%;
  }
  .company-image-box {
    background-image: url("../img/company.jpg");
    background-size: cover;
    width: 100%;
    height: 400px;
  }
  /* summary content */
  #company-summary {
    max-width: 1100px;
    margin: 0 auto 90px;
  }
  #company-summary h3 {
    font-family: "Noto Sans JP", sans-serif;
    display: block;
    color: #663399;
    font-weight: 200;
    font-size: 32px;
    line-height: 1.4em;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px 40px 20px;
  }
  .summary-box {
    max-width: 1100px;
    margin: 0 auto;
  }
  .summary-title {
    padding: 50px 0 10px 20px;
  }
  .summary-title h2 {
    font-size: 24px;
    font-weight: 700;
    padding: 15px 0 5px;
  }
  .summary-table {
    margin: 0 15px;
    padding-top: 2px;
    border-top: 2px solid #004B65;
  }
  .summary-table ul {
    padding-left: 0 !important;
  }
  .summary-table ul > li {
    list-style: none !important;
    border-bottom: 1px solid #ccc;
  }
  .summary-table dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%
  }
  .summary-table dt {
    font-family: "Noto Sans JP", sans-serif;
    width: 240px;
    padding: 20px 0 0 20px;
    font-weight: 500;
  }
  .summary-table dd {
    font-family: "Noto Sans JP", sans-serif;
    width: 100%;
    padding: 15px 0 20px 20px;
    line-height: 1.6em;
    letter-spacing: 0.04em;
  }
  .summary-table dd a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
    color: #555;
  }
  .summary-table ol {
    list-style-type: disc !important;
    margin-left: -3px;
  }
  .summary-table ol > li {
    font-family: "Noto Sans JP", sans-serif;
    list-style-type: disc !important;
    line-height: 2.2em;
  }
  .summary-table span {
    font-size: 17px;
  }
  .summary-table em {
    display: inline-block;
    font-style: normal;
  }
  /* contact content */
  #contact {
    max-width: 1100px;
    margin: 0 auto 80px;
  }
  #contact h3 {
    font-family: "Noto Sans JP", sans-serif;
    display: block;
    color: #663399;
    font-weight: 200;
    font-size: 32px;
    line-height: 1.4em;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px 40px 20px;
  }
  .contact-box {
    max-width: 1100px;
    margin: 0 auto 30px;
  }
  .ct-text {
    color: black;
    width: 100%;
    padding: 0 20px;
  }
  .ct-text p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 17px;
    color: #333;
    line-height: 1.7em;
    width: 100%;
  }
  .contact-data-box {
    max-width: 1100px;
    padding: 20px 40px;
    margin: 0 20px;
    border: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.5px;
  }
  .contact-data {
    min-width: 300px;
    font-size: 21px;
    padding: 20px 0;
    text-align: center;
  }
  .contact-data i {
    font-size: 20px;
  }
  .contact-data p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 21px;
  }
  /* access content */
  #access {
    max-width: 1060px;
    margin: 0 auto;
  }
  #access h3 {
    font-family: "Noto Sans JP", sans-serif;
    display: block;
    color: #000080;
    font-weight: 200;
    font-size: 32px;
    line-height: 1.4em;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px 30px 20px;
  }
  .access-box {
    max-width: 900px;
    margin: 0 auto 40px;
  }
  .ac-text {
    color: black;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .ac-text p {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7em;
    width: 100%;
    margin: 15px 0;
  }
  .ac-text p span {
    display: inline-block;
  }
  .map {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 60%;
    padding-top: 30%;
    width: 100%;
  }
  .map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }


  /* privacy main content */
  .privacy-container-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50%;
  }
  .privacy-text {
    max-width: 1000px;
    margin: 140px auto;
    padding: 0 40px;
  }
  .privacy-text h1 {
    font-size: 26px;
    text-align: center;
    padding: 25px 0;
  }
  .en-font {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  .privacy-text h3 {
    font-size: 18px;
    padding: 40px 0 10px 0;
    font-weight: 700;
    margin-left: -10px;
  }
  .privacy-text h4 {
    font-size: 16px;
    padding: 25px 0 10px 0;
    font-weight: 700;
  }
  .privacy-text h5 {
    font-size: 16px;
    padding: 15px 0 5px 0;
  }
  .privacy-text p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.6em;
  }
  .privacy-text ul {
    padding: 0 0 0 15px;
    margin: 0;
  }
  .indent {
    padding: 10px 0 10px 25px;
  }
  .indent2 {
    padding: 10px 0 10px 10px;
  }
  .indent2 ul>li {
    list-style: none !important;
  }
  .indent3 {
    padding: 5px 0 10px 10px;
  }
  .align-right {
    text-align: right;
    margin: 50px 0;
    line-height: 1.8em;
  }
  .privacy-text table {
    border: 1px solid #C9C9C9;
    padding: 16px;
    border-collapse: collapse;
    margin: 20px 0;
  }
  .privacy-text th {
    border: 1px solid #C9C9C9;
    background-color: #F8F8F8;
    font-weight: 400;
    padding: 16px;
    max-width: 250px;
  }
  .privacy-text td {
    border: 1px solid #C9C9C9;
    padding: 16px;
    text-align: center;
    vertical-align: middle;
  }
  .privacy-text td span {
    font-size: 30px;
  }
  body.stop-scrolling {
    overflow: auto!important;
  }
}