html {
    font-size: 100%; 
    font-family: "Noto Sans JP", Thin;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

*, *::before, *::after { box-sizing: inherit; }

.ysabeau { font-family: "Ysabeau", sans-serif; }

.jost {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-jp-400 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 400;
}

.noto-sans-jp-200 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
}

.noto-sans-jp-100 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
}

.klee-one-regular {
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
}

.klee-one-semibold {
  font-family: "Klee One", cursive;
  font-weight: 600;
  font-style: normal;
}


@font-face {
  font-family: "Number";
  src: local("Arial, Helvetica, sans-serif");
  unicode-range: U+0030-0039; 
}

@font-face {
  font-family: "Number";
  src: local("Arial, Helvetica, sans-serif;");
  font-weight: bold;
  unicode-range: U+0030-0039; 
}

@font-face {
  font-family: "Alphabet";
  src: local("Jost");
  unicode-range: U+0041-005A, U+0061-007A; 
}

@font-face {
  font-family: "Alphabet";
  src: local("Jost Bold");
  font-weight: bold;
  unicode-range: U+0041-005A, U+0061-007A; 
}
html, body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    box-sizing: border-box;
}

body {
  font-family: "Alphabet", "Jost", sans-serif;
}

.container {
    width: 100%;
    max-width: 1240px;
}

@media (min-width: 767px) {
    .container {
        width: 100%;
        max-width: 1240px;
    }
}

body, h1, h2, h3, h4, h5, p, ul, img {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8
}


/* top-banner */
.top-banner {
  background-color: rgb(249 200 200 / 0.5); 
  color: #000; 
  text-align: center;
  padding: 0;          
  position: relative;       
  z-index: 9999;           
}

.top-banner p {
  font-size: 0.8rem;
  padding: 1px 0;
  margin: 0;                
}

#header {
    flex-direction: column;
    height: auto;
    line-height: 40px;
    margin-top: 20px;
}

#header li img.icon {
    width: 20px;
    margin-top: 15px;
}

header {
    height: 50px;
}

header a img {
    display: inline-block;
    cursor: pointer;
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.top {
    display: flex; 
    width: 100%; 
    justify-content: center; 
    position: relative;
}

.logo_top {
    margin: 0; 
    line-height: 50px; 
    text-align: center;
         
} 

.acces-header {
    line-height: 50px; 
    position: absolute; 
    right: 1em;
}

.menu_sp-wrapper {
  position: relative;
}

.menu_sp-icon {
  position: fixed;
  width: 40px;
  height: 30px;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 10000;
}

.menu_sp-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  transition: 0.4s;
  backface-visibility: hidden;
  transform: translateZ(0);
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

.menu_sp-icon .line {
  height: 1.5px;
  background: #333;
}

.menu_sp-icon .l1 { top: 0.5px; }
.menu_sp-icon .l2 { top: 7.5px; }
.menu_sp-icon .l3 { top: 14.5px; }
.menu_sp-icon .l4 { top: 21.5px; }
.menu_sp-icon .l5 { top: 28.5px; }

.menu_sp-icon .cross {
  top: 14px; 
  height: 1.2px; 
  background: #333;
  opacity: 0;
}

.menu_sp-icon .c1 {
  transform: rotate(45deg);
}
.menu_sp-icon .c2 {
  transform: rotate(-45deg);
}

#menu_sp-toggle:checked + .menu_sp-icon .line {
  opacity: 0;
}

#menu_sp-toggle:checked + .menu_sp-icon .cross {
  opacity: 1;
}

#menu_sp-toggle:checked + .menu_sp-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#menu_sp-toggle:checked + .menu_sp-icon span:nth-child(2) {
  opacity: 0;
}
#menu_sp-toggle:checked + .menu_sp-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 100;
}

#menu_sp-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu_sp {
  position: fixed;
  top: 0;
  padding-top:20px;
  right: -250px; 
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.4s ease;
  z-index: 200;
}

