* {
    font-family: "Segoe UI", "Meiryo", sans-serif;
    font-size: 1.1rem;
    box-sizing: border-box;
    color: #222;
}
.container {
    width: 94%;
    /* min-width: 1000px; */
    margin-left: 3%;
    background-color: #F9F9FF;
    padding: 0 1rem;
    overflow: hidden;
}

/*共通*/
section{
    margin-top: 100px;
} 
.sub-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 3rem;
    color: #AAA;
    text-shadow: -1px -1px 0.5px black;
    text-align: center;
}
a.btn {
    display: inline-block;
    padding: 0.7em 1.5em;
    background: rgba(58, 26, 26, 0.508);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 1em;
    border-radius: 30px;
    z-index: 10;
  }
  a.btn:hover {
    background-color: rgba(58, 26, 26, 0.8);
  }
.product-gates {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.1rem;
    margin-top: 2.75rem;
}
.product-gates > a.btn {
    margin-top: 0;
}
.inbound-gate {
    flex: 1 1 16rem;
    max-width: 34rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.75rem 1.35rem;
    text-decoration: none;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(58, 26, 26, 0.28);
    box-shadow: 0 8px 22px rgba(58, 26, 26, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.inbound-gate:hover,
.inbound-gate:focus-visible {
    border-color: rgba(58, 26, 26, 0.75);
    box-shadow: 0 10px 26px rgba(58, 26, 26, 0.14);
}
.inbound-gate__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3a1a1a;
    line-height: 1.4;
}
.inbound-gate__lead {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    line-height: 1.5;
}


.header{
    margin-top: 10px;
    height: 4rem;
}
.header .flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    margin: 10px 20px 0;
    line-height: 3rem;
}
.header .astropro {
    font-weight: bold;
    font-size: 2rem;
    width: 400px;
}
.header .astropro img {
    width: 100%;
}
.header .renraku {
    background-color: rgba(58, 26, 26, 0.508);
    border-radius: 1.5rem;
    width: 10%;
    text-align: center;
    color: white;
}

.mvv, .greeting { margin-bottom: 2em; }
h1 {
    color: #2d87f0;
    font-size: 2.8em;
    margin-bottom: 0.5em;
    text-align: center;
  }
  section.mvv, section.greeting {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 100%;
    margin: 1.5em auto;
  }
  section.mvv h2, section.greeting h2 {
    /* color: #2d87f0; */
    border-bottom: 2px solid #2d87f0;
    padding-bottom: 0.3em;
    margin-bottom: 1em;
    font-size: 1.6rem;
    font-weight: 700;
    color: #AAA;
    text-shadow: -1px -1px 0.5px black;
  }
  section.mvv p, section.greeting p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1em;
  }
  section.mvv ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  section.mvv ul li {
    background: #ccddf5;
    /* background: url('../img/AdobeStock_269014286.jpeg') 80% 80% / 50%; */
    color: #2d87f0;
    font-weight: 600;
    padding: 0.6em 1.2em;
    border-radius: 20px;
    margin: 0.3em;
    flex: 1 1 120px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(45,135,240,0.3);
    transition: background-color 0.3s ease;
    cursor: default;
  }
  section.mvv ul li:hover {
    background-color: #2d87f0;
    color: white;
  }
.section1 {
    margin-top: 12px;
    width: 100%;
    background: radial-gradient(circle closest-side at 20% 20%,hsla(34, 44%, 69%, 0.6) 0,hsla(35, 20%, 69%, 0.1) 500%, rgba(255, 255, 255, 0)), url('../img/AdobeStock_269014286.jpeg') 0 0 / cover;
    border-radius: 3rem;
    padding: 2rem;
}
.section1 .subtitle, .aijidai {
    font-size: 1.4rem;
    text-align: center;
}
.section1 .title {
    font-size: clamp(1.45rem, 4.4vw, 3.35rem);
    line-height: 1.3;
    text-align: center;
    color: #AAA;
    text-shadow: -2px -2px 1px black, 0 0 30px #FCC;
}

.intro-video {
    margin: 2.5rem auto 0.5rem;
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
}
.intro-video-title {
    border-bottom: 2px solid #2d87f0;
    padding-bottom: 0.3em;
    margin: 0 auto 0.8em;
    font-size: 1.6rem;
    font-weight: 700;
    color: #AAA;
    text-shadow: -1px -1px 0.5px black;
    display: inline-block;
    width: auto;
    max-width: 100%;
}
.intro-video-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin: 0 auto 1.2em;
    max-width: 36em;
    padding: 0 0.5rem;
}
.intro-video-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    height: auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
.intro-video-wrap video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    background: #111;
}
.intro-video-wrap.is-fullscreen video {
    object-fit: contain;
    background: #000;
}
.intro-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4.2rem;
    height: 4.2rem;
    border: none;
    border-radius: 50%;
    background: rgba(58, 26, 26, 0.72);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
    z-index: 2;
}
.intro-video-play span {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.65rem 0 0.65rem 1.1rem;
    border-color: transparent transparent transparent #fff;
    margin-left: 0.25rem;
}
.intro-video-wrap:hover .intro-video-play {
    background: rgba(58, 26, 26, 0.9);
    transform: scale(1.06);
}
.intro-video-wrap.is-playing .intro-video-play {
    display: none;
}

