.metal-text {
	font-weight: bold;
	color: transparent;
	background: repeating-linear-gradient(
		15deg,
		#804a00 calc(0.4em * 0.7),
		#b08d55 calc(0.8em * 0.7),
		#ffcc99 calc(1.2em * 0.7),
		#b08d55 calc(1.6em * 0.7),
		#804a00 calc(2.0em * 0.7)
	);
	-webkit-background-clip: text;
	background-clip: text;
}


/* ==========================================================
   NSK ナイフカッティングLP - cutlpages.css
   ========================================================== */

:root {
    --navy-deep: #001E4F;
    --navy: #002F79;
    --navy-mid: #193661;
    --navy-light: #184489;
    --accent: #DE0408;
    --accent-dark: #C94F1F;
    --off-white: #F5F5FA;
    --text-dark: #1B1B1B;
    --text-gray: #55575E;
    --border-light: #E4E4E0;
    --radius: 4px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.lp-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 30px;
}

.lp-sections { padding: 32px 0; }
.lp-section { padding: 72px 0; }

.lp-eyebrow {
    font-size: 16px;
    letter-spacing: 0.15em;
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}
p.lp-eyebrow.bkwhite {
	color: #5978AA;
}

.lp-eyebrow--dark { color: var(--navy); }
.lp-eyebrow--dark.bigwhite { color: white; }

.lp-section__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 32px;
    color: white;
}

h2.lp-section__title{
	color: #00307a;
}

.lp-why h2.lp-section__title{
	color: white;
}