#menu_sp-toggle:checked ~ .menu_sp {
  right: 0; 
}

.menu_sp ul {
  display: block;
  list-style: none;
  padding: 0 10px;
}

.menu_ li {
  margin: 5px 5px;
  font-size: 0.7rem;
}

.menu_sp ul ul {
    font-size: 0.4rem;
    padding-left: 1rem;
}

.menu_sp a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  transition: color 0.3s;
}

.menu_sp a:hover {
  color:#f9c8c8;
}

.choix {
    padding-left:  
}

.pc-only {
  display: block;  
  padding-left: 20px;
 }

.sp-only {
  display: none;         
}

@media (max-width: 767px) {
  .pc-only {
    display: none;      
  }
  
  .sp-only {
    display: block;      
  }
}

.nav {
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    background: #fff;
    color: #757575;
    transition: left 0.5s;
    }

.nav ul {
    list-style: none;
    font-weight: bold;
}

.nav li:not(:last-child) {
    margin-bottom: 40px;
}

nav {
  background-color: #fff;
  color: #000;
}

nav ul {
  display: flex;
}

nav ul ul {
  display: block;
  z-index:10;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav li {
    line-height: 1.2;
    margin: 3px;
}

.nav_japonais_pc {
    font-size: 0.8rem;
    font-weight: 400;
    color:#999;
    margin: auto;
    white-space: nowrap;
}

.menu_sp rt {
    font-size: 0.7rem;
}

.menu_sp li {
    line-height: 1.2;
}

nav ul li.parent::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 28px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(135deg);
}

nav li.parent ul {
  position: absolute;
  white-space: nowrap;
  z-index: 10;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  z-index:10;
  padding:10px;
}

nav ul li a {
  display: block;
  color: #999;
  transition: all 0.3s; 
  z-index:10;
  padding:5px;
}

nav ul li li ruby  {
  z-index:10;
}

nav ul li li a {
  text-align: center;
  z-index:10;
}

nav ul li a:hover {
  color: #757575;
  padding-left: 0;
  z-index:10;
}

nav li.parent:hover > ul,
nav li.parent ul li:hover > ul,
nav li.parent:active > ul,
nav li.parent ul li:active > ul {
  visibility: visible;
  opacity: 1;
  z-index:10;
}

nav li.parent ul li:last-child > a {
  border-bottom: none;
    z-index:10;
}

nav li.parent ul li a:hover,
nav li.parent ul li a:active {
  background-color: #757575;
  color: #fff;
  z-index:10;
}

@media (max-width: 767px) {
    .header .container {
        height: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        }
}

body {
    color: #24292e;
    font-family: "Number", "Klee One", cursive;
    margin: 0;
}      

p {
    font-family: "Jost", "noto-sans-jp-400";
    font-weight: 400;
    font-size: clamp(1.00rem, calc(0.53vw + 0.80rem),1.20rem);
    line-height: 2em;
    color: #313131;
    word-wrap: break-word;
    overflow-wrap: break-word; 
    white-space: normal; 
}

li {
    font-family: "Jost", "noto-sans-jp-200";
    list-style: none;
    font-size: clamp(0.8rem, 3vw, 1.2rem);  
    align-items: center;
    line-height: 2em;
    color: #313131;
}

h5 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 2.5rem;
  display: inline-block;
  font-family: "Jost";
  color: #191970;
  font-weight: 400;
  font-style: Light;
  border-left: 10px solid;
  border-color: #191970;
  padding-left: 15px;
}

.wrapper {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 4%;
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 0.9rem;
}

.logo_header {
    width: 320px;
}

section {
    scroll-margin-top: 30px;
}

.menu_pc {
    display: flex; 
    justify-content: space-between; 
    padding: 0; 
    margin: 0; 
    list-style: none; 
}

.menu_pc li a {
    text-decoration: none;
    color: #24292e;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
}