.yt-videos {
    margin: 2.5rem auto 1rem;
    width: 100%;
    text-align: center;
}
.yt-videos-eyebrow {
    margin: 0 0 0.4em;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #888;
}
.yt-videos-title {
    border-bottom: 2px solid #2d87f0;
    padding-bottom: 0.3em;
    margin: 0 auto 0.8em;
    font-size: 1.6rem;
    font-weight: 700;
    color: #AAA;
    text-shadow: -1px -1px 0.5px black;
    display: inline-block;
    max-width: 100%;
}
.yt-videos-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin: 0 auto 0.8em;
    max-width: 40em;
    padding: 0 0.5rem;
}
.yt-videos-pickup {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #888;
}
.yt-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    text-align: left;
}
.yt-card {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}
.yt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}
.yt-card__thumb {
    position: relative;
    display: block !important;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
    float: none !important;
}
.yt-card__thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    display: block !important;
    float: none !important;
    transition: transform 0.35s ease;
}
.yt-card:hover .yt-card__thumb img {
    transform: scale(1.04);
}
.yt-card__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(58, 26, 26, 0.78);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}
.yt-card__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5rem 0 0.5rem 0.85rem;
    border-color: transparent transparent transparent #fff;
}
.yt-card:hover .yt-card__play {
    background: #c00;
}
.yt-card__body {
    display: flex !important;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem 1.2rem;
    float: none !important;
    width: 100%;
    box-sizing: border-box;
}
.yt-card__tag,
.yt-card__title,
.yt-card__desc {
    display: block !important;
}
.yt-card__tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d87f0;
}
.yt-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #333;
}
.yt-card__desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555;
}
.yt-videos-cta {
    margin-top: 1.4rem;
    text-align: center;
}

