@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");

:root {
    --primary: #ff6b9d;
    --secondary: #733b69;
    --accent: #ffc7d8;
    --light: #ffeef3;
    --dark: #333333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
/*    font-family: 'BIZ UDPGothic', sans-serif;*/
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    user-select: none;
}


.form-container:has(:invalid) button {
opacity : 0.4;
pointer-events: none;
}


:invalid {
color : red;
}

.left {
	text-align: left !important;
}

.right {
	text-align: right !important;
}

.center {
	text-align: center !important;
}

.nowrap {
	white-space: nowrap !important;
}



header {
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.logo span {
    color: var(--secondary);
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary);
    text-align: center;
    max-width: 800px;
}

.hero {
    background: linear-gradient(180deg, var(--primary) 0%, lavenderblush 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-weight: normal;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary);
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 1rem;
}

.main-content .card {
	@starting-style {
		opacity: 0;
	}
	transition: all 0.6s ease-in-out;
}

.cycle-graph {
	display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 500px;
    height: 500px;
    margin: 4rem auto;
}

.cycle-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    transition: all 0.3s ease;
}

.cycle-item:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-item:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.cycle-item:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-item:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.cycle-graph::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border: 3px dashed var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.cycle-item h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* 矢印の追加 */
.arrow {
    position: absolute;
    width: 0; 
    height: 0;
    z-index: -1;
}

.arrow-1 {
    top: 125px;
    right: 160px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary);
    transform: rotate(45deg);
}

.arrow-2 {
    bottom: 125px;
    right: 160px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary);
    transform: rotate(135deg);
}

.arrow-3 {
    bottom: 125px;
    left: 160px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary);
    transform: rotate(225deg);
}

.arrow-4 {
    top: 125px;
    left: 160px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary);
    transform: rotate(315deg);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.table th, .table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--accent);
}

.table th {
    background-color: var(--primary);
    color: var(--white);
}

.table tr:nth-child(even) {
    background-color: var(--light);
}

/*.table tr:hover {
    background-color: var(--accent);
}*/

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.column {
    flex: 1;
    min-width: 300px;
}

.column.no-min-width {
    flex: 1;
    min-width: inherit;
}


.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.4rem;

    display: flex;
    height: 7.2em;
    flex-flow: column;
    align-content: space-evenly;
    justify-content: space-between;

	.links {
		display: inline-flex;
	    justify-content: space-evenly;
    	margin: 0.6em 0;
	    white-space: nowrap;
		flex-wrap: wrap;

	    a {
	    	color: var(--white);
    	    text-decoration: none;
	    	margin: 0 0.5em;
	    }
	    
	}


}

.footer-container p {
    margin-bottom: 1rem;
}

.contact {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
}

.contact:hover {
    text-decoration: underline;
}

/* 会員登録フォーム用のスタイル */
.registration-section {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    /* margin-bottom: 0.5rem;*/
    color: var(--secondary);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.btn, ::file-selector-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e64c84;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input {
    margin-right: 0.5rem;
}

.form-info {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}


.description {
    resize: vertical;
    height: 5.6em;
}

.form-container:has(.same-address:checked) .address-container {
    display: none;
}

.form-container:has(.same-address:checked) .btn {
    opacity: 1.0;
    pointer-events: auto;
}

.qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .cycle-graph {
        width: 300px;
        height: 300px;
    }
    
    .cycle-item {
        width: 140px;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .cycle-graph::before {
        width: 220px;
        height: 220px;
    }
    
    .arrow-1 {
        top: 80px;
        right: 100px;
    }
    
    .arrow-2 {
        bottom: 80px;
        right: 100px;
    }
    
    .arrow-3 {
        bottom: 80px;
        left: 100px;
    }
    
    .arrow-4 {
        top: 80px;
        left: 100px;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }

}