.menu_pc li a:hover { opacity: 0.6; }

.menu_pc li a ruby {
    -webkit-ruby-position: under;
    ruby-position: under;
}

.menu_pc li a ruby rt {
    font-family: 'Noto Sans JP';
    font: normal;
    color: #8a8a8a;
    font-size: 1em;
}

.menu_pc img.icon {
    width: 24px;
    height: 24px;
    max-width: none;
    flex-shrink: 0;
}

/* acces */
.acces-header li {
    font-family: 'Noto Sans JP';
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 0.6;
    text-align: right;
    margin-top: 3px;
}

.pc-tel {
  font-size:1.2rem;
  display: none;
}

@media(min-width: 767px){
  a[href^="tel:"]{
    display: none;
  }

  .pc-tel{
    display: block;
    font-size: 1rem;
  }
}

/* menu */
@media (max-width: 767px) {
    .container {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .logo_header {
        padding-top: 60px;
    }
    .site-logo img {
        width: 300px;
    }

    .top {
        display: block;
        flex-direction: column;
    }

    .nav.open {
        display: flex;
    }
    
    .menu_pc {
        flex-wrap: wrap;
     }

    .menu_pc li a {
        font-weight: 500;
        font-size: 0.8rem;
    }

    .acces_header li {
    font-family: 'Noto Sans JP';
    font-size: 1rem;
    font-weight: 200;
    line-height: 0.8;
    text-align: right;
}
}

/* main */
.hero {
    width: 100%; 
    padding:0;
    height: auto;
    position: relative;
    text-align: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #fff;
    margin-top: 3px;
}

.hero img {
    width: clamp(767px, 100vw, 1500px); 
    height: auto; 
}

.slideBox {
  height: auto;
  overflow: hidden;
  position: relative;
}

.hero-image {
  opacity: 0;
  position: absolute;
  text-align: center;
  left: 0;
  top: 0;
  -webkit-animation: anime 40s 0s infinite;
  animation: anime 40s 0s infinite;
}

.hero-image:nth-of-type(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

.hero-image:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}

.hero-image:nth-of-type(4) {
  -webkit-animation-delay: 30s;
  animation-delay: 30s;
}

@keyframes anime {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width : 767px) {
.hero {

    width: 100%; 
    height: 100dvh;
    margin-top: 90px;
    display: block;
    margin-bottom: 20px;
    object-fit: cover; 
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
}

.pagetop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid #f9c8c8;
  background-color: rgb(249 200 200 / 0.5) ;
  border-radius: 100%;
  cursor: pointer;
  transition: .3s;
  z-index: 100;
}

.pagetop:hover {
    background-color: #f9c8c8;
    color: rgb(249 200 200 / 0.5);
    z-index: 100;
}

.pagetop::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(-45deg);
    transition: .3s;
    z-index: 100;
}

.campagne_banner {
    position: fixed;
    bottom: 20px;
    left: 20px;  
    z-index: 10000;
    transition: all 0.3s;
}