.section2 {
    height: 400px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.section2 .it-photo {
    background: url('../img/AdobeStock_610243250.png') no-repeat 0 0 / contain;
    width: 50%;
    border-radius: 3rem;
}
.section2 .realtime {
    width: 50%;
    padding: 3rem; 
}
.section2 .subtitle {
    text-align: left;   
    font-size: 1.4rem;
}
.blog-link {
    background-color: rgba(58, 26, 26, 0.508);
    border-radius: 1.5rem;
    width: 10%;
    min-width: 5rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    color: white;
    margin-top: auto
}
/* .consul-link {
    width: 15%;
    min-width: 7rem;
} */
.consul-link a, .blog-link a {
    color: white;
    text-decoration: none;
}
.section3 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: auto;
    gap:50px;
}
.section3 .box {
    width: 31%;
}
.section3 .circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
}
.section3 .sub-title {
    font-size: 1.4rem;
    text-align: center;
}
.section3 p {
    text-align: center;
}
.section3 .circle1 {
    background: url('../img/AdobeStock_1307336019.jpeg') 0 0 / cover;
}
.section3 .circle2 {
    background: url('../img/AdobeStock_1438832321.jpeg') 0 0 / cover;
}
.section3 .circle3 {
    background: url('../img/AdobeStock_574106993.jpeg') 50% 50% / 90% no-repeat;
    border: 1px solid rgba(58, 26, 26, 0.508);
}
.section3 .expla {
    text-align: left;
}
.section4 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    gap: 30px;
}
.section4 .kouritsuka {
    width: 50%;
    background-color:#D2B48C;
    padding: 2rem;
    border-radius: 3rem;
}
.section4 .enjoy {
    width: 100%;
    height: 40vw;
    background: url('../img/AdobeStock_712831308.jpeg') 0 0 / cover;
    border-radius: 3rem;
}
.section5 {
    position: relative;
    margin-top: 0;
    width: 100%;
    height: clamp(520px, 54vw, 820px);
    padding-top: 0;
    overflow: hidden;
    border-radius: 3rem;
}
.section5 .robot {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 150%; /* パララックス用に枠より高く（繰り返さない） */
    background: url('../img/AdobeStock_622350382.jpeg') center 18% / cover no-repeat;
    will-change: transform;
    pointer-events: none;
}  
/* PC版 section6 */
.section6 {
    margin-top: 0;
    height: auto;
    min-height: 740px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                url('../img/AdobeStock_923477470.jpeg') center/cover fixed;
    padding: 4rem;
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section6 .flex1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section6 .kirikae {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section6 .kirikae div {
    padding: 1rem 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.section6 .kirikae div.active {
    border-bottom-color: #1565c0;
    background: rgba(21, 101, 192, 0.1);
}

.section6 .flex2 {
    display: flex;
    gap: 3rem;
    position: relative;
    height: auto;
    align-items: center;
}

.section6 .circle {
    width: 35%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: url('../img/AdobeStock_648924248.jpeg') center/cover;
    flex-shrink: 0;
}

.section6 .expla {
    width: 60%;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.section6 .expla.active {
    opacity: 0.7;
    transform: translateX(0);
}

.section7 {
    background: #f8f5f0;
    padding: 2.5em 0;
  }
  
  .section7 .sub-title {
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 2em;
    letter-spacing: 0.05em;
    color: #533c1b;
  }
  
  .section7 .choice {
    display: flex;
    gap: 2em;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
  }
  
  .section7 .left {
    flex: 5;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .section7 .right {
    flex: 5;
    min-width: 0;
    background: url('../img/AdobeStock_862681567.jpeg') 60% center/cover no-repeat;
    border-radius: 18px;
    min-height: 420px;
    /* 高さはカードリストに合わせて調整 */
    box-shadow: 0 4px 16px rgba(210,180,140,0.15);
  }
  
  .section7 .reasons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.3em;
  }
  
  .section7 .reason-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(210,180,140,0.13);
    padding: 1.2em;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    position: relative;
    transition: box-shadow 0.2s;
  }
  
  .section7 .reason-card:hover {
    box-shadow: 0 6px 20px rgba(210,180,140,0.23);
  }
  
  .section7 .reason-number {
    min-width: 2.8em;
    min-height: 2em;
    padding: 0.2em 0.8em;
    background: rgba(210,180,140,0.5);
    color: #fff;
    font-weight: bold;
    font-size: 1.3em;
    border-radius: 2em / 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(210,180,140,0.17);
    margin-top: 0.1em;
    margin-right: 0.5em;
    font-family: 'Segoe UI', 'Meiryo', sans-serif;
  }
  
  .section7 .reason-text {
    font-size: 1.15em;
    color: #533c1b;
    font-weight: 500;
    margin-top: 0.1em;
    margin-bottom: 0.2em;
    flex-shrink: 0;
    z-index: 2;
  }
  
  .section7 .expla {
    display: inline-block;
    opacity: 0;
    width:  70%;
    overflow: hidden;
    white-space: pre-line;
    vertical-align: middle;
    background: #fff8f0;
    color: #7e5b2b;
    font-size: 0.98em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(210,180,140,0.13);
    margin-left: 0em;
    padding: 0.6em 1em;
    position: absolute;
    left: 6em;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 10;
  }
  
  .section7 .reason-card:hover .expla,
  .section7 .reason-card.active .expla,
  .section7 .reason-card:focus-within .expla {
    opacity: 1;
    /* max-width: 420px; */
    pointer-events: auto;
  }


.section8 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 650px;
    gap: 30px;
}
.section8 .screen {
    border-radius: 3rem;
    width: 30%;
    background: url('../img/AdobeStock_1058960661.jpeg') 60% 50% / cover no-repeat;
}
.section8 .client {
    width: 70%;
    padding: 2rem;
}
.section9 {
    width: 100%;
    background-color: rgba(58, 26, 26, 0.508);
    border-radius: 3rem;
    padding: 1rem;
}
.section9 .btn-wrap {
    width: 100%;
    height: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.section9 .btn {
    height: 100%;
    padding: 0 1rem;
    background-color: white;
    border-radius: 30px;
    text-align: center;
    line-height: 3rem;
}
.section9 .flex {
    margin: 3rem 3rem 1rem;
    height: 60%;
}
.section9 .wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    height: 100%;
}
.section9 .expla {
    height: 100%;
    width: 45%;
}
.section9 .photo {
    height: 20rem;
    width: 45%;
}
.section9 img {
    height: 100%;
    width: 100%;
}
.section9 .photo2 {
    background: url('../img/AdobeStock_.jpeg') 0 0 / cover;
}
.section9 .photo3 {
    background: url('../img/AdobeStock_.jpeg') 0 0 / cover;
}
.section9 .photo4 {
    background: url('../img/AdobeStock_.jpeg') 0 0 / cover;
}
.section9 .photo {
    background: url('../img/AdobeStock_.jpeg') 0 0 / cover;
}

.section9 .wrap2,.section9 .wrap3, .section9 .wrap4,.section9 .wrap5 {
    display: none;
}

.section10 .faq-table {
    width: 90%;
    margin-left: 5%;
    border-collapse: collapse;
    margin: 3rem 5%;
    font-size: 1rem;
}
.section10 .faq-table th, .faq-table td {
    padding: 16px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}
.section10 .faq-table th {
    background: #f5f7fa;
    width: 30%; /* タイトル側の幅 */
    font-weight: bold;
    color: #2c3e50;
}
.section10 .faq-table tr:nth-child(even) {
    background: #f9fbfd;
}
.section10 .faq-table tr:nth-child(odd) {
    background: #ffffff;
}
.section10 .answer-click {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(0deg 100% 50% / 0) 50%, hsl(300deg 100% 25%) 90%) 0 0 / 100% 100% no-repeat;
    border: 1px #AAA solid; 
    text-align: center;
    line-height: 2rem;
    cursor: pointer;
    user-select: none;
}
.section10 .answer {
    display: none;
    transition: all 0.3s ease;
    opacity: 0;
    color: #00F;
}
.section10 .answer.visible {
    display: table-row;
    opacity: 1;
}
  
.section11 {
    height: 500px;
    width: 100%;
    background: url('../img/AdobeStock_152613619.jpeg') 0 0 / cover;
    border-radius: 30px;
}
.section12 {
    position: relative;
    height: 500px;
    width: 100%;
    background:  url('../img/AdobeStock_394439449.jpeg') 0 100% / cover;
    border-radius: 30px;
}
.section12 .hatten {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 33%;
    height: auto;
    background: rgb(2, 13, 90);
    color: white;
    padding: 0.5rem 2rem;
}
.section12 .expla {
    color: white;
}
.kouza {
    position: relative;
    height: 12.5rem;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0,0,0,0)),  no-repeat 100% 30% / 100% url('../img/AdobeStock_1375277337.jpeg');
    border-radius: 30px;
    margin: 1rem 0;
    padding: 1rem 3rem;
}
.kouza .ikinuku {
    font-size: 1.4rem;
    padding: 0;
    margin: 0;
    color: white;
    text-shadow: -1px -1px 0.5px black;
}
.kouza .title {
    margin: 0;
    padding: 0;
    font-size: 4rem;
    color: white;
    text-shadow: -1px -1px 0.5px black;
}
.kouza .syoninzu-lesson {
    font-size: 2rem;
    color: white;
}
.kouza a.btn {
    background: rgba(58, 26, 26, 1);
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    transition: background-color 0.3s ease;
    border: 1px white solid;
    padding: 0.3em 1.5em;
}
.kouza a.btn:hover {
    background-color: rgba(58, 26, 26, 1);
}
.kouza .catch {
    color: white;
    font-style: italic;
}

