
/* body {
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    margin: 0;
    padding: 0;
    color: #666666;
    line-height: 1.6;
    background-color: #fff;
} */

.taC {
    text-align: center;
}

main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

section {
    margin-bottom: 100px;
    padding: 20px 0;
}



h1 {
    font-size: 24px;
    font-weight: 100;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 0;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

h2 {
    font-size: 28px !important;
    color: #b99400 !important;
    position: relative !important;
    display: inline-block !important;
    margin-bottom: 2px !important;
    padding: 0 1em !important;
    text-align: left !important;
    font-weight: 100 !important;
    line-height: 1 !important;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif !important;
}
.title {
    margin-bottom: 30px;
}
.title p {
    color: #b99400;
    margin: 0 auto;
}
h2::before {
    content: "";
    background-color: #B99400;
    position: absolute;
    top: 50%;
    width: 400%;
    height: 2px;
    right: 100%;
}
h2::after {
    content: "";
    background-color: #B99400;
    position: absolute;
    top: 50%;
    width: 400%;
    height: 2px;
    left: 100%;
}

h3 {
    font-size: 24px;
    font-weight: 100;
    text-align: center;
    margin-bottom: 20px;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

p {
    margin-bottom: 10px;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 25px;
}
.mw960 {
    max-width: 940px;
    overflow: hidden;
    margin: auto;
}
.mw720 {
    max-width: 720px;
    overflow: hidden;
    margin: auto;
}
.mb20 {
    margin-bottom: 20px!important;
}
.mb30 {
    margin-bottom: 30px!important;
}
.mb50 {
    margin-bottom: 50px!important;
}
.mb80 {
    margin-bottom: 80px!important;
}
.banner {
    max-width: 450px;
    margin: auto;
}

.mainContent {
    max-width: 1200px;
    margin: auto;
}

.intro p {
    max-width: 800px;
    margin: auto;
    font-size: 17px;
}

.ring-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.ring-examples .example-item {
    flex: 1 1 30%;
    margin-bottom: 0px;
}

.ring-examples .example-item h2 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #333;
}

.ring-examples .example-item p {

    font-size: 14px;
}



.how-to .step {
    margin-bottom: 0px;
    padding: 30px;
}
.howto-arrow {
    color: #b99400;
    font-size: 40px !important;
    text-align: center;
    padding: 30px;
}


.jewelry-case .text , .craftsmanship .text {
    max-width: 720px;
    margin: auto;
}
.border {
    margin-top: 60px;
    border: 4px solid #B99400;
    padding: 40px 40px 20px;
}

/* Buttons and Links */
.button {
    display: inline-block;
    background-color: #B99400;
    color: #fff;
    display: inline-block;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    text-align: center;
    text-shadow: none;
    border: 0;
    cursor: pointer;
    font-weight: normal;
    padding: 0.8em 1.8em;
    min-width: 30%;
    line-height: 1.2;
    font-family: inherit;
    margin-bottom: 30px;
}

.button:hover {
opacity: .8;
background-color: #B99400;
}

.blue {
    background-color: rgb(0, 99, 148);
}
.link {
    color: rgb(0, 99, 148);
    margin: 20px;
    text-decoration: underline;
}
.link :hover {
    opacity: .8;
    }


.flexBox3 .img , .flexBox2 .img {
    margin-bottom: 20px;
}

.video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .video iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

/*-----------popup----------*/
.markList {
    margin-top: 0;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.markList > li {
    margin: 10px 0;
    width: 10%;
    padding: 0 3px;
    text-align: center;
    align-self: center;
}
.markList > li::marker {
display: none;
}
.markList > li img {
    margin-bottom: 0;
} 

@media screen and (max-width: 960px) {
	.markList > li {
        width: 20%;
        padding: 0 2px;
        margin: 0px 0 10px;
	}
}

/* モーダルウィンドウ */

body.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
}

#modal {
	background: #fff;
	display: none;
	padding: 60px;
	box-sizing: border-box;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 60vh;
	width: 80%;
	z-index: 1;

}

.modal__inner {
	height: 100%;
	overflow-y: scroll;
}

#close__btn {
	border-radius: 50%;
	cursor: pointer;
	position: absolute;
	top: -20px;
    right: 20px;
	transform: translate(-50%, 100%);
	text-align: center;
	font-size: 28px;
	line-height: 40px;
}
#close__btn:hover {
	opacity: .8;

}


@media screen and (max-width: 960px) {
	#modal {
		padding: 30px;
		height: 50vh;
		max-height: 300px;
	}

	#close__btn {
		border-radius: 50%;
		cursor: pointer;
		position: absolute;
		top: -40px;
		right: 10px;
		transform: translate(-50%, 100%);
		text-align: center;
		font-size: 16px;
		line-height: 40px;
	}
	}


#overlay {
	background: rgba(0,0,0,.7);
	display: none;
	cursor: pointer;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

@media screen and (min-width:769px) {
    .flexBox2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .flexBox2 .img {
        width: 45%;
        margin-right: 4%;
    }
    .flexBox2 .text {
        width: 51%;
    }
    .flexBox3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .flexBox3 .img {
        flex: 1 1 30%;
    }
    .two {
        display: flex;
        justify-content:space-between;
        align-items: center;
    }
    .two div {
        width: 48%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    main {
        padding:0  15px;
    }
    .ring-examples .example-item {
        flex: 1 1 100%;
        min-width: unset;
    }
    .button {
        padding: 12px 25px;
        font-size: 12px;
    }
    .how-to .step {
        padding: 0 0px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 18px;
    }
    p {
        font-size: 14px;
    }
    section {
        margin-bottom: 30px;
    }
    .intro p {
        font-size: 16px;
    }
    .border {
        padding: 40px 30px 20px;
    }
    .mb50 {
        margin-bottom: 35px!important;
    }
    .mb30 {
        margin-bottom: 20px!important;
    }
    .mb20 {
        margin-bottom: 13px!important;
    }
}