.campagne_banner img {
    width: 200px; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.campagne_banner:hover {
    transform: translateY(-5px);
}

/* concept */
.concept-container {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

.sec-title {
    position: relative;
    width: 100%;
    max-width: none;
    width:100%;
    min-height: clamp(80px, 12vw, 140px); 
    background: #fff;
}

.title_jost {
    position: absolute;
    top: -6vw;
    font-family: "Jost";
    font-weight: 400;
    color: #c4c4c4;
    opacity: 0.5;
    z-index: 2;
    min-width: 0;
    font-size:  clamp(3rem, 10vw, 7rem);
}

.lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  z-index: 0;
}

.lines span {
  height: 1px;
  background: #c4c4c4;
  transform: translateZ(0); 
}
.title_section {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 80px;
  transform: translate(-50%, -50%);
  font-family: "Noto Sans JP";
  font-weight: 300;
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  letter-spacing: 0.2em;
  color: #000;
  padding: 0 clamp(20px, 6vw, 60px);
  z-index: 3;
  white-space: nowrap;
}

.concept-text {
    width: 100%;
    margin-right: 50px;
    height: 450px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.concept-image {
    max-width: 450px;
    margin: auto;
}

@media (max-width : 767px) {
  .title_jost { 
    top: -55%;
   text-wrap: nowrap;
    font-size: 3rem;
    opacity: 0.2; 
  }

  .title_long {
    font-size: 1.5rem;
  }
}

.img-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.7s ease;
}

.caption {
    position: absolute;
    font-size: clamp(0.7rem, 1vw, 1.2rem);  
    top: 50%;
    left: 50%;
    color: #fff;
    opacity: 0;
    transition: opacity o.7s ease;
    transform: translate(-50%, -50%);
}

.img-wrap:hover img {
    filter: brightness(80%);
}

.img-wrap:hover .caption {
    opacity: 1;
}

.phrase_left {
    color: #191970;
    font-family: "Klee One";
    font-size: clamp(14px, 5vw, 30px);
    font-weight: 600;
    margin-bottom: 50px;
    white-space: nowrap;
}

.phrase_right {
    color: #191970;
    font-family: "Klee One";
    font-size: clamp(14px, 5vw, 30px);
    font-weight: 600;
    margin-bottom: 50px;
    text-align: right;
    white-space: nowrap;
}

@media (max-width : 767px) {
.concept-container {
    width: 90%;
    margin: auto;
    flex-direction: column;
    gap: 12px;
}

.concept-text {
    text-align: justify;
    line-height: 35px;
    letter-spacing: 1px;
    padding: 0;
    width:100%;
    margin: auto;
}

.concept-text img{
    width: 250px;
    height: 250px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.img-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 80%;
    height: auto;
    margin: auto;
}
}

/* fondatrice */
.flex-container {
    width: 100%;
    display:flex;
    flex-direction: row;
    text-align: left;
    padding: 20px;
    gap: 30px;
}

.message {
    font-family: "Klee One", cursive;
    font-size: 1.2rem;
    color: #191970;
    background-image:
    linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 97%,
      #ddd 97%,
      #ddd 100%
    );
  background-size:100% 2em;
  line-height:2;
  background-repeat: repeat-y; 
  white-space: wrap; 
  text-align: justify;
  text-justify: inter-ideograph;
}

.message p{
  margin-bottom:2em;
}

.papier {
  width: 80%;
  height: auto;
  margin: 30px auto;
  box-shadow: 0 10px 6px -6px #777;
  background: #f5f5f5;
  padding: 1em 2em;
}

.flex-item {
    flex: 1;
    width: 50%;
}

.sec-title {
    font-size: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.fondatrice_diplome_experiences {
    border: 1px solid;
    border-color:  #191970;
    padding: 20px;
    width: 100%;
    margin: auto;
}

.fondatrice-text ul li {
     padding-left: 15px;
     font-size: 1rem;
     line-height: 1.2em;
}
.fondatrice-experiences ul li {
     padding-left: 15px;   
}

.fondatrice-text ul li:before {
    color: #757575;
    content: "■";
    font-size: 10px;  
    padding-right: 8px;
    line-height: 1.5em;
    top: 10px;
    left: 0;
}

.fondatrice-experiences ul li:before {
    color: #757575;
    content: "■";
    font-size: 10px;  
    padding-right: 8px;
    line-height: 1.5em;
    top: 10px;
    left: 0;
}

.fondatrice_caption {
    font-size: 0.8rem;
    color: #E25098;
    text-align: right;
    padding-right: 10px;
}

.diplome_img     {
    width: 60%;
    height: auto;
    max-width: 400px;
}

.experiences_img {
    width: 80%;
    height: auto;
    max-width: 600px;
}

@media (max-width: 767px) {
.phrase_left,
.phrase_right {
    text-align: center;
    overflow-wrap: break-word;
    word-break: normal; 
}

.flex-container {
    flex-direction: column; 
    width: 90%;
    margin: auto;
    gap: 12px;
    }

.plume_img {
    width: 70%;
}

.fondatrice-text {
    flex-direction: column;
    text-align: justify;
    line-height: 35px;
    font-size: 16pt;
    letter-spacing: 1px;
    padding: 0;
    width:100%;
    margin-bottom: 50px;
}

.flex-item {
    width: 100%;
}
}

/* classes */
.classes-services-container {
    width: 100%;
    margin: auto;
    display: flex;
    padding-bottom: 70px;
}

#classes ul {
    flex-direction: column;
}