.section13 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.section13 .left {
    width: 45%;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;
    background: rgba(58, 26, 26, 0.508);
    border-radius: 30px;
}
.section13 .email {
    width: 45%;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;
    background: #D2B48C;
    border-radius: 30px;
}
.section14 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.section14 .left {
    width: 45%;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;
    background: rgba(58, 26, 26, 0.508);
    border-radius: 30px;
    line-height: 3rem;
}
.section14 .wrap {
    width: 45%;
}
.section14 .address {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;
    background: #D2B48C;
    border-radius: 30px;
    margin-bottom: 1rem;
}
.section14 .tel {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;

    background: #D2B48C;
    border-radius: 30px;
}
  .dx-diagnosis-section {
    background: #f6faff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(70,120,160,0.09);
    padding: 2.5em 3em 2.2em 3em;
    max-width: 780px;
    margin: 2.5em auto;
  }
  .dx-diagnosis-section h2 {
    color: #1a73e8;
    text-align: center;
    font-size: 1.55em;
    margin-bottom: 0.7em;
    line-height: 1.4;
  }
  .dx-diagnosis-section h2 span {
    font-weight: normal;
    font-size: 0.93em;
  }
  .dx-diagnosis-btn-wrap {
    text-align: center;
    margin: 2.1em 0 1.6em 0;
  }
  .dx-diagnosis-btn {
    display: inline-block;
    background: linear-gradient(90deg, #197ee6, #27b6b8);
    color: #fff;
    font-size: 1.16em;
    font-weight: bold;
    padding: 1.18em 3.2em;
    border-radius: 9px;
    text-decoration: none;
    box-shadow: 0 3px 12px #aed7ef;
    letter-spacing: 0.5px;
    line-height: 1.3;
    vertical-align: middle;
    transition: background 0.15s;
    position: relative;
    border: none;
    cursor: pointer;
  }
  .dx-diagnosis-btn:hover,
  .dx-diagnosis-btn:focus {
    background: linear-gradient(90deg,#27b6b8,#197ee6);
    color: #fff;
  }
  .dx-diagnosis-btn .icon-left {
    margin-right: 0.7em;
    font-size: 1.26em;
    vertical-align: middle;
  }
  .dx-diagnosis-btn .icon-right {
    margin-left: 0.7em;
    font-size: 1.17em;
    vertical-align: middle;
  }
  .dx-diagnosis-desc {
    color: #27505a;
    font-size: 1.09em;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .dx-diagnosis-desc .strong {
    color: #1aab8f;
    font-weight: bold;
  }
.SP {
    display: none;
}
.to-top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    padding: 12px 20px;
    font-size: 16px;
    background: #0078d7;
    color: #fff;
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0.8;
    z-index: 9999;
    display: none; /* 最初は非表示 */
    transition: opacity 0.3s;
}
.to-top-btn:hover {
    opacity: 1;
}
   
  
@media screen and (max-width: 767px) {
    * {
        font-size: 1.12rem;
    }
    .container {
        width: 99%;
        min-width: 0;
        margin-left: 0.5%;
        padding: 0 0.1rem;
    }
    .sub-title {
        font-size: 1.6rem;
        text-align: center;
    }
    .header .renraku {
        width: 30%;
    }
    .section1 {
        background: radial-gradient(circle closest-side at 20% 20%,hsla(34, 44%, 69%, 0.6) 0,hsla(35, 20%, 69%, 0.1) 500%, rgba(255, 255, 255, 0)), url('../img/AdobeStock_269014286.jpeg') 60% 0 / cover;
    }
    .section1 .title {
        font-size: clamp(1.05rem, 6vw, 1.7rem);
    }
    .section1 .aijidai {
        font-size: 0.95rem;
        line-height: 1.55;
    }
    .intro-video {
        margin-top: 1.5rem;
        max-width: 100%;
        padding: 0 0.25rem;
    }
    .intro-video-title {
        font-size: 1.35rem;
    }
    .intro-video-lead {
        font-size: 0.98rem;
        margin-bottom: 1em;
    }
    .intro-video-wrap {
        max-width: 100%;
        border-radius: 1rem;
    }
    .intro-video-play {
        width: 3.6rem;
        height: 3.6rem;
    }
    .yt-videos-title {
        font-size: 1.35rem;
    }
    .yt-videos-lead {
        font-size: 0.98rem;
    }
    .yt-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .yt-card__title {
        font-size: 1rem;
    }
    .yt-card__desc {
        font-size: 0.9rem;
    }
    section.mvv, section.greeting {
        padding: 1rem;
    }
    section.mvv ul {
        flex-direction: column;
        align-items: center;
      }
      section.mvv ul li {
        flex: none;
        width: 80%;
      }
    .section2 {
        height: auto;
        flex-direction: column;
    }
    .section2 .it-photo {
        width: 100%;
        height: 300px;
    }
    .section2 .realtime {
        width: 100%;
        padding: 1rem;
    }
    .section3 {
        flex-direction: column;
    }
    .section3 .box {
        width: 100%;
    }
    .section4 {
        flex-direction: column;
    }
    .section4 .kouritsuka {
        width: 100%;
    }
    .section4 .enjoy {
        width: 100%;
        height: 80vw;
    }
    .section5 {
        height: clamp(360px, 70vw, 520px);
        border-radius: 1.5rem;
    }
    .section5 .robot {
        height: 145%;
        background: url('../img/AdobeStock_622350382.jpeg') center 15% / cover no-repeat;
    }
    .section6 {
        height: auto;
        min-height: 1050px;
        overflow: hidden;
        padding: 0.5rem;
        background: linear-gradient(rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.8)), url('../img/AdobeStock_923477470.jpeg') 70% 0 / cover;
    }
    .section6 .sub-title {
        margin: 1rem 0;
    }
    .section6 .flex1 {
        flex-direction: column;
    }
    .section6 .kirikae {
        width: 100%;
        height: auto;
    }
    .section6 .fit-text {
        width: 32%;
        text-align: center;
    }
    .section6 .flex2 {
        position: relative;;
        height: 640px;
        flex-direction: column;
    }
    .section6 .circle {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translate(-50%, 0);
        width: 70vw;
        height: 70vw;
        margin: 1rem auto;
        order: 2;
        z-index: 10;
    }
    .section6 .expla {
        margin-left: 0;
        width: 100%;
        height: 100%;
        order: 1;
    }
    .section7 .choice {
        flex-direction: column;
        gap: 1.2em;
      }
    .section7 .left,
    .section7 .right {
    flex: unset;
    width: 100%;
    min-width: 0;
    }
    .section7 .right {
    min-height: 180px;
    margin-top: 1.2em;
    border-radius: 10px;
    }
    .section7 .reasons-list {
    gap: 1em;
    }
    .section7 .reason-card {
    flex-direction: row;
    padding: 1em 0.8em 1em 0.8em;
    }
    .section7 .expla {
        font-size: 0.8rem;
    }
    .section8 {
        height: auto;
        flex-direction: column;
    }
    .section8 .screen {
        height: 300px;
        width: 100%;
    }
    .section8 .client {
        width: 100%;
        padding: 0.5rem;
    }
    .section9 {
        position: relative;
        height: 900px;
    }
    .section9 .btn-wrap {
        display: flex;
        flex-direction: row;
        gap: 8px; /* ボタン間の隙間 */
        justify-content: space-between;
        height: auto;
        align-items: stretch;
        width: 100%;
        overflow-x: auto; /* 横に多い場合スクロール */
        padding: 8px 0;
    }
    
    .section9 .btn {
        writing-mode: vertical-lr;        /* 正しい縦書き方向 */
        text-orientation: upright;        /* 文字を正しい向きに */
        background: #FFF;
        border-radius: 0.5rem;
        padding: 1rem 0;
        min-width: 40px;                  /* 最小幅 */
        height: auto;                    /* 縦長に調整 */
        text-align: center;
        font-size: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        border: none;
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
    }
    .section9 .btn:hover {
        background: #1565c0;
    }
    .section9 .flex {
        height: auto;
        margin: 1rem 0.5rem;
    }
    .section9 .wrap {
        position: relative;
        height: 520px;
        flex-direction: column;
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
        transform: translateY(20px);
    }
    .section9 .wrap.active {
        opacity: 1;
        transform: translateY(0);
    }
    .section9 .expla {
        width: 100%;
    }
    .section9 .photo {
        position: absolute;
        width: 100%;
        height: 50vw;
        bottom: 1rem;
    }
    .section11 {
        height: 60vw;
        width: 100%;
        background: url('../img/AdobeStock_152613619.jpeg') 50% 0 / cover;
    }
    .section12 .hatten {
        top: 1.5rem;
        right: 0.5rem;
        width: 55%;
        padding: 0.5rem;
    }
    .section12 .sub-title {
        margin: 0rem;
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
    .section12 .expla {
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    .kouza {
        padding: 0.5rem 1rem;
    }
    .kouza .title {
        font-size: 1.7rem;
    }
    .kouza .syoninzu-lesson {
        font-size: 1rem;
    }
    .section13 {
        display: block;
    }
    .section13 .email {
        margin-top: 10px;
        width: 100%;
        font-size: 0.8rem;
    }
    .section14 {
        display: block;
    }
    .section14 .address {
        text-decoration: none;
    }
    .section14 .wrap {
        margin-top: 10px;
        width: 100%;
        font-size: 0.8rem;
    }
    .dx-diagnosis-section {
      padding: 1.3rem 0.6rem 1.1rem 0.6rem;
      max-width: 98vw;
      margin: 1.3rem auto;
    }
    .dx-diagnosis-section h2 {
      font-size: 1.4rem;
      padding-left: 0.2rem;
      padding-right: 0.2rem;
      /* word-break: keep-all; */
    }
     .dx-diagnosis-btn-wrap {
      width: 100%;
     }
.dx-diagnosis-btn {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.80rem 0.2rem;
  width: 90%;
  max-width: 340px;
  margin: 0 auto;
  /* 以下は自由に */
  background: linear-gradient(90deg, #197ee6, #27b6b8);
  color: #fff;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 3px 12px #aed7ef;
  letter-spacing: 0.5px;
  transition: background 0.15s;
  border: none;
}

    .dx-diagnosis-btn .icon-left,
    .dx-diagnosis-btn .icon-right {
      font-size: 1.15rem;
      margin-right:0.1rem; margin-left:0.1rem;
    }
    .dx-diagnosis-desc {
      font-size: 0.98rem;
      padding-left: 0.2rem;
      padding-right: 0.2rem;
      max-width: 97vw;
      word-break: break-all;
    }
    .SP {
        display: block;
    }   
}

/* 旧 indexNEW.css。土台のあとに続ける。 */
/* indexNEW.php だけ。公開中の index.css は触らない。 */

.spread {
    display: grid;
    grid-template-columns: 1.15fr minmax(18rem, 0.85fr);
    margin-top: 2.75rem;
    background: #fff;
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(58, 26, 26, 0.1);
    min-height: 28rem;
}
.spread img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
    float: none;
}
.spread--flip {
    grid-template-columns: minmax(18rem, 0.85fr) 1.15fr;
}
.spread--flip img {
    order: 2;
}
.spread img.spread__illust {
    object-fit: contain;
    object-position: center;
    background: #eef2fb;
    padding: 0;
}
.spread__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.2rem 2rem 2.4rem;
}
.spread__kicker {
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2d87f0;
}
.spread__copy h2 {
    margin: 0 0 0.8rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #2d87f0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    color: #888;
    text-shadow: -1px -1px 0.5px black;
}
.spread__copy p {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}
.spread__copy .btn {
    align-self: flex-start;
    margin-top: 0.4rem;
}
.spread__catch {
    margin: 0 0 0.95rem;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.55;
    color: #1a4f8b;
}
.spread__copy p.spread__rev {
    margin: 0.7rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1a4f8b;
}

.os-plan {
    margin-top: 4.5rem;
    padding: 2rem 1.4rem 1.8rem;
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 8px 24px rgba(58, 26, 26, 0.06);
}
.os-plan__kicker {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2d87f0;
    text-align: center;
}
.os-plan h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.45;
    color: #888;
    text-shadow: -1px -1px 0.5px black;
    text-align: center;
}
.os-plan__lead,
.os-plan__close {
    max-width: 40rem;
    margin: 0.9rem auto 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    text-align: center;
}
.os-visual {
    display: grid;
    gap: 1.15rem;
    max-width: 52rem;
    margin: 1.5rem auto 0;
}
.os-layer {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 1.15rem;
    box-shadow: 0 8px 22px rgba(20, 40, 70, 0.08);
}
.os-layer__head {
    padding: 0 1rem 0.85rem;
    text-align: center;
}
.os-layer--dash .os-layer__head { background: #e37f28; }
.os-layer--apps .os-layer__head { background: #188a4c; }
.os-layer--master .os-layer__head { background: #0a6fd5; }
.os-layer--base .os-layer__head {
    background: #0c2340;
    padding-top: 0.85rem;
}
.os-layer__head img {
    display: block;
    width: calc(100% + 2rem);
    max-width: none;
    height: auto;
    margin: 0 -1rem 0.45rem;
    float: none;
}
.os-layer__head h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: #fff;
}
.os-layer__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
}
.os-layer__bar h3 {
    grid-column: 2;
}
.os-badge {
    grid-column: 3;
    justify-self: end;
    margin: 0;
    padding: 0.28rem 0.65rem;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 0.65rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.os-badge span {
    display: block;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
}
.os-glyphs,
.os-apps,
.os-chips,
.os-checks,
.os-stages {
    list-style: none;
    margin: 0;
    padding: 0;
}
.os-glyphs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 0.35rem;
    padding: 0.95rem 0.6rem 0.35rem;
}
.os-glyphs li,
.os-stages li {
    margin: 0;
}
.os-glyphs li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: calc((100% - 1.05rem) / 4);
}
.os-layer--master .os-glyphs li {
    width: calc((100% - 2.1rem) / 7);
}
.os-layer--base .os-glyphs li {
    width: calc((100% - 1.4rem) / 5);
}
.os-glyphs img,
.os-stages img {
    float: none;
}
.os-glyphs img {
    width: 3.5rem;
    height: 3.5rem;
}
.os-glyphs span {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    color: #243044;
    text-align: center;
}
.os-chips,
.os-checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 1rem 1.05rem;
}
.os-chips li,
.os-checks li {
    margin: 0;
    min-height: 2.7rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}
