// /* スマホ用(最大幅450px) */ @media (max-width: 450px) { .sp-layout { display: block; } .pc-layout { display: none; } } /* PC用(451px以上) */ @media (min-width: 451px) { .sp-layout { display: none; } .pc-layout { display: block; } } body { margin: 0; padding: 0; } header { display: flex; align-items: center; margin: 0 20px; .logo { img { width: 80px; @media (min-width: 451px) { width:140; } } } h4 { margin-top: 10px; @media (min-width: 451px) { font-size: 17px; } } } .top { color: #ffffff; top: 0; background-image: linear-gradient(rgba(0, 0, 0, 0.551), rgba(255, 255, 255, 0.3)), url(/img/js-top.jpg); background-size: cover; background-position: center; width: 100%; h2 { font-size: 30px; margin: 0 20px; padding-top:200px; @media (min-width: 451px) { font-size: 40px; text-align: center; } } p { @media (min-width: 451px) { font-size: 18px; text-align: center; } padding-bottom: 200px; margin: 0 20px; } } .main { padding: 100px 0; text-align: center; margin: 30px 10px; p { @media (min-width: 451px) { font-size: 20px; } font-size: 12px; margin-bottom: 30px; } .note { padding :10px 20px; text-align: center; background: #ffd000; p { font-size: 12px; @media (min-width: 451px) { font-size: 20px; } } img { width: 100px; } } .note2 { margin: 30px 20px; h3 { font-size: 14px; @media (min-width: 451px) { font-size: 35px; } } p { font-size: 10px; @media (min-width: 451px) { margin:80px; font-size: 20px; } } img { width: 100%; } .note-red { .note-red-text { background: #ff0000; color: #ffffff; padding: 20px; font-weight: bold; @media (min-width: 451px) { font-size: 30px; } } img { width: 60%; } } .note-data-text { font-size: 1.3em; @media (min-width: 451px) { font-size: 30px; font-weight: bold; } } .note-data-text2 { margin: 0 auto; width: 90%; @media (min-width: 451px) { } p { @media (min-width: 451px) { margin: 100px; } } } } .note3 { h2 { font-size: 1.2em; @media (min-width: 451px) { font-size: 30px; } } .note3-top-text { @media (min-width: 451px) { font-size: 18px; } font-size: .7em; } padding: 10px; background: #ff8c0024; .note3-item { background: #fff; padding: 16px; } .note3-item { display: flex; align-items: center; justify-content: center; img { width: 48%; } h4 { font-size: .8em; background: #ffea00; @media (min-width: 451px) { font-size: 30px; } } p { font-size: .7em; @media (min-width: 451px) { font-size: 20px; } } } } } .service { @media (min-width: 451px) { padding:60px 30px; } margin: 20px 0; h3 { @media (min-width: 451px) { font-size: 35px; } width: 60%; margin: 10px auto; font-size: 25px; border-bottom:1px solid #ffd000; } text-align: center; padding: 20px; .service-tops { background: #fff; img { width: 100%; } } .service-item1 { @media (min-width: 451px) { padding-bottom: 0; } h4 { @media (min-width: 451px) { font-size: 20px; padding: 20px; } border-bottom: 1px solid #ffa600; padding: 16px ; margin: 0 auto; font-size: 20px; } p { @media (min-width: 451px) { font-size: 14px; font-weight: bold; } margin: 10px auto; background-color: #ffffffbd; padding: 10px; font-size: 14px; } } .service-item2 { @media (min-width: 451px) { } h4 { @media (min-width: 451px) { font-size: 20px; padding: 20px; } border-bottom: 1px solid #ffa600; padding: 16px ; margin: 0; font-size: 20px; } p { @media (min-width: 451px) { font-size: 14px; font-weight: bold; } margin: 10px auto; background-color: #ffffffbd; padding: 10px; font-size: 14px; } } .service-item3 { @media (min-width: 451px) { } h4 { @media (min-width: 451px) { font-size: 20px; padding: 20px; } border-bottom: 1px solid #ffa600; padding: 16px ; margin: 0; font-size: 20px; } p { @media (min-width: 451px) { font-size: 14px; font-weight: bold; } margin: 10px auto; background-color: #ffffffbd; padding: 10px; font-size: 14px; } } } // スライダー .slider-container { h4 { font-size: 25px; @media (min-width: 451px) { font-size: 35px; } } width: 100%; overflow: hidden; position: relative; } .slider { display: flex; width: 60%; /* 5枚分 */ animation: slide 15s infinite; } .slide { width: 100%; flex-shrink: 0; } .slide img { @media (min-width: 451px) { width:90%; height: 450px; } width: 97%; height: 170px; display: block; } @keyframes slide { 0% { transform: translateX(0); } 20% { transform: translateX(0); } 25% { transform: translateX(-100%); } 45% { transform: translateX(-100%); } 50% { transform: translateX(-200%); } 70% { transform: translateX(-200%); } 75% { transform: translateX(-300%); } 95% { transform: translateX(-300%); } 100% { transform: translateX(-400%); } } .message { margin-top: 60px; padding-bottom: 30px; background: #ffb743; img { width: 100%; } h5 { font-size: 20px; @media (min-width: 451px) { font-size: 40px; } } p { margin: 16px; font-size: 14px; text-align: left; @media (min-width: 451px) { font-size: 24px; } } } .price { margin: 80px 20px; @media (min-width: 451px) { margin:40px; text-align: center; } h3 { @media (min-width: 451px) { font-size: 30px; } text-align: center; font-size: 30px; } p { margin-bottom: 20px; @media (min-width: 451px) { font-size: 22px; margin: 50px; } } img { width: 100%; @media (min-width: 451px) { width:90%; height: 450px; } } } .contact-business { padding: 32px 16px; background: linear-gradient(135deg, #f3f6fc 0%, #ffffff 60%); } .contact-business__inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; } @media (max-width: 768px) { .contact-business__inner { grid-template-columns: minmax(0, 1fr); } } .contact-business__column { background: #ffffff; border-radius: 16px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); border: 1px solid rgba(226, 232, 240, 0.9); } .contact-business__column--contact { border-left: 4px solid #d0971d; } .contact-business__title { margin: 0 0 6px; font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; } .contact-business__title-icon { font-size: 22px; } .contact-business__lead { margin: 0 0 16px; font-size: 13px; color: #6b7280; } .contact-business__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; } @media (max-width: 640px) { .contact-business__chips { grid-template-columns: minmax(0, 1fr); } } .cb-chip { background: #f9fafb; border-radius: 10px; padding: 9px 10px; border: 1px solid #e5e7eb; font-size: 13px; display: flex; flex-direction: column; gap: 4px; } .cb-chip__label { font-size: 11px; color: #6b7280; display: flex; align-items: center; gap: 6px; letter-spacing: 0.06em; } .cb-chip__icon { font-size: 13px; } .cb-chip__value { font-weight: 600; word-break: break-all; } .cb-chip__value a { color: inherit; text-decoration: none; font-size: 10px; @media (min-width: 451px) { font-size: 16px; } } .cb-chip__value a:hover { text-decoration: underline; } .contact-business__cta { margin: 0 auto; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #ffb701; color: #252525; font-size: 13px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px rgba(29, 127, 208, 0.45); transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease; } .contact-business__cta-icon { font-size: 16px; } .contact-business__cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(29, 127, 208, 0.55); opacity: 0.95; } /* 事業内容側 */ .contact-business__subtitle { margin: 0 0 10px; font-size: 16px; font-weight: 600; border-bottom: 1px solid #e5e7eb; padding-bottom: 6px; } .contact-business__list { margin: 0 0 10px; padding-left: 18px; font-size: 13px; } .contact-business__list li + li { margin-top: 4px; } .contact-business__note { margin: 0; font-size: 12px; color: #6b7280; } /* フッター全体 */ .site-footer { background: #ffd097; /* 濃いネイビーで締める */ color: #000000; padding: 24px 16px 16px; border-top: 4px solid #f97316; /* オレンジライン */ font-size: 13px; } /* 内側レイアウト */ .footer-inner { max-width: 1100px; margin: 0 auto 16px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; } /* 左:ロゴ+社名 */ .footer-brand { display: flex; align-items: center; gap: 12px; min-width: 220px; } .footer-brand .logo img { display: block; height: 40px; width: auto; border-radius: 6px; border: 2px solid #f97316; /* ロゴをオレンジで囲う */ } .brand-text h4 { margin: 0 0 2px; font-size: 15px; font-weight: 700; } .brand-sub { margin: 0; font-size: 12px; color: #000000; /* 薄めのオレンジ */ font-weight: bold; } /* 右:情報ブロック群 */ .footer-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; flex: 1; } @media (max-width: 900px) { .footer-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .footer-inner { flex-direction: column; } .footer-blocks { grid-template-columns: minmax(0, 1fr); } } /* 各ブロック */ .footer-block h5 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #000000; /* 見出しを淡いオレンジに */ border-left: 3px solid #f97316; padding-left: 6px; } .footer-block p { margin: 0 0 4px; line-height: 1.6; } .footer-contact-line a { color: #000000; text-decoration: none; } .footer-contact-line a:hover { color: #000000; } /* 事業内容リスト */ .footer-services { margin: 0; padding-left: 16px; list-style: disc; } .footer-services li + li { margin-top: 3px; } /* 下段:コピーライト */ .footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(248, 250, 252, 0.16); padding-top: 8px; text-align: center; font-size: 11px; color: #000000; }