#classes ul li {
    width: 100%;
}


.titles-lecons {
    max-width: 1240px;
    width: 80%;
    aspect-ratio: 5 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Jost";
    font-weight: 400;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #191970;
    border: 2px solid #ffffff;
    background-image: url(./img/title_fleur.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 0 2px #191970;
    letter-spacing: 0.3rem;
    padding-top: clamp(20px, 4vw, 60px);
    padding-bottom: clamp(20px, 4vw, 60px);
    margin: clamp(20px, 4vw, 50px) auto;
}

[data-ruby] {
    width: 100%;
	position: relative;
    white-space: nowrap;
}

[data-ruby]::before {
	content: attr(data-ruby);
	position: absolute;
	top: -1em;
	left: 0;
	right: 0;
	font-size: 0.6em;
    color: #8a8a8a;
    letter-spacing: 0.5rem;
}

.classes-services-image {
    width: 240px;
    height: 144px;
    margin-top: 20px;
    margin-bottom: 20px;
}

ruby rb {
    letter-spacing: 0;
    font-size:0.8rem;
}

ruby rt {
    color: #8a8a8a; 
    font-family: "Noto Sans JP";
    font-weight: 400;
    letter-spacing: 0;
}

.classes-services-text {
    width: 100%;
    margin-right: 50px;
    margin-left: 20px;
    margin-top: 20px;
    vertical-align: top;
    height: auto;
    justify-content: space-between; 
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: flex;
}

.classes-services-details {
    margin-bottom: 50px;
}

.classes-services-details ul li {
    position: relative;
    padding-left: 15px;
}

.classes-services-details ul li:before {
    color: #f9c8c8;
    content: "■";
    font-size: 10px;
    position: absolute;
    align-items: center;
    line-height: 2em;
    top: 10px;
    left: 0;
}

.cadre_point {
  max-width: 100%;
  border: 3px solid #f5f5f5; 
  }

.point {
    width: 80%;
    table-layout: fixed;
    margin: 60px 0;
    text-align: left;
}

td.point_image {
    width: 10%;
    vertical-align: top;
    margin: 30px;
    text-align: left;
}

td.point_image img {
  width: 100%;
  height: auto;
  max-width: 110px;
}

td.point_text {
    width: 90%;
}

.point_image {    
    vertical-align: top;
}

td.point_image,
td.point_text {
    vertical-align:middle;
}

.point_title {
    font-family: "Klee One";
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: bold;
    color: #191970;
}

.point_title_fr  {
    font-family: "Jost";
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: normal;
    color: #191970;
}

.point_text { 
  vertical-align: top;
  padding-left: 16px;
}

@media (max-width : 767px) {
   .cadre_point {
    text-align: left;
   }

   .point {
    width: 100%;
    margin: 20px 0;
   }
   td.point_image img {
    width: 100%;
    height: auto;
    max-width: 80px;
    }
    td.point_image {
        width: 20%;
    }

    td.point_text {
        width: 80%;
    }
}

.polaroid_caption ul li:before {
    color: #191970;
    content: "■";
    font-size: 0.6rem;  
    padding-right: 10px;
    line-height: 1.3em;
    top: 10px;
    left: 0;
}

@keyframes textanimation {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0);
    }
}

