/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/

/* =========================================================
   index.html
========================================================= */

table td {
      vertical-align: top;
    }

    #products th {
      vertical-align: bottom;
    }

    #products .table-responsive img {
      max-width: 120px;
      height: auto;
    }

    #products .lns-table-card {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    #products .lns-compare-table {
      width: 100%;
      table-layout: fixed;
      margin-bottom: 0;
    }

    #products .lns-compare-table col.product-col-label {
      width: 19%;
    }

    #products .lns-compare-table col.product-col-docker,
    #products .lns-compare-table col.product-col-mobile,
    #products .lns-compare-table col.product-col-outdoor {
      width: 27%;
    }

    #products .lns-compare-table thead th {
      background: #efcb33;
      color: #251e1c;
      border: 1px solid #e4c12f;
      font-weight: 700;
      text-align: center;
      vertical-align: middle;
    }

    #products .lns-compare-table thead th:not(.lns-compare-label-col) {
      background:
        radial-gradient(circle at 110% 110%,
          #efcb33 0%,
          #efcb33 74%,
          #f2d653 74%,
          #f2d653 82%,
          #f6e27a 82%,
          #f6e27a 89%,
          #faedaa 89%,
          #faedaa 100%);
    }

    #products .lns-compare-table thead th.lns-compare-label-col {
      border-color: #e7ecec;
    }

    #products .lns-compare-table tbody td {
      vertical-align: middle;
      border: 1px solid #e7ecec;
      padding: 16px 18px;
    }

    #products .lns-compare-table tbody td:first-child {
      font-weight: 700;
      color: #333;
      background: #fff;
    }

    #products .lns-compare-table tbody tr:hover {
      background: rgba(239, 203, 51, 0.06);
    }


    #products .lns-compare-table thead th.lns-compare-label-col {
      background: #fff;
      border-top-color: #fff;
      border-left-color: #fff;
    }

    #products .lns-compare-table thead th:not(.lns-compare-label-col) {
      height: 220px;
      vertical-align: bottom;
      padding: 18px 14px 22px;
    }

    #products .lns-compare-table thead th .row {
      margin-left: 0;
      margin-right: 0;
    }

    #products .lns-compare-table thead th .col-lg-12 {
      padding-left: 0;
      padding-right: 0;
    }

    #products .product-head-title {
      margin-top: 10px;
      line-height: 1.3;
      font-weight: 700;
    }


    /* Remove only the outside frame while keeping inner grid lines */
    #products .lns-compare-table thead th {
      border-top: 0;
    }

    #products .lns-compare-table thead th:first-child,
    #products .lns-compare-table tbody td:first-child {
      border-left: 0;
    }

    #products .lns-compare-table thead th:last-child,
    #products .lns-compare-table tbody td:last-child {
      border-right: 0;
    }

    #products .lns-compare-table tbody tr:last-child td {
      border-bottom: 0;
    }

    #products .product-table-responsive {
      width: 100%;
    }

    @media (max-width: 767px) {
      #products .product-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
      }

      #products .product-table-responsive .lns-table-card {
        min-width: 860px;
      }

      #products .lns-compare-table {
        min-width: 860px;
      }
    }


    .news-ticker {
      position: relative;
      display: flex !important;
      align-items: center;
      min-height: 44px;
      margin: 0;
      padding: 5px 22px;
      background:
        linear-gradient(135deg, #151515 0%, #222 54%, #121212 100%);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 3px solid #efcb33;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
      overflow: hidden;
      z-index: 2;
    }

    .news-ticker::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 16% 50%, rgba(239, 203, 51, 0.20), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 34%, rgba(255, 255, 255, 0.04));
      pointer-events: none;
    }

    .news-ticker-content {
      position: relative;
      z-index: 1;
      flex: 1 1 auto;
      min-width: 0;
    }

    .news-ticker-content a {
      display: inline-flex !important;
      align-items: center;
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-decoration: none;
      padding: 6px 14px;
      font-size: 13px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }

    .news-ticker-content a::before {
      content: "";
      width: 6px;
      height: 6px;
      margin-right: 8px;
      border-radius: 50%;
      background: #efcb33;
      box-shadow: 0 0 0 4px rgba(239, 203, 51, 0.16);
      flex: 0 0 auto;
    }

    .news-ticker-content a:hover {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border-color: rgba(255, 255, 255, 0.14) !important;
      transform: none;
      box-shadow: none;
    }

    .news-ticker-content a:hover::before {
      background: #2250fc;
      box-shadow: 0 0 0 4px rgba(34, 80, 252, 0.16);
    }

    .news-ticker-content a:focus,
    .news-ticker-content a:active {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border-color: rgba(255, 255, 255, 0.14) !important;
      outline: none;
      box-shadow: none;
    }

    .news-ticker-content a:focus::before,
    .news-ticker-content a:active::before {
      background: #2250fc;
      box-shadow: 0 0 0 4px rgba(34, 80, 252, 0.16);
    }

    @media (max-width: 767px) {
      .news-ticker {
        min-height: 40px;
        padding: 5px 12px 5px 16px;
        border-bottom-width: 3px;
      }

      .news-ticker::after {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 4px;
        border-radius: 0 4px 4px 0;
        background: #efcb33;
      }

      .news-ticker-content a {
        padding: 6px 12px;
        font-size: 12px;
      }
    }


    #deploy .wiffy-deploy-grid {
      align-items: stretch;
    }

    #deploy .wiffy-deploy-card {
      height: 100%;
      background: #fff;
      border-radius: 18px;
      padding: 30px 28px;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
      position: relative;
      overflow: hidden;
      border: 0;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #deploy .wiffy-deploy-card::after {
      content: "";
      position: absolute;
      right: -36px;
      top: -36px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(239, 203, 51, 0.14);
      pointer-events: none;
    }

    #deploy .wiffy-deploy-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    }

    #deploy .wiffy-deploy-icon {
      width: 64px;
      height: 64px;
      border-radius: 18px;
      background: #efcb33;
      color: #251e1c;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin-bottom: 22px;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-icon img {
      max-width: 54px;
      max-height: 54px;
      width: auto;
      height: auto;
      display: block;
      object-fit: contain;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-card h3 {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-card p {
      margin-bottom: 0;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-tag {
      display: inline-block;
      margin-bottom: 16px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(239, 203, 51, 0.18);
      color: #6f5c00;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      position: relative;
      z-index: 1;
    }


/* =========================================================
   shelter.html
========================================================= */

td,
    th {
      vertical-align: top;
    }

    .hidden {
      display: none;
    }

    .shelter-sim-price sup {
      margin-left: 3px;
      font-size: 0.42em;
      font-weight: 700;
      line-height: 1;
      vertical-align: super;
      opacity: 0.82;
      letter-spacing: 0.02em;
    }


    .shelter-sim-grid {
      align-items: stretch;
      margin-top: 44px;
    }

    .shelter-sim-card {
      height: 100%;
      background: #fff;
      border-radius: 18px;
      padding: 26px 24px;
      box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-top: 4px solid #222;
      color: #222;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .shelter-sim-card::after {
      content: "";
      position: absolute;
      right: -42px;
      top: -42px;
      width: 132px;
      height: 132px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.035);
      pointer-events: none;
    }

    .shelter-sim-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
      border-color: rgba(0, 0, 0, 0.16);
    }

    .shelter-sim-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: linear-gradient(135deg, #2b2b2b 0%, #111 100%);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 23px;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    }

    .shelter-sim-label {
      display: inline-block;
      margin-bottom: 12px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.06);
      color: #222;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      position: relative;
      z-index: 1;
    }

    .shelter-sim-card h5 {
      margin-bottom: 12px;
      color: #222;
      font-size: 18px;
      font-weight: 700;
      position: relative;
      z-index: 1;
    }

    .shelter-sim-price {
      margin-bottom: 10px;
      color: #111;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.3;
      position: relative;
      z-index: 1;
    }

    .shelter-sim-card p {
      margin-bottom: 0;
      color: #666;
      line-height: 1.75;
      position: relative;
      z-index: 1;
    }