.os-chips li {
    display: flex;
    align-items: center;
    justify-content: center;
}
.os-chips li {
    border-radius: 999px;
    background: #fff4e8;
    color: #8a4510;
}
.os-checks li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0.35rem;
    padding-left: 0.35rem;
    color: #143a66;
    font-size: 0.88rem;
    text-align: center;
}
.os-apps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.9rem 1rem 1.05rem;
}
.os-apps li {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.35rem 0.4rem;
    border-radius: 0.7rem;
    background: #188a4c;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.os-grow {
    max-width: 52rem;
    margin: 1.2rem auto 0;
}
.os-grow__label {
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1a4f8b;
    text-align: center;
}
.os-stages {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
}
.os-stages li {
    width: auto;
    margin: 0;
}
.os-stages img {
    display: block;
    width: 100%;
    height: auto;
}
.os-plan__close {
    margin-top: 1.2rem;
    font-weight: 700;
    color: #1a4f8b;
}

.dx-pack {
    margin-top: 4.5rem;
    padding: 2rem 1.4rem 1.8rem;
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 8px 24px rgba(58, 26, 26, 0.06);
}
.dx-pack__kicker {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2d87f0;
    text-align: center;
}
.dx-pack h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.45;
    color: #888;
    text-shadow: -1px -1px 0.5px black;
    text-align: center;
}
.dx-pack__lead,
.dx-pack__note {
    max-width: 40rem;
    margin: 0.9rem auto 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    text-align: center;
}
.dx-pack__cols,
.dx-pack__list {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.dx-pack__cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr);
    gap: 0.45rem;
    margin-top: 1.35rem;
}
.dx-pack__cols p {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1a4f8b;
    text-align: center;
}
.dx-pack__list {
    list-style: none;
    margin-top: 0.45rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.dx-pack__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr);
    align-items: stretch;
    gap: 0.45rem;
    width: auto;
    margin: 0;
}
.dx-pack__from,
.dx-pack__to {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    font-size: 0.98rem;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dx-pack__from {
    background: #fff7f0;
    border: 1px solid #f0d2b6;
    color: #3a2a22;
    box-shadow: 0 6px 16px rgba(180, 90, 30, 0.06);
}
.dx-pack__to {
    background: #f3f7ff;
    border: 1px solid #c9daf5;
    color: #16325c;
    box-shadow: 0 6px 16px rgba(10, 80, 170, 0.06);
}
.dx-pack__to strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0a6fd5;
}
.dx-pack__tag {
    display: none;
}
.dx-pack__arrow {
    align-self: center;
    width: 3.2rem;
    height: 1.15rem;
    justify-self: center;
    background: linear-gradient(90deg, #e37f28, #0a6fd5);
    clip-path: polygon(0 38%, 62% 38%, 62% 8%, 100% 50%, 62% 92%, 62% 62%, 0 62%);
}
.dx-pack__cta {
    margin: 1.3rem 0 0;
    text-align: center;
}
.dx-pack__cta .btn {
    margin-top: 0;
}

.dx-slides {
    margin-top: 2.4rem;
}
.dx-slides h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    color: #888;
    text-shadow: -1px -1px 0.5px black;
    text-align: center;
}
.dx-slides__lead {
    margin: 0.55rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    text-align: center;
}
.dx-slides__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: 980px;
    margin: 1rem auto 0;
}
.dx-slide {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 0.7rem;
}
.dx-slide:focus-visible {
    outline: 3px solid #2d87f0;
    outline-offset: 3px;
}
.dx-slides img {
    display: block;
    width: 100%;
    height: auto;
    float: none;
    border-radius: 0.7rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(58, 26, 26, 0.1);
}
.dx-lightbox {
    width: min(960px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 0.55rem 0.55rem 0.7rem;
    border: 0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.dx-lightbox::backdrop {
    background: rgba(20, 24, 32, 0.72);
}
.dx-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 5.5rem);
    object-fit: contain;
    float: none;
    border-radius: 0.6rem;
    background: #fff;
}
.dx-lightbox__close {
    display: block;
    margin: 0 0 0.4rem auto;
    padding: 0.25rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: #f2f4f8;
    font-size: 0.9rem;
    font-weight: 700;
    color: #243044;
    cursor: pointer;
}