.polaroids {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px;
}

.polaroids .polaroid  {
  width: 100%;
}

.polaroids .polaroid_caption {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
}

.polaroid_technique .polaroid_caption {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
}

.resolution_progres,
.bloc_technique {
  flex: 1;
}

.resolution_progres {
  flex: 0.8;  
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.resolution_progres img {
  width: 100%;
  min-width: 250px;
  height: auto;
  display: block;
  text-align: center;
}

.polaroid {
  width: 100%;
  max-width: none;
}

.polaroid img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;  
}

.polaroid_caption {
    height: auto;
    font-family: "Jost", "noto-sans-jp-400";
    font-weight: 400;
    font-size: clamp(1.00rem, calc(0.53vw + 0.80rem),1.20rem);
    line-height: 2em;
    color: #313131;
    word-wrap: break-word;
    overflow-wrap: break-word; 
    white-space: normal; 
}

.polaroid {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 300px;
}

.polaroid img{
  filter: opacity(0.6);
  width: 100%;
  height: auto;
  }

.polaroids,
.polaroid_technique {
    display: flex;
    gap: 20px;
}

.bloc_title {
    color: #191970;
    font-family: "Klee One";
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 6px double #191970;
    text-align: center;
}


.bloc_message img {
    margin-top: 0;
    padding-top: 0;
    width: 90%;
    margin: auto;
}

.eclat {
	display: inline-block;
	overflow: hidden;
	padding: 20px;
	position: relative;
	text-decoration: none;
}

.eclat::after {
	animation: 10s 0s shine linear infinite;
	background: linear-gradient(to right, rgba(255,255,255,0) 25%, rgba(255,255,255,.6) 50%, rgba(255, 255, 255, 0) 75%);
	content: '';
	height: 100%;
	left: -100%;
	position: absolute;
	top: 0;
	transform: skewX(-15deg);
	width: 100%;
}

@keyframes shine {
	20% {
		left: 100%;
	}
	100% {
		left: 100%;
	}
}

@media (max-width : 767px) {
  .polaroid_caption {    
    flex: none;
    width: 100%;
  }

  .resolution_progres,
  .bloc_technique {
    flex: none;
    width: 100%;
  }

  .resolution_progres {
    gap: 10px;
  }
    
  .polaroids {
    display: flex;
    flex-direction: column;  
    width: 100%; 
    height: 100%;
    margin: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
   }

   .polaroid img {
    max-width: 300px;
  }

  .polaroid {
    width: 100%;
    height:100%;
    margin: 0 auto;
  }

  .polaroid_caption {
    max-width: 360px;
    text-align: center;
   }

  .polaroids ul, .polaroid_technique ul {
       text-align:left;
       max-width: 360px;
   }
    
  .polaroid_technique {
    display: flex;
    flex-direction: column;    
    width: 100%; 
    justify-content: center;
    align-items: center;
    text-align: left;
   }

  .resolution_progres {
    display: flex;
    flex-direction: column;
    margin-top: 0;
   }

   .rexolution_progres img {
    max-width: 90%;
    margin: auto;
   }

   .polaroid_img {
    margin-top: 50px;
   }

  .bloc {
    text-align: left;
   }
    
  .succes img {
    width: 20%;
   }

  .eclat {
    width: 50%;
   }
}