.phone-frame {
      width: min(390px, 100%);
      /* スマホ幅 */
      margin: 0 auto;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    }

    .phone-frame iframe {
      display: block;
      width: 100%;
      height: 780px;
      max-height: 780px;
      /* 初期高さ（自動調整が効くまでのフォールバック） */
      border: 0;
    }

    @media (min-width: 768px) {
      .phone-frame {
        width: 390px;
      }

      /* タブレット/PCでもスマホ実寸をキープ */
    }


/* =========================================================
   lns.html
========================================================= */

.lns-router-icon {
      width: 42px;
      height: 34px;
      color: #fff;
      display: block;
    }

    .lns-wiffy-device-icon {
      max-width: 42px;
      max-height: 42px;
      display: block;
      filter: brightness(0) invert(1);
    }

    .lns-flow {
      display: flex;
      align-items: stretch;
      justify-content: center;
      gap: 18px;
      margin: 40px 0;
      flex-wrap: wrap;
    }

    .lns-flow-item {
      flex: 1 1 180px;
      max-width: 230px;
      padding: 28px 20px;
      background: #fff;
      border-radius: 14px;
      text-align: center;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    }

    .lns-flow-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 18px;
      border-radius: 50%;
      background: #22C0B1;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
    }

    .lns-flow-item h4 {
      margin-bottom: 10px;
      font-size: 18px;
      font-weight: 700;
    }

    .lns-flow-item p {
      margin-bottom: 0;
      font-size: 14px;
    }

    .lns-flow-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #22C0B1;
      font-size: 24px;
    }


    .lns-stack {
      margin: 42px 0 20px;
      text-align: center;
    }

    .lns-stack-row {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 18px;
      flex-wrap: wrap;
    }

    .lns-stack-card {
      flex: 1 1 220px;
      max-width: 280px;
      padding: 26px 22px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      border-top: 4px solid #22C0B1;
    }

    .lns-stack-row-middle .lns-stack-card {
      border-top: none;
      border-bottom: 4px solid #22C0B1;
    }

    .lns-stack-card i {
      display: block;
      margin-bottom: 14px;
      color: #22C0B1;
      font-size: 30px;
    }

    .lns-stack-card h4 {
      margin-bottom: 10px;
      font-size: 18px;
      font-weight: 700;
    }

    .lns-stack-card p {
      margin-bottom: 0;
      font-size: 14px;
      line-height: 1.7;
    }

    .lns-stack-cloud-support {
      position: relative;
      width: min(640px, 92%);
      height: 42px;
      margin: 10px auto 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      pointer-events: none;
      z-index: 0;
    }

    .lns-stack-cloud-support::before,
    .lns-stack-cloud-support::after {
      content: "";
      flex: 1 1 auto;
      max-width: 260px;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(34, 192, 177, 0.18) 18%, rgba(34, 192, 177, 0.55) 100%);
    }

    .lns-stack-cloud-support::after {
      background: linear-gradient(90deg, rgba(34, 192, 177, 0.55) 0%, rgba(34, 192, 177, 0.18) 82%, transparent 100%);
    }

    .lns-stack-cloud-arrow {
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(34, 192, 177, 0.10);
      border: 1px solid rgba(34, 192, 177, 0.30);
      color: #22C0B1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      line-height: 1;
    }



    .lns-stack-base {
      max-width: 980px;
      margin: 38px auto 0;
      padding: 0 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      text-align: center;
    }

    .lns-stack-base::before,
    .lns-stack-base::after {
      content: none;
    }

    .lns-stack-base-card {
      flex: 0 1 660px;
      max-width: 660px;
      padding: 30px 78px 34px;
      background: linear-gradient(135deg, #22C0B1 0%, #158a81 100%);
      color: #fff;
      border: 0;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
      filter: drop-shadow(0 18px 30px rgba(34, 192, 177, 0.22));
    }

    .lns-stack-base-card::after {
      content: "";
      position: absolute;
      right: -42px;
      top: -42px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.14);
      pointer-events: none;
    }

    .lns-stack-base-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin-bottom: 14px;
    }

    .lns-stack-base-device-icon {
      max-width: 58px;
      max-height: 58px;
      display: block;
      filter: brightness(0) invert(1);
      position: relative;
      z-index: 1;
    }

    .lns-stack-base-card p {
      margin-bottom: 0;
      color: rgba(255, 255, 255, 0.92);
      font-size: 15px;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }

    .lns-stack-label {
      display: inline-block;
      margin-bottom: 14px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(34, 192, 177, 0.12);
      color: #158a81;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }

    .lns-stack-base-card .lns-stack-label {
      margin-bottom: 0;
      padding: 6px 14px;
      font-size: 16px;
      letter-spacing: 0;
      text-transform: none;
      color: #fff;
      background: rgba(255, 255, 255, 0.18);
      position: relative;
      z-index: 1;
    }


    .lns-table-card {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    .lns-compare-table {
      margin-bottom: 0;
    }

    .lns-compare-table thead th {
      background: #22C0B1;
      color: #fff;
      border: none;
      font-weight: 700;
      text-align: center;
      vertical-align: middle;
    }

    .lns-compare-table tbody td {
      vertical-align: middle;
      border-color: #eef2f2;
      padding: 16px 18px;
    }

    .lns-compare-table tbody td:first-child {
      font-weight: 700;
      color: #333;
      background: #f8fbfb;
      width: 22%;
    }

    .lns-compare-table tbody tr:hover {
      background: rgba(34, 192, 177, 0.06);
    }

    .lns-compare-table tbody td:nth-child(2) {
      font-weight: 600;
    }


    .lns-compare-table thead th.lns-compare-label-col {
      width: 22%;
      background: #f8fbfb;
    }

    .lns-quote-card {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      background: #fff;
      border-radius: 18px;
      padding: 28px 30px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      border-left: 6px solid #22C0B1;
    }

    .lns-quote-icon {
      flex: 0 0 52px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(34, 192, 177, 0.12);
      color: #22C0B1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }

    .lns-quote-body p {
      margin-bottom: 12px;
      font-size: 16px;
      line-height: 1.8;
    }

    .lns-quote-body small {
      color: #666;
      font-weight: 700;
    }



    .lns-usecase-grid {
      align-items: stretch;
    }

    .lns-usecase-card {
      height: 100%;
      background: #fff;
      border-radius: 18px;
      padding: 30px 28px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .lns-usecase-card::after {
      content: "";
      position: absolute;
      right: -36px;
      top: -36px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(34, 192, 177, 0.10);
    }

    .lns-usecase-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

    .lns-usecase-icon {
      width: 64px;
      height: 64px;
      border-radius: 18px;
      background: #22C0B1;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin-bottom: 22px;
      position: relative;
      z-index: 1;
    }

    .lns-usecase-card h3 {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }

    .lns-usecase-card p {
      margin-bottom: 0;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }

    .lns-usecase-tag {
      display: inline-block;
      margin-bottom: 16px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(34, 192, 177, 0.12);
      color: #158a81;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      position: relative;
      z-index: 1;
    }



    #section4 .post-item.border {
      height: 100%;
      background: #fff;
      border: 0 !important;
      border-radius: 18px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #section4 .post-item.border:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

    #section4 .post-item.border .post-item-wrap {
      height: 100%;
      border: 0 !important;
      border-radius: 18px;
      overflow: hidden;
      background: #fff;
    }

    #section4 .post-item.border .post-image,
    #section4 .post-item.border .post-video {
      border: 0 !important;
      margin: 0;
      overflow: hidden;
    }

    #section4 .post-item.border .post-image img,
    #section4 .post-item.border .post-video video {
      display: block;
      width: 100%;
      border: 0 !important;
      border-radius: 0;
    }

    #section4 .post-item.border .post-item-description {
      padding: 26px 28px;
      border: 0 !important;
      background: #fff;
    }


    @media (max-width: 767px) {
      .lns-flow {
        flex-direction: column;
        align-items: center;
      }

      .lns-flow-item {
        max-width: 100%;
        width: 100%;
      }

      .lns-flow-arrow {
        transform: rotate(90deg);
      }

      .lns-stack-card {
        max-width: 100%;
      }

      .lns-stack-cloud-support {
        width: min(420px, 94%);
        height: 38px;
        margin: 8px auto 18px;
        gap: 12px;
      }

      .lns-stack-cloud-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
      }

      .lns-stack-base {
        gap: 12px;
        padding: 0;
      }

      .lns-stack-base-card {
        flex: 0 1 auto;
        max-width: 100%;
        padding: 26px 34px 30px;
        clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
      }

      .lns-stack-base-head {
        flex-direction: column;
        gap: 10px;
      }
    }