.manifesto {
    margin-top: 4.5rem;
    padding: 3.2rem 1.5rem;
    border-radius: 1.6rem;
    background:
        linear-gradient(rgba(58, 26, 26, 0.78), rgba(58, 26, 26, 0.72)),
        url('../img/AdobeStock_712831308.jpeg') center / cover;
    text-align: center;
}
.manifesto p {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.7;
    color: #fdf8f2;
}

.ways-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.ways-list li {
    background: #f4f7fb;
    border-radius: 12px;
    padding: 1rem 1.1rem 1.15rem;
}
.ways-list strong {
    display: block;
    font-size: 1.15rem;
    color: #3a1a1a;
    margin-bottom: 0.45rem;
}
.ways-list span {
    display: block;
    font-size: 1rem;
    line-height: 1.65;
    color: #333;
}

.portrait {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.4rem 1.5rem;
    align-items: center;
    max-width: 52rem;
    margin: 1.6rem auto 0;
    background: #fff;
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.3rem 1.5rem 1.1rem 1.2rem;
}
.portrait img {
    display: block;
    width: 7.5rem;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    float: none;
    justify-self: center;
}
.portrait__name {
    margin: 0 0 0.7rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3a1a1a;
}
.portrait__copy {
    padding: 0.15rem 0.2rem 0 0.3rem;
}
.portrait__copy h2 {
    margin: 0 0 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #2d87f0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #888;
    text-shadow: -1px -1px 0.5px black;
}
.portrait__copy p {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}