.bloc {
    max-width: 400px;
    margin: 0 auto;
    padding: 1em 1.5em;
    box-shadow: 0 4px 4px rgb(0 0 0 / 5%), 0 2px 3px -2px rgb(0 0 0 / 1%);
    background-image: linear-gradient(transparent calc(100% - 1px), #e6edf3 50%, #e6edf3), linear-gradient(90deg, transparent calc(100% - 1px), #e6edf3 50%, #e6edf3);
    background-size: 15px 15px;
    background-repeat: repeat;
    background-color: #ffffff;
    color: #333333;
}

.resolution img,
.progres img {
    width: 30%;
    margin: auto;
}

.resolution {
  animation: fade1 12s infinite;
}

.progres {
  animation: fade2 12s infinite;
}

@keyframes fade1 {
  0%   { opacity: 0; }
  10%  { opacity: 1; }  
  45%  { opacity: 1; }  
  55%  { opacity: 0; }  
  100% { opacity: 0; }
}

@keyframes fade2 {
  0%   { opacity: 0; }
  45%  { opacity: 0; }
  55%  { opacity: 1; } 
  90%  { opacity: 1; }
  100% { opacity: 0; } 
}

.tarif-classes-services {
    width: 60%;
    max-width: 600px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
    font-family: "Noto Sans JP";
    border: 1px solid #c9c2bc;
}

.tarif-classes-services th,
.tarif-classes-services td {
    border-bottom: 1px solid #c9c2bc;
}

.tarif-classes-services th {
    text-align: left;
    font-weight: normal;
    padding: 1rem;
}

.tarif-classes-services td {
    text-align: left;
    padding: 1rem 1.5rem;
}

.trial {
    background-color:rgb(249 200 200 / 0.2);
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.campagne_title {
    position: relative;
    color:#191970; 
    font-size: clamp(1.00rem, calc(0.53vw + 0.80rem),1.50rem);
    display: block;
    width: 75%;
    margin: 50px auto;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
}

.campagne_title::before,
.campagne_title::after {
    position: relative;
    width: 2px;
    height: 15px;
    content: '';
    display: inline-block;
    background-color: #191970;
    width: 2px;
    height: 1em;
    align-items: center;
    text-align: center;
}

.campagne_title::before {
    transform: rotate(-35deg);
    margin-right: 15px;
}

.campagne_title::after {
    transform: rotate(35deg);
    margin-left: 15px;
}

.campagne img, .campagne_text {
    display: block;
    width: 75%;
    margin: 20px auto;
}

.avantage {
    color:aliceblue; 
    background-color:#191970; 
    padding:0.2em;
    margin-right: 0.5rem;
}

@media (max-width : 767px) {
    .campagne_title {
        width: 100%;
        font-size: 0.9rem;
        
    }

    .campagne_text {
        width: 100%;
        font-size:0.8rem;
    }
    
    .campagne img {
        width: 70%;
        max-width: 300px;
    }
}

h4 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: Noto Sans JP;
    font-weight: 300;
    font-size: 2rem;
    font-style: Light;
    display: inline-block;
    padding: 0.3em 1.1em;
    color: #fff;
    background-color: #191970;
    border-radius:50%;
}

@media (max-width : 767px) {
    h4 {
        font-size: 1.2rem;
    }
}

span.el-txt {
      background: linear-gradient(transparent 0%, rgb(230 230 230));
}

@media (max-width : 767px) {
.classes-services-container {
    width: 90%;
    flex-direction: column;
    margin: auto;
    display: flex;
}

.titles-lecons {
    letter-spacing: 0rem;
}

[data-ruby] {
    width: 90%;
	position: relative;
    white-space: nowrap;
}

[data-ruby]::before {
	content: attr(data-ruby);
	position: absolute;
	top: -1em;
	left: 0;
	right: 0;
	margin: auto;
	font-size: 0.5em;
    color: #8a8a8a;
    letter-spacing: 0.2em;
}

.services {
    scroll-margin-top: 150px;
}

.classes-services-text {
    text-align: justify;
    line-height: 35px;
    letter-spacing: 1px;
    padding: 0;
    width:100%;
}

#classes img,
#services img {
    display: block;
    width: 350px;
    height: auto;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 50px;
}

.tarif-classes-services {
    width: 90%;
    max-width: 600px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
    font-family: "Noto Sans JP";
}

.classes-services-text {
    width: 100%;
    margin: auto;
    vertical-align: top;
    height: auto;
    justify-content: space-between; 
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: flex;
}

.online_img {
    width: 90%;
    text-align: center;
    margin-bottom: 50px;
}
}