.lp-section__title--light { color: #00307a; }


.lp-section__lead {
    font-weight: 700;
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: .85; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--outline { background: #002f79; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn--wide { display: block; width: 100%; text-align: center; border: none; cursor: pointer; font-size: 16px; }

/* Hero */
.lp-hero {
    background: linear-gradient(160deg, var(--navy-deep), var(--navy-mid));
    color: #fff;
    padding: 64px 0 88px;
  
}

/* Hero（親要素） */
.lp-hero {
    background: url('../lp/cutlpages/zero5.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    color: #fff;
    padding: 40px 0 88px;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1; /* 中の文字を正しく前面に出すための基準 */
}

/* 擬似要素を使って、背景画像「だけ」を斜めに切り抜いて配置する */
.lp-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* ABD側の綺麗なネイビーのグラデーション */
    background: #00307A;
    
    /* 【左上・ABD側】だけを紺色に残すための切り抜き設定 */
    clip-path: polygon(0 0, 90% 0, 20% 100%, 0 100%);
    
    /* 画像の上、文字の後ろに配置 */
    z-index: 1; 
}
.lp-container {
    position: relative;
    z-index: 2; /* 紺色マスクや画像よりも手前に表示して文字を読ませる */
}

.lp-hero__logo {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.lp-hero .lp-eyebrow { color: #B9C2D6; }
.lp-hero__title {
    font-size: 40px;
    line-height: 1.4;
    font-weight: 800;
    margin: 16px 0 20px;
}
.lp-hero__lead {
    font-size: 17px;
    color: #98ABC9;
    text-shadow: 1px 1px 2px #07295f;
}

.top2button{
    font-size: 12px;
    color: white;
    background-color: rgba(24, 68, 138, 0.8);
    padding: 15px 20px;
    width: 73%;
}

.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* About */
.lp-about{ background-color: #001E4F; }

.lp-eyebrow--white { color: white; border: 1px solid white; width: 20%; max-width: 170px; padding: 7px 23px; float: left; margin-right: 5%;}
.lp-about__text { margin-bottom: 16px; color: white; float: left; font-size: 13px; width: 70%;}

.lp-link { color: var(--accent); font-weight: 700; }

/* Why (VS cards) */
.lp-why { background: #00307A; }
.lp-why__grid {
    padding: 15px 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background-color: #184489;
}
.lp-card {
    border: 1px dotted var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.lp-card__thumb {
    height: 160px;
    background: var(--navy-light);
    background-size: cover;
    background-position: center;
}
.lp-card__tag {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin: 16px 0 8px 12px;
}
.lp-card__title {
    font-size: 14px;
    margin: 20px 20px 12px;
	font-weight: 500;
    line-height: 18px;
    color: white;
}
.lp-card__text {
    font-size: 13px;
    color: #C2D6F5;
    margin: 0 20px 20px;
}

/* Materials */
.lp-materials { background-color: #002F79; }

.lp-materials .lp-container{ background-color: white; padding-top: 30px; padding-bottom: 50px; }

.lp-materials__text { max-width: 860px; color: var(--text-gray); margin-bottom: 24px; font-size: 13px;}
.lp-materials__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-materials__thumb {
    border-radius: var(--radius);
    background: var(--off-white);
    border: 1px solid var(--border-light);
}

/* Pain points */
.lp-pain { background: #F5F6FA; color: navy; }
.lp-pain .lp-eyebrow { color: var(--accent); }
.lp-pain__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background-color: white;
}
.lp-pain__item {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 24px;
}
.lp-pain__no {
    display: inline-block;
    font-size: 30px;
    font-weight: 600;
}
.lp-pain__title { font-size: 14px; margin: 0 0 8px; }
.lp-pain__text { font-size: 12px; color: #030303; margin: 0; }

/* Approach */
.lp-approach { background: #001E4F; color: #fff; }
.lp-approach__lead { font-size: 14px; color: #C7CEDF; max-width: 760px; margin-bottom: 32px; }
.lp-approach__points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.lp-approach__point {
    background: #183D78;
    border-left: 4px solid white;
    padding: 2px 20px;
}
.lp-approach__point-no {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}
.lp-approach__points .lp-approach__point p { margin: 4px 0 8px; font-size: 13px;}

/* Cases */
#cases { background-color: #002F79; }
#cases .lp-eyebrow--dark { color: #708AB4; }
#cases h2 {color: white; }

.lp-cases__grid {
	background-color: #184489;
	padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-cases__thumb { height: 175px; background: var(--off-white); border-bottom: 1px solid var(--border-light); }
.lp-cases__thumb img {width: 100%;}
.lp-cases__title { font-size: 15px; margin: 16px 16px 8px; color: white; }
.lp-cases__text { font-size: 13px; color: #99C1FA; margin: 0 16px 16px; }

/* Productivity */
.lp-productivity { background: #002F79; padding: 0 0 40px; }
.lp-productivity__inner { display: flex; gap: 24px; align-items: flex-start; background-color: white; padding-top: 20px; padding-bottom: 20px; }
.lp-productivity__icon {
    width: 56px; height: 56px; flex: 0 0 auto;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.lp-productivity__title { margin: 0 0 8px; color: var(--navy); }
.lp-productivity__text { margin: 0; color: var(--text-gray); }

/* Contact form */
.lp-contact { background: #fff; }
.lp-contact__inner { max-width: 640px; }
.lp-contact__lead { color: var(--text-gray); margin-bottom: 32px; }

.lp-form__row { margin-bottom: 20px; }
.lp-form__row label,form dl dt{
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--navy);
}
form u{
    font-size: 0.8rem;
    text-decoration: none;
}

.lp-form__required, .lp-form__optional {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}
.lp-form__required { background: var(--accent); color: #fff; }
.lp-form__optional { background: var(--border-light); color: var(--text-gray); }

.lp-form__input,
.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"],
.lp-form select,
.lp-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-family: inherit;
    background: #fff;
}
.lp-form__textarea { resize: vertical; }
.lp-form__hint { font-size: 12px; color: var(--text-gray); margin: 6px 0 0; }
.lp-form__submit { margin-top: 32px; }

.lp-form .error-message {
    color: var(--accent-dark);
    font-size: 12px;
    margin-top: 6px;
}
.lp-form .input.error input,
.lp-form .input.error select,
.lp-form .input.error textarea {
    border-color: var(--accent-dark);
}

/* Footer */
.lp-footer {
    background: var(--navy-deep);
    color: #9AA4BE;
    font-size: 13px;
    text-align: center;
    padding: 24px 0;
}

/* Flash messages */
.message {
    padding: 16px 24px;
    text-align: center;
    font-weight: 700;
}
.message.success { background: #E4F5E9; color: #1E7B3B; }
.message.error { background: #FCE8E4; color: var(--accent-dark); }

#submit-button{
	margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .lp-why__grid,
    .lp-pain__grid,
    .lp-cases__grid { grid-template-columns: 1fr; }
    .lp-materials__grid { grid-template-columns: repeat(2, 1fr); }
    .lp-approach__points { grid-template-columns: 1fr; }
    .lp-hero__title { font-size: 30px; }
    .lp-pain__item { width: 49%; }
    #cases .lp-cases__thumb {height: auto; width: 100%; border-bottom: none;}
    .lp-card__thumb {height: auto; width: 100%; border-bottom: none;}
    .lp-pain .lp-pain__grid{flex-wrap:wrap; display: flex; }
    .lp-pain .lp-pain__grid .lp-pain__item { width: 48%; border:1px dotted lightgrey; }
    .lp-eyebrow--white { width: 30% }
    .lp-about__text {width : 60%}
    .lp-eyebrow{font-size: 0.8rem;}
    h2.lp-section__title {font-size: 1.1rem;}
    .lp-approach p.lp-approach__lead{font-size: 0.7rem;}
    .lp-productivity {flex-wrap:wrap; display: flex; padding: 30px;}
    .lp-productivity__inner {padding: 20px 10px;}
    .lp-productivity__icon {margin-top: 40px}
    .lp-productivity h2 {font-size: 1.1rem;}
    .lp-productivity p {font-size: 0.7rem;}
}