.consult-line {
    text-align: center;
    margin: 2.5rem 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}
.consult-line a {
    color: #2d87f0;
    font-weight: 700;
}

@media screen and (max-width: 980px) {
    .spread,
    .spread--flip,
    .portrait,
    .ways-list {
        grid-template-columns: 1fr;
    }
    .spread--flip img {
        order: 0;
        justify-self: stretch;
        max-width: none;
    }
    .spread img,
    .portrait img {
        min-height: 0;
        max-height: none;
    }
    .portrait {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: left;
    }
    .portrait img {
        width: 6.5rem;
    }
    .manifesto p {
        font-size: 1.25rem;
    }
}
@media screen and (max-width: 720px) {
    .dx-slides__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .os-plan {
        padding: 1.3rem 0.85rem 1.2rem;
    }
    .os-plan h2 {
        font-size: 1.35rem;
    }
    .os-layer__head h3 {
        font-size: 1.05rem;
    }
    .os-layer__bar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .os-badge {
        justify-self: auto;
    }
    .os-layer--dash .os-glyphs li,
    .os-layer--master .os-glyphs li {
        width: calc((100% - 1.05rem) / 4);
    }
    .os-layer--base .os-glyphs li {
        width: calc((100% - 0.7rem) / 3);
    }
    .os-apps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .os-chips,
    .os-checks {
        grid-template-columns: 1fr;
    }
    .os-stages {
        grid-template-columns: 1fr;
        max-width: 16rem;
        margin-left: auto;
        margin-right: auto;
    }
    .dx-pack {
        padding: 1.3rem 0.85rem 1.2rem;
    }
    .dx-pack h2 {
        font-size: 1.35rem;
    }
    .dx-pack__cols {
        display: none;
    }
    .dx-pack__list li {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .dx-pack__from,
    .dx-pack__to {
        width: 100%;
    }
    .dx-pack__tag {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: #1a4f8b;
    }
    .dx-pack__arrow {
        width: 1.15rem;
        height: 2.6rem;
        margin: 0.15rem 0;
        background: linear-gradient(180deg, #e37f28, #0a6fd5);
        clip-path: polygon(38% 0, 62% 0, 62% 58%, 92% 58%, 50% 100%, 8% 58%, 38% 58%);
    }
}