/* services */
ruby {
    ruby-position: under;
    -webkit-ruby-position: after;
    white-space: nowrap;
}

.titles-services {
    align-items: center;
    text-align: center;
    font-family: 'Noto Sans JP'; 
    font-weight: 400; 
    font-size: 1.5rem;
    color: #414141; 
    border:3px solid #ffffff; 
    background-color:#eaf4f4;
    box-shadow:0 0 0 6px #eaf4f4;
    padding: 16px;
    letter-spacing: 0.3rem;
    margin: 50px;
    background: radial-gradient(#fff, #eaf4f4 80%);
}

@media (max-width : 767px) {
    .titles-services {
        width: 100%;
        letter-spacing: 0rem;
        margin: auto;
    }
}

/* nouvelles */
#nouvelles dl {
    flex-direction: column;
}
  
.nouvelles_list {
    display: flex;
    width: 70%;
    border-top: 1px solid #c8c8c8;
    margin: auto;
    padding:
}
.nouvelles_date {
    display: flex;
    border-bottom: 1px solid #c8c8c8;
    width: 100%;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

#nouvelles dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
    font-weight: bold;
    font-family: "Noto Sans JP";
    max-width: 130px;
}

#nouvelles dd {
    width: 100%;
    padding-top: 0;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

@media (max-width: 767px) {
.nouvelles_date {
    flex-direction: column;
    width: 100%;
}
}

/* contact */
#contact p{
    text-align: center;
    margin-bottom: 20px;
}

#contact dl {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#contact dt {
    width: 15%;
    margin-bottom: 10px;
}

#contact dd {
    width: 85%;
    margin-bottom: 10px;
}

#contact dd input,
#contact dd textarea {
    width: 100%;
    border: 1px solid #c8c8c8;
    padding: 10px;
}

#contact dd textarea {
    height: 10rem;
}

#contact .button {
    text-align: center;
    font-family: "noto-sans-jp-400";
    font-size: 1.5rem;
}

#contact .button input {
    background-color: #191970;
    width: 300px;
    padding: 15px 0;
    color: #fff;
    transition: all 0.3s;
    border-radius: 15px;
    margin-bottom: 20px;
}

#contact .button input:hover {
    background-color: #fff;
    color: #f9c8c8;
}

span.marker {
    background: linear-gradient(transparent 70%,  rgb(249 200 200 / 0.5) 70%);
}

.contact_text {
    text-align: center;
    line-height: 1.8rem;
}

.tel {
    font-family: Arial, Helvetica, sans-serif;
    color: #191970;
    text-align: center;
    font-size: 1.5rem;
    width: 100%;
    margin: auto;
 } 

.tel_message {
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-weight: 600;
    color: #191970;
    margin-bottom: 50px;
}

/* footer */
footer a img  {
    display: inline-block;
    cursor: pointer;
}

footer {
    background-color: rgb(249 200 200 / 0.5);
    text-align: center;
}
#footer ul {list-style: none;}

#footer small {
    font-family: "ysabeau";
    align-items: bottom;
    text-align: center;
	flex-direction: column;
}

footer img {
    width: 24px;
    height: 24px;
    max-width: none;
}

.copyright {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #757575;
    display: absolute;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .details {
        display: flex;
        margin-top: 30px;
    }
    
    .details {
        flex: 1;
        margin-right: 3.22%;
    }

    .details:first-child {
        margin-left: 3.22%;

        .details:not(:last-child) {
            margin-bottom: 0;
        }
    }

    .details h3 {
        margin-bottom: 26px;
        font-size: 3.0rem;
        line-height: 1.4;
    }

    .details p {
        width: 78%;
        max-width: none;
    }

    .details img {
        height: 360px;
        margin-bottom: 33px;
    }

    .details:not(:last-child) {
        display: flex;
        flex-direction: column;
    }
}